Interface DataPackEntry<T extends DataPackEntry<T>>

All Superinterfaces:
DataSerializable, Keyed, ResourceKeyed
All Known Subinterfaces:
AdvancementTemplate, BiomeTemplate, CarverTemplate, ChatTypeTemplate, DamageTypeTemplate, DensityFunctionTemplate, FeatureTemplate, JigsawPoolTemplate, NoiseGeneratorConfigTemplate, NoiseTemplate, PlacedFeatureTemplate, ProcessorListTemplate, RecipeRegistration, SchematicTemplate, StructureSetTemplate, StructureTemplate, TagTemplate<T>, WorldTemplate, WorldTypeTemplate

public interface DataPackEntry<T extends DataPackEntry<T>> extends ResourceKeyed, DataSerializable
A data pack entry. Can be saved using the DataPackManager or when registering it on a RegisterDataPackValueEvent
  • Method Details

    • pack

      DataPack<T> pack()
      The data pack this entry belongs to.
      Returns:
      The data pack