CakeEntity

class CakeEntity(entityType: EntityType<CakeEntity>, world: World) : Entity(source)

A flying cake entity, which splashes on collision damaging target(s).

Constructors

Link copied to clipboard
constructor(world: World, position: Vec3d, velocity: Vec3d, thrower: LivingEntity?)
constructor(entityType: EntityType<CakeEntity>, world: World)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The position, where the cake was spawned.

Inherited properties

Link copied to clipboard
var age: Int
Link copied to clipboard

Gets the approximate position of the item in the staff, when held my an entity.

Link copied to clipboard

Gets the approximate position of the staff's tip, when held by an entity.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Calculates the camera's upward direction based on Entity.getFacing and Entity.getHorizontalFacing.

Link copied to clipboard

Checks if the user has sufficient space in front to use the staff.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected val dataTracker: DataTracker
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected var firstUpdate: Boolean
Link copied to clipboard
protected var fluidHeight: Object2DoubleMap<TagKey<Fluid>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var id: Int
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
protected var movementMultiplier: Vec3d
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 pos: Vec3d
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
protected val random: Random
Link copied to clipboard
@Nullable
@get:Nullable
val removalReason: Entity.RemovalReason?
Link copied to clipboard
protected var ridingCooldown: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected var submergedInWater: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected var touchingWater: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected var uuid: UUID
Link copied to clipboard
protected var uuidString: String
Link copied to clipboard
@Nullable
@get:Nullable
val vehicle: 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
Link copied to clipboard
var yaw: Float

Functions

Link copied to clipboard
open override fun canHit(): Boolean
Link copied to clipboard
open override fun createSpawnPacket(entityTrackerEntry: EntityTrackerEntry): EntitySpawnS2CPacket
Link copied to clipboard
open override fun doesRenderOnFire(): Boolean
Link copied to clipboard
open override fun entityDataRequiresOperator(): Boolean
Link copied to clipboard
protected open override fun getGravity(): Double
Link copied to clipboard
protected open override fun getMoveEffect(): Entity.MoveEffect
Link copied to clipboard
open override fun handleAttack(attacker: Entity?): Boolean
Link copied to clipboard
open override fun handleFallDamage(fallDistance: Float, damageMultiplier: Float, damageSource: DamageSource): Boolean
Link copied to clipboard
protected open override fun initDataTracker(builder: DataTracker.Builder)
Link copied to clipboard
open override fun onRemoved()
Link copied to clipboard
open override fun onSpawnPacket(packet: EntitySpawnS2CPacket)
Link copied to clipboard
protected open override fun readCustomDataFromNbt(nbt: NbtCompound)
Link copied to clipboard
open override fun tick()
Link copied to clipboard
protected open override fun writeCustomDataToNbt(nbt: NbtCompound)

Inherited functions

