net.minecraftforge.fml.common.event.FMLInitializationEvent Java Examples

The following examples show how to use net.minecraftforge.fml.common.event.FMLInitializationEvent. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: NovaMinecraft.java    From NOVA-Core with GNU Lesser General Public License v3.0 6 votes vote down vote up
@Mod.EventHandler
public void init(FMLInitializationEvent evt) {
	try {
		proxy.init(evt);
		nativeConverters.stream().forEachOrdered(forgeLoadable -> forgeLoadable.init(evt));
		int size = novaModWrappers.size() + novaWrappers.size();
		if (size > 0) {
			ProgressManager.ProgressBar progressBar = ProgressManager.push("Initializing NOVA wrappers", size);
			FMLProgressBar fmlProgressBar = new FMLProgressBar(progressBar);
			novaModWrappers.stream().forEachOrdered(wrapper -> {
				fmlProgressBar.step(wrapper.getClass());
				wrapper.init(evt);
			});
			novaWrappers.stream().forEachOrdered(wrapper -> {
				fmlProgressBar.step(wrapper.getClass());
				wrapper.init(evt);
			});
			fmlProgressBar.finish();
			ProgressManager.pop(progressBar);
		}
	} catch (Exception e) {
		Game.logger().error("Error during init");
		e.printStackTrace();
		throw new InitializationException(e);
	}
}
 
Example #2
Source File: ProxyClient.java    From NotEnoughItems with MIT License 6 votes vote down vote up
@Override
public void init(FMLInitializationEvent event) {
    super.init(event);

    ItemMobSpawner.initRender();
    PacketCustom.assignHandler(NEIClientPacketHandler.channel, new NEIClientPacketHandler());

    MinecraftForge.EVENT_BUS.register(new ContainerEventHandler());
    MinecraftForge.EVENT_BUS.register(ClientHandler.INSTANCE);

    MinecraftForge.EVENT_BUS.register(WorldOverlayRenderer.INSTANCE);
    KeyManager.trackers.add(WorldOverlayRenderer.INSTANCE);

    KeyBindings.register();
    NEIClientEventHandler.INSTANCE.init();
}
 
Example #3
Source File: SkyblockAddons.java    From SkyblockAddons with MIT License 6 votes vote down vote up
@Mod.EventHandler
public void init(FMLInitializationEvent e) {
    MinecraftForge.EVENT_BUS.register(new NetworkListener());
    MinecraftForge.EVENT_BUS.register(playerListener);
    MinecraftForge.EVENT_BUS.register(guiScreenListener);
    MinecraftForge.EVENT_BUS.register(renderListener);
    MinecraftForge.EVENT_BUS.register(scheduler);
    MinecraftForge.EVENT_BUS.register(newScheduler);

    ClientCommandHandler.instance.registerCommand(new SkyblockAddonsCommand());

    addKeybinds(new SkyblockKeyBinding("open_settings", Keyboard.KEY_NONE, Message.SETTING_SETTINGS),
            new SkyblockKeyBinding( "edit_gui", Keyboard.KEY_NONE, Message.SETTING_EDIT_LOCATIONS),
            new SkyblockKeyBinding( "lock_slot", Keyboard.KEY_L, Message.SETTING_LOCK_SLOT),
            new SkyblockKeyBinding( "freeze_backpack", Keyboard.KEY_F, Message.SETTING_FREEZE_BACKPACK_PREVIEW));
}
 
Example #4
Source File: ExNihiloAdscensio.java    From ExNihiloAdscensio with MIT License 6 votes vote down vote up
@EventHandler
public static void init(FMLInitializationEvent event) {
	OreRegistry.loadJson(new File(configDirectory, "OreRegistry.json"));
	loadConfigs();

	Recipes.init();
	OreRegistry.doRecipes();

	proxy.initOreModels();
	proxy.registerColorHandlers();

	FMLInterModComms.sendMessage("Waila", "register",
			"exnihiloadscensio.compatibility.CompatWaila.callbackRegister");
	
	if (Loader.isModLoaded("theoneprobe") && Config.doTOPCompat) {
		CompatTOP.init();
	}
}
 
