Class DummyTracker

java.lang.Object
kr.toxicity.model.api.tracker.Tracker
kr.toxicity.model.api.tracker.DummyTracker
All Implemented Interfaces:
AutoCloseable

public final class DummyTracker extends Tracker
No tracking tracker.
  • Constructor Details

    • DummyTracker

      public DummyTracker(@NotNull @NotNull org.bukkit.Location location, @NotNull @NotNull RenderPipeline pipeline, @NotNull @NotNull TrackerModifier modifier, @NotNull @NotNull Consumer<DummyTracker> preUpdateConsumer)
      Dummy tracker.
      Parameters:
      location - location
      pipeline - render instance.
      modifier - modifier
      preUpdateConsumer - task on pre-update
  • Method Details

    • location

      public void location(@NotNull @NotNull org.bukkit.Location location)
      Moves model to another location.
      Parameters:
      location - location
    • location

      @NotNull public @NotNull org.bukkit.Location location()
      Gets location.
      Specified by:
      location in class Tracker
      Returns:
      location
    • spawn

      public void spawn(@NotNull @NotNull org.bukkit.entity.Player player)
      Spawns model to some player
      Parameters:
      player - player