How to prevent players from placing blocks/fluids on a custom block

Started by RoboMan on

Topic category: Help with modding (Java Edition)

Last seen on 06:49, 13. Oct 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to prevent players from placing blocks/fluids on a custom block

I'm looking to create a block that cannot have other blocks placed on or next to it. How would I go about doing this?

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
when neighbor block changes…
Sun, 10/03/2021 - 02:32

when neighbor block changes remove block at X Y Z

Last seen on 06:49, 13. Oct 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I would use this, but there…
Sun, 10/03/2021 - 02:57

I would use this, but there is a door that connects to one of these blocks, and I need players alone to not be able to place blocks on it, as I need blocks to be spawned in on top of them.

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
what?
Sun, 10/03/2021 - 03:09

what?

Last seen on 06:49, 13. Oct 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
My explanation was awful, so…
Sun, 10/03/2021 - 03:18

My explanation was awful, so I'll try to explain it better. I am making a structure that I do not players to be able to place blocks on. In that structure is a door, and if it opened using the method you said, it would just delete the door.

Last seen on 06:49, 13. Oct 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
*do not want
Sun, 10/03/2021 - 03:18

*do not want

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
then make it so it says…
Sun, 10/03/2021 - 04:01

then make it so it says something like

if not block at X Y Z = YOUR_DOOR

etc etc etc 

Last seen on 06:49, 13. Oct 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ah, I see. Thank you for…
Sun, 10/03/2021 - 04:04

Ah, I see. Thank you for your help.

Last seen on 15:49, 18. Feb 2024
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can do it by canceling…
Wed, 10/13/2021 - 10:46

You can do it by canceling the global trigger with the procedure

Cancel global trigger event