跳到主要内容

Stop Bettermodel Animation

Stop an animation on a BetterModel entity

字段

字段类型默认值描述
entityRef<BetterModelInstance>—The BetterModel entity to stop the animation on
BetterModelInstance(4)
字段类型默认值描述
definitionRef<BetterModelDefinition>——
BetterModelDefinition(11)
字段类型默认值描述
displayNameVar<String>——
soundVar<Sound>EMPTY—
dataList<Ref<EntityData<*>>>empty—
modelIdVar<String>—The BetterModel model ID to use
namedVar<Boolean>falseWhether the entity should display a nametag
defaultAnimationSettingsDefaultAnimationSettings—Default animation settings for the entity
focusOffsetVector—Offset used as focus point for interaction bounds like look_at
headLightVar<Int>0Light level of a fake light block above the entity's head (0 disables)
hitboxesList<BoneHitbox>emptyList of custom hitboxes attached to bones
nameOffsetDouble2.3Y offset for the name display above the entity. Use this to adjust the text display height.
showDisplayNameBooleantrueWhether to show the display name above the entity
spawnLocationVar<Position>ORIGIN—带旋转
dataList<Ref<EntityData<*>>>empty—
activityRef<out SharedEntityActivityEntry>——
animationVar<String>—The name of the animation to stop (empty to stop all)
forceVar<Boolean>falseForce the animation to stop
TypeWriter 通用字段(criteria, modifiers, triggers)
字段类型默认值描述
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<Ref<TriggerableEntry>>empty—