java minecraftmodexample.example000_009.e000_basic_block.InitClient.java

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了java 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()
	{

	}
}

以上是关于java minecraftmodexample.example000_009.e000_basic_block.InitClient.java的主要内容,如果未能解决你的问题,请参考以下文章

java minecraftmodexample.example000_009.e004_damage_block.BlockDamageBlock.java

java minecraftmodexample.example000_009.e000_basic_block.InitClient.java

java minecraftmodexample.example000_009.e000_basic_block.InitCommon.java

java minecraftmodexample.example000_009.e000_basic_block.BlockBasicBlock.java

java net.nyagosu.minecraftmodexample.example000-009.e003_fragile_block.BlockFragileBlock.java

java net.nyagosu.minecraftmodexample.example000-009.e001_hardest_block.BlockGlowBlock.java