Started by
Syvvik
on
Topic category: Help with Minecraft modding (Java Edition)
I want to create a grass block where I can use an item that digs the block, dropping a treasure item, then getting replaced by a normal dirt block. I also want to include this in terrain generation and if possible, have it generate across a certain area each minecraft day. My inspiration are the treasure spots from Animal Crossing. Is there any way to achieve this using Mcreator? Thanks!
Edit: Perhaps something quite similar to how the suspicious sand works in the new 1.20 update.
Edited by Syvvik on Thu, 06/08/2023 - 03:32
i have solution but i cant send a picture
-NEW PRODECURE
-set global trigger to "BLOCK DESTROYED"
IF: provided blockstate is the same block as (YOUR BLOCK)
AND SOURCE ENTITYis sub type PLAYER
DO
spawn item\gem at x y z TREASURE ITEM
PLACE dirt block at x y z
heres photo https://imgur.com/a/pZOTo1T