Jump to content

Luis_ST

Members
  • Posts

    5704
  • Joined

  • Last visited

  • Days Won

    72

Everything posted by Luis_ST

  1. did you register the DeferredRegisterin the constructor of your main Mod class (see: https://forge.gemwire.uk/wiki/Registration#DeferredRegister)? as i already told you, you can not store data like this in your Item class since it's a singleton the Item exists once, you need to use the Tag data of the given ItemStack or for more complex data a Capability you can not do this, vanilla is in the most areas not thread safe, if you want a delayed task you need to use a TickTask you can take a look at ForgeInternalHandler EntityJoinLevelEvent fro an example
  2. AttributeModifiers are add to the MobEffect not the MobEffectInstance
  3. it's in .minecraft\launcher_log.txt if you using CurseForge it's in curseforge\minecraft\Install\launcher_log.txt
  4. Forge has had breaking changes recently, mods need to update for them. Check if there are updated versions of your mods or downgrade Forge.
  5. Forge has had breaking changes recently, mods need to update for them. Check if there are updated versions of your mods or downgrade Forge.
  6. if you using CurseForge you need to enable the debug.log in the settings
  7. you can not store data like this in your Item class since it's a singleton the Item exists once, you need to use the Tag data of the given ItemStack or for more complex data a Capability and for further post please use the code feature of the Forum or a paste website to upload your code
  8. you need to set the potion via NBT data, i would recommend to use Data generation for it you can set the Potion of an ItemStack with PotionUtils.setPotion Note you need to use StrictNBTIngredient instead of the vanilla Ingredient, since the vanilla Ingredient does not check the tag (nbt) data
  9. then you need to wait for updates or downgrade Forge
  10. Forge has had breaking changes recently, mods need to update for them. Check if there are updated versions of your mods or downgrade Forge.
  11. the correct way would be BlockState#is with BlockTags.LEAVES, but GLMs do not use Blocks, in this case it would be ItemStack#is with ItemTags.LEAVES
  12. do you mean a Block in the world or a BlockItem, please give us a bit more content
  13. please post debug.log on CurseForge you need to enable the debug.log in the settings
  14. it's a file which is generated by the installer, you find it in the same folder where you run the installer
  15. please post debug.log from the logs folder
  16. yes it's the correct log but it does not show any error which crash the game but i would guess you have the same error as most people playing on 1.19 Forge has had breaking changes recently, mods need to update for them. Check if there are updated versions of your mods or downgrade Forge.
  17. Forge has had breaking changes recently, mods need to update for them. Check if there are updated versions of your mods or downgrade Forge.
×
×
  • Create New...

Important Information

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