Give effect to nearest player when in a specific range of a block.

Started by _NO_CHEESE_ on

Topic category: Troubleshooting, bugs, and solutions

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Give effect to nearest player when in a specific range of a block.

So for my mod i wanna make so that if your in a specific range of this block i made, it will start a variety of things, but the first one i wanna figure out is if its possible to make it give you an effect if your near it. (lets say 5 blocks.)

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Grab the block that is…
Thu, 12/26/2024 - 21:07

Grab the block that is called something like check for nearest entity of type  _ in a cube of _ and then under it put the effect you want to give the nearest player.