Started by
pumpkin1
on
Topic category: Help with Minecraft modding (Java Edition)
I have a procedure that runs after a block is placed and checks what the block + 2 blocks below it are (pumpkin-mud-mud, like a snow golem), then deletes the blocks and spawns the entity. The if statement only runs when the pumpkin is updated, if you use a block on it then for some reason it also places in the pumpkin's spot.
This looks like it's a client server desync with ghost blocks. Try putting if not the provided world is client-side at the top of yuor procedure to restrict it to only the server-side.