mud block function

Started by Matteo Righini on

Topic category: Advanced modding

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
mud block function

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 

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
player right click block…
Sun, 10/24/2021 - 20:29

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

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank you but I can't find…
Mon, 10/25/2021 - 19:47

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)

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
block at x y z is on block…
Mon, 10/25/2021 - 19:51

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

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can't find the block …
Tue, 10/26/2021 - 15:32

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)

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yes it is indeed get block…
Tue, 10/26/2021 - 16:15

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"

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank you so much, I missed…
Tue, 10/26/2021 - 18:50

thank you so much, I missed a step before and all didn't work. sorry for the lost time