提供: Minecraft Modding Wiki
1.6のモデル付きカスタムツール追加
ソース
- CustomModelTools.java
package custom.tool.item; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.network.NetworkMod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.event.FMLPreInitializationEvent; @Mod( modid = "CustomModelTools", name = "Custom Model Tools", version = "1" ) @NetworkMod( clientSideRequired = CustomModelTools.clientSideRequiredBoolean, serverSideRequired = CustomModelTools.serverSideRequiredBoolean ) public class CustomModelTools { public static final boolean clientSideRequiredBoolean = true; public static final boolean serverSudeRequiredBoolean = false; public static ItemTool mainItem; @EventHabdler public void mainLoading(FMLPreInitializationEvent event) { mainItem = new } }
- ItemCustomModelTools.java
package custom.tool.item; public class ItemCustomModelTools extends ItemTool { public ItemCustomModelTools(int par1ID, }
未完成