
Bugzoo
Members-
Posts
268 -
Joined
-
Last visited
Everything posted by Bugzoo
-
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?
-
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
-
[1.7.2] [SOLVED!] Arrow not rendering correctly while flying
Bugzoo replied to Metalbot1's topic in Modder Support
Your problem may be coming from your GL11.glRotatef functions. Check over that -
Thanks, sorry to bother you over such a simple problem lol
-
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"); } }
-
The addInformation method doesnt seem to be overriding though. Do you know of any other causes of it not working?
-
My class already extends ItemFood and i cant extend two classes at a time
-
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
-
I cant override the addInformation method because it is not in the ItemFood class, so is there anyway of doing this?
-
I made a block and its not appearing in the creative menu. The only way to get it is by typing 'give 1132'. Thanks
-
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/
-
It looks like your error is coming from line 40 from your main class. I may be wrong but check there.
-
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
-
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.
-
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
-
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?
-
I mean the mouse over
-
Oh, thanks
-
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.
-
Your problem may not be in your model class, we need your other classes, like your render class and stuff
-
I have updated my two methods and nothing has changed. I've updated my TileEntity code to show you.
-
Oh, just added it
-
I tried that and nothing changed?