How do I make custom fish buckets for variants?

Started by garlicdemarlic on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make custom fish buckets for variants?

I'm making a mod for a snail mob and I want the snail variants to be save but when I use NBTs for items it doesnt carry over when I try to transfer that data values to the actual entity when you place it down

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How are you doing it…
Wed, 10/01/2025 - 13:08

How are you doing it currently?

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Any idea how to fix it?  
Wed, 10/01/2025 - 16:21

Any idea how to fix it?

 

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Its in the latest snapshot
Wed, 10/01/2025 - 16:22

Its in the latest snapshot

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What do you need the bucket…
Wed, 10/01/2025 - 18:12

What do you need the bucket to save about the entity?

And how are you storing the variants on the entity?

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I store it by converting the…
Wed, 10/01/2025 - 23:09

I store it by converting the number of the nbt (like variant number) and put it in a item nbt and when I release the mob I tried to turn the item nbt back to entity nbt and put it in the entity

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need the health, age, and…
Wed, 10/01/2025 - 23:10

I need the health, age, and variant to carry over to the item and then put it to the new entity (btw this is my alt)

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I store it by converting the…
Fri, 10/03/2025 - 00:38

I store it by converting the number of the nbt (like variant number) and put it in a item nbt and when I release the mob I tried to turn the item nbt back to entity nbt and put it in the entity,
I need the health, age, and variant to carry over to the item and then put it into the new entity (btw this is my alt)

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ty so much! it worked
Fri, 10/03/2025 - 17:29

ty so much! it worked