Class ModelTicker

java.lang.Object
org.bukkit.scheduler.BukkitRunnable
com.ticxo.modelengine.api.model.mananger.ModelTicker
All Implemented Interfaces:
Runnable

public class ModelTicker extends org.bukkit.scheduler.BukkitRunnable
  • Constructor Details

    • ModelTicker

      public ModelTicker()
  • Method Details

    • start

      public void start()
    • queueTask

      public void queueTask(Runnable task)
    • run

      public void run()
    • registerModeledEntity

      public void registerModeledEntity(BaseEntity<?> base, ModeledEntity entity)
    • removeModeledEntity

      public void removeModeledEntity(UUID id)
    • getModeledEntity

      @Nullable public @Nullable ModeledEntity getModeledEntity(int id)
    • getModeledEntity

      @Nullable public @Nullable ModeledEntity getModeledEntity(@Nullable @Nullable UUID id)
    • isModeledEntity

      public boolean isModeledEntity(int id)
    • isModeledEntity

      public boolean isModeledEntity(@Nullable @Nullable UUID id)
    • registerSubHitbox

      public void registerSubHitbox(UUID uuid, SubHitbox subHitbox)
    • registerSubHitbox

      public void registerSubHitbox(SubHitbox subHitbox)
    • removeSubHitbox

      public void removeSubHitbox(UUID uuid)
    • getSubHitboxBone

      public SubHitbox getSubHitboxBone(UUID uuid)
    • isSubHitbox

      public boolean isSubHitbox(UUID uuid)
    • isModeledEntityOrSubHitbox

      public boolean isModeledEntityOrSubHitbox(UUID uuid)
    • saveAllModels

      public void saveAllModels()
    • getAllModeledEntityUUID

      public Set<UUID> getAllModeledEntityUUID()