Class BlockStateIdAccess
java.lang.Object
com.sk89q.worldedit.internal.block.BlockStateIdAccess
-
Method Summary
Modifier and TypeMethodDescriptionstatic BlockState
getBlockStateById
(int id) static int
getBlockStateId
(BlockState holder) static int
An invalid internal ID, for verification purposes.static boolean
isValidInternalId
(int internalId)
-
Method Details
-
invalidId
public static int invalidId()An invalid internal ID, for verification purposes.- Returns:
- an internal ID which is never valid
-
isValidInternalId
public static boolean isValidInternalId(int internalId) -
getBlockStateId
-
getBlockStateById
-