FakeEntityBuilder

DSL builder for configuring and spawning a client-side fake entity.

Obtain an instance via PacketBuilder.sendFakeEntity or PacketAPI.createFakeEntityBuilder.

Properties

Link copied to clipboard
abstract var customName: String?
Link copied to clipboard
Link copied to clipboard
abstract var isGlowing: Boolean
Link copied to clipboard
abstract var isInvisible: Boolean

Functions

Link copied to clipboard
abstract fun animate(animation: EntityAnimation)
Link copied to clipboard
abstract fun despawnAfter(ticks: Long)
Link copied to clipboard
abstract fun equipment(builder: EquipmentBuilder.() -> Unit)
Link copied to clipboard
abstract fun move(location: Location, onGround: Boolean = true)
Link copied to clipboard
abstract fun rotate(yaw: Float, pitch: Float, headRotation: Float? = null)
Link copied to clipboard
abstract fun spawn()
Link copied to clipboard
abstract fun updateMetadata()