Class BoatStore

public class BoatStore extends EntityStore<GlowBoat>
  • Constructor Details

    • BoatStore

      public BoatStore()
  • Method Details

    • createEntity

      public GlowBoat createEntity(org.bukkit.Location location, CompoundTag compound)
      Description copied from class: EntityStore
      Create a new entity of this store's type at the given location. The load method will be called separately.
      Specified by:
      createEntity in class EntityStore<GlowBoat>
      location - The location.
      compound - The entity's tag, if extra data is needed.
      The new entity.
    • load

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

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