Interface BlockBlobConfiguration
- All Superinterfaces:
FeatureConfiguration, Wrapper
A block blob.
- Since:
- 3.0.0
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface FeatureConfiguration
NONE -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new builder.The block predicate that must be passed for the blob to be placed on a block.static BlockBlobConfigurationof(BlockData state, BlockPredicate canPlaceOn) Creates a new block blob configuration.state()The block state that makes up the blob.default BlockBlobConfiguration.BuilderCreates a new builder from this configuration.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
state
-
canPlaceOn
The block predicate that must be passed for the blob to be placed on a block.- Returns:
- the placement predicate
- Since:
- 3.0.0
-
toBuilder
Creates a new builder from this configuration.- Returns:
- a new builder with the same values as this configuration
- Since:
- 3.0.0
-
of
Creates a new block blob configuration.- Parameters:
state- the block state that makes up the blobcanPlaceOn- the block predicate that must be passed for the blob to be placed on a block- Returns:
- a new block blob configuration
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-