TaterzenNPC
open class TaterzenNPC : PathfinderMob, CrossbowAttackMob, RangedAttackMob
Content copied to clipboard
The NPC itself.
Constructors
TaterzenNPC
Link copied to clipboard
TaterzenNPC
Link copied to clipboard
open fun TaterzenNPC(entityType: EntityType<out PathfinderMob>, world: Level)
Content copied to clipboard
Creates a TaterzenNPC.
Properties
attackMonstersGoal
Link copied to clipboard
commandGroups
Link copied to clipboard
directPathGoal
Link copied to clipboard
fakePlayer
Link copied to clipboard
followMonstersGoal
Link copied to clipboard
followTargetGoal
Link copied to clipboard
gameProfile
Link copied to clipboard
lookAroundGoal
Link copied to clipboard
lookPlayerGoal
Link copied to clipboard
pathGoal
Link copied to clipboard
projectileAttackGoal
Link copied to clipboard
reachMeleeAttackGoal
Link copied to clipboard
revengeGoal
Link copied to clipboard
trackLivingGoal
Link copied to clipboard
trackPlayersGoal
Link copied to clipboard
trackUuidGoal
Link copied to clipboard
wanderAroundFarGoal
Link copied to clipboard
Functions
addAdditionalSaveData
Link copied to clipboard
Saves Taterzen to tag.
addAmbientSound
Link copied to clipboard
Adds sounds to the list of ambient sounds of a Taterzen.
addCommand
Link copied to clipboard
open fun addCommand(command: AbstractTaterzenCommand, groupIndex: Int): Boolean
Content copied to clipboard
Adds command to the list of commands that will be executed on right-clicking the Taterzen.
addDeathSound
Link copied to clipboard
Adds sounds to the list of death sounds of a Taterzen.
addHurtSound
Link copied to clipboard
Adds sounds to the list of hurt sounds of a Taterzen.
addMessage
Link copied to clipboard
Adds the message to taterzen's message list.
addPathTarget
Link copied to clipboard
Adds block position as a node in path of Taterzen.
addProfession
Link copied to clipboard
open fun addProfession(professionId: ResourceLocation, profession: TaterzenProfession)
Content copied to clipboard
Adds TaterzenProfession to Taterzen.
aiStep
Link copied to clipboard
open fun aiStep()
Content copied to clipboard
Ticks the movement depending on org.samo_lego.taterzens.npc.NPCData.Movement type
allowEditBy
Link copied to clipboard
Whether taterzen should be allowed to be edited by provided uuid.
Whether taterzen should be allowed to be edited by entity.
allowEquipmentDrops
Link copied to clipboard
Toggles whether Taterzen will drop its equipment.
canBeLeashed
Link copied to clipboard
canFireProjectileWeapon
Link copied to clipboard
canPickUpLoot
Link copied to clipboard
causeFallDamage
Link copied to clipboard
open fun causeFallDamage(fallDistance: Float, multiplier: Float, source: DamageSource): Boolean
Content copied to clipboard
Whether taterzen can take fall damage.
clearAllCommands
Link copied to clipboard
open fun clearAllCommands()
Content copied to clipboard
Clears all the commands Taterzen executes on right-click.
clearGroupCommands
Link copied to clipboard
clearMessages
Link copied to clipboard
open fun clearMessages()
Content copied to clipboard
clearPathTargets
Link copied to clipboard
open fun clearPathTargets()
Content copied to clipboard
Clears all the path nodes / targets.
constructFakePlayer
Link copied to clipboard
open fun constructFakePlayer()
Content copied to clipboard
Creates a fake player for this NPC in order to be able to use the player synched data.
createTaterzenAttributes
Link copied to clipboard
Creates default taterzen attributes.
doHurtTarget
Link copied to clipboard
editMessage
Link copied to clipboard
Edits the message from taterzen's message list at index.
getAddEntityPacket
Link copied to clipboard
getAmbientSoundData
Link copied to clipboard
getDeathSoundData
Link copied to clipboard
getEntityData
Link copied to clipboard
getFollowType
Link copied to clipboard
Gets follow type for taterzen.
getFollowUuid
Link copied to clipboard
Gets the UUID of the entity that taterzen is following.
getGoalSelector
Link copied to clipboard
Gets the Taterzen's goal selector.
getGroupCommands
Link copied to clipboard
open fun getGroupCommands(group: Int): ArrayList<AbstractTaterzenCommand>
Content copied to clipboard
Gets commands from specific group.
getHurtSoundData
Link copied to clipboard
getMessages
Link copied to clipboard
Gets ArrayList of Pairs of messages and their delays.
getMovement
Link copied to clipboard
Gets current movement of taterzen.
getPathTargets
Link copied to clipboard
Gets the path nodes / targets.
getProfession
Link copied to clipboard
@Nullable
Content copied to clipboard
Gets Taterzen's profession.
getProfessionIds
Link copied to clipboard
Gets taterzen's professions.
getTabListName
Link copied to clipboard
getTargetSelector
Link copied to clipboard
Gets the Taterzen's target selector.
getWalkTargetValue
Link copied to clipboard
isEquipmentDropsAllowed
Link copied to clipboard
Gets whether Taterzen will drop its equipment.
isEquipmentEditor
Link copied to clipboard
Sets player as equipment editor.
isInvulnerableTo
Link copied to clipboard
loadFromPresetFile
Link copied to clipboard
Loads Taterzen data from preset file.
mobInteract
Link copied to clipboard
open fun mobInteract(player: Player, hand: InteractionHand): InteractionResult
Content copied to clipboard
Handles interaction (right clicking on the NPC).
onCrossbowAttackPerformed
Link copied to clipboard
open fun onCrossbowAttackPerformed()
Content copied to clipboard
performRangedAttack
Link copied to clipboard
readAdditionalSaveData
Link copied to clipboard
Loads Taterzen from CompoundTag.
removeAmbientSound
Link copied to clipboard
Removes sounds from the list of ambient sounds of a Taterzen.
removeDeathSound
Link copied to clipboard
Removes sounds from the list of death sounds of a Taterzen.
removeGroupCommand
Link copied to clipboard
Removes certain command from command list.
removeHurtSound
Link copied to clipboard
Removes sounds from the list of hurt sounds of a Taterzen.
removeMessage
Link copied to clipboard
Removes message at index.
removePathTarget
Link copied to clipboard
Removes node from path targets.
removeProfession
Link copied to clipboard
Removes Taterzen's profession and triggers the corresponding onRemove event.
sendProfileUpdates
Link copied to clipboard
open fun sendProfileUpdates()
Content copied to clipboard
Updates Taterzen's GameProfile for others.
setAllowFlight
Link copied to clipboard
Sets whether taterzen should be able to fly.
setAllowRiding
Link copied to clipboard
Sets whether taterzen should be allowed to be ride entities.
setAllowSounds
Link copied to clipboard
Whether this Taterzen should make sound.
setAllowSwimming
Link copied to clipboard
setAmbientSoundData
Link copied to clipboard
setBehaviour
Link copied to clipboard
Sets Taterzen's NPCData.Behaviour.
setChargingCrossbow
Link copied to clipboard
setCooldownMessage
Link copied to clipboard
Sets the cooldown message.
setCustomName
Link copied to clipboard
Sets the custom name
setDeathSoundData
Link copied to clipboard
setEquipmentEditor
Link copied to clipboard
Sets player as equipment editor.
setFollowType
Link copied to clipboard
Sets the target type to follow.
setFollowUuid
Link copied to clipboard
Sets the target uuid to follow.
setHurtSoundData
Link copied to clipboard
setLeashable
Link copied to clipboard
Sets whether Taterzen can be leashed.
setLeashedTo
Link copied to clipboard
setMessageDelay
Link copied to clipboard
Sets message delay for specified message.
setMinCommandInteractionTime
Link copied to clipboard
Sets the minimum time between command usage.
setMovement
Link copied to clipboard
Sets movement type and initialises the goals.
setPerformAttackJumps
Link copied to clipboard
Sets whether Taterzen can perform jumps when in proximity of target that it is attacking.
setPermissionLevel
Link copied to clipboard
setPushable
Link copied to clipboard
Sets the pushable flag
setRespawnPos
Link copied to clipboard
Sets the respawn position for taterzen.
setShiftKeyDown
Link copied to clipboard
Handles name visibility on sneaking
setSkinFromTag
Link copied to clipboard
Sets the Taterzen skin from tag
setSkinLayers
Link copied to clipboard
Sets which skin layers should be shown to clients
shootCrossbowProjectile
Link copied to clipboard
open fun shootCrossbowProjectile(target: LivingEntity, crossbow: ItemStack, projectile: Projectile, multiShotSpray: Float)
Content copied to clipboard
shouldDropExperience
Link copied to clipboard
skipAttackInteraction
Link copied to clipboard
Handles received hits.
startRiding
Link copied to clipboard
Tries to make taterzen to ride provided entity.
writeSkinToTag
Link copied to clipboard
Writes skin to tag
Inherited functions
acceptsFailure
Link copied to clipboard
acceptsSuccess
Link copied to clipboard
addDeltaMovement
Link copied to clipboard
alwaysAccepts
Link copied to clipboard
animateHurt
Link copied to clipboard
areAllEffectsAmbient
Link copied to clipboard
open fun areAllEffectsAmbient(collection: Collection<MobEffectInstance>): Boolean
Content copied to clipboard
attackable
Link copied to clipboard
awardKillScore
Link copied to clipboard
open fun awardKillScore(entity: Entity, i: Int, damageSource: DamageSource)
Content copied to clipboard
blockPosition
Link copied to clipboard
broadcastBreakEvent
Link copied to clipboard
broadcastToPlayer
Link copied to clipboard
calculateEntityAnimation
Link copied to clipboard
canAttackType
Link copied to clipboard
canBeAffected
Link copied to clipboard
canBeCollidedWith
Link copied to clipboard
canBeHitByProjectile
Link copied to clipboard
canBeSeenAsEnemy
Link copied to clipboard
canBeSeenByAnyone
Link copied to clipboard
canBreatheUnderwater
Link copied to clipboard
canChangeDimensions
Link copied to clipboard
canCollideWith
Link copied to clipboard
canDisableShield
Link copied to clipboard
canHoldItem
Link copied to clipboard
canReplaceEqualItem
Link copied to clipboard
open fun canReplaceEqualItem(itemStack: ItemStack, itemStack2: ItemStack): Boolean
Content copied to clipboard
canSpawnSoulSpeedParticle
Link copied to clipboard
canSpawnSprintParticle
Link copied to clipboard
canStandOnFluid
Link copied to clipboard
canTakeItem
Link copied to clipboard
changeDimension
Link copied to clipboard
checkBelowWorld
Link copied to clipboard
open fun checkBelowWorld()
Content copied to clipboard
checkDespawn
Link copied to clipboard
open fun checkDespawn()
Content copied to clipboard
checkMobSpawnRules
Link copied to clipboard
open fun checkMobSpawnRules(entityType: EntityType<out Mob>, levelAccessor: LevelAccessor, mobSpawnType: MobSpawnType, blockPos: BlockPos, randomSource: RandomSource): Boolean
Content copied to clipboard
checkSlowFallDistance
Link copied to clipboard
open fun checkSlowFallDistance()
Content copied to clipboard
checkSpawnObstruction
Link copied to clipboard
checkSpawnRules
Link copied to clipboard
open fun checkSpawnRules(levelAccessor: LevelAccessor, mobSpawnType: MobSpawnType): Boolean
Content copied to clipboard
chunkPosition
Link copied to clipboard
clearRestriction
Link copied to clipboard
open fun clearRestriction()
Content copied to clipboard
clearSleepingPos
Link copied to clipboard
open fun clearSleepingPos()
Content copied to clipboard
closerThan
Link copied to clipboard
collideBoundingBox
Link copied to clipboard
open fun collideBoundingBox(entity: Entity, vec3: Vec3, aABB: AABB, level: Level, list: List<VoxelShape>): Vec3
Content copied to clipboard
copyPosition
Link copied to clipboard
createCommandSourceStack
Link copied to clipboard
createLivingAttributes
Link copied to clipboard
createMobAttributes
Link copied to clipboard
damageSources
Link copied to clipboard
dampensVibrations
Link copied to clipboard
dismountsUnderwater
Link copied to clipboard
dismountTo
Link copied to clipboard
displayFireAnimation
Link copied to clipboard
distanceTo
Link copied to clipboard
distanceToSqr
Link copied to clipboard
doEnchantDamageEffects
Link copied to clipboard
open fun doEnchantDamageEffects(livingEntity: LivingEntity, entity: Entity)
Content copied to clipboard
ejectPassengers
Link copied to clipboard
open fun ejectPassengers()
Content copied to clipboard
equipItemIfPossible
Link copied to clipboard
equipmentHasChanged
Link copied to clipboard
open fun equipmentHasChanged(itemStack: ItemStack, itemStack2: ItemStack): Boolean
Content copied to clipboard
extinguishFire
Link copied to clipboard
open fun extinguishFire()
Content copied to clipboard
fillCrashReportCategory
Link copied to clipboard
open fun fillCrashReportCategory(crashReportCategory: CrashReportCategory)
Content copied to clipboard
finalizeSpawn
Link copied to clipboard
open fun finalizeSpawn(serverLevelAccessor: ServerLevelAccessor, difficultyInstance: DifficultyInstance, mobSpawnType: MobSpawnType, spawnGroupData: SpawnGroupData, compoundTag: CompoundTag): SpawnGroupData
Content copied to clipboard
fireImmune
Link copied to clipboard
forceAddEffect
Link copied to clipboard
open fun forceAddEffect(mobEffectInstance: MobEffectInstance, entity: Entity)
Content copied to clipboard
getAbsorptionAmount
Link copied to clipboard
getActiveEffects
Link copied to clipboard
getActiveEffectsMap
Link copied to clipboard
getAirSupply
Link copied to clipboard
getAllSlots
Link copied to clipboard
getAmbientSoundInterval
Link copied to clipboard
getArmorCoverPercentage
Link copied to clipboard
getArmorSlots
Link copied to clipboard
getArmorValue
Link copied to clipboard
getArrowCount
Link copied to clipboard
getAttackAnim
Link copied to clipboard
getAttribute
Link copied to clipboard
getAttributeBaseValue
Link copied to clipboard
getAttributes
Link copied to clipboard
getAttributeValue
Link copied to clipboard
getBbHeight
Link copied to clipboard
getBbWidth
Link copied to clipboard
getBedOrientation
Link copied to clipboard
getBlockExplosionResistance
Link copied to clipboard
open fun getBlockExplosionResistance(explosion: Explosion, blockGetter: BlockGetter, blockPos: BlockPos, blockState: BlockState, fluidState: FluidState, f: Float): Float
Content copied to clipboard
getBlockStateOn
Link copied to clipboard
getBoundingBox
Link copied to clipboard
getBoundingBoxForCulling
Link copied to clipboard
getCombatTracker
Link copied to clipboard
getCommandSenderWorld
Link copied to clipboard
getControlledVehicle
Link copied to clipboard
getControllingPassenger
Link copied to clipboard
getCustomName
Link copied to clipboard
getDeltaMovement
Link copied to clipboard
getDimensionChangingDelay
Link copied to clipboard
getDimensions
Link copied to clipboard
getDirection
Link copied to clipboard
getDismountLocationForPassenger
Link copied to clipboard
open fun getDismountLocationForPassenger(livingEntity: LivingEntity): Vec3
Content copied to clipboard
getDismountPoses
Link copied to clipboard
getDisplayName
Link copied to clipboard
getEatingSound
Link copied to clipboard
getEquipmentForSlot
Link copied to clipboard
getEquipmentSlotForItem
Link copied to clipboard
getExperienceReward
Link copied to clipboard
getEyePosition
Link copied to clipboard
getFallFlyingTicks
Link copied to clipboard
getFallSounds
Link copied to clipboard
getFeetBlockState
Link copied to clipboard
getFirstPassenger
Link copied to clipboard
getFluidFallingAdjustedMovement
Link copied to clipboard
open fun getFluidFallingAdjustedMovement(d: Double, bl: Boolean, vec3: Vec3): Vec3
Content copied to clipboard
getFluidHeight
Link copied to clipboard
getFluidJumpThreshold
Link copied to clipboard
getForward
Link copied to clipboard
getHandHoldingItemAngle
Link copied to clipboard
getHandSlots
Link copied to clipboard
getHeadRotSpeed
Link copied to clipboard
getHurtDir
Link copied to clipboard
getIndirectPassengers
Link copied to clipboard
getItemBySlot
Link copied to clipboard
getItemInHand
Link copied to clipboard
getJumpBoostPower
Link copied to clipboard
getJumpControl
Link copied to clipboard
getKillCredit
Link copied to clipboard
getLastAttacker
Link copied to clipboard
getLastClimbablePos
Link copied to clipboard
getLastDamageSource
Link copied to clipboard
getLastHurtByMob
Link copied to clipboard
getLastHurtByMobTimestamp
Link copied to clipboard
getLastHurtMob
Link copied to clipboard
getLastHurtMobTimestamp
Link copied to clipboard
getLeashHolder
Link copied to clipboard
getLeashOffset
Link copied to clipboard
getLightLevelDependentMagicValue
Link copied to clipboard
getLightProbePosition
Link copied to clipboard
getLocalBoundsForPose
Link copied to clipboard
getLookAngle
Link copied to clipboard
getLookControl
Link copied to clipboard
getLootTable
Link copied to clipboard
getLootTableSeed
Link copied to clipboard
getMainArm
Link copied to clipboard
getMainHandItem
Link copied to clipboard
getMaxAirSupply
Link copied to clipboard
getMaxFallDistance
Link copied to clipboard
getMaxHeadXRot
Link copied to clipboard
getMaxHeadYRot
Link copied to clipboard
getMaxHealth
Link copied to clipboard
getMaxSpawnClusterSize
Link copied to clipboard
getMeleeAttackRangeSqr
Link copied to clipboard
getMobType
Link copied to clipboard
getMotionDirection
Link copied to clipboard
getMoveControl
Link copied to clipboard
getMyRidingOffset
Link copied to clipboard
getNameTagOffsetY
Link copied to clipboard
getNavigation
Link copied to clipboard
getNoActionTime
Link copied to clipboard
getOffhandItem
Link copied to clipboard
getOnPosLegacy
Link copied to clipboard
getPassengers
Link copied to clipboard
getPassengersAndSelf
Link copied to clipboard
getPassengersRidingOffset
Link copied to clipboard
getPathfindingMalus
Link copied to clipboard
getPerceivedTargetDistanceSquareForMeleeAttack
Link copied to clipboard
open fun getPerceivedTargetDistanceSquareForMeleeAttack(livingEntity: LivingEntity): Double
Content copied to clipboard
getPercentFrozen
Link copied to clipboard
getPickRadius
Link copied to clipboard
getPickResult
Link copied to clipboard
getPistonPushReaction
Link copied to clipboard
getPortalCooldown
Link copied to clipboard
getPortalWaitTime
Link copied to clipboard
getPosition
Link copied to clipboard
getPositionCodec
Link copied to clipboard
getProjectile
Link copied to clipboard
getProjectileShotVector
Link copied to clipboard
open fun getProjectileShotVector(livingEntity: LivingEntity, vec3: Vec3, f: Float): Vector3f
Content copied to clipboard
getRandomX
Link copied to clipboard
getRandomY
Link copied to clipboard
getRandomZ
Link copied to clipboard
getRemainingFireTicks
Link copied to clipboard
getRemovalReason
Link copied to clipboard
getRestrictCenter
Link copied to clipboard
getRestrictRadius
Link copied to clipboard
getRootVehicle
Link copied to clipboard
getRopeHoldPosition
Link copied to clipboard
getRotationVector
Link copied to clipboard
getScoreboardName
Link copied to clipboard
getSelfAndPassengers
Link copied to clipboard
getSensing
Link copied to clipboard
getSleepingPos
Link copied to clipboard
getSoundSource
Link copied to clipboard
getStingerCount
Link copied to clipboard
getStringUUID
Link copied to clipboard
getSwimAmount
Link copied to clipboard
getTeamColor
Link copied to clipboard
getTicksFrozen
Link copied to clipboard
getTicksRequiredToFreeze
Link copied to clipboard
getTicksUsingItem
Link copied to clipboard
getUpVector
Link copied to clipboard
getUsedItemHand
Link copied to clipboard
getUseItem
Link copied to clipboard
getUseItemRemainingTicks
Link copied to clipboard
getVehicle
Link copied to clipboard
getViewScale
Link copied to clipboard
getViewVector
Link copied to clipboard
getViewXRot
Link copied to clipboard
getViewYRot
Link copied to clipboard
getVisibilityPercent
Link copied to clipboard
getVisualRotationYInDegrees
Link copied to clipboard
getVoicePitch
Link copied to clipboard
getWalkTargetValue
Link copied to clipboard
getYHeadRot
Link copied to clipboard
handleDamageEvent
Link copied to clipboard
handleEntityEvent
Link copied to clipboard
handleInsidePortal
Link copied to clipboard
handleRelativeFrictionAndCalculateMovement
Link copied to clipboard
open fun handleRelativeFrictionAndCalculateMovement(vec3: Vec3, f: Float): Vec3
Content copied to clipboard
hasControllingPassenger
Link copied to clipboard
hasCustomName
Link copied to clipboard
hasExactlyOnePlayerPassenger
Link copied to clipboard
hasGlowingTag
Link copied to clipboard
hasIndirectPassenger
Link copied to clipboard
hasItemInSlot
Link copied to clipboard
hasLineOfSight
Link copied to clipboard
hasPassenger
Link copied to clipboard
hasPermissions
Link copied to clipboard
hasRestriction
Link copied to clipboard
hurtCurrentlyUsedShield
Link copied to clipboard
hurtHelmet
Link copied to clipboard
ignoreExplosion
Link copied to clipboard
indicateDamage
Link copied to clipboard
interactAt
Link copied to clipboard
open fun interactAt(player: Player, vec3: Vec3, interactionHand: InteractionHand): InteractionResult
Content copied to clipboard
isAffectedByPotions
Link copied to clipboard
isAggressive
Link copied to clipboard
isAlliedTo
Link copied to clipboard
isAlwaysTicking
Link copied to clipboard
isAttackable
Link copied to clipboard
isAutoSpinAttack
Link copied to clipboard
isBlocking
Link copied to clipboard
isColliding
Link copied to clipboard
open fun isColliding(blockPos: BlockPos, blockState: BlockState): Boolean
Content copied to clipboard
isControlledByLocalInstance
Link copied to clipboard
isCrouching
Link copied to clipboard
isCurrentlyGlowing
Link copied to clipboard
isCustomNameVisible
Link copied to clipboard
isDamageSourceBlocked
Link copied to clipboard
isDeadOrDying
Link copied to clipboard
isDescending
Link copied to clipboard
isDiscrete
Link copied to clipboard
isEffectiveAi
Link copied to clipboard
isEyeInFluid
Link copied to clipboard
isFallFlying
Link copied to clipboard
isFreezing
Link copied to clipboard
isFullyFrozen
Link copied to clipboard
isIgnoringBlockTriggers
Link copied to clipboard
isInvertedHealAndHarm
Link copied to clipboard
isInvisible
Link copied to clipboard
isInvisibleTo
Link copied to clipboard
isInvulnerable
Link copied to clipboard
isInWaterOrBubble
Link copied to clipboard
isInWaterOrRain
Link copied to clipboard
isInWaterRainOrBubble
Link copied to clipboard
isLeftHanded
Link copied to clipboard
isMaxGroupSizeReached
Link copied to clipboard
isNoGravity
Link copied to clipboard
isOnPortalCooldown
Link copied to clipboard
isPassenger
Link copied to clipboard
isPassengerOfSameVehicle
Link copied to clipboard
isPathFinding
Link copied to clipboard
isPersistenceRequired
Link copied to clipboard
isPickable
Link copied to clipboard
isPushable
Link copied to clipboard
isPushedByFluid
Link copied to clipboard
isSensitiveToWater
Link copied to clipboard
isShiftKeyDown
Link copied to clipboard
isSleeping
Link copied to clipboard
isSpectator
Link copied to clipboard
isSprinting
Link copied to clipboard
isSteppingCarefully
Link copied to clipboard
isSupportedBy
Link copied to clipboard
isSuppressingBounce
Link copied to clipboard
isSuppressingSlidingDownLadder
Link copied to clipboard
isSwimming
Link copied to clipboard
isUnderWater
Link copied to clipboard
isUsingItem
Link copied to clipboard
isVisuallyCrawling
Link copied to clipboard
isVisuallySwimming
Link copied to clipboard
isWithinMeleeAttackRange
Link copied to clipboard
isWithinRestriction
Link copied to clipboard
killedEntity
Link copied to clipboard
open fun killedEntity(serverLevel: ServerLevel, livingEntity: LivingEntity): Boolean
Content copied to clipboard
lerpHeadTo
Link copied to clipboard
lerpMotion
Link copied to clipboard
makeStuckInBlock
Link copied to clipboard
mayInteract
Link copied to clipboard
moveRelative
Link copied to clipboard
onAboveBubbleCol
Link copied to clipboard
onClientRemoval
Link copied to clipboard
open fun onClientRemoval()
Content copied to clipboard
onClimbable
Link copied to clipboard
onEnterCombat
Link copied to clipboard
open fun onEnterCombat()
Content copied to clipboard
onEquipItem
Link copied to clipboard
open fun onEquipItem(equipmentSlot: EquipmentSlot, itemStack: ItemStack, itemStack2: ItemStack)
Content copied to clipboard
onInsideBubbleColumn
Link copied to clipboard
onItemPickup
Link copied to clipboard
onLeaveCombat
Link copied to clipboard
open fun onLeaveCombat()
Content copied to clipboard
onlyOpCanSetNbt
Link copied to clipboard
onPassengerTurned
Link copied to clipboard
onPathfindingDone
Link copied to clipboard
open fun onPathfindingDone()
Content copied to clipboard
onPathfindingStart
Link copied to clipboard
open fun onPathfindingStart()
Content copied to clipboard
onSyncedDataUpdated
Link copied to clipboard
open fun onSyncedDataUpdated(entityDataAccessor: EntityDataAccessor<out Any>)
Content copied to clipboard
performCrossbowAttack
Link copied to clipboard
playAmbientSound
Link copied to clipboard
open fun playAmbientSound()
Content copied to clipboard
playerTouch
Link copied to clipboard
positionRider
Link copied to clipboard
randomTeleport
Link copied to clipboard
recreateFromPacket
Link copied to clipboard
open fun recreateFromPacket(clientboundAddEntityPacket: ClientboundAddEntityPacket)
Content copied to clipboard
refreshDimensions
Link copied to clipboard
open fun refreshDimensions()
Content copied to clipboard
releaseUsingItem
Link copied to clipboard
open fun releaseUsingItem()
Content copied to clipboard
removeAllEffects
Link copied to clipboard
removeAllGoals
Link copied to clipboard
removeEffect
Link copied to clipboard
removeEffectNoUpdate
Link copied to clipboard
removeFreeWill
Link copied to clipboard
open fun removeFreeWill()
Content copied to clipboard
removeVehicle
Link copied to clipboard
open fun removeVehicle()
Content copied to clipboard
removeWhenFarAway
Link copied to clipboard
requiresCustomPersistence
Link copied to clipboard
resetFallDistance
Link copied to clipboard
open fun resetFallDistance()
Content copied to clipboard
resetForwardDirectionOfRelativePortalPosition
Link copied to clipboard
restoreFrom
Link copied to clipboard
restrictTo
Link copied to clipboard
saveAsPassenger
Link copied to clipboard
saveWithoutId
Link copied to clipboard
sendEffectToPassengers
Link copied to clipboard
sendSystemMessage
Link copied to clipboard
setAbsorptionAmount
Link copied to clipboard
setAggressive
Link copied to clipboard
setAirSupply
Link copied to clipboard
setArrowCount
Link copied to clipboard
setBoundingBox
Link copied to clipboard
setCanPickUpLoot
Link copied to clipboard
setCustomNameVisible
Link copied to clipboard
setDelayedLeashHolderId
Link copied to clipboard
setDeltaMovement
Link copied to clipboard
setDiscardFriction
Link copied to clipboard
setDropChance
Link copied to clipboard
setGlowingTag
Link copied to clipboard
setGuaranteedDrop
Link copied to clipboard
setInvisible
Link copied to clipboard
setInvulnerable
Link copied to clipboard
setIsInPowderSnow
Link copied to clipboard
setItemInHand
Link copied to clipboard
open fun setItemInHand(interactionHand: InteractionHand, itemStack: ItemStack)
Content copied to clipboard
setItemSlot
Link copied to clipboard
setJumping
Link copied to clipboard
setLastHurtByMob
Link copied to clipboard
setLastHurtByPlayer
Link copied to clipboard
setLastHurtMob
Link copied to clipboard
setLeftHanded
Link copied to clipboard
setLevelCallback
Link copied to clipboard
setMaxUpStep
Link copied to clipboard
setNoActionTime
Link copied to clipboard
setNoGravity
Link copied to clipboard
setOldPosAndRot
Link copied to clipboard
fun setOldPosAndRot()
Content copied to clipboard
setOnGround
Link copied to clipboard
setOnGroundWithKnownMovement
Link copied to clipboard
setPathfindingMalus
Link copied to clipboard
setPersistenceRequired
Link copied to clipboard
open fun setPersistenceRequired()
Content copied to clipboard
setPortalCooldown
Link copied to clipboard
open fun setPortalCooldown()
Content copied to clipboard
setRecordPlayingNearby
Link copied to clipboard
setRemainingFireTicks
Link copied to clipboard
setRemoved
Link copied to clipboard
setSecondsOnFire
Link copied to clipboard
setSharedFlagOnFire
Link copied to clipboard
setSleepingPos
Link copied to clipboard
setSprinting
Link copied to clipboard
setStingerCount
Link copied to clipboard
setSwimming
Link copied to clipboard
setTicksFrozen
Link copied to clipboard
setViewScale
Link copied to clipboard
setYBodyRot
Link copied to clipboard
setYHeadRot
Link copied to clipboard
shouldBeSaved
Link copied to clipboard
shouldBlockExplode
Link copied to clipboard
open fun shouldBlockExplode(explosion: Explosion, blockGetter: BlockGetter, blockPos: BlockPos, blockState: BlockState, f: Float): Boolean
Content copied to clipboard
shouldDiscardFriction
Link copied to clipboard
shouldInformAdmins
Link copied to clipboard
shouldRender
Link copied to clipboard
shouldRenderAtSqrDistance
Link copied to clipboard
shouldShowName
Link copied to clipboard
showVehicleHealth
Link copied to clipboard
skipDropExperience
Link copied to clipboard
open fun skipDropExperience()
Content copied to clipboard
spawnAtLocation
Link copied to clipboard
startRiding
Link copied to clipboard
startSeenByPlayer
Link copied to clipboard
startSleeping
Link copied to clipboard
startUsingItem
Link copied to clipboard
stopRiding
Link copied to clipboard
open fun stopRiding()
Content copied to clipboard
stopSeenByPlayer
Link copied to clipboard
stopSleeping
Link copied to clipboard
open fun stopSleeping()
Content copied to clipboard
stopUsingItem
Link copied to clipboard
open fun stopUsingItem()
Content copied to clipboard
syncPacketPositionCodec
Link copied to clipboard
teleportRelative
Link copied to clipboard
teleportTo
Link copied to clipboard
teleportToWithTicket
Link copied to clipboard
thunderHit
Link copied to clipboard
open fun thunderHit(serverLevel: ServerLevel, lightningBolt: LightningBolt)
Content copied to clipboard
touchingUnloadedChunk
Link copied to clipboard
trackingPosition
Link copied to clipboard
updateDynamicGameEventListener
Link copied to clipboard
open fun updateDynamicGameEventListener(biConsumer: BiConsumer<DynamicGameEventListener<out Any>, ServerLevel>)
Content copied to clipboard
updateFluidHeightAndDoFluidPushing
Link copied to clipboard
open fun updateFluidHeightAndDoFluidPushing(tagKey: TagKey<Fluid>, d: Double): Boolean
Content copied to clipboard
updateSwimming
Link copied to clipboard
open fun updateSwimming()
Content copied to clipboard
wantsToPickUp
Link copied to clipboard
wasExperienceConsumed
Link copied to clipboard