434: Y level check with a predicate. [Minecraft Map Making]

Subscribers:
3,590
Published on ● Video Link: https://www.youtube.com/watch?v=bQlyRbFbY7Y



Duration: 0:00
212 views
6


Membership:
Ep434: Using a predicate to check the player's y level.

00:00 Intro
00:30 Make the predicate
01:15 Controller

Version: 1.21

Command help: GalSergey

Commands, builds, hacks and ideas for people making their own Minecraft maps.

Check out my collabs on Coppit's channel:

Join the CoppitCraft server that I play on and the Discord where I hang out.
Server IP: 51.81.176.10:28386
Discord: https://discord.gg/amU84KykEu

The following commands are prefixed with three letters which represent the settings of the command block. E.g IUN: = Impulse Unconditional Needs_Redstone. These prefixes need to be removed if copying the commands.

Since angled brackets are not allowed in YouTube descriptions you will have to replace "greater than" and "less than" with the appropriate angled bracket.

Commands used:

Controller:
RUA: execute as @a at @s if predicate {"condition":"minecraft:location_check","predicate":{"position":{"y":{"min":60,"max":61}}}} run say In range!