Package org.spongepowered.api.datapack
Interface DataPackEntry<T extends DataPackEntry<T>>
- All Superinterfaces:
DataSerializable
,Keyed
,ResourceKeyed
- All Known Subinterfaces:
AdvancementTemplate
,ArtTypeTemplate
,BiomeTemplate
,CarverTemplate
,ChatTypeTemplate
,DamageTypeTemplate
,DensityFunctionTemplate
,FeatureTemplate
,JigsawPoolTemplate
,NoiseGeneratorConfigTemplate
,NoiseTemplate
,PlacedFeatureTemplate
,ProcessorListTemplate
,RecipeRegistration
,SchematicTemplate
,StructureSetTemplate
,StructureTemplate
,TagTemplate<T>
,WorldTemplate
,WorldTypeTemplate
A data pack entry. Can be saved using the
DataPackManager
or when registering it on a RegisterDataPackValueEvent
-
Method Summary
Methods inherited from interface org.spongepowered.api.data.persistence.DataSerializable
contentVersion, toContainer
Methods inherited from interface org.spongepowered.api.ResourceKeyed
key
-
Method Details
-
pack
The data pack this entry belongs to.- Returns:
- The data pack
-