Link copied to clipboard
protected open fun addAirTravelEffects()
Link copied to clipboard
open fun addCommandTag(tag: String): Boolean
Link copied to clipboard
protected open fun addFlapEffects()
Link copied to clipboard
protected open fun addPassenger(passenger: Entity)
Link copied to clipboard
Link copied to clipboard
open fun addVelocity(velocity: Vec3d)
open fun addVelocity(deltaX: Double, deltaY: Double, deltaZ: Double)
Link copied to clipboard
open fun addVelocityInternal(velocity: Vec3d)
Link copied to clipboard
protected open fun adjustMovementForPiston(movement: Vec3d): Vec3d
Link copied to clipboard
protected open fun adjustMovementForSneaking(movement: Vec3d, type: MovementType): Vec3d
Link copied to clipboard
open fun animateDamage(yaw: Float)
Link copied to clipboard
protected open fun applyGravity()
Link copied to clipboard
open fun applyMirror(mirror: BlockMirror): Float
Link copied to clipboard
open fun applyRotation(rotation: BlockRotation): Float
Link copied to clipboard
Link copied to clipboard
open fun baseTick()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected open fun calculateBoundingBox(): Box
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected open fun canAddPassenger(passenger: Entity): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun canExplosionDestroyBlock(explosion: Explosion, world: BlockView, pos: BlockPos, state: BlockState, explosionPower: Float): Boolean
Link copied to clipboard
open fun canFreeze(): Boolean
Link copied to clipboard
open fun canModifyAt(world: World, pos: BlockPos): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected open fun canStartRiding(entity: Entity): Boolean
Link copied to clipboard
open fun canTeleportBetween(from: World, to: World): Boolean
Link copied to clipboard
open fun canUsePortals(allowVehicles: Boolean): Boolean
Link copied to clipboard
open fun changeLookDirection(cursorDeltaX: Double, cursorDeltaY: Double)
Link copied to clipboard
protected open fun checkBlockCollision()
Link copied to clipboard
open fun checkDespawn()
Link copied to clipboard
open fun collidesWith(other: Entity): Boolean
Link copied to clipboard
Link copied to clipboard
open fun copyFrom(original: Entity)
Link copied to clipboard
Link copied to clipboard
protected open fun couldAcceptPassenger(): Boolean
Link copied to clipboard
open fun damage(source: DamageSource, amount: Float): Boolean
Link copied to clipboard
fun detach()
Link copied to clipboard
fun discard()
Link copied to clipboard
open fun dismountVehicle()
Link copied to clipboard
open fun distanceTo(entity: Entity): Float
Link copied to clipboard
open fun doesNotCollide(offsetX: Double, offsetY: Double, offsetZ: Double): Boolean
Link copied to clipboard
@Nullable
open fun dropItem(item: ItemConvertible): ItemEntity?
@Nullable
open fun dropItem(item: ItemConvertible, yOffset: Int): ItemEntity?
Link copied to clipboard
@Nullable
open fun dropStack(stack: ItemStack): ItemEntity?
@Nullable
open fun dropStack(stack: ItemStack, yOffset: Float): ItemEntity?
Link copied to clipboard
open fun emitGameEvent(event: RegistryEntry<GameEvent>, @Nullable entity: Entity?)
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open fun extinguish()
Link copied to clipboard
Link copied to clipboard
protected open fun fall(heightDifference: Double, onGround: Boolean, state: BlockState, landedPosition: BlockPos)
Link copied to clipboard
open fun getAir(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getBlockX(): Int
Link copied to clipboard
fun getBlockY(): Int
Link copied to clipboard
fun getBlockZ(): Int
Link copied to clipboard
open fun getBodyY(heightScale: Double): Double
Link copied to clipboard
open fun getBodyYaw(): Float
Link copied to clipboard
Link copied to clipboard
protected open fun getBurningDuration(): Int
Link copied to clipboard
fun getCameraPosVec(tickDelta: Float): Vec3d
Link copied to clipboard
open fun getClientCameraPosVec(tickDelta: Float): Vec3d
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Nullable
open fun getControllingVehicle(): Entity?
Link copied to clipboard
@Nullable
open override fun getCustomName(): Text?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected open fun getDefaultName(): Text
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getDisplayName(): Text?
Link copied to clipboard
open fun getEffectiveExplosionResistance(explosion: Explosion, world: BlockView, pos: BlockPos, blockState: BlockState, fluidState: FluidState, max: Float): Float
Link copied to clipboard
open fun getEntityWorld(): World
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getEyeY(): Double
Link copied to clipboard
open fun getFacing(): Direction
Link copied to clipboard
Link copied to clipboard
@Nullable
open fun getFirstPassenger(): Entity?
Link copied to clipboard
protected open fun getFlag(index: Int): Boolean
Link copied to clipboard
open fun getFluidHeight(fluid: TagKey<Fluid>): Double
Link copied to clipboard
Link copied to clipboard
open fun getFrozenTicks(): Int
Link copied to clipboard
open fun getHandPosOffset(item: Item): Vec3d
Link copied to clipboard
open fun getHeadYaw(): Float
Link copied to clipboard
Link copied to clipboard
protected open fun getHighSpeedSplashSound(): SoundEvent
Link copied to clipboard
Link copied to clipboard
protected open fun getHoverEvent(): HoverEvent
Link copied to clipboard
protected open fun getJumpVelocityMultiplier(): Float
Link copied to clipboard
protected open fun getLandingBlockState(): BlockState
Link copied to clipboard
Link copied to clipboard
protected open fun getLeashOffset(): Vec3d
open fun getLeashOffset(tickDelta: Float): Vec3d
Link copied to clipboard
open fun getLeashPos(delta: Float): Vec3d
Link copied to clipboard
fun getLerpedPos(delta: Float): Vec3d
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 fun getMaxAir(): Int
Link copied to clipboard
Link copied to clipboard
open fun getMovement(): Vec3d
Link copied to clipboard
Link copied to clipboard
open override fun getName(): Text
Link copied to clipboard
open override fun getNameForScoreboard(): String
Link copied to clipboard
protected fun getOppositeRotationVector(pitch: Float, yaw: Float): Vec3d
Link copied to clipboard
open fun getParticleX(widthScale: Double): Double
Link copied to clipboard
open fun getParticleZ(widthScale: Double): Double
Link copied to clipboard
protected open fun getPassengerAttachmentPos(passenger: Entity, dimensions: EntityDimensions, scaleFactor: Float): Vec3d
Link copied to clipboard
Link copied to clipboard
open fun getPassengerRidingPos(passenger: Entity): Vec3d
Link copied to clipboard
Link copied to clipboard
protected open fun getPermissionLevel(): Int
Link copied to clipboard
@Nullable
open fun getPickBlockStack(): ItemStack?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getPose(): EntityPose
Link copied to clipboard
protected open fun getPosWithYOffset(offset: Float): BlockPos
Link copied to clipboard
open fun getRandom(): Random
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getRotationVec(tickDelta: Float): Vec3d
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Nullable
fun getSavedEntityId(): String?
Link copied to clipboard
@Nullable
open fun getScoreboardTeam(): Team?
Link copied to clipboard
@Nullable
open fun getServer(): MinecraftServer?
Link copied to clipboard
Link copied to clipboard
protected open fun getSplashSound(): SoundEvent
Link copied to clipboard
open fun getStackReference(mappedIndex: Int): StackReference
Link copied to clipboard
open fun getStepHeight(): Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected open fun getStepSoundPos(pos: BlockPos): BlockPos
Link copied to clipboard
Link copied to clipboard
open fun getSwimHeight(): Double
Link copied to clipboard
protected open fun getSwimSound(): SoundEvent
Link copied to clipboard
open fun getSyncedPos(): Vec3d
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getUuid(): UUID
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected open fun getVelocityMultiplier(): Float
Link copied to clipboard
Link copied to clipboard
@Nullable
open fun getWeaponStack(): ItemStack?
Link copied to clipboard
Link copied to clipboard
open fun getWorldSpawnPos(world: ServerWorld, basePos: BlockPos): BlockPos
Link copied to clipboard
fun getX(): Double
Link copied to clipboard
fun getY(): Double
Link copied to clipboard
fun getZ(): Double
Link copied to clipboard
open fun handleStatus(status: Byte)
Link copied to clipboard
protected open fun hasCollidedSoftly(adjustedMovement: Vec3d): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun hasCustomName(): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open fun hasNoGravity(): Boolean
Link copied to clipboard
open fun hasPassenger(predicate: Predicate<Entity>): Boolean
open fun hasPassenger(passenger: Entity): Boolean
Link copied to clipboard
open fun hasPassengerDeep(passenger: Entity): Boolean
Link copied to clipboard
Link copied to clipboard
open fun hasPermissionLevel(permissionLevel: Int): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun hasVehicle(): Boolean
Link copied to clipboard
open fun interact(player: PlayerEntity, hand: Hand): ActionResult
Link copied to clipboard
open fun interactAt(player: PlayerEntity, hitPos: Vec3d, hand: Hand): ActionResult
Link copied to clipboard
open fun isAlive(): Boolean
Link copied to clipboard
open fun isAttackable(): Boolean
Link copied to clipboard
open fun isCollidable(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isCrawling(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isDescending(): Boolean
Link copied to clipboard
open fun isFireImmune(): Boolean
Link copied to clipboard
protected open fun isFlappingWings(): Boolean
Link copied to clipboard
open fun isFrozen(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isImmuneToExplosion(explosion: Explosion): Boolean
Link copied to clipboard
open fun isInFluid(): Boolean
Link copied to clipboard
open fun isInLava(): Boolean
Link copied to clipboard
open fun isInPose(pose: EntityPose): Boolean
Link copied to clipboard
open fun isInRange(entity: Entity, radius: Double): Boolean
open fun isInRange(entity: Entity, horizontalRadius: Double, verticalRadius: Double): Boolean
Link copied to clipboard
open fun isInsideWall(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isInvisible(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isInvulnerableTo(damageSource: DamageSource): Boolean
Link copied to clipboard
open fun isLiving(): Boolean
Link copied to clipboard
open fun isOnFire(): Boolean
Link copied to clipboard
open fun isOnRail(): Boolean
Link copied to clipboard
open fun isPartOf(entity: Entity): Boolean
Link copied to clipboard
open override fun isPlayer(): Boolean
Link copied to clipboard
open fun isPushable(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isSilent(): Boolean
Link copied to clipboard
open fun isSneaking(): Boolean
Link copied to clipboard
open fun isSneaky(): Boolean
Link copied to clipboard
open fun isSpectator(): Boolean
Link copied to clipboard
open fun isSprinting(): Boolean
Link copied to clipboard
open fun isSubmergedIn(fluidTag: TagKey<Fluid>): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isSwimming(): Boolean
Link copied to clipboard
open fun isTeammate(other: Entity): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isWet(): Boolean
Link copied to clipboard
open fun kill()
Link copied to clipboard
protected open fun lerpPosAndRotation(step: Int, x: Double, y: Double, z: Double, yaw: Double, pitch: Double)
Link copied to clipboard
open fun lerpYaw(delta: Float): Float
Link copied to clipboard
Link copied to clipboard
open fun lookAt(anchorPoint: EntityAnchorArgumentType.EntityAnchor, target: Vec3d)
Link copied to clipboard
open fun move(movementType: MovementType, movement: Vec3d)
Link copied to clipboard
Link copied to clipboard
open fun offsetX(widthScale: Double): Double
Link copied to clipboard
open fun offsetZ(widthScale: Double): Double
Link copied to clipboard
protected open fun onBlockCollision(state: BlockState)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onDamaged(damageSource: DamageSource)
Link copied to clipboard
Link copied to clipboard
open fun onExplodedBy(@Nullable entity: Entity?)
Link copied to clipboard
open fun onKilledOther(world: ServerWorld, other: LivingEntity): Boolean
Link copied to clipboard
open fun onLanding()
Link copied to clipboard
open fun onPassengerLookAround(passenger: Entity)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onStruckByLightning(world: ServerWorld, lightning: LightningEntity)
Link copied to clipboard
protected open fun onSwimmingStart()
Link copied to clipboard
open override fun onTrackedDataSet(data: TrackedData<*>)
Link copied to clipboard
protected open fun playCombinationStepSounds(primaryState: BlockState, secondaryState: BlockState)
Link copied to clipboard
protected open fun playExtinguishSound()
Link copied to clipboard
protected open fun playSecondaryStepSound(state: BlockState)
Link copied to clipboard
open fun playSound(sound: SoundEvent, volume: Float, pitch: Float)
Link copied to clipboard
Link copied to clipboard
protected open fun playStepSound(pos: BlockPos, state: BlockState)
Link copied to clipboard
protected open fun playSwimSound()
protected open fun playSwimSound(volume: Float)
Link copied to clipboard
Link copied to clipboard
open fun positionInPortal(portalAxis: Direction.Axis, portalRect: BlockLocating.Rectangle): Vec3d
Link copied to clipboard
open fun pushAwayFrom(entity: Entity)
Link copied to clipboard
protected open fun pushOutOfBlocks(x: Double, y: Double, z: Double)
Link copied to clipboard
open fun raycast(maxDistance: Double, tickDelta: Float, includeFluids: Boolean): HitResult
Link copied to clipboard
open fun readNbt(nbt: NbtCompound)
Link copied to clipboard
Link copied to clipboard
protected open fun refreshPosition()
Link copied to clipboard
open fun refreshPositionAndAngles(pos: BlockPos, yaw: Float, pitch: Float)
open fun refreshPositionAndAngles(pos: Vec3d, yaw: Float, pitch: Float)
open fun refreshPositionAndAngles(x: Double, y: Double, z: Double, yaw: Float, pitch: Float)
Link copied to clipboard
protected open fun reinitDimensions()
Link copied to clipboard
open fun remove(reason: Entity.RemovalReason)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected open fun removeFromDimension()
Link copied to clipboard
protected open fun removePassenger(passenger: Entity)
Link copied to clipboard
open fun requestTeleport(destX: Double, destY: Double, destZ: Double)
Link copied to clipboard
open fun requestTeleportAndDismount(destX: Double, destY: Double, destZ: Double)
Link copied to clipboard
open fun requestTeleportOffset(offsetX: Double, offsetY: Double, offsetZ: Double)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun saveNbt(nbt: NbtCompound): Boolean
Link copied to clipboard
Link copied to clipboard
protected open fun scheduleVelocityUpdate()
Link copied to clipboard
open override fun sendMessage(message: Text)
Link copied to clipboard
open fun setAir(air: Int)
Link copied to clipboard
open fun setAngles(yaw: Float, pitch: Float)
Link copied to clipboard
open fun setBodyYaw(bodyYaw: Float)
Link copied to clipboard
open override fun setChangeListener(changeListener: EntityChangeListener)
Link copied to clipboard
open fun setCustomName(@Nullable name: Text?)
Link copied to clipboard
open fun setCustomNameVisible(visible: Boolean)
Link copied to clipboard
protected open fun setFlag(index: Int, value: Boolean)
Link copied to clipboard
open fun setFrozenTicks(frozenTicks: Int)
Link copied to clipboard
open fun setHeadYaw(headYaw: Float)
Link copied to clipboard
open fun setInPowderSnow(inPowderSnow: Boolean)
Link copied to clipboard
open fun setInvisible(invisible: Boolean)
Link copied to clipboard
open fun setNoGravity(noGravity: Boolean)
Link copied to clipboard
open fun setOnFire(onFire: Boolean)
Link copied to clipboard
fun setOnFireFor(seconds: Float)
Link copied to clipboard
open fun setOnFireForTicks(ticks: Int)
Link copied to clipboard
Link copied to clipboard
open fun setOnGround(onGround: Boolean, movement: Vec3d)
Link copied to clipboard
fun setPos(x: Double, y: Double, z: Double)
Link copied to clipboard
open fun setPose(pose: EntityPose)
Link copied to clipboard
fun setPosition(pos: Vec3d)
open fun setPosition(x: Double, y: Double, z: Double)
Link copied to clipboard
override fun setRemoved(reason: Entity.RemovalReason)
Link copied to clipboard
protected open fun setRotation(yaw: Float, pitch: Float)
Link copied to clipboard
open fun setSilent(silent: Boolean)
Link copied to clipboard
open fun setSneaking(sneaking: Boolean)
Link copied to clipboard
open fun setSprinting(sprinting: Boolean)
Link copied to clipboard
open fun setSwimming(swimming: Boolean)
Link copied to clipboard
open fun setUuid(uuid: UUID)
Link copied to clipboard
open fun setVelocity(x: Double, y: Double, z: Double)
Link copied to clipboard
open fun setVelocityClient(x: Double, y: Double, z: Double)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun shouldReceiveFeedback(): Boolean
Link copied to clipboard
open fun shouldRender(distance: Double): Boolean
open fun shouldRender(cameraX: Double, cameraY: Double, cameraZ: Double): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun shouldSave(): Boolean
Link copied to clipboard
protected open fun shouldSetPositionOnLoad(): Boolean
Link copied to clipboard
open override fun shouldTrackOutput(): Boolean
Link copied to clipboard
open fun slowMovement(state: BlockState, multiplier: Vec3d)
Link copied to clipboard
protected open fun spawnSprintingParticles()
Link copied to clipboard
open fun squaredDistanceTo(entity: Entity): Double
open fun squaredDistanceTo(vector: Vec3d): Double
Link copied to clipboard
open fun startRiding(entity: Entity): Boolean
open fun startRiding(entity: Entity, force: Boolean): Boolean
Link copied to clipboard
open fun stopRiding()
Link copied to clipboard
open override fun streamPassengersAndSelf(): Stream<Entity>
Link copied to clipboard
open override fun streamSelfAndPassengers(): Stream<Entity>
Link copied to clipboard
open fun teleport(world: ServerWorld, destX: Double, destY: Double, destZ: Double, flags: MutableSet<PositionFlag>, yaw: Float, pitch: Float): Boolean
Link copied to clipboard
@Nullable
open fun teleportTo(teleportTarget: TeleportTarget): Entity?
Link copied to clipboard
protected open fun tickInVoid()
Link copied to clipboard
protected open fun tickPortalCooldown()
Link copied to clipboard
protected open fun tickPortalTeleportation()
Link copied to clipboard
open fun tickRiding()
Link copied to clipboard
protected open fun toNbtList(vararg values: Double): NbtList
protected open fun toNbtList(vararg values: Float): NbtList
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
protected open fun tryCheckBlockCollision()
Link copied to clipboard
open fun tryUsePortal(portal: Portal, pos: BlockPos)
Link copied to clipboard
protected open fun unsetRemoved()
Link copied to clipboard
Link copied to clipboard
open fun updateKilledAdvancementCriterion(entityKilled: Entity, score: Int, damageSource: DamageSource)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected open fun updatePassengerPosition(passenger: Entity, positionUpdater: Entity.PositionUpdater)
Link copied to clipboard
open fun updatePosition(x: Double, y: Double, z: Double)
Link copied to clipboard
open fun updatePositionAndAngles(x: Double, y: Double, z: Double, yaw: Float, pitch: Float)
Link copied to clipboard
protected open fun updateSupportingBlockPos(onGround: Boolean, @Nullable movement: Vec3d?)
Link copied to clipboard
open fun updateSwimming()
Link copied to clipboard
open fun updateTrackedHeadRotation(yaw: Float, interpolationSteps: Int)
Link copied to clipboard
Link copied to clipboard
open fun updateTrackedPositionAndAngles(x: Double, y: Double, z: Double, yaw: Float, pitch: Float, interpolationSteps: Int)
Link copied to clipboard
open fun updateVelocity(speed: Float, movementInput: Vec3d)
Link copied to clipboard
protected open fun updateWaterState(): Boolean
Link copied to clipboard