LivingEntityWrapper

A wrapper for the LivingEntity class that provides various common function and settings used for processing rules

Author

stumper66

Since

3.0.0

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var associatedPlayer: Player?
Link copied to clipboard
var attributeValuesCache: MutableMap<Attribute, AttributeInstance>?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var deathCause: EntityDamageEvent.DamageCause
Link copied to clipboard
Link copied to clipboard
open override val entityType: EntityType
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var livingEntity: LivingEntity
Link copied to clipboard
val location: Location
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
Link copied to clipboard
val pdc: PersistentDataContainer
Link copied to clipboard
Link copied to clipboard
var playerForLevelling: Player?
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
open override var spawnedTimeOfDay: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var summonedSender: CommandSender?
Link copied to clipboard
open override val typeName: String
Link copied to clipboard
Link copied to clipboard
open override var wasSummoned: Boolean
Link copied to clipboard
Link copied to clipboard
val world: World
Link copied to clipboard

Functions

Link copied to clipboard
open override fun clearEntityData()
Link copied to clipboard
open override fun free()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setMobExternalType(externalType: String)
Link copied to clipboard
fun setMobPrelevel(level: Int)
Link copied to clipboard
fun setSpawnReason(spawnReason: LevelledMobSpawnReason, doForce: Boolean)