Class ParkourPlugin

All Implemented Interfaces:
CommandOwner

public class ParkourPlugin extends JavaPlugin
  • Field Details

    • instance

      protected static ParkourPlugin instance
    • PARKOUR_CHECKPOINT_MODEL_ID

      public static final String PARKOUR_CHECKPOINT_MODEL_ID
      See Also:
    • currentCheckpointByPlayerMap

      private final it.unimi.dsi.fastutil.objects.Object2IntMap<UUID> currentCheckpointByPlayerMap
    • startTimeByPlayerMap

      private final it.unimi.dsi.fastutil.objects.Object2LongMap<UUID> startTimeByPlayerMap
    • checkpointUUIDMap

      private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<UUID> checkpointUUIDMap
    • parkourCheckpointComponentType

      private ComponentType<EntityStore,ParkourCheckpoint> parkourCheckpointComponentType
    • parkourCheckpointModel

      private Model parkourCheckpointModel
    • lastIndex

      private int lastIndex
  • Constructor Details

  • Method Details

    • get

      public static ParkourPlugin get()
    • getParkourCheckpointComponentType

      public ComponentType<EntityStore,ParkourCheckpoint> getParkourCheckpointComponentType()
    • getParkourCheckpointModel

      public Model getParkourCheckpointModel()
    • getCurrentCheckpointByPlayerMap

      public it.unimi.dsi.fastutil.objects.Object2IntMap<UUID> getCurrentCheckpointByPlayerMap()
    • getStartTimeByPlayerMap

      public it.unimi.dsi.fastutil.objects.Object2LongMap<UUID> getStartTimeByPlayerMap()
    • getCheckpointUUIDMap

      public it.unimi.dsi.fastutil.ints.Int2ObjectMap<UUID> getCheckpointUUIDMap()
    • getLastIndex

      public int getLastIndex()
    • setup

      protected void setup()
      Overrides:
      setup in class PluginBase
    • start

      protected void start()
      Overrides:
      start in class PluginBase
    • updateLastIndex

      public void updateLastIndex(int index)
    • updateLastIndex

      public void updateLastIndex()
    • resetPlayer

      public void resetPlayer(UUID playerUuid)