Example #5
Source File: I18nUpdateMod.java    From I18nUpdateMod with MIT License 6 votes vote down vote up
@Mod.EventHandler
public void init(FMLInitializationEvent event) {
    // 国际化检查
    if (I18nConfig.internationalization.openI18n && !isChinese()) {
        return;
    }

    // 命令注册
    ClientCommandHandler.instance.registerCommand(new CmdNotice());
    ClientCommandHandler.instance.registerCommand(new CmdReport());
    ClientCommandHandler.instance.registerCommand(new CmdReload());
    ClientCommandHandler.instance.registerCommand(new CmdGetLangpack());
    ClientCommandHandler.instance.registerCommand(new CmdUpload());
    ClientCommandHandler.instance.registerCommand(new CmdToken());

    // 热键注册
    if (!I18nConfig.key.closedKey) {
        MinecraftForge.EVENT_BUS.register(new HotKeyHandler());
    }
}
 
Example #6
Source File: Mobycraft.java    From mobycraft with Apache License 2.0 6 votes vote down vote up
@EventHandler
public void init(FMLInitializationEvent event) {
	injector = Guice.createInjector(new MobycraftModule());

	// Helps render item textures
	mesher = Minecraft.getMinecraft().getRenderItem().getItemModelMesher();

	docker_block = new GenericBlock("docker_block", Material.iron, 5.0F,
			10.0F, "pickaxe", 1, Block.soundTypeMetal);
	registerBlock(docker_block, "docker_block");

	container_wand = new GenericItem("container_wand",
			CreativeTabs.tabTools).setMaxStackSize(1);
	registerItem(container_wand, "container_wand");

	container_essence = new GenericItem("container_essence",
			CreativeTabs.tabMaterials);
	registerItem(container_essence, "container_essence");

	RenderManager render = Minecraft.getMinecraft().getRenderManager();

	registerModEntity(EntityMoby.class, new RenderMoby(), "moby",
			EntityRegistry.findGlobalUniqueEntityId(), 0x24B8EB, 0x008BB8);
	registerModEntity(EntityChaosMonkey.class, new RenderChaosMonkey(),
			"chaos_monkey", EntityRegistry.findGlobalUniqueEntityId(),
			0x8E6400, 0xEAFF00);

	DimensionRegistry.mainRegistry();

	commands = injector.getInstance(MainCommand.class);
	commands.loadConfig();

	MinecraftForge.EVENT_BUS.register(commands);
	FMLCommonHandler.instance().bus().register(commands);

	GameRegistry.addRecipe(new ItemStack(container_wand), " ei", "ese",
			"se ", 'e', container_essence, 'i', Items.iron_ingot, 's',
			Items.stick);
}
 
Example #7
Source File: BaseMetals.java    From BaseMetals with GNU Lesser General Public License v2.1 6 votes vote down vote up
@EventHandler
public void init(FMLInitializationEvent event)
{

	cyano.basemetals.init.Recipes.init();
	cyano.basemetals.init.DungeonLoot.init();
	cyano.basemetals.init.Entities.init();
	
	cyano.basemetals.init.Achievements.init();


	if(event.getSide() == Side.CLIENT){
		clientInit(event);
	}
	if(event.getSide() == Side.SERVER){
		serverInit(event);
	}
}
 
Example #8
Source File: ClientProxy.java    From Wizardry with GNU Lesser General Public License v3.0 6 votes vote down vote up
@Override
public void init(FMLInitializationEvent event) {
	super.init(event);

	MinecraftForge.EVENT_BUS.register(CapeHandler.instance());

	Map<String, RenderPlayer> skinMap = Minecraft.getMinecraft().getRenderManager().getSkinMap();
	for (RenderPlayer render : skinMap.values()) {
		//	render.addLayer(new BloodRenderLayer(render));
		render.addLayer(new RenderHaloEntity(render.getMainModel().bipedHead));
	}

	Map<Class<? extends Entity>, Render<? extends Entity>> map = Minecraft.getMinecraft().getRenderManager().entityRenderMap;
	for (ResourceLocation entity : EntityList.getEntityNameList()) {
		Class<? extends Entity> clazz = EntityList.getClass(entity);
		Render<? extends Entity> entityRenderer = map.get(clazz);
		if (entityRenderer instanceof RenderLiving<?>) {
			ModelBase main = ((RenderLiving<?>) entityRenderer).getMainModel();
			ModelRenderer renderer = null;
			if (main instanceof ModelBiped) renderer = ((ModelBiped) main).bipedHead;

			((RenderLiving<?>) entityRenderer).addLayer(new RenderHaloEntity(renderer));
		}
	}
}
 
