Package com.ticxo.modelengine.api.model
Interface ModeledEntity
- All Superinterfaces:
DataIO
-
Method Summary
Modifier and TypeMethodDescriptionaddModel(@NotNull ActiveModel model, boolean overrideHitbox) voiddestroy()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) intgetTick()floatfloatfloatbooleanbooleanbooleanbooleanvoidmarkHurt()voidvoidqueuePostInitTask(Runnable runnable) default void<T extends BoneBehavior>
GlobalBehaviorDataremoveGlobalBehaviorData(BoneBehaviorType<T> type) removeModel(String id) voidsetBaseEntityVisible(boolean flag) voidsetModelRotationLocked(boolean flag) voidsetSaved(boolean flag) booleanbooleantick()
-
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()
-