Jump to content

Animefan8888

Forge Modder
  • Posts

    6157
  • Joined

  • Last visited

  • Days Won

    59

Everything posted by Animefan8888

  1. You have printlns are they printing?
  2. Not registered, but instantiated/created.
  3. The digDown method posted works for me, is it being called? Is your TE being loaded? *Edit: make sure to save your blockToDestroy as well.
  4. Could you show your TileEntityBase and IEnergyDisplay?
  5. Please don't just throw copy-pasta code at people who don't even know what a variable is... This helps nobody. I didn't mean for it to be copy pasta code I will modify that right now.
  6. public class TE extends TileEntity { public BlockPos position; // Global variable public void doesNothing() { BlockPos position; // Local variable } }
  7. Could you post the updated rendering code?
  8. Does it work? If not I suggest changing icontainerlistener.sendProgressBarUpdate(this, 2, this.tileTestFurnace.getField(0)); // To this icontainerlistener.sendProgressBarUpdate(this, 0, this.tileTestFurnace.getField(0)); // Or this icontainerlistener.sendProgressBarUpdate(this, 2, this.tileTestFurnace.getField(2)); Do you see the difference?
  9. That is the problem, dont use ITileEntityProvider, just override the method signature I gave you.
  10. How is this not throwing an error at you? public TileEntity createNewTileEntity(World worldIn, int meta) { It should be public TileEntity createNewTileEntity(World worldIn, IBlockState state) {
  11. Probably because password distribution is easier than accessing the file and adding the information. I think you need to be more specific on the data you want to check. In my situation, it's extra authorization data input by user. I do know online-mode, whitelist, authme plugins, but I still need another password-like thing for a special server. It is asked when minecraft started by popping up a input box, and I want to verify it before player joined server. It would have to be a server and client mod. You will need a custom gui and custom packet.
  12. Crashes because some graphics cards dont support them, that is all.
  13. This one http://www.minecraftforge.net/forum/index.php?topic=43939.msg235743#msg235743
  14. I believe you are initializing your items before your blocks, so you are passing a null block to your item.
  15. The best way to learn how to mod is to learn Java first. This way you will know the conventions and efficiency/performance. Then follow the tutorials that exist to understand what they are doing. The next thing is play around with code(I assume you know how to make a basic Item/Block), you should mess around with certain methods and variables to see what they do, or look in the source provided for what they do. Last thing if you run into any problems or questions in general come here.
  16. I think you need to be more specific on the data you want to check.
  17. What he gave you details how to do it, there is a tutorial that lays out what you need in code if you want to look at it. Make sure that you go back and learn what everything does though. http://www.planetminecraft.com/blog/forge-tutorial-capability-system/
  18. AttachCapabilityEvent<?> Where '?' is the thing you are attaching it too. Entity, ItemStack, TileEntity, World.
  19. Find where the assets is in the minecraft directory and put it there in your mod. Where you put your modid use minecraft.
  20. Are you changing it based on something in the code?
×
×
  • Create New...

Important Information

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