Interface AdvancementTemplate
- All Superinterfaces:
DataPackEntry<AdvancementTemplate>
,DataSerializable
,Keyed
,ResourceKeyed
A template for an
Advancement
.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the advancementstatic AdvancementTemplate.Builder
builder()
Creates a newAdvancementTemplate.Builder
to createAdvancement
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
Creates a newAdvancementTemplate.Builder
to createAdvancement
s.- Returns:
- The new builder
-
advancement
Advancement advancement()Return the advancement- Returns:
- The advancement
-