Class WouldSurvivePredicate.Builder
java.lang.Object
dev.wyck.worldgen.blockpredicates.WouldSurvivePredicate.Builder
- Enclosing interface:
WouldSurvivePredicate
- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the would survive predicate.offset(BlockVector offset) Sets the offset.Sets the block state to test.Sets the block state to test.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
offset
Sets the offset.- Parameters:
offset- the offset- Returns:
- this builder
- Since:
- 3.0.0
-
state
Sets the block state to test.- Parameters:
state- the block state- Returns:
- this builder
- Since:
- 3.0.0
-
state
Sets the block state to test.- Parameters:
material- the material- Returns:
- this builder
- Since:
- 3.0.0
-
build
Builds the would survive predicate.- Returns:
- the would survive predicate
- Since:
- 3.0.0
-