Class MatchingFluidsPredicate.Builder
java.lang.Object
dev.wyck.worldgen.blockpredicates.MatchingFluidsPredicate.Builder
- Enclosing interface:
MatchingFluidsPredicate
- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the matching fluids predicate.Adds a fluid to match against.Adds multiple fluids to match against.Sets the fluids to match against.Sets the fluids to match against.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
-
fluids
Sets the fluids to match against.- Parameters:
fluids- the fluids- Returns:
- this builder
- Since:
- 3.0.0
-
fluids
Sets the fluids to match against.- Parameters:
fluids- the fluids- Returns:
- this builder
- Since:
- 3.0.0
-
fluid
Adds a fluid to match against.- Parameters:
fluid- the fluid- Returns:
- this builder
- Since:
- 3.0.0
-
fluid
Adds multiple fluids to match against.- Parameters:
fluids- the fluids- Returns:
- this builder
- Since:
- 3.0.0
-
build
Builds the matching fluids predicate.- Returns:
- the matching fluids predicate
- Since:
- 3.0.0
-