Class HasSturdyFacePredicate.Builder
java.lang.Object
dev.wyck.worldgen.blockpredicates.HasSturdyFacePredicate.Builder
- Enclosing interface:
HasSturdyFacePredicate
Builder for
HasSturdyFacePredicate.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the has sturdy face predicate.Sets the direction.offset(int x, int y, int z) Sets the offset.offset(BlockVector offset) Sets the offset.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
offset
Sets the offset.- Parameters:
offset- the offset- Returns:
- this builder
- Since:
- 3.0.0
-
direction
Sets the direction.- Parameters:
direction- the direction- Returns:
- this builder
- Since:
- 3.0.0
-
offset
Sets the offset.- Parameters:
x- the x offsety- the y offsetz- the z offset- Returns:
- this builder
- Since:
- 3.0.0
-
build
Builds the has sturdy face predicate.- Returns:
- the has sturdy face predicate
- Since:
- 3.0.0
-