ModeledEntity
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Stable identity for this logical model instance.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public double scaleModifier
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Inflicts damage on the entity based on the specified amount.
Applies damage to this entity as inflicted by the specified damager.
Applies damage to the current entity based on the attributes of the provided projectile (impact speed, base damage, and bow enchantments such as Power and Piercing).
Inflicts damage on this entity by a specified amount, attributed to the given damager.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Gets the location to use for bone transforms.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the effective view distance for this entity.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
O(1) single-entity lookup against the live underlying-entity registry.
Link copied to clipboard
Stable identity for this logical model instance.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Authored nametag position, or a fallback above the model's hitbox.
Link copied to clipboard
Returns the name tag locations.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the persistent tint set via setTintColor, or
null if no persistent tint has been applied.Link copied to clipboard
Link copied to clipboard
Gets the set of UUIDs of all viewers (players who can see the entity)
Link copied to clipboard
Checks if the specified animation exists in the animation component.
Link copied to clipboard
Link copied to clipboard
Hook invoked once the spawn path and display initialization have completed successfully, immediately before this entity is published to the tickable registry.
Link copied to clipboard
Subclasses undo any registry entry installed by a partial onSpawnComplete.
Link copied to clipboard
Plays an animation as set by the string name.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets the cached bone transform location.
Link copied to clipboard
Link copied to clipboard
Clear gap in blocks at scale 1; scaled Java text scales both glyphs and spacing.
Link copied to clipboard
Lines are top-to-bottom; the last line remains at the model's name anchor.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets the callback to be triggered when a player contacts the hitbox of this entity.
Link copied to clipboard
Sets a callback to be invoked when the entity is left-clicked by a player.
Link copied to clipboard
Link copied to clipboard
Sets a callback that is triggered when the entity is right-clicked by a player.
Link copied to clipboard
Link copied to clipboard
Persistent tint applied via the leather-armor dye channel.
Link copied to clipboard
Link copied to clipboard
Overrides the plugin-wide default view distance for this single modeled entity.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Stops all currently running animations.
Link copied to clipboard
Link copied to clipboard