Interface HasSturdyFacePredicate
- All Superinterfaces:
BlockPredicate, Wrapper
Checks if the block at the specified offset has a full block supporting surface in the specified direction.
- Since:
- 3.0.0
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new builder.The direction to check.static HasSturdyFacePredicateof(BlockVector offset, BlockFace direction) Creates a new has sturdy face predicate.offset()The offset from the block to check.default HasSturdyFacePredicate.BuilderConverts this object back to a builder.Methods inherited from interface BlockPredicate
notMethods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
offset
The offset from the block to check.- Returns:
- the offset
- Since:
- 3.0.0
-
direction
-
toBuilder
Converts this object back to a builder.- Returns:
- a builder with the same values as this object
- Since:
- 3.0.0
-
of
Creates a new has sturdy face predicate.- Parameters:
offset- the offsetdirection- the direction- Returns:
- the has sturdy face predicate
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-