kamishibusan
8/30/2017 - 12:16 AM

minecraftmodexample.example000_009.e000_basic_block.InitClient.java

package net.nyagosu.minecraftmodexample.example000_009.e000_basic_block;

import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraftforge.client.model.ModelLoader;

public class InitClient {

	public static void preInitClient()
	{
    //モデルなどリソースの指定。
		ModelResourceLocation itemModelResourceLocation = new ModelResourceLocation("minecraftmodexample:e000_basic_block", "inventory");
		final int DEFAULT_ITEM_SUBTYPE = 0;
		ModelLoader.setCustomModelResourceLocation(InitCommon.itemBlockBasicBlock, DEFAULT_ITEM_SUBTYPE, itemModelResourceLocation);
	}

	public static void initClient()
	{

	}

	public static void postInitClient()
	{

	}
}