Interface JavaBlockState.Builder
- Enclosing interface:
- JavaBlockState
public static interface JavaBlockState.Builder
-
Method Summary
Modifier and TypeMethodDescriptionblockHardness(@org.checkerframework.checker.index.qual.NonNegative float blockHardness) build()canBreakWithHand(boolean canBreakWithHand) collision(@NonNull JavaBoundingBox[] collision) hasBlockEntity(boolean hasBlockEntity) Deprecated, for removal: This API element is subject to removal in a future version.Does not have an effect.identifier(@NonNull String identifier) javaId(@org.checkerframework.checker.index.qual.NonNegative int javaId) pistonBehavior(@Nullable String pistonBehavior) stateGroupId(@org.checkerframework.checker.index.qual.NonNegative int stateGroupId) waterlogged(boolean waterlogged)
-
Method Details
-
identifier
-
javaId
-
stateGroupId
JavaBlockState.Builder stateGroupId(@org.checkerframework.checker.index.qual.NonNegative int stateGroupId) -
blockHardness
JavaBlockState.Builder blockHardness(@org.checkerframework.checker.index.qual.NonNegative float blockHardness) -
waterlogged
-
collision
-
canBreakWithHand
-
pickItem
-
pistonBehavior
-
hasBlockEntity
Deprecated, for removal: This API element is subject to removal in a future version.Does not have an effect. If you were using this to * set piston behavior, usepistonBehavior(String)instead. -
build
JavaBlockState build()
-