Class ChestedHorseStore<T extends GlowChestedHorse>


public class ChestedHorseStore<T extends GlowChestedHorse> extends AbstractHorseStore<T>
  • Constructor Details

    • ChestedHorseStore

      public ChestedHorseStore(Class<T> clazz, org.bukkit.entity.EntityType type, Function<org.bukkit.Location,? extends T> creator)
  • Method Details

    • load

      public void load(T entity, CompoundTag compound)
      Description copied from class: EntityStore
      Load data into an existing entity of the appropriate type from the given compound tag.
      Overrides:
      load in class AbstractHorseStore<T extends GlowChestedHorse>
      Parameters:
      entity - The target entity.
      compound - The entity's tag.
    • save

      public void save(T entity, CompoundTag tag)
      Description copied from class: EntityStore
      Save information about this entity to the given tag.
      Overrides:
      save in class AbstractHorseStore<T extends GlowChestedHorse>
      Parameters:
      entity - The entity to save.
      tag - The target tag.