Started by
Nikau
on
Topic category: Help with Minecraft modding (Java Edition)
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.
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)
Thank you so much!