How to make bucketable mob

Started by parrotgab on

Topic category: Help with modding (Java Edition)

Last seen on 02:19, 21. Jun 2023
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make bucketable mob

So im making a end extension mod and im adding a end axolotl mob but i dont know how to make it bucketable

all i know is that i need the item texture for it and probably coding (i cant code myself)

anyone can help me? I would appreciate

-ParrotGab 

Last seen on 17:02, 25. Jun 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi I'm not sure that is the…
Mon, 03/14/2022 - 20:46

Hi

I'm not sure that is the greatest solution but you can do that :

First, create a new item "bucket with [entity]"

Add a procedure to your new bucket in "when player click on a block" :

remove a "bucket with [entity]" from the player inventory

Add a "empty bucket" to the player inventory

Place a [entity] to x,y,z

 

Then, say in a procedure :

(trigger)When click on [entity]

if player hold a bucket in a hand

remove "empty bucket" from player inventory

make [entity] disappear.

Add a "bucket with [entity]" to the player inventory

 

Warning : you can't keep the life of your entity with this tips.

 

Last seen on 17:02, 25. Jun 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ow ! little error : the…
Mon, 03/14/2022 - 20:54

ow !

little error :

the second procedure had to be add to the [entity] procedure in "when a player click on this entity", not in a external procedure because the trigger "when click on [entity]" doesn't exist : )

Last seen on 01:19, 6. Oct 2024
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make Bucket item with entity…
Thu, 04/21/2022 - 15:15

Make Bucket item with entity inside, then do procedure: when right clicked on entity, use the AND procedure, and do has bucket in hand procedure, then do remove bucket from inventory, then add item!

 

With bucket item do when right clicked on ground procedure, then use set liquid at X Y Z {type:water} then do command /summon [yourentity]