Interface GeyserBlockPlacer.Builder
- All Superinterfaces:
GenericBuilder<GeyserBlockPlacer>
- Enclosing interface:
GeyserBlockPlacer
Builder for the block placer component.
- Since:
- 2.9.3
-
Method Summary
Modifier and TypeMethodDescriptionblock(Identifier block) The identifier of the block to place.build()Creates the block placer component.useBlockIcon(boolean useBlockIcon) Whether to use the block's icon over the item icon.
-
Method Details
-
block
The identifier of the block to place. This should be the block identifier as it is known to the Bedrock client.- Parameters:
block- the identifier of the block- Returns:
- this builder
- Since:
- 2.9.3
- See Also:
-
useBlockIcon
Whether to use the block's icon over the item icon. Block items have a 3d-generated block icon.- Parameters:
useBlockIcon- whether to use the block icon- Returns:
- this builder
- Since:
- 2.9.3
- See Also:
-
build
GeyserBlockPlacer build()Creates the block placer component.- Specified by:
buildin interfaceGenericBuilder<GeyserBlockPlacer>- Returns:
- the new component
- Since:
- 2.9.3
-