Check block under player
Unsolved
ScriptAPI
-
How do I check what block is the block under me?
-
@ivanovladimirs
mc.theWorld.getBlockState(new BlockPos(mc.thePlayer).down(1)).getBlock()
-
@boblsmymanager ye but the mods will do it
-
@mimikyuin if theres no block then theres air
basically you can use the block check -
@mimikyuin or you can mc.theWorld.isAirBlock(new BlockPos(mc.thePlayer).down(1))