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 Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable ModeledEntity
getModeledEntity
(int id) @Nullable ModeledEntity
getModeledEntity
(@Nullable UUID id) getSubHitboxBone
(UUID uuid) boolean
isModeledEntity
(int id) boolean
isModeledEntity
(@Nullable UUID id) boolean
boolean
isSubHitbox
(UUID uuid) void
void
registerModeledEntity
(BaseEntity<?> base, ModeledEntity entity) void
registerSubHitbox
(SubHitbox subHitbox) void
registerSubHitbox
(UUID uuid, SubHitbox subHitbox) void
void
removeSubHitbox
(UUID uuid) void
run()
void
void
start()
Methods inherited from class org.bukkit.scheduler.BukkitRunnable
cancel, getTaskId, isCancelled, runTask, runTaskAsynchronously, runTaskLater, runTaskLaterAsynchronously, runTaskTimer, runTaskTimerAsynchronously
-
Constructor Details
-
ModelTicker
public ModelTicker()
-
-
Method Details
-
start
public void start() -
queueTask
-
run
public void run() -
registerModeledEntity
-
removeModeledEntity
-
getModeledEntity
-
getModeledEntity
-
isModeledEntity
public boolean isModeledEntity(int id) -
isModeledEntity
-
registerSubHitbox
-
registerSubHitbox
-
removeSubHitbox
-
getSubHitboxBone
-
isSubHitbox
-
isModeledEntityOrSubHitbox
-
saveAllModels
public void saveAllModels() -
getAllModeledEntityUUID
-