Jump to content

Bugzoo

Members
  • Posts

    268
  • Joined

  • Last visited

Everything posted by Bugzoo

  1. I know I shouldnt be asking for code but, im desperate. Ive read about how to send packets and stuff but I just cant do it. If you know how, could you please even give me a tiny bit of code to help me understand?
  2. I want to give an item on GUIButton click but i dont know how to do this with packets. I have read lots of packet tutorials but i cant seem to find out how to do it. Thanks
  3. Your problem may be coming from your GL11.glRotatef functions. Check over that
  4. Thanks, sorry to bother you over such a simple problem lol
  5. package MinespressoMod; import java.awt.List; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemFood; import net.minecraft.item.ItemStack; import net.minecraft.potion.Potion; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; public class ItemSugaryDrink extends ItemFood { public ItemSugaryDrink(int par1, int par2, int par3, boolean par4) { super(par1, par2, par3, par4); setAlwaysEdible(); setPotionEffect(Potion.moveSpeed.id, 200, 5, 1.0F); setCreativeTab(null); } public void registerIcons(IconRegister par1IconRegister) { this.itemIcon = par1IconRegister.registerIcon("Minedrinks:Coffee"); } @SideOnly(Side.CLIENT) public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List dataList, boolean par4){ dataList.add("Extra Sugar"); } }
  6. The addInformation method doesnt seem to be overriding though. Do you know of any other causes of it not working?
  7. My class already extends ItemFood and i cant extend two classes at a time
  8. Im such a noob. I thought i did give it a creative tab, but when i looked into my block class, apparently i didnt. Thanks anyway
  9. I cant override the addInformation method because it is not in the ItemFood class, so is there anyway of doing this?
  10. I made a block and its not appearing in the creative menu. The only way to get it is by typing 'give 1132'. Thanks
  11. I found out how to do it. If anybody has wanted to know how to do it here is a tutorial - http://www.minecraftforum.net/topic/2571061-forge-rendering-an-item-on-your-block/
  12. It looks like your error is coming from line 40 from your main class. I may be wrong but check there.
  13. I saw this in the bibliocraft mod. If you right click the table with an item then the item renders on the table and the same with the shelves. Thanks
  14. I changed the bounding box size and made it two blocks high. Now the top block of the model is solid and i can no longer walk through it, but still if i left click the top block of the model it wont break and it still wont open the gui. Thanks for the reply though.
  15. I have a two block high techne block model with a gui. But i can only open the gui using the bottom block of the of the model and I can only break the model using the bottom block. I hope i explained this correctly. Thanks
  16. I want to make a gui and put pictures of diamonds and emeralds and stuff in it. It is like a book with pictures in it. Is there any way I can do this?
  17. *bump*
  18. I mean the mouse over
  19. I want to make a two block high techne model with a hitbox for the bottom and a hitbox for the top, like a door. But i dont know how you are meant to get the Techne model exactly two blocks in height.
  20. Your problem may not be in your model class, we need your other classes, like your render class and stuff
  21. I have updated my two methods and nothing has changed. I've updated my TileEntity code to show you.
  22. Anyone?
  23. Oh, just added it
  24. I tried that and nothing changed?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.