Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/27/20 in all areas

  1. You put a `@ObjectHolder` annotation on `ItemInit.example_item` without specifying a modid in either the annotation on the field or on the class (through @Mod or @ObjectHolder). See the documentation on @ObjectHolder for its rules and examples. (ignore the 1.14.x version, it is the same up to 1.16.+)
    2 points
  2. Im trying to host a minecraft server using the latest minecraft 1.16.1 forge and for some reason player data doesnt save. Is this a bug anyone else is experiencing and what version can i use to fix this
    1 point
  3. I think you can use IBlockReader::getFluidState on the current position of the player and check if its not empty.
    1 point
  4. There's also: ItemStackHandler.insert(stack, true).isEmpty()
    1 point
  5. i would like it if mod resorses arnt a resorespack
    1 point
  6. I believe whenever there are changes being made to the tag, it will be sync to the client. What getShareTag() does is allows you to modify the tag before the message of syncing being sent.
    1 point
  7. Just wondering does inner class count as a "class" for you?
    1 point
  8. You shouldn't be sending changes every tick, and for ItemStacks' capability syncing you will need to override getShareTag(), readShareTag().
    1 point
  9. https://minecraft.gamepedia.com/Tag
    1 point
  10. It isn't a class, it's a json file you need to add.
    1 point
×
×
  • Create New...

Important Information

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