Package com.ticxo.modelengine.api.model
Interface ModeledEntity
- All Superinterfaces:
DataIO
-
Method Summary
Modifier and TypeMethodDescriptionaddModel
(@NotNull ActiveModel model, boolean overrideHitbox) void
destroy()
getAllGlobalBehaviorData
(BoneBehaviorType<?> type) BaseEntity<?>
getBase()
<T extends BoneBehavior>
GlobalBehaviorDatagetGlobalBehaviorData
(BoneBehaviorType<T> type) int
<T extends GlobalBehaviorData & MountData>
T<T extends BoneBehavior>
GlobalBehaviorDatagetOrCreateGlobalBehaviorData
(BoneBehaviorType<T> type, Supplier<GlobalBehaviorData> supplier) int
getTick()
float
float
float
boolean
boolean
boolean
boolean
void
markHurt()
void
void
queuePostInitTask
(Runnable runnable) default void
<T extends BoneBehavior>
GlobalBehaviorDataremoveGlobalBehaviorData
(BoneBehaviorType<T> type) removeModel
(String id) void
setBaseEntityVisible
(boolean flag) void
setModelRotationLocked
(boolean flag) void
setSaved
(boolean flag) boolean
boolean
tick()
-
Method Details
-
getBase
BaseEntity<?> getBase() -
getTick
int getTick() -
tick
boolean tick() -
destroy
void destroy() -
isInitialized
boolean isInitialized() -
isDestroyed
boolean isDestroyed() -
markRemoved
void markRemoved() -
queuePostInitTask
-
isBaseEntityVisible
boolean isBaseEntityVisible() -
setBaseEntityVisible
void setBaseEntityVisible(boolean flag) -
markHurt
void markHurt() -
getHurtTick
int getHurtTick() -
shouldBeSaved
boolean shouldBeSaved() -
setSaved
void setSaved(boolean flag) -
isModelRotationLocked
boolean isModelRotationLocked() -
setModelRotationLocked
void setModelRotationLocked(boolean flag) -
getYHeadRot
float getYHeadRot() -
getXHeadRot
float getXHeadRot() -
getYBodyRot
float getYBodyRot() -
addModel
-
removeModel
-
getModel
-
getModels
Map<String,ActiveModel> getModels() -
getOrCreateGlobalBehaviorData
<T extends BoneBehavior> GlobalBehaviorData getOrCreateGlobalBehaviorData(BoneBehaviorType<T> type, Supplier<GlobalBehaviorData> supplier) -
getGlobalBehaviorData
-
removeGlobalBehaviorData
-
getAllGlobalBehaviorData
-
getMountData
-
registerSelf
default void registerSelf()
-