Jump to content

Animefan8888

Forge Modder
  • Posts

    6157
  • Joined

  • Last visited

  • Days Won

    59

Everything posted by Animefan8888

  1. Does it ever enter the for loops? If not do you ever add any recipes to the list, if so where and when?
  2. Please learn Java. This is ran once and it happens before you set your BurnTime variable in your constructor. You need to set this also in your constructor.
  3. Learn Java. You need to set the registry name of your Items, Blocks, etc.
  4. You said example. I wasn't just going to code it for you. ON isn't a property you want. Now you will want to override getStateForPlacement and return the blockstate with the FACING property set to something based on EntityPlayer#getHorizontalFacing()
  5. new BlockStateContainer(this, FACING, ON); And if you dont know what I mean by override createBlockState then you need to learn Java basics. And it will be overridden in your Blocks class.
  6. Make a block and or Property that that breaks all the other blocks when it is broken and make them render as invisible.
  7. Dont do this, you will have to split it up the blocks you cant have collision greater than 1, 1.5, 1.
  8. You also need to override createBlockState and pass in all of your properties to the new BlockStateContainer.
  9. Please no necroposting this thread is over a year old, make your own thread.
  10. Your property is an IUnlistedProperty you need to use an ExtendedBlockStateContainer.
  11. Stanford has a Java Programming course that they recorded the lectures of and put on YouTube, I dont have the link but it is pretty good. I dont have any books I can recommend. I mostly learned by doing and various google searches and my time here on the forum picking up various tidbits of information.
  12. Is the TileEntity actually being placed down where the block is? Is the TileEntity registered?
  13. The only thing that could be causing a null pointer crash here would be "tileentity" you have to be passing null to the constructor.
  14. Well post updated code, the new error report and which line it is crashing on.
  15. Do you have a custom implementation of IGuiHandler that is registered via NetworkRegistry?
  16. I would look at my previous multilayer model and see what was different as well as explain what means, preferably with the log.
  17. Since they happen at a set period of time after each other the game has a deltaTime(partialTicks) variable between each tick that is used for rendering things smoothly. So the game would update the position as to where it should be every tick and then render at that position with the partialTicks. Though your way of doing it works this is just the way minecraft handles these things.
  18. I'm not sure if TEISRs are given GL access, but the it could be done using a combination of the two. If you use a TESR that doesnt do anything but a single conditional check every frame except for when the Item uses a TEISR it should be a better performing render. The reason I brought up GL access is TESRFast would obviously be the better method instead of just a TESR.
  19. Wouldn't it have just been faster to attempt this than to make a forum post and ask. My answer would be yes, it should work when done correctly.
  20. You will have to use the Events for RightClicking. Probably the event that is client side would be the most appropriate the class should be Inputsomething unless the PlayerInteractEvents work for this.
  21. .You should instead use a custom IBakedModel and add the quads of the Item to the Blocks model. Override TileEntity#getUpdatePacket/getUpdateTag/onDataPacket/handleUpdateTag
×
×
  • Create New...

Important Information

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