
Cyani
Members-
Posts
30 -
Joined
-
Last visited
Everything posted by Cyani
-
I need a bit of help with the textures for my mod. The Problem is that I do not know what folder I put my textures in, nor where that folder is. Please help. Thanks - Luke
-
How do I make my block have a custom render> (EG Chest, signs ect)
Cyani replied to Cyani's topic in Modder Support
Ok thanks, but , are there any detailed tutoraials on this? I am still a bit confused -
How do I make my block have a custom render> (EG Chest, signs ect)
Cyani replied to Cyani's topic in Modder Support
Ok thanks, but , are there any detailed tutoraials on this? I am still a bit confused -
How do I make my block have a custom render> (EG Chest, signs ect)
Cyani replied to Cyani's topic in Modder Support
Modloader. ? -
How do I make my block have a custom render> (EG Chest, signs ect)
Cyani replied to Cyani's topic in Modder Support
Modloader. ? -
How do I make my block have a custom render> (EG Chest, signs ect)
Cyani replied to Cyani's topic in Modder Support
I have a render, but what would I do to make the block show up as it? -
for the link. he didnt help me at all. I already knew that
-
for the link. he didnt help me at all. I already knew that
-
Told the solution to the problem. http://www.minecraftforge.net/wiki/Containers_and_GUIs Tutorial on GUI's and stuff. Should get ya going. Once you can open your own GUI from an item using player.openGui method (If it's still named so?) then you should be ready to do what you are attempting to do ^^ Finally, some actual help. You, sir, are a fricking GENIUS
-
Told the solution to the problem. http://www.minecraftforge.net/wiki/Containers_and_GUIs Tutorial on GUI's and stuff. Should get ya going. Once you can open your own GUI from an item using player.openGui method (If it's still named so?) then you should be ready to do what you are attempting to do ^^ Finally, some actual help. You, sir, are a fricking GENIUS
-
Are there any tutorials on this?
-
Are there any tutorials on this?
-
Anyone? Please!
-
Anyone? Please!
-
Does anyone actually have any code I can use? I am not too good with understanding how the GUI part of minercaft works, but I need some code so I can finish my mod.
-
Please stop arguing and get back to the point. Look at my code listed a few posts above and tell me how I implement a way of opening the Crafting Gui From An ITEM --thanks
-
It still doesnt work, i dont know why. Could someone give me an exact tutorial of what to do? heres my code: My Basefile: //package package cyani.portutils; //imports start of list import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.Init; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.Mod.PostInit; import cpw.mods.fml.common.Mod.PreInit; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.network.NetworkMod; import cpw.mods.fml.common.registry.LanguageRegistry; import cyani.core.CommonProxy; import cyani.core.ClientProxy; //end //mod info @Mod(modid="PortableUtils", name="Portable Utilities", version="1.0.0") //sided requirement @NetworkMod(clientSideRequired=true, serverSideRequired=false) public class PortableUtilities { @Instance("Portable Utilities") public static PortableUtilities instance; private final static Item PortableCraftingTable = new PortableCraftingTable(5000).setUnlocalizedName("PortableCrafter");; public static CreativeTabs PortableUtilities = new CreativeTabs("tabPortUtils") { public ItemStack getIconItemStack() { return new ItemStack(PortableCraftingTable, 1, 0); } }; @SidedProxy(clientSide="cyani.core.ClientProxy", serverSide="cyani.core.CommonProxy") public static CommonProxy proxy; @PreInit public void preInit(FMLPreInitializationEvent event) { } @Init public void load(FMLInitializationEvent event) { proxy.registerRenderers(); LanguageRegistry.addName(PortableCraftingTable, "Portable Crafting Table"); LanguageRegistry.instance().addStringLocalization("itemGroup.tabPortUtils", "en_US", "Portable Utilities"); //Creative tab setting PortableCraftingTable.setCreativeTab(PortableUtilities); } @PostInit public void postInit(FMLPostInitializationEvent event) { } } and here is my PortableCraftingTable.java code: package cyani.portutils; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.world.World; public class PortableCraftingTable extends Item { public PortableCraftingTable(int id) { super(id); }{ this.setMaxStackSize(1); } @Override public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int par7, float par8, float par9, float par10) { if(!world.isRemote) { player.displayGUIWorkbench(x, y, z); } return true; } }
-
Doesnt work! Screenshot: http://i.imgur.com/zX0WBDy.png
-
I put the code in my portable crafting table . java file, which is what my items extends, and I doesnt crahses minecraft when I try to use it!
-
It doesnt Work!
-
How do I make it open the crafting table GUI?