How do I pick up a moded entity in a custom bucket?

Started by Nikau on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I pick up a moded entity in a custom bucket?

I am trying to pick up an entity in a bucket (that doent need water) by removing the bucket then adding the bucket+entity then despawning the entity when I right click my custom entity. How do I do it.

I am a noob at this so please can you explain in a lot of detail.

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You need to procedures first…
Wed, 08/03/2022 - 09:35

You need to procedures first when right clicked at entity check if player(source entity) is holding a bucket then despawn the mob(target entity) remove bucket from inventory and add the custom mob bucket to inventory and for second procedure when right clicked to block with the item remove the custom bucket from inventory add normal bucket and spawn your entity 

(Sorry for messy explanation if you need pictures of it I can send you)

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you so much!
Wed, 08/03/2022 - 12:50

Thank you so much!