Started by
PixelPix
on
Topic category: Help with Minecraft modding (Java Edition)
This is kind of an odd one, but I have a block in my mod that when broken is replaced with another block. This works fine in creative; the block is broken, the other block successfully replaces it.
When I switch to survival, it no longer works. The block just breaks.
What would cause this to happen? Anyone know a fix?
It's insanely simple, but here's the procedure:
Edited by PixelPix on Tue, 11/22/2022 - 02:01
This is the only thing I could find that makes it work in survival, but it seems odd.
Ah, nope, the above doesn't resolve the problem. Still doesn't work in survival.
This seems to be a problem in other areas as well. My food items have effects on them - when consumed it works fine in creative, but in survival it does nothing.
Just in case anybody else encounters this at some point, though the outcome was the stuff not working in survival while working fine in creative, what appeared to be the cause was having the same event trigger fire multiple times on the same item, e.g. when item is used firing in multiple places simultaneously on the same object. I resolved that and it's all working as intended now.