Jump to content

larsgerrits

Members
  • Posts

    3462
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by larsgerrits

  1. There is no BlockStateContainer#getBlockHardness method because BlockStateContainer doesn't implement IBlockState itself, it contains the Block 's valid IBlockSate s (hence the name). There is a BlockStateContainer.StateImplementation#getBlockHardness method that implements IBlockState#getBlockHardness . You don't actually need to use the BlockStateContainer.StateImplementation class, you only need to use the IBlockState interface implemented by it. My bad, overlooked that it was in a nested class...
  2. I think you should be using BlockStateContainer.getBlockHardness , as that is what all the vanilla methods seem to call. Actually, most deprecated methods in the Block class are called by methods in BlockStateContainer .
  3. Minecraft 1.7.10 is no longer supported on this forum. Update to 1.10.2.
  4. Problem found! Minecraft Version: 1.7.10. 1.7.10 is no longer supported on this forum. Update to 1.10.2.
  5. Use SlotItemHandler instead of Slot .
  6. Don't use IInventory , use the new Capability system.
  7. [23:16:10] [Client thread/ERROR] [TEXTURE ERRORS]: Problem: broken aspect ratio and not an animation [23:16:10] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/silage_flowing.png [23:16:10] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/silage_still.png You need to copy the .mcmeta files over too.
  8. We are not going to download a random file from the internet. Post a link to git repository, or use gist.github.com or Pastebin to post your code.
  9. Psuedo-code: if (side is up) return tank1 if (side is down) return tank2
  10. Well, then copy the text into a spoiler tag?
  11. "Help, me crashing!" What do you want us to do without any logs?
  12. The capability methods have an EnumFacing parameter you could use to decide which tank to return.
  13. I had this weird issue where when I fixed the Item model for a Block , the Item ALREADY in my inventory stayed the black-purple box, but the SAME Item had a model in the creative tab. Maybe this is happening to you too.
  14. After a bit of looking, I couldn't find a way to disable that right now, but maybe someone else finds a way.
  15. But what is your intention? Auto-mining? Right-click bot?
  16. I think you can replace it with "property=variant", but don't quote me on that.
  17. 1.7.10 is no longer supported on this forum. Update to 1.10.2.
  18. You don't need to put the mob-related classes in the server proxy, but instead, they do have to be in the main classes or called from there.
  19. There may be other ways of doing what you want without mouse and keyboard events, so please tell us what you want.
  20. 1.7.10 is no longer supported on this forum. Update to 1.10.2.
  21. Because you never call the method... You can name your methods whatever you want, just be sure to name them something logical.
  22. Some people don't, but most people do, so I'd be careful when deploying that.
  23. Probably using packets, but as I said before, it will probably be considered cheating. So if you want any further help, you have to fully explain what you want to do so we don't help cheaters.
  24. 1) Update to 1.10.2. 2) Breaking a block on the client side is either: 1. be client-side only and not be synchronized with the server, thus will be reverted after some time, 2. or it is considered cheating if you find a way to solve issue #1.
  25. 1.7.10 is no longer supported on this forum. Update to 1.10.2.
×
×
  • Create New...

Important Information

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