Place/Replace Block Doesn't Work in Survival

Started by PixelPix on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Place/Replace Block Doesn't Work in Survival
Tue, 11/22/2022 - 02:01 (edited)

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:

Procedure

Edited by PixelPix on Tue, 11/22/2022 - 02:01
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is the only thing I…
Tue, 11/22/2022 - 02:12

This is the only thing I could find that makes it work in survival, but it seems odd. 

No idea man

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ah, nope, the above doesn't…
Tue, 11/22/2022 - 02:18

Ah, nope, the above doesn't resolve the problem. Still doesn't work in survival.

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This seems to be a problem…
Tue, 11/22/2022 - 02:57

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.

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just in case anybody else…
Wed, 11/23/2022 - 07:46

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.