Package org.spongepowered.api.tag
Interface TagTemplate<T extends Taggable<T>>
- All Superinterfaces:
DataPackEntry<TagTemplate<T>>
,DataSerializable
,Keyed
,ResourceKeyed
A template that creates a or modifies a
Tag
.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
TagTemplate.Builder<T extends Taggable<T>>
static interface
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Taggable<T>>
TagTemplate.Builder<T> builder
(DataPack<TagTemplate<T>> pack) Returns aTagTemplate.Builder
that createsTagTemplate
s.Methods inherited from interface org.spongepowered.api.datapack.DataPackEntry
pack
Methods inherited from interface org.spongepowered.api.data.persistence.DataSerializable
contentVersion, toContainer
Methods inherited from interface org.spongepowered.api.ResourceKeyed
key
-
Method Details
-
builder
Returns aTagTemplate.Builder
that createsTagTemplate
s.- Parameters:
pack
- TheDataPack
of the builder- Returns:
- The builder.
-