potion effect stopping you from building

Started by FluvKii on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
potion effect stopping you from building
Mon, 04/21/2025 - 00:17 (edited)

I want to make a potion effect that makes it so that when you place a block, it immediately despawns and returns to your inventory, and when you break a block, it doesnt spawn an item entity and respawns. This will be used for bossfights, so I can make custom arena structures that can't be modified by players. Is anyone able to help me with this? It would be much appreciated! :D

Edited by FluvKii on Mon, 04/21/2025 - 00:17