Package org.geysermc.geyser.level.block
Class GeyserJavaBlockState
java.lang.Object
org.geysermc.geyser.level.block.GeyserJavaBlockState
- All Implemented Interfaces:
org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState
public class GeyserJavaBlockState
extends Object
implements org.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription@org.checkerframework.checker.index.qual.NonNegative floatboolean@NonNull org.geysermc.geyser.api.block.custom.nonvanilla.JavaBoundingBox[]boolean@NonNull String@org.checkerframework.checker.index.qual.NonNegative intjavaId()@Nullable StringpickItem()@Nullable String@org.checkerframework.checker.index.qual.NonNegative intboolean
-
Method Details
-
identifier
- Specified by:
identifierin interfaceorg.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState
-
javaId
public @org.checkerframework.checker.index.qual.NonNegative int javaId()- Specified by:
javaIdin interfaceorg.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState
-
stateGroupId
public @org.checkerframework.checker.index.qual.NonNegative int stateGroupId()- Specified by:
stateGroupIdin interfaceorg.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState
-
blockHardness
public @org.checkerframework.checker.index.qual.NonNegative float blockHardness()- Specified by:
blockHardnessin interfaceorg.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState
-
waterlogged
public boolean waterlogged()- Specified by:
waterloggedin interfaceorg.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState
-
collision
public @NonNull org.geysermc.geyser.api.block.custom.nonvanilla.JavaBoundingBox[] collision()- Specified by:
collisionin interfaceorg.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState
-
canBreakWithHand
public boolean canBreakWithHand()- Specified by:
canBreakWithHandin interfaceorg.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState
-
pickItem
- Specified by:
pickItemin interfaceorg.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState
-
pistonBehavior
- Specified by:
pistonBehaviorin interfaceorg.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState
-
hasBlockEntity
public boolean hasBlockEntity()- Specified by:
hasBlockEntityin interfaceorg.geysermc.geyser.api.block.custom.nonvanilla.JavaBlockState
-