Started by
Matteo Righini
on
Topic category: Advanced modding
I'd like to create the 1.19 mud block in my mod, but I don't know how can I do that when the player right clicks whit a bottle of water on a dirt block it becomes mud. I don't know how to create this function or if I can do it, thank you
player right click block Global Trigger
if item in main hand of event target entity = Water_Bottle AND block at X Y Z = Dirt
do replace block at x y z with MUD
search before posting
thank you but I can't find the block "block at", I've searched it for long but I can't find it anywhere, do you know its real name? (I haven't only searched for the name "block at" but almost all blocks to find something useful)
block at x y z is on block data
then go to logic and get a Yellow block with 2 spaces
then go to Minecraft components and get a Yellow block
then put it all together
I can't find the block "block at x y z", the most similar is "get block at x y z" but it doesn't work. I've searched in procedure templates and tried a lot of combinations but I haven't found anything useful: all actions are reflected on the custom block (the mud block) and not in a vanilla block (like dirt)
yes it is indeed get block at x y z.
"then go to logic and get a Yellow block with 2 spaces
then go to Minecraft components and get a Yellow block
then put it all together"
thank you so much, I missed a step before and all didn't work. sorry for the lost time