Class TagSet.Builder<T extends Keyed>
java.lang.Object
dev.wyck.tags.TagSet.Builder<T>
- Type Parameters:
T- the Bukkit type of the elements
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a new tag set.register()Registers the tag set to the registry.registry(RegistryId registry) Sets the registry discriminator of the tag set.resourceKey(ResourceKey resourceKey) Sets the resource key of the tag set.value(ResourceKey tagKey) Sets the value of the tag set.Sets the value of the tag set.Sets the value of the tag set.Sets the value of the tag set.Sets the value of the tag set.Sets the value of the tag set.Sets the value of the tag set.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
Builder
-
-
Method Details
-
resourceKey
Sets the resource key of the tag set.- Parameters:
resourceKey- the resource key of the tag set- Returns:
- this builder
- Since:
- 3.1.0
-
registry
Sets the registry discriminator of the tag set.- Parameters:
registry- the registry discriminator of the tag set- Returns:
- this builder
- Since:
- 3.1.0
-
values
Sets the value of the tag set.- Parameters:
value- the value of the tag set- Returns:
- this builder
- Since:
- 3.1.0
-
values
Sets the value of the tag set.- Parameters:
value- the value of the tag set- Returns:
- this builder
- Since:
- 3.1.0
-
values
Sets the value of the tag set.- Parameters:
value- the value of the tag set- Returns:
- this builder
- Since:
- 3.1.0
-
value
Sets the value of the tag set.- Parameters:
value- the value of the tag set- Returns:
- this builder
- Since:
- 3.1.0
-
value
Sets the value of the tag set.- Parameters:
tagKey- the key of the tag set- Returns:
- this builder
- Since:
- 3.1.0
-
value
Sets the value of the tag set.- Parameters:
tag- the tag set- Returns:
- this builder
- Since:
- 3.1.0
-
value
Sets the value of the tag set.- Parameters:
tagSet- the tag set- Returns:
- this builder
- Since:
- 3.1.0
-
build
-
register
-