Class MatchingBlockTagPredicate.Builder
java.lang.Object
dev.wyck.worldgen.blockpredicates.MatchingBlockTagPredicate.Builder
- Enclosing interface:
MatchingBlockTagPredicate
Builder for
MatchingBlockTagPredicate.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the matching block tag predicate.offset(BlockVector offset) Sets the offset.tag(ResourceKey tag) Sets the tag.Sets the tag from a Bukkit tag.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
offset
Sets the offset.- Parameters:
offset- the offset- Returns:
- this builder
- Since:
- 3.0.0
-
tag
Sets the tag.- Parameters:
tag- the tag- Returns:
- this builder
- Since:
- 3.0.0
-
tag
Sets the tag from a Bukkit tag.- Parameters:
tag- the tag- Returns:
- this builder
- Since:
- 3.0.0
-
build
Builds the matching block tag predicate.- Returns:
- the matching block tag predicate
- Since:
- 3.0.0
-