Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Posts

  • Joined

  • Last visited

Everything posted by Boy132

  1. Thank you for your answer! Sadly none of that worked for me, I tried it with 0f, 0.05f, 0.1f and 0.2f (and editing the model json) and the result were the same as before.
  2. So I've made a multiblock structure (and basically followed this video: https://www.youtube.com/watch?v=GQRxeJSoUI4) and everything works fine but there are some lighting problems because the model of the controller is bigger than one block (it is 2x2 blocks): I know that you used to fix this by overriding isFullBlock and later getRenderLayer but both of these methods don't exist anymore. Using RenderTypeLookup.setRenderLayer(block, RenderType.getCutout()) didn't work either.
  3. I have the same problem on 1.16.3 with nearly the same code. Did you find a solution?
  4. Figured it out: my custom structures caused the crash. Disabling the structure registration solved the problem.
  5. Hmm, thats weird... The logs are attached now. debug.log latest.log
  6. -snip- Full log: https://hastebin.com/kahuqizofe.pl
  7. Hello, I am currently updating my mod from 1.15 to 1.16. Minecraft starts without erros but as soon as I try to join a world or click on "create world" it crashs: https://hastebin.com/dirihipifo.sql Is this a minecraft/ forge problem? Or my mods fault?
  8. There are basically two buses to choose from: https://mcforge.readthedocs.io/en/1.15.x/events/intro/ You can figure it out.
  9. First of all this is the wrong section. You would need to post this under "Modding Support". Make sure it's a .json file and not a normal .txt file. Check if you modid is really testmod and that the registryname of your item is set to test_item.
  10. I guess you need to make the constructor public with an access transformer.
  11. This thread is from 2018... please make a new thread for your problem instead of bumping this one.
  12. Show your whole class and/ or where you register the event.
  13. You need to put your modid in front of name. ("name": "memesounds:giornos_theme") You play your sound by adding a chat message? Okay
  14. The interface is just called Command now.
  15. Just to be sure: your block of the crop breaks when it turns mature? Also your spoiler in the post above seems to be broken. (at least for me it says "Advanced issue found")
  16. I totally agree with you. I thought in this case it's fine because the code isn't complex at all and there is no real vanilla reference to look at. ^^
  17. What do you mean by "change my pseudo"?
  18. This should work: @Override public boolean hasContainerItem() { return true; } @Override public ItemStack getContainerItem(ItemStack itemStack) { ItemStack stack = itemStack.copy(); if(stack.attemptDamageItem(1, random, null)) { stack.shrink(1); stack.setDamage(0); } return stack; } EDIT: And of course set the max damage in your item's properties. (maxDamage)
  19. Listen to LivingDamageEvent or AttackEntityEvent and apply your logic there.
  20. Thanks, that worked! I do bind the textureatlas resourcelocation and if I just use sprite.getName() it renders the "pink black missing texture" texture.
  21. Basically the item tier is what used to be tool material in older versions. You create a class that implents IItemTier and then you pass that class to your item. (In simple words you "just copy" the vanilla ItemTier class and replace the values.)
  • Create New...

Important Information

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