Jump to content

Animefan8888

Forge Modder
  • Posts

    6157
  • Joined

  • Last visited

  • Days Won

    59

Everything posted by Animefan8888

  1. Just draw Strings and call the super for the render method. And use events or onItemUse(...)/onItemRightClick(...). And you still need a GuiHandler.
  2. Now all you need to do I think is call markDirty() in your add/remove methods. You will have an easy time adding more recipes if you use ItemStacks instead of ints BTW.
  3. Did you add any items? If not well I know your TileEntity is not saving as you have no overriden handleUpdateTag(...) and getDescriptionPacket(...).
  4. A couple things on instead of implementing ITileEntityProvider just override hasTileEntity(IBlockState state) and createTileEntity(IBlockAccess(might be World) world, IBlockState state). Next are you sure those particles are not spawning put some printlns in the if else chain.
  5. Maybe because you are not using else ifs all yhe way down the line?
  6. Look up casting in programming and you will see.
  7. Please explain to me what you mean by drag, do you mean clicking on a slot once and moving it around?
  8. When you are holding it or when it is in your inventory either way use onUpdate(...) in your item class.
  9. Just to make this easier make a private static AxisAlignedBB with the size you want and return that in getCollisionBoundingBox(...)
  10. Yes because you are passing a null item instead of an initialized one. Also item registration should really be done in the preInit method and instead of using Minecraft...getItemModelMesher(...) use ModelLoader.setCustomModelResourceLocation(...).
  11. Mainly the getCollisionBoundingBox(...), getSelectedBoundingBox(...), isFullCube(...), abd isOpaqueCube (...).
  12. There is a method in Block that allows you to edit the collision boxes. Look at BlockCactus for an example.
  13. You never initialize ALLIUMORE in the second file.
  14. There are things called PM's and I assume he emailed you.
  15. The amount is how much of the food bar is filled and saturation is basically how long it takes before the hunger starts to go down.
  16. Post the all OreGeneration Code and please use spoilers for things like crash reports and code tags for code.
  17. I have a recommendation put @Override above methods you are overriding.
×
×
  • Create New...

Important Information

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