package net.minecraft.src; import java.util.*; |
public class mod_TestMod extends BaseMod{ public static final Item pills=new ItemPills(164).setItemName("pills"); |
public mod_TestMod(){ ModLoader.AddName(pills,"Pills"); pills.iconIndex = ModLoader.addOverride("/gui/items.png", "/item/pills.png"); |
ModLoader.AddRecipe(new ItemStack(pills ,1), new Object[] { "xx", "##", Character.valueOf('#'), Item.sugar, Character.valueOf('x'), Item.bowlSoup }); } public String Version(). { return "ModLoader need this"; } } |
public static final Item pills=new ItemPills(164).setItemName("pills"); |
同標籤作品搜尋:當個創(chuàng)世神 Beta|MOD|模組|JAVA|MCP|Minecraft|Item
留言共 2 篇留言
前一篇:【MC MOD Tuto... 後一篇:【MC MOD Tuto...