Example #9
Source File: BakaDanmaku.java    From BakaDanmaku with MIT License 6 votes vote down vote up
@Mod.EventHandler
public void init(FMLInitializationEvent event) {
    // 装载各大平台的弹幕线程
    DanmakuThreadFactory.setDanmakuThread("bilibili", new BilibiliDanmakuThread());
    DanmakuThreadFactory.setDanmakuThread("douyu", new DouyuDanmakuThread());
    DanmakuThreadFactory.setDanmakuThread("chushou", new ChushouDanmakuThread());

    // 注册开启,关闭弹幕事件处理器
    MinecraftForge.EVENT_BUS.register(StartStopHandler.class);

    // 注册聊天事件处理器
    MinecraftForge.EVENT_BUS.register(ChatMsgHandler.class);

    // 注册屏幕信息事件处理器
    // TODO: MinecraftForge.EVENT_BUS.register(ScreenMsgHandler.class);

    // 客户端命令注册
    ClientCommandHandler.instance.registerCommand(new CommandBakaDM());
}
 
Example #10
Source File: MalmoModClient.java    From malmo with MIT License 6 votes vote down vote up
public void init(FMLInitializationEvent event)
{
       // Register for various events:
       MinecraftForge.EVENT_BUS.register(this);
       GameSettings settings = Minecraft.getMinecraft().gameSettings;
       TextureHelper.hookIntoRenderPipeline();
       setUpExtraKeys(settings);

       this.stateMachine = new ClientStateMachine(ClientState.WAITING_FOR_MOD_READY, this);

       this.originalMouseHelper = Minecraft.getMinecraft().mouseHelper;
       this.mouseHook = new MouseHook();
       this.mouseHook.isOverriding = true;
       Minecraft.getMinecraft().mouseHelper = this.mouseHook;
       setInputType(InputType.AI);
   }
 
Example #11
Source File: CraftingKeys.java    From CraftingKeys with MIT License 5 votes vote down vote up
/**
 * This method will be executed while loading.
 *
 * @param event Input Event from FML
 */
@EventHandler
public void load(FMLInitializationEvent event) {

    // Registering
    FMLCommonHandler.instance().bus().register(this);
    MinecraftForge.EVENT_BUS.register(this);
    NetworkRegistry.INSTANCE.registerGuiHandler(instance, new GuiConfigHandler());
    KeyBindings.init();
    Logger.info("load(e)", "Registered Mod.");

}
 
Example #12
Source File: CommonProxy.java    From Sakura_mod with MIT License 5 votes vote down vote up
public void init(FMLInitializationEvent event) {
	MinecraftForge.ORE_GEN_BUS.register(new WorldGenLoader());
	MinecraftForge.TERRAIN_GEN_BUS.register(new WorldGenLoader());
	new WorldGenLoader();
    TileEntityRegistry.init();
    KimonoLoader.Init();
    SakuraRecipeRegister.Init();
    if(Loader.isModLoaded("tfc")){
    	TFCCompat.registerTFCFuel();
    }
    network = NetworkRegistry.INSTANCE.newSimpleChannel(SakuraMain.MODID);
	network.registerMessage(new PacketKeyMessageHandler(),PacketKeyMessage.class,0,Side.SERVER);
}
 
Example #13
Source File: SexyFont.java    From CommunityMod with GNU Lesser General Public License v2.1 5 votes vote down vote up
@Override
@SideOnly(Side.CLIENT)
@SuppressWarnings("deprecation") //how to mod 101
public void onInit(FMLInitializationEvent event) {
	IReloadableResourceManager mgr = ((IReloadableResourceManager) Minecraft.getMinecraft().getResourceManager());
	
	mgr.registerReloadListener((x) -> {
		Minecraft mc = Minecraft.getMinecraft();
		
		mc.fontRenderer = new SexyFontRenderer(
			mc.gameSettings,
			new ResourceLocation("textures/font/ascii.png"),
			mc.renderEngine,
			mc.isUnicode()
		);
	});
}
 
Example #14
Source File: NovaMinecraft.java    From NOVA-Core with GNU Lesser General Public License v3.0 5 votes vote down vote up
@Mod.EventHandler
@Override
@SuppressWarnings("deprecation")
public void init(FMLInitializationEvent evt) {
	try {
		proxy.init(evt);
		nativeConverters.stream().forEachOrdered(forgeLoadable -> forgeLoadable.init(evt));
		net.minecraftforge.fml.common.ProgressManager.ProgressBar progressBar
			= net.minecraftforge.fml.common.ProgressManager.push("Initializing NOVA wrappers",
				(novaModWrappers.isEmpty() ? 1 : novaModWrappers.size()) + novaWrappers.size());
		FMLProgressBar fmlProgressBar = new FMLProgressBar(progressBar);
		novaModWrappers.stream().forEachOrdered(wrapper -> {
			fmlProgressBar.step(wrapper.getClass());
			wrapper.init(evt);
		});
		novaWrappers.stream().forEachOrdered(wrapper -> {
			fmlProgressBar.step(wrapper.getClass());
			wrapper.init(evt);
		});
		fmlProgressBar.finish();
		net.minecraftforge.fml.common.ProgressManager.pop(progressBar);
	} catch (Exception e) {
		Game.logger().error("Error during init", e);
		e.printStackTrace();
		throw new InitializationException(e);
	}
}
 
Example #15
Source File: Squirrel.java    From CommunityMod with GNU Lesser General Public License v2.1 5 votes vote down vote up
@Override
public void onInit(final FMLInitializationEvent event) {

	GameRegistry.addSmelting(
			Item.getItemFromBlock(SQUIRREL_ORE),
			new ItemStack(SQUIRREL_INGOT),
			0x1.0p0f
	);

	GameRegistry.addSmelting(
			SQUIRREL_INGOT,
			new ItemStack(Items.DIAMOND),
			0x1.0p0f
	);

	GameRegistry.registerWorldGenerator(
			(random, chunkX, chunkZ, world, chunkGenerator, chunkProvider) -> {
				if (world.provider.getDimension() == 0) {
					int deltaY = 0b1000000 - 0b10000;

					final PooledMutableBlockPos pos = PooledMutableBlockPos.retain();
					try {
						for (int i = 0; i < 0b110; ++i) {
							pos.setPos((chunkX << 0b100) + random.nextInt(0b10000), 0b10000 + random.nextInt(deltaY), (chunkZ << 0b100) + random.nextInt(0b10000));

							WorldGenMinable generator = new WorldGenMinable(SQUIRREL_ORE.getDefaultState(), 0b100 + random.nextInt(0b100));
							generator.generate(world, random, pos);
						}
					} finally {
						pos.release();
					}
				}
			},
			3
	);

}
 
Example #16
Source File: ProductionLine.java    From Production-Line with MIT License 5 votes vote down vote up
@Mod.EventHandler
    public void init(FMLInitializationEvent event) {
        PLOreDictionary.init();
        // register Recipes. 注册合成
//        PLRecipes.init();
        //register gui handler
        NetworkRegistry.INSTANCE.registerGuiHandler(INSTANCE, GuiHandler.getInstance());
        //register achievement
        PLAchievement.init();
        //register achievement page
        AchievementPage.registerAchievementPage(PLAchievement.pagePL);
        //register ore gen bus. 注册矿石生成总线
        PLWorldGen.init();
        proxy.init();
    }
 
Example #17
Source File: CommonProxy.java    From TofuCraftReload with MIT License 5 votes vote down vote up
public void init(FMLInitializationEvent event) {
    TofuEnergyMap.init();
    TofuEnergyStoragedFluidMap.init();
    RecipeLoader.Init();
    TileEntityRegistry.init();
    VillagerTofu1.registerVillager();
    NetworkRegistry.INSTANCE.registerGuiHandler(TofuMain.instance, new TofuGuiHandler());
}
 
Example #18
Source File: ClientProxy.java    From TofuCraftReload with MIT License 5 votes vote down vote up
@Override
public void init(FMLInitializationEvent event) {
    super.init(event);

    Minecraft.getMinecraft().getBlockColors().registerBlockColorHandler(new IBlockColor() {
        @Override
        public int colorMultiplier(IBlockState state, IBlockAccess worldIn, BlockPos pos, int tintIndex) {
            int metadata = state.getValue(BlockBarrel.FERM);
            return metadata >= 7 ? 0x885511 : ((BlockBarrel) state.getBlock()).isUnderWeight((World) worldIn, pos) ? 0xffd399 : 0xffffff;
        }
    }, BlockLoader.MISOBARREL);
}
 
Example #19
Source File: Chickenificator.java    From CommunityMod with GNU Lesser General Public License v2.1 5 votes vote down vote up
@SuppressWarnings("deprecation")
@Override
public void onInit(FMLInitializationEvent event) {
	FMLLog.log.info("Chickenification is beginning...");
	//RenderingRegistry.registerEntityRenderingHandler(EntitySheep.class, new RenderStupidChicken());
	RenderingRegistry.registerEntityRenderingHandler(EntityCow.class, new RenderStupidChicken());
	RenderingRegistry.registerEntityRenderingHandler(EntityPig.class, new RenderStupidChicken());
	RenderingRegistry.registerEntityRenderingHandler(EntitySquid.class, new RenderStupidChicken());
	RenderingRegistry.registerEntityRenderingHandler(EntityZombie.class, new RenderStupidChicken());
	RenderingRegistry.registerEntityRenderingHandler(EntitySpider.class, new RenderStupidChicken());
	RenderingRegistry.registerEntityRenderingHandler(EntitySkeleton.class, new RenderStupidChicken());
	FMLLog.log.info("Chickenificated all the bois!");
}
 
Example #20
Source File: Blocks.java    From BaseMetals with GNU Lesser General Public License v2.1 5 votes vote down vote up
@SideOnly(Side.CLIENT)
public static void registerItemRenders(FMLInitializationEvent event){
	for(String name : allBlocks.keySet()){
		if(allBlocks.get(name) instanceof BlockDoor) continue;// do not add door blocks
		Minecraft.getMinecraft().getRenderItem().getItemModelMesher()
		.register(net.minecraft.item.Item.getItemFromBlock(allBlocks.get(name)), 0, 
			new ModelResourceLocation(BaseMetals.MODID+":"+name, "inventory"));
	}
}
 
Example #21
Source File: Proxy.java    From NotEnoughItems with MIT License 5 votes vote down vote up
public void init(FMLInitializationEvent event) {

        PacketCustom.assignHandler(NEIClientPacketHandler.channel, new NEIServerPacketHandler());
        MinecraftForge.EVENT_BUS.register(ServerHandler.INSTANCE);
        //Item.getItemFromBlock(Blocks.MOB_SPAWNER).setHasSubtypes(true);//TODO
        NEIActions.init();

        MinecraftForge.EVENT_BUS.register(MagnetModeHandler.INSTANCE);
    }
 
Example #22
Source File: ValkyrienSkiesWorld.java    From Valkyrien-Skies with Apache License 2.0 5 votes vote down vote up
@EventHandler
protected void init(FMLInitializationEvent event) {
    EntityRegistry.registerModEntity(
        new ResourceLocation(ValkyrienSkiesWorld.MOD_ID, "fall_up_block_entity"),
        EntityFallingUpBlock.class,
        "fall_up_block_entity",
        75, ValkyrienSkiesWorld.INSTANCE, 80, 1, true);

    MinecraftForge.EVENT_BUS.register(worldEventsCommon);
    GameRegistry.registerWorldGenerator(new ValkyrienSkiesWorldGen(), 1);
    proxy.init(event);
}
 
Example #23
Source File: GTMod.java    From GT-Classic with GNU Lesser General Public License v3.0 5 votes vote down vote up
@Mod.EventHandler
public void init(FMLInitializationEvent e) {
	GTMaterialElement.init();
	GTRecipeIterators.init();
	GTTileCentrifuge.init();
	GTTileUUMAssembler.init();
	GTTileMagicEnergyConverter.init();
	GTRecipe.initShapeless();
	GTRecipe.initItems();
	GTRecipe.initBlocks();
	GTRecipe.initIC2();
	GTRecipe.initIC2Circuits();
	GTRecipe.initIC2Jetpacks();
	GTRecipe.initIC2Overrides();
	GTRecipe.initProcessing();
	GTBedrockOreHandler.bedrockOresInit();
	GameRegistry.registerWorldGenerator(new GTWorldGen(), 0);
	MinecraftForge.EVENT_BUS.register(new GTEventOnLivingFall());
	MinecraftForge.EVENT_BUS.register(new GTEventLootTableLoad());
	MinecraftForge.EVENT_BUS.register(new GTEventCheckSpawn());
	MinecraftForge.EVENT_BUS.register(new GTEventEntityViewRenderEvent());
	MinecraftForge.EVENT_BUS.register(new GTEventPopulateChunk());
	MinecraftForge.EVENT_BUS.register(new GTEventItemTooltip());
	if (!Loader.isModLoaded(GTValues.MOD_ID_FASTLEAF)) {
		MinecraftForge.EVENT_BUS.register(new GTEventNeighborNotifyEvent());
	}
	MinecraftForge.TERRAIN_GEN_BUS.register(new GTEventDecorateBiome());
	IC2.saveManager.registerGlobal("IDSU_Storage", GTIDSUStorageManager.class, false);
	proxy.init(e);
}
 
Example #24
Source File: GTProxyClient.java    From GT-Classic with GNU Lesser General Public License v3.0 5 votes vote down vote up
@Override
public void init(FMLInitializationEvent e) {
	super.init(e);
	registerTintedBlocks();
	registerTintedItems();
	MinecraftForge.EVENT_BUS.register(this);
	this.onRegisterRender();
}
 
Example #25
Source File: LogisticsPipes2.java    From Logistics-Pipes-2 with MIT License 5 votes vote down vote up
@Mod.EventHandler
public void init(FMLInitializationEvent event){
	proxy.init(event);
	LPWorldGen worldGen = new LPWorldGen();
	GameRegistry.registerWorldGenerator(worldGen, 0);
	MinecraftForge.EVENT_BUS.register(worldGen);
}
 
Example #26
Source File: ForgeHax.java    From ForgeHax with MIT License 5 votes vote down vote up
@Mod.EventHandler
public void init(FMLInitializationEvent event) {
  if (event.getSide() == Side.CLIENT) {
    // add shutdown hook to serialize all binds
    Runtime.getRuntime()
        .addShutdownHook(new Thread(() -> getModManager().forEach(BaseMod::unload)));
    
    // registerAll mod events
    getModManager().forEach(BaseMod::load);
  }
}
 
Example #27
Source File: ValkyrienSkiesControl.java    From Valkyrien-Skies with Apache License 2.0 5 votes vote down vote up
@Mod.EventHandler
public void init(FMLInitializationEvent event) {
    registerTileEntities();
    registerNetworks();
    registerCapabilities();
    proxy.init(event);
}
 
Example #28
Source File: Items.java    From BaseMetals with GNU Lesser General Public License v2.1 5 votes vote down vote up
@SideOnly(Side.CLIENT)
public static void registerItemRenders(FMLInitializationEvent event){
	for(Item i : itemRegistry.keySet()){
		Minecraft.getMinecraft().getRenderItem().getItemModelMesher()
		.register(i, 0, 
			new ModelResourceLocation(BaseMetals.MODID+":"+itemRegistry.get(i), "inventory"));
	}

}
 
Example #29
Source File: ValkyrienSkiesMod.java    From Valkyrien-Skies with Apache License 2.0 5 votes vote down vote up
@EventHandler
public void init(FMLInitializationEvent event) {
    // Print out a message of core count, we want this to know what AnvilNode is giving us.
    log.info("Valkyrien Skies Initialization:");
    log.info("We are running on " + Runtime.getRuntime().availableProcessors() +
        " threads; 4 or more is recommended!");
    proxy.init(event);
}
 
Example #30
Source File: ClientProxy.java    From Valkyrien-Skies with Apache License 2.0 5 votes vote down vote up
@Override
public void init(FMLInitializationEvent e) {
    super.init(e);
    registerBlockItem(ValkyrienSkiesMod.INSTANCE.physicsInfuser);
    registerBlockItem(ValkyrienSkiesMod.INSTANCE.physicsInfuserCreative);

    // registerItemModel(ValkyrienSkiesMod.INSTANCE.physicsCore);

    RenderItem renderItem = Minecraft.getMinecraft()
        .getRenderItem();
    renderItem.getItemModelMesher()
        .register(ValkyrienSkiesMod.INSTANCE.physicsCore, 0,
            new ModelResourceLocation(ValkyrienSkiesMod.MOD_ID + ":testmodel", "inventory"));
}