Files

24 lines
520 B
Markdown

# IScriptBlockState.isSameBlock
[← IScriptBlockState](index.md) · [← Master](../../wiki.md)
Parça 2/2 · [önceki](isSameBlock.md)
boolean hasCollision(IScriptWorld world,
int x,
int y,
int z)
Check whether given block state has collision boxes. Minecraft's block state code requires a world
instance and block coordinates to be passed, because collision box can be different depending on the
place in the world.
isAir
boolean isAir()
Check whether given block state is air.