Help, How do I disable a block in a dimension?

Started by EnderKasra on

Topic category: Help with modding (Java Edition)

Last seen on 13:19, 20. Oct 2023
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help, How do I disable a block in a dimension?

Hello! in my mod I want to disable a block in a dimension, the block is nether portal lmao, i want it whenever its placed it get removed. how can I do that?

Last seen on 12:34, 18. Apr 2024
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create a procedure on world…
Tue, 09/26/2023 - 17:02

Create a procedure on world tick. Create an if statement to make sure the player is in the dimension and then use the remove block inside the if statement.