129: Checking a players Y level. [Minecraft Map Making]

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



Minecraft
Game:
Minecraft (2011)
Duration: 5:05
349 views
17


Ep129: Two ways to check the Y level of a player

Java Version: 1.19

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

Check out my collabs on Coppit's channel: https://www.youtube.com/c/CoppitJ

Join the server I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord: https://discord.gg/KNSmPWdnfG

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.

Commands used: YouTube formatting may make some of these wrong. :)

IUN: scoreboard objectives add playerHeight dummy "Height"

RUA: execute as @a run execute store result score @s playerHeight run data get entity @s Pos[1]
CUA: execute as @a[scores={playerHeight=60..65}] run say Hi

Alternate:
RUA: execute as @a at @s if entity @s[y=60,dy=10] run say Hi







Tags:
minecraft
adventure map
map making
commands
command blocks
1.18
custom commands
redstone
map ideas
map suggesstions
custom maps
1.19



Other Statistics

Minecraft Statistics For Infernal Device

At present, Infernal Device has 182,939 views spread across 869 videos for Minecraft, accounting for over 10 days of watchable video on his channel. This is 94.82% of the total watchable video for Minecraft on Infernal Device's YouTube channel.