Package net.minecraft.server.network
Class ServerPlayerEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.player.PlayerEntity
net.minecraft.server.network.ServerPlayerEntity
- All Implemented Interfaces:
CommandOutput
,Nameable
,EntityLike
- Mappings:
Namespace Name official abs
intermediary net/minecraft/class_3222
named net/minecraft/server/network/ServerPlayerEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.player.PlayerEntity
PlayerEntity.SleepFailureReason
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Modifier and TypeFieldDescriptionprivate final PlayerAdvancementTracker
private Entity
private boolean
private ChatVisibility
private boolean
private static final int
private static final int
private boolean
private boolean
private int
private long
private int
private int
private int
private int
private float
private int
private Vec3d
private int
private static final Logger
boolean
int
private final ServerRecipeBook
private final ScreenHandlerListener
private final ScreenHandlerSyncHandler
private int
private boolean
final MinecraftServer
private float
private RegistryKey<World>
private boolean
private final ServerStatHandler
private int
private int
private float
private boolean
private final TextStream
private ChunkSectionPos
A chunk section position indicating where the player's client is currently watching chunks from.Fields inherited from class net.minecraft.entity.player.PlayerEntity
abilityResyncCountdown, capeX, capeY, capeZ, currentScreenHandler, enchantmentTableSeed, enderChestInventory, experienceLevel, experiencePickUpDelay, experienceProgress, field_30643, field_30644, field_30645, field_30646, field_30647, field_30648, field_30649, field_30650, field_30651, field_7509, fishHook, hungerManager, isSubmergedInWater, LEFT_SHOULDER_ENTITY, MAIN_ARM, OFFLINE_PLAYER_UUID_PREFIX, PLAYER_MODEL_PARTS, playerScreenHandler, prevCapeX, prevCapeY, prevCapeZ, prevStrideDistance, RIGHT_SHOULDER_ENTITY, STANDING_DIMENSIONS, strideDistance, totalExperience
Fields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_30063, field_30067, field_30068, field_30069, field_30070, field_30071, field_30072, field_30073, field_30074, field_30075, field_30076, field_30077, field_6215, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAG
Fields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_28627, field_29973, field_29974, field_29987, field_29988, field_29989, field_29990, field_29991, field_29992, field_29993, firstUpdate, FLAGS, fluidHeight, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
ConstructorDescriptionServerPlayerEntity
(MinecraftServer server, ServerWorld world, com.mojang.authlib.GameProfile profile) -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
acceptsMessage
(MessageType type) void
addCritParticles
(Entity target) void
addEnchantedHitParticles
(Entity target) void
addExperience
(int experience) void
addExperienceLevels
(int levels) void
applyEnchantmentCosts
(ItemStack enchantedItem, int experienceLevels) protected void
boolean
void
private int
calculateSpawnOffsetMultiplier
(int horizontalSpawnArea) boolean
canBeSpectated
(ServerPlayerEntity spectator) boolean
canModifyAt
(World world, BlockPos pos) boolean
changeGameMode
(GameMode gameMode) void
void
Runs closing tasks for the current screen handler and sets it to theplayerScreenHandler
.protected void
void
copyFrom
(ServerPlayerEntity oldPlayer, boolean alive) protected ItemCooldownManager
private void
createEndSpawnPlatform
(ServerWorld world, BlockPos centerPos) Packet<?>
boolean
damage
(DamageSource source, float amount) void
void
protected void
fall
(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPosition) private void
gameModeFromNbt
(@Nullable NbtCompound nbt, String key) getIp()
long
protected int
protected Optional<PortalUtil.Rectangle>
getPortalRect
(ServerWorld destWorld, BlockPos destPos, boolean destIsNether) private GameMode
getServerGameMode
(@Nullable GameMode backupGameMode) Returns the server game mode the player should be set to, namely the forced game mode.float
protected @Nullable TeleportTarget
getTeleportTarget
(ServerWorld destination) Determines aTeleportTarget
for the entity based on its current and destination worlds, plus any portals that may be present.Returns the chunk section position the player's client is currently watching from.void
handleFall
(double heightDifference, boolean onGround) void
increaseStat
(Stat<?> stat, int amount) private void
private boolean
isBedObstructed
(BlockPos pos, Direction direction) private boolean
isBedTooFarAway
(BlockPos pos) private boolean
isBedTooFarAway
(BlockPos pos, Direction direction) boolean
Returns whether this player is in creative mode.boolean
boolean
boolean
isInvulnerableTo
(DamageSource damageSource) private boolean
boolean
boolean
int
lockRecipes
(Collection<Recipe<?>> recipes) void
lookAt
(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target) void
lookAtEntity
(EntityAnchorArgumentType.EntityAnchor anchorPoint, Entity targetEntity, EntityAnchorArgumentType.EntityAnchor targetAnchor) void
protected void
method_37119
(ItemStack itemStack) private void
moveToSpawn
(ServerWorld world) moveToWorld
(ServerWorld destination) Moves this entity to another world.protected void
onBlockCollision
(BlockState state) void
onDeath
(DamageSource source) void
void
onSpawn()
private void
onSpawn
(ScreenHandler screenHandler) protected void
onStatusEffectApplied
(StatusEffectInstance effect, @Nullable Entity source) protected void
protected void
onStatusEffectUpgraded
(StatusEffectInstance effect, boolean reapplyEffect, @Nullable Entity source) void
void
openCommandBlockScreen
(CommandBlockBlockEntity commandBlock) void
void
openHorseInventory
(HorseBaseEntity horse, Inventory inventory) void
void
playSound
(SoundEvent event, SoundCategory category, float volume, float pitch) void
void
refreshPositionAfterTeleport
(double x, double y, double z) void
requestTeleport
(double destX, double destY, double destZ) void
requestTeleportAndDismount
(double destX, double destY, double destZ) void
void
private void
sendBlockEntityUpdate
(BlockEntity blockEntity) void
sendInitialChunkPackets
(ChunkPos chunkPos, Packet<?> packet, Packet<?> packet2) void
sendMessage
(Text message, boolean actionBar) void
sendMessage
(Text message, MessageType type, UUID sender) void
sendPickup
(Entity item, int count) void
sendResourcePackUrl
(String url, String hash, boolean required, @Nullable Text resourcePackPrompt) void
sendSystemMessage
(Text message, UUID sender) void
sendTradeOffers
(int syncId, TradeOfferList offers, int levelProgress, int experience, boolean leveled, boolean refreshable) void
sendUnloadChunkPacket
(ChunkPos chunkPos) void
setCameraEntity
(Entity entity) void
void
setExperienceLevel
(int level) void
setExperiencePoints
(int points) void
void
setSpawnPoint
(RegistryKey<World> dimension, @Nullable BlockPos pos, float angle, boolean spawnPointSet, boolean sendMessage) void
setWatchedSection
(ChunkSectionPos section) Sets the chunk section position the player's client is currently watching from.void
setWorld
(ServerWorld world) boolean
shouldDamagePlayer
(PlayerEntity player) boolean
boolean
void
boolean
startRiding
(Entity entity, boolean force) void
void
void
teleport
(ServerWorld targetWorld, double x, double y, double z, float yaw, float pitch) void
tick()
protected void
com.mojang.datafixers.util.Either<PlayerEntity.SleepFailureReason,
Unit> int
unlockRecipes
(Collection<Recipe<?>> recipes) void
unlockRecipes
(Identifier[] ids) void
updateInput
(float sidewaysSpeed, float forwardSpeed, boolean jumping, boolean sneaking) void
updateKilledAdvancementCriterion
(Entity killer, int score, DamageSource damageSource) void
protected void
private void
updateScoreboardScore
(String playerName, String team, ScoreboardCriterion[] criterions) private void
updateScores
(ScoreboardCriterion criterion, int score) void
Called when the player uses (defaults to right click) a writable or written book item.void
wakeUp
(boolean bool, boolean updateSleepingPlayers) private void
worldChanged
(ServerWorld origin) void
private void
Methods inherited from class net.minecraft.entity.player.PlayerEntity
addExhaustion, addScore, addShoulderEntity, adjustMovementForSneaking, applyDamage, attackLivingEntity, canConsume, canEquip, canFoodHeal, canHarvest, canModifyBlocks, canPlaceOn, canTakeDamage, checkFallFlying, clipAtLedge, createPlayerAttributes, damageArmor, damageHelmet, damageShield, disableShield, dismountVehicle, doesNotSuffocate, dropInventory, dropItem, dropSelectedItem, dropShoulderEntities, eatFood, equipStack, findRespawnPosition, getAbilities, getAbsorptionAmount, getActiveEyeHeight, getArmorItems, getArrowType, getAttackCooldownProgress, getAttackCooldownProgressPerTick, getBlockBreakingSpeed, getBurningDuration, getDeathSound, getDefaultNetherPortalCooldown, getDimensions, getDisplayName, getEnchantmentTableSeed, getEnderChestInventory, getEntityName, getEquippedStack, getFallSound, getGameProfile, getHeightOffset, getHighSpeedSplashSound, getHungerManager, getHurtSound, getInventory, getItemCooldownManager, getItemsHand, getLuck, getMainArm, getMaxNetherPortalTime, getMoveEffect, getMovementSpeed, getName, getNextLevelExperience, getOfflinePlayerUuid, getPoses, getScore, getScoreboard, getShoulderEntityLeft, getShoulderEntityRight, getSleepTimer, getSoundCategory, getSplashSound, getStackReference, getSwimSound, getUuidFromProfile, getVelocityMultiplier, getXpToDrop, giveItemStack, handleFallDamage, handleStatus, hasReducedDebugInfo, increaseStat, increaseTravelMotionStats, incrementStat, incrementStat, initDataTracker, interact, isBlockBreakingRestricted, isCreativeLevelTwoOp, isImmobile, isMainPlayer, isOnSoulSpeedBlock, isPartVisible, isPlayer, isPushedByFluids, isSleepingLongEnough, isSwimming, isUsingSpyglass, jump, method_30951, onKilledOther, onPickupSlotClick, onSwimmingStart, openCommandBlockMinecartScreen, openJigsawScreen, openStructureBlockScreen, playSound, remove, requestRespawn, resetLastAttackedTicks, setAbsorptionAmount, setFireTicks, setMainArm, setReducedDebugInfo, setScore, setShoulderEntityLeft, setShoulderEntityRight, shouldAlwaysDropXp, shouldCancelInteraction, shouldDismount, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSave, shouldSwimInFluids, slowMovement, spawnSweepAttackParticles, startFallFlying, stopFallFlying, takeShieldHit, tickMovement, tickNewAi, tickRiding, travel, updatePose, updateSwimming, updateWaterSubmersionState, vanishCursedItems, wakeUp
Methods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyEnchantmentsToDamage, baseTick, blockedByShield, canBeRiddenInWater, canBreatheInWater, canFreeze, canHaveStatusEffect, canMoveVoluntarily, canSee, canTarget, canTarget, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, computeFallDamage, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, deserializeBrain, displaySoulSpeedEffects, drop, dropEquipment, dropLoot, dropXp, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBoundingBox, getBrain, getClimbingPos, getDamageTracker, getDespawnCounter, getDrinkSound, getEatSound, getEyeHeight, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getLootContextBuilder, getLootTable, getMainHandStack, getMaxHealth, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInHand, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVisibilityBoundingBox, getYaw, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isBaby, isBlocking, isClimbing, isDead, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isInsideWall, isInSwimmingPose, isMobOrPlayer, isPartOfGame, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, kill, knockback, knockDownwards, markEffectsDirty, method_26317, method_26318, method_37410, onAttacking, onEquipStack, onKilledBy, onTrackedDataSet, playBlockFallSound, playHurtSound, positionInPortal, positionInPortal, pushAway, pushAwayFrom, readFromPacket, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendToolBreakStatus, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setMovementSpeed, setNearbySongPlaying, setNoDrag, setOnGround, setRiptideTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, spawnConsumptionEffects, stopUsingItem, swimUpward, swingHand, takeKnockback, teleport, tickCramming, tickHandSwing, tickInVoid, tickRiptide, tickStatusEffects, triggerItemPickedUpByEntityCriteria, tryAttack, turnHead, updateLimbs, updatePostDeath, updateTrackedHeadRotation, updateTrackedPositionAndAngles
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustSingleAxisMovementForCollisions, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canExplosionDestroyBlock, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, detach, discard, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getCameraBlockPos, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGameEventHandler, getHeight, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLerpedPos, getMaxAir, getMinFreezeDamageTicks, getMountedHeightOffset, getMovementDirection, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPickBlockStack, getPistonBehavior, getPitch, getPitch, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getStandingEyeHeight, getSwimHeight, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getX, getY, getYaw, getZ, handleAttack, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interact, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowingLocal, isImmuneToExplosion, isInLava, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSprinting, isSubmergedIn, isSubmergedInWater, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, move, occludeVibrationSignals, offsetX, offsetZ, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onPassengerLookAround, onPlayerCollision, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, playExtinguishSound, playStepSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official co
Labs;co:Lorg/apache/logging/log4j/Logger;
intermediary field_13975
Lnet/minecraft/class_3222;field_13975:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/server/network/ServerPlayerEntity;LOGGER:Lorg/apache/logging/log4j/Logger;
-
field_29769
private static final int field_29769- See Also:
- Mappings:
Namespace Name Mixin selector official cp
Labs;cp:I
intermediary field_29769
Lnet/minecraft/class_3222;field_29769:I
named field_29769
Lnet/minecraft/server/network/ServerPlayerEntity;field_29769:I
-
field_29770
private static final int field_29770- See Also:
- Mappings:
Namespace Name Mixin selector official cq
Labs;cq:I
intermediary field_29770
Lnet/minecraft/class_3222;field_29770:I
named field_29770
Lnet/minecraft/server/network/ServerPlayerEntity;field_29770:I
-
networkHandler
- Mappings:
Namespace Name Mixin selector official b
Labs;b:Lacj;
intermediary field_13987
Lnet/minecraft/class_3222;field_13987:Lnet/minecraft/class_3244;
named networkHandler
Lnet/minecraft/server/network/ServerPlayerEntity;networkHandler:Lnet/minecraft/server/network/ServerPlayNetworkHandler;
-
server
- Mappings:
Namespace Name Mixin selector official c
Labs;c:Lnet/minecraft/server/MinecraftServer;
intermediary field_13995
Lnet/minecraft/class_3222;field_13995:Lnet/minecraft/server/MinecraftServer;
named server
Lnet/minecraft/server/network/ServerPlayerEntity;server:Lnet/minecraft/server/MinecraftServer;
-
interactionManager
- Mappings:
Namespace Name Mixin selector official d
Labs;d:Labt;
intermediary field_13974
Lnet/minecraft/class_3222;field_13974:Lnet/minecraft/class_3225;
named interactionManager
Lnet/minecraft/server/network/ServerPlayerEntity;interactionManager:Lnet/minecraft/server/network/ServerPlayerInteractionManager;
-
advancementTracker
- Mappings:
Namespace Name Mixin selector official cr
Labs;cr:Lxe;
intermediary field_13970
Lnet/minecraft/class_3222;field_13970:Lnet/minecraft/class_2985;
named advancementTracker
Lnet/minecraft/server/network/ServerPlayerEntity;advancementTracker:Lnet/minecraft/advancement/PlayerAdvancementTracker;
-
statHandler
- Mappings:
Namespace Name Mixin selector official cs
Labs;cs:Lafk;
intermediary field_13966
Lnet/minecraft/class_3222;field_13966:Lnet/minecraft/class_3442;
named statHandler
Lnet/minecraft/server/network/ServerPlayerEntity;statHandler:Lnet/minecraft/stat/ServerStatHandler;
-
lastHealthScore
private float lastHealthScore- Mappings:
Namespace Name Mixin selector official ct
Labs;ct:F
intermediary field_13963
Lnet/minecraft/class_3222;field_13963:F
named lastHealthScore
Lnet/minecraft/server/network/ServerPlayerEntity;lastHealthScore:F
-
lastFoodScore
private int lastFoodScore- Mappings:
Namespace Name Mixin selector official cu
Labs;cu:I
intermediary field_13983
Lnet/minecraft/class_3222;field_13983:I
named lastFoodScore
Lnet/minecraft/server/network/ServerPlayerEntity;lastFoodScore:I
-
lastAirScore
private int lastAirScore- Mappings:
Namespace Name Mixin selector official cv
Labs;cv:I
intermediary field_13968
Lnet/minecraft/class_3222;field_13968:I
named lastAirScore
Lnet/minecraft/server/network/ServerPlayerEntity;lastAirScore:I
-
lastArmorScore
private int lastArmorScore- Mappings:
Namespace Name Mixin selector official cw
Labs;cw:I
intermediary field_13982
Lnet/minecraft/class_3222;field_13982:I
named lastArmorScore
Lnet/minecraft/server/network/ServerPlayerEntity;lastArmorScore:I
-
lastLevelScore
private int lastLevelScore- Mappings:
Namespace Name Mixin selector official cx
Labs;cx:I
intermediary field_13965
Lnet/minecraft/class_3222;field_13965:I
named lastLevelScore
Lnet/minecraft/server/network/ServerPlayerEntity;lastLevelScore:I
-
lastExperienceScore
private int lastExperienceScore- Mappings:
Namespace Name Mixin selector official cy
Labs;cy:I
intermediary field_13980
Lnet/minecraft/class_3222;field_13980:I
named lastExperienceScore
Lnet/minecraft/server/network/ServerPlayerEntity;lastExperienceScore:I
-
syncedHealth
private float syncedHealth- Mappings:
Namespace Name Mixin selector official cz
Labs;cz:F
intermediary field_13997
Lnet/minecraft/class_3222;field_13997:F
named syncedHealth
Lnet/minecraft/server/network/ServerPlayerEntity;syncedHealth:F
-
syncedFoodLevel
private int syncedFoodLevel- Mappings:
Namespace Name Mixin selector official cA
Labs;cA:I
intermediary field_13979
Lnet/minecraft/class_3222;field_13979:I
named syncedFoodLevel
Lnet/minecraft/server/network/ServerPlayerEntity;syncedFoodLevel:I
-
syncedSaturationIsZero
private boolean syncedSaturationIsZero- Mappings:
Namespace Name Mixin selector official cB
Labs;cB:Z
intermediary field_13972
Lnet/minecraft/class_3222;field_13972:Z
named syncedSaturationIsZero
Lnet/minecraft/server/network/ServerPlayerEntity;syncedSaturationIsZero:Z
-
syncedExperience
private int syncedExperience- Mappings:
Namespace Name Mixin selector official cC
Labs;cC:I
intermediary field_13978
Lnet/minecraft/class_3222;field_13978:I
named syncedExperience
Lnet/minecraft/server/network/ServerPlayerEntity;syncedExperience:I
-
joinInvulnerabilityTicks
private int joinInvulnerabilityTicks- Mappings:
Namespace Name Mixin selector official cD
Labs;cD:I
intermediary field_13998
Lnet/minecraft/class_3222;field_13998:I
named joinInvulnerabilityTicks
Lnet/minecraft/server/network/ServerPlayerEntity;joinInvulnerabilityTicks:I
-
clientChatVisibility
- Mappings:
Namespace Name Mixin selector official cE
Labs;cE:Lbkb;
intermediary field_13993
Lnet/minecraft/class_3222;field_13993:Lnet/minecraft/class_1659;
named clientChatVisibility
Lnet/minecraft/server/network/ServerPlayerEntity;clientChatVisibility:Lnet/minecraft/client/option/ChatVisibility;
-
clientChatColorsEnabled
private boolean clientChatColorsEnabled- Mappings:
Namespace Name Mixin selector official cF
Labs;cF:Z
intermediary field_13971
Lnet/minecraft/class_3222;field_13971:Z
named clientChatColorsEnabled
Lnet/minecraft/server/network/ServerPlayerEntity;clientChatColorsEnabled:Z
-
lastActionTime
private long lastActionTime- Mappings:
Namespace Name Mixin selector official cG
Labs;cG:J
intermediary field_13976
Lnet/minecraft/class_3222;field_13976:J
named lastActionTime
Lnet/minecraft/server/network/ServerPlayerEntity;lastActionTime:J
-
cameraEntity
- Mappings:
Namespace Name Mixin selector official cH
Labs;cH:Latf;
intermediary field_13984
Lnet/minecraft/class_3222;field_13984:Lnet/minecraft/class_1297;
named cameraEntity
Lnet/minecraft/server/network/ServerPlayerEntity;cameraEntity:Lnet/minecraft/entity/Entity;
-
inTeleportationState
private boolean inTeleportationState- Mappings:
Namespace Name Mixin selector official cI
Labs;cI:Z
intermediary field_13985
Lnet/minecraft/class_3222;field_13985:Z
named inTeleportationState
Lnet/minecraft/server/network/ServerPlayerEntity;inTeleportationState:Z
-
seenCredits
private boolean seenCredits- Mappings:
Namespace Name Mixin selector official cJ
Labs;cJ:Z
intermediary field_13969
Lnet/minecraft/class_3222;field_13969:Z
named seenCredits
Lnet/minecraft/server/network/ServerPlayerEntity;seenCredits:Z
-
recipeBook
- Mappings:
Namespace Name Mixin selector official cK
Labs;cK:Lafj;
intermediary field_13996
Lnet/minecraft/class_3222;field_13996:Lnet/minecraft/class_3441;
named recipeBook
Lnet/minecraft/server/network/ServerPlayerEntity;recipeBook:Lnet/minecraft/server/network/ServerRecipeBook;
-
levitationStartPos
- Mappings:
Namespace Name Mixin selector official cL
Labs;cL:Ldna;
intermediary field_13992
Lnet/minecraft/class_3222;field_13992:Lnet/minecraft/class_243;
named levitationStartPos
Lnet/minecraft/server/network/ServerPlayerEntity;levitationStartPos:Lnet/minecraft/util/math/Vec3d;
-
levitationStartTick
private int levitationStartTick- Mappings:
Namespace Name Mixin selector official cM
Labs;cM:I
intermediary field_13973
Lnet/minecraft/class_3222;field_13973:I
named levitationStartTick
Lnet/minecraft/server/network/ServerPlayerEntity;levitationStartTick:I
-
disconnected
private boolean disconnected- Mappings:
Namespace Name Mixin selector official cN
Labs;cN:Z
intermediary field_13964
Lnet/minecraft/class_3222;field_13964:Z
named disconnected
Lnet/minecraft/server/network/ServerPlayerEntity;disconnected:Z
-
enteredNetherPos
- Mappings:
Namespace Name Mixin selector official cO
Labs;cO:Ldna;
intermediary field_13994
Lnet/minecraft/class_3222;field_13994:Lnet/minecraft/class_243;
named enteredNetherPos
Lnet/minecraft/server/network/ServerPlayerEntity;enteredNetherPos:Lnet/minecraft/util/math/Vec3d;
-
watchedSection
A chunk section position indicating where the player's client is currently watching chunks from. Used referentially for the game to update the chunks watched by this player.- See Also:
- Mappings:
Namespace Name Mixin selector official cP
Labs;cP:Lgz;
intermediary field_13990
Lnet/minecraft/class_3222;field_13990:Lnet/minecraft/class_4076;
named watchedSection
Lnet/minecraft/server/network/ServerPlayerEntity;watchedSection:Lnet/minecraft/util/math/ChunkSectionPos;
-
spawnPointDimension
- Mappings:
Namespace Name Mixin selector official cQ
Labs;cQ:Lwv;
intermediary field_23191
Lnet/minecraft/class_3222;field_23191:Lnet/minecraft/class_5321;
named spawnPointDimension
Lnet/minecraft/server/network/ServerPlayerEntity;spawnPointDimension:Lnet/minecraft/util/registry/RegistryKey;
-
spawnPointPosition
- Mappings:
Namespace Name Mixin selector official cR
Labs;cR:Lgg;
intermediary field_23192
Lnet/minecraft/class_3222;field_23192:Lnet/minecraft/class_2338;
named spawnPointPosition
Lnet/minecraft/server/network/ServerPlayerEntity;spawnPointPosition:Lnet/minecraft/util/math/BlockPos;
-
spawnPointSet
private boolean spawnPointSet- Mappings:
Namespace Name Mixin selector official cS
Labs;cS:Z
intermediary field_23193
Lnet/minecraft/class_3222;field_23193:Z
named spawnPointSet
Lnet/minecraft/server/network/ServerPlayerEntity;spawnPointSet:Z
-
spawnAngle
private float spawnAngle- Mappings:
Namespace Name Mixin selector official cT
Labs;cT:F
intermediary field_26353
Lnet/minecraft/class_3222;field_26353:F
named spawnAngle
Lnet/minecraft/server/network/ServerPlayerEntity;spawnAngle:F
-
textStream
- Mappings:
Namespace Name Mixin selector official cU
Labs;cU:Laco;
intermediary field_26821
Lnet/minecraft/class_3222;field_26821:Lnet/minecraft/class_5513;
named textStream
Lnet/minecraft/server/network/ServerPlayerEntity;textStream:Lnet/minecraft/server/filter/TextStream;
-
filterText
private boolean filterText- Mappings:
Namespace Name Mixin selector official cV
Labs;cV:Z
intermediary field_28860
Lnet/minecraft/class_3222;field_28860:Z
named filterText
Lnet/minecraft/server/network/ServerPlayerEntity;filterText:Z
-
screenHandlerSyncHandler
- Mappings:
Namespace Name Mixin selector official cW
Labs;cW:Lbmw;
intermediary field_29180
Lnet/minecraft/class_3222;field_29180:Lnet/minecraft/class_5916;
named screenHandlerSyncHandler
Lnet/minecraft/server/network/ServerPlayerEntity;screenHandlerSyncHandler:Lnet/minecraft/screen/ScreenHandlerSyncHandler;
-
screenHandlerListener
- Mappings:
Namespace Name Mixin selector official cX
Labs;cX:Lbmv;
intermediary field_29181
Lnet/minecraft/class_3222;field_29181:Lnet/minecraft/class_1712;
named screenHandlerListener
Lnet/minecraft/server/network/ServerPlayerEntity;screenHandlerListener:Lnet/minecraft/screen/ScreenHandlerListener;
-
screenHandlerSyncId
private int screenHandlerSyncId- Mappings:
Namespace Name Mixin selector official cY
Labs;cY:I
intermediary field_13986
Lnet/minecraft/class_3222;field_13986:I
named screenHandlerSyncId
Lnet/minecraft/server/network/ServerPlayerEntity;screenHandlerSyncId:I
-
pingMilliseconds
public int pingMilliseconds- Mappings:
Namespace Name Mixin selector official e
Labs;e:I
intermediary field_13967
Lnet/minecraft/class_3222;field_13967:I
named pingMilliseconds
Lnet/minecraft/server/network/ServerPlayerEntity;pingMilliseconds:I
-
notInAnyWorld
public boolean notInAnyWorld- Mappings:
Namespace Name Mixin selector official f
Labs;f:Z
intermediary field_13989
Lnet/minecraft/class_3222;field_13989:Z
named notInAnyWorld
Lnet/minecraft/server/network/ServerPlayerEntity;notInAnyWorld:Z
-
-
Constructor Details
-
ServerPlayerEntity
public ServerPlayerEntity(MinecraftServer server, ServerWorld world, com.mojang.authlib.GameProfile profile) - Mappings:
Namespace Name Mixin selector official <init>
Labs;<init>(Lnet/minecraft/server/MinecraftServer;Labr;Lcom/mojang/authlib/GameProfile;)V
intermediary <init>
Lnet/minecraft/class_3222;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_3218;Lcom/mojang/authlib/GameProfile;)V
named <init>
Lnet/minecraft/server/network/ServerPlayerEntity;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/server/world/ServerWorld;Lcom/mojang/authlib/GameProfile;)V
-
-
Method Details
-
moveToSpawn
- Mappings:
Namespace Name Mixin selector official d
Labs;d(Labr;)V
intermediary method_14245
Lnet/minecraft/class_3222;method_14245(Lnet/minecraft/class_3218;)V
named moveToSpawn
Lnet/minecraft/server/network/ServerPlayerEntity;moveToSpawn(Lnet/minecraft/server/world/ServerWorld;)V
-
calculateSpawnOffsetMultiplier
private int calculateSpawnOffsetMultiplier(int horizontalSpawnArea) - Mappings:
Namespace Name Mixin selector official v
Labs;v(I)I
intermediary method_14244
Lnet/minecraft/class_3222;method_14244(I)I
named calculateSpawnOffsetMultiplier
Lnet/minecraft/server/network/ServerPlayerEntity;calculateSpawnOffsetMultiplier(I)I
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbt
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Latf;a(Lna;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbt
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official b
Latf;b(Lna;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToNbt
Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
setExperiencePoints
public void setExperiencePoints(int points) - Mappings:
Namespace Name Mixin selector official a
Labs;a(I)V
intermediary method_14228
Lnet/minecraft/class_3222;method_14228(I)V
named setExperiencePoints
Lnet/minecraft/server/network/ServerPlayerEntity;setExperiencePoints(I)V
-
setExperienceLevel
public void setExperienceLevel(int level) - Mappings:
Namespace Name Mixin selector official b
Labs;b(I)V
intermediary method_14252
Lnet/minecraft/class_3222;method_14252(I)V
named setExperienceLevel
Lnet/minecraft/server/network/ServerPlayerEntity;setExperienceLevel(I)V
-
addExperienceLevels
public void addExperienceLevels(int levels) - Overrides:
addExperienceLevels
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official c
Lbkd;c(I)V
intermediary method_7316
Lnet/minecraft/class_1657;method_7316(I)V
named addExperienceLevels
Lnet/minecraft/entity/player/PlayerEntity;addExperienceLevels(I)V
-
applyEnchantmentCosts
- Overrides:
applyEnchantmentCosts
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbkd;a(Lbqp;I)V
intermediary method_7286
Lnet/minecraft/class_1657;method_7286(Lnet/minecraft/class_1799;I)V
named applyEnchantmentCosts
Lnet/minecraft/entity/player/PlayerEntity;applyEnchantmentCosts(Lnet/minecraft/item/ItemStack;I)V
-
onSpawn
- Mappings:
Namespace Name Mixin selector official a
Labs;a(Lbmj;)V
intermediary method_14235
Lnet/minecraft/class_3222;method_14235(Lnet/minecraft/class_1703;)V
named onSpawn
Lnet/minecraft/server/network/ServerPlayerEntity;onSpawn(Lnet/minecraft/screen/ScreenHandler;)V
-
onSpawn
public void onSpawn()- Mappings:
Namespace Name Mixin selector official g
Labs;g()V
intermediary method_34225
Lnet/minecraft/class_3222;method_34225()V
named onSpawn
Lnet/minecraft/server/network/ServerPlayerEntity;onSpawn()V
-
enterCombat
public void enterCombat()- Overrides:
enterCombat
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official h
Latt;h()V
intermediary method_6000
Lnet/minecraft/class_1309;method_6000()V
named enterCombat
Lnet/minecraft/entity/LivingEntity;enterCombat()V
-
endCombat
public void endCombat()- Overrides:
endCombat
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official i
Latt;i()V
intermediary method_6044
Lnet/minecraft/class_1309;method_6044()V
named endCombat
Lnet/minecraft/entity/LivingEntity;endCombat()V
-
onBlockCollision
- Overrides:
onBlockCollision
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Latf;a(Lcks;)V
intermediary method_5622
Lnet/minecraft/class_1297;method_5622(Lnet/minecraft/class_2680;)V
named onBlockCollision
Lnet/minecraft/entity/Entity;onBlockCollision(Lnet/minecraft/block/BlockState;)V
-
createCooldownManager
- Overrides:
createCooldownManager
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official j
Lbkd;j()Lbqm;
intermediary method_7265
Lnet/minecraft/class_1657;method_7265()Lnet/minecraft/class_1796;
named createCooldownManager
Lnet/minecraft/entity/player/PlayerEntity;createCooldownManager()Lnet/minecraft/entity/player/ItemCooldownManager;
-
tick
public void tick()- Overrides:
tick
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official k
Latf;k()V
intermediary method_5773
Lnet/minecraft/class_1297;method_5773()V
named tick
Lnet/minecraft/entity/Entity;tick()V
-
playerTick
public void playerTick()- Mappings:
Namespace Name Mixin selector official l
Labs;l()V
intermediary method_14226
Lnet/minecraft/class_3222;method_14226()V
named playerTick
Lnet/minecraft/server/network/ServerPlayerEntity;playerTick()V
-
updateScores
- Mappings:
Namespace Name Mixin selector official a
Labs;a(Ldob;I)V
intermediary method_14212
Lnet/minecraft/class_3222;method_14212(Lnet/minecraft/class_274;I)V
named updateScores
Lnet/minecraft/server/network/ServerPlayerEntity;updateScores(Lnet/minecraft/scoreboard/ScoreboardCriterion;I)V
-
onDeath
- Overrides:
onDeath
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Latt;a(Lasp;)V
intermediary method_6078
Lnet/minecraft/class_1309;method_6078(Lnet/minecraft/class_1282;)V
named onDeath
Lnet/minecraft/entity/LivingEntity;onDeath(Lnet/minecraft/entity/damage/DamageSource;)V
-
forgiveMobAnger
private void forgiveMobAnger()- Mappings:
Namespace Name Mixin selector official fH
Labs;fH()V
intermediary method_29779
Lnet/minecraft/class_3222;method_29779()V
named forgiveMobAnger
Lnet/minecraft/server/network/ServerPlayerEntity;forgiveMobAnger()V
-
updateKilledAdvancementCriterion
- Overrides:
updateKilledAdvancementCriterion
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Latf;a(Latf;ILasp;)V
intermediary method_5716
Lnet/minecraft/class_1297;method_5716(Lnet/minecraft/class_1297;ILnet/minecraft/class_1282;)V
named updateKilledAdvancementCriterion
Lnet/minecraft/entity/Entity;updateKilledAdvancementCriterion(Lnet/minecraft/entity/Entity;ILnet/minecraft/entity/damage/DamageSource;)V
-
updateScoreboardScore
private void updateScoreboardScore(String playerName, String team, ScoreboardCriterion[] criterions) - Mappings:
Namespace Name Mixin selector official a
Labs;a(Ljava/lang/String;Ljava/lang/String;[Ldob;)V
intermediary method_14227
Lnet/minecraft/class_3222;method_14227(Ljava/lang/String;Ljava/lang/String;[Lnet/minecraft/class_274;)V
named updateScoreboardScore
Lnet/minecraft/server/network/ServerPlayerEntity;updateScoreboardScore(Ljava/lang/String;Ljava/lang/String;[Lnet/minecraft/scoreboard/ScoreboardCriterion;)V
-
damage
- Overrides:
damage
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Latf;a(Lasp;F)Z
intermediary method_5643
Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Z
named damage
Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
shouldDamagePlayer
- Overrides:
shouldDamagePlayer
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbkd;a(Lbkd;)Z
intermediary method_7256
Lnet/minecraft/class_1657;method_7256(Lnet/minecraft/class_1657;)Z
named shouldDamagePlayer
Lnet/minecraft/entity/player/PlayerEntity;shouldDamagePlayer(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
isPvpEnabled
private boolean isPvpEnabled()- Mappings:
Namespace Name Mixin selector official fI
Labs;fI()Z
intermediary method_14230
Lnet/minecraft/class_3222;method_14230()Z
named isPvpEnabled
Lnet/minecraft/server/network/ServerPlayerEntity;isPvpEnabled()Z
-
getTeleportTarget
Determines aTeleportTarget
for the entity based on its current and destination worlds, plus any portals that may be present.- Overrides:
getTeleportTarget
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Latf;a(Labr;)Ldhi;
intermediary method_30329
Lnet/minecraft/class_1297;method_30329(Lnet/minecraft/class_3218;)Lnet/minecraft/class_5454;
named getTeleportTarget
Lnet/minecraft/entity/Entity;getTeleportTarget(Lnet/minecraft/server/world/ServerWorld;)Lnet/minecraft/world/TeleportTarget;
-
moveToWorld
Moves this entity to another world.Note all entities except server player entities are completely recreated at the destination.
- Overrides:
moveToWorld
in classEntity
- Returns:
- the entity in the other world
- Mappings:
Namespace Name Mixin selector official b
Latf;b(Labr;)Latf;
intermediary method_5731
Lnet/minecraft/class_1297;method_5731(Lnet/minecraft/class_3218;)Lnet/minecraft/class_1297;
named moveToWorld
Lnet/minecraft/entity/Entity;moveToWorld(Lnet/minecraft/server/world/ServerWorld;)Lnet/minecraft/entity/Entity;
-
createEndSpawnPlatform
- Mappings:
Namespace Name Mixin selector official a
Labs;a(Labr;Lgg;)V
intermediary method_30313
Lnet/minecraft/class_3222;method_30313(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)V
named createEndSpawnPlatform
Lnet/minecraft/server/network/ServerPlayerEntity;createEndSpawnPlatform(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)V
-
getPortalRect
protected Optional<PortalUtil.Rectangle> getPortalRect(ServerWorld destWorld, BlockPos destPos, boolean destIsNether) - Overrides:
getPortalRect
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Latf;a(Labr;Lgg;Z)Ljava/util/Optional;
intermediary method_30330
Lnet/minecraft/class_1297;method_30330(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Z)Ljava/util/Optional;
named getPortalRect
Lnet/minecraft/entity/Entity;getPortalRect(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Z)Ljava/util/Optional;
-
worldChanged
- Mappings:
Namespace Name Mixin selector official e
Labs;e(Labr;)V
intermediary method_18783
Lnet/minecraft/class_3222;method_18783(Lnet/minecraft/class_3218;)V
named worldChanged
Lnet/minecraft/server/network/ServerPlayerEntity;worldChanged(Lnet/minecraft/server/world/ServerWorld;)V
-
canBeSpectated
- Overrides:
canBeSpectated
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Latf;a(Labs;)Z
intermediary method_5680
Lnet/minecraft/class_1297;method_5680(Lnet/minecraft/class_3222;)Z
named canBeSpectated
Lnet/minecraft/entity/Entity;canBeSpectated(Lnet/minecraft/server/network/ServerPlayerEntity;)Z
-
sendBlockEntityUpdate
- Mappings:
Namespace Name Mixin selector official a
Labs;a(Lcip;)V
intermediary method_14216
Lnet/minecraft/class_3222;method_14216(Lnet/minecraft/class_2586;)V
named sendBlockEntityUpdate
Lnet/minecraft/server/network/ServerPlayerEntity;sendBlockEntityUpdate(Lnet/minecraft/block/entity/BlockEntity;)V
-
sendPickup
- Overrides:
sendPickup
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Latt;a(Latf;I)V
intermediary method_6103
Lnet/minecraft/class_1309;method_6103(Lnet/minecraft/class_1297;I)V
named sendPickup
Lnet/minecraft/entity/LivingEntity;sendPickup(Lnet/minecraft/entity/Entity;I)V
-
trySleep
public com.mojang.datafixers.util.Either<PlayerEntity.SleepFailureReason,Unit> trySleep(BlockPos pos) - Overrides:
trySleep
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbkd;a(Lgg;)Lcom/mojang/datafixers/util/Either;
intermediary method_7269
Lnet/minecraft/class_1657;method_7269(Lnet/minecraft/class_2338;)Lcom/mojang/datafixers/util/Either;
named trySleep
Lnet/minecraft/entity/player/PlayerEntity;trySleep(Lnet/minecraft/util/math/BlockPos;)Lcom/mojang/datafixers/util/Either;
-
sleep
- Overrides:
sleep
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official b
Latt;b(Lgg;)V
intermediary method_18403
Lnet/minecraft/class_1309;method_18403(Lnet/minecraft/class_2338;)V
named sleep
Lnet/minecraft/entity/LivingEntity;sleep(Lnet/minecraft/util/math/BlockPos;)V
-
isBedTooFarAway
- Mappings:
Namespace Name Mixin selector official a
Labs;a(Lgg;Lgl;)Z
intermediary method_26285
Lnet/minecraft/class_3222;method_26285(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
named isBedTooFarAway
Lnet/minecraft/server/network/ServerPlayerEntity;isBedTooFarAway(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-
isBedTooFarAway
- Mappings:
Namespace Name Mixin selector official g
Labs;g(Lgg;)Z
intermediary method_26287
Lnet/minecraft/class_3222;method_26287(Lnet/minecraft/class_2338;)Z
named isBedTooFarAway
Lnet/minecraft/server/network/ServerPlayerEntity;isBedTooFarAway(Lnet/minecraft/util/math/BlockPos;)Z
-
isBedObstructed
- Mappings:
Namespace Name Mixin selector official b
Labs;b(Lgg;Lgl;)Z
intermediary method_26286
Lnet/minecraft/class_3222;method_26286(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
named isBedObstructed
Lnet/minecraft/server/network/ServerPlayerEntity;isBedObstructed(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-
wakeUp
public void wakeUp(boolean bool, boolean updateSleepingPlayers) - Overrides:
wakeUp
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbkd;a(ZZ)V
intermediary method_7358
Lnet/minecraft/class_1657;method_7358(ZZ)V
named wakeUp
Lnet/minecraft/entity/player/PlayerEntity;wakeUp(ZZ)V
-
startRiding
- Overrides:
startRiding
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Latf;a(Latf;Z)Z
intermediary method_5873
Lnet/minecraft/class_1297;method_5873(Lnet/minecraft/class_1297;Z)Z
named startRiding
Lnet/minecraft/entity/Entity;startRiding(Lnet/minecraft/entity/Entity;Z)Z
-
stopRiding
public void stopRiding()- Overrides:
stopRiding
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official m
Latf;m()V
intermediary method_5848
Lnet/minecraft/class_1297;method_5848()V
named stopRiding
Lnet/minecraft/entity/Entity;stopRiding()V
-
requestTeleportAndDismount
public void requestTeleportAndDismount(double destX, double destY, double destZ) - Overrides:
requestTeleportAndDismount
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Latf;a(DDD)V
intermediary method_33567
Lnet/minecraft/class_1297;method_33567(DDD)V
named requestTeleportAndDismount
Lnet/minecraft/entity/Entity;requestTeleportAndDismount(DDD)V
-
isInvulnerableTo
- Overrides:
isInvulnerableTo
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official b
Latf;b(Lasp;)Z
intermediary method_5679
Lnet/minecraft/class_1297;method_5679(Lnet/minecraft/class_1282;)Z
named isInvulnerableTo
Lnet/minecraft/entity/Entity;isInvulnerableTo(Lnet/minecraft/entity/damage/DamageSource;)Z
-
fall
protected void fall(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPosition) - Overrides:
fall
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Latf;a(DZLcks;Lgg;)V
intermediary method_5623
Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)V
named fall
Lnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
-
applyMovementEffects
- Overrides:
applyMovementEffects
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official c
Latt;c(Lgg;)V
intermediary method_6126
Lnet/minecraft/class_1309;method_6126(Lnet/minecraft/class_2338;)V
named applyMovementEffects
Lnet/minecraft/entity/LivingEntity;applyMovementEffects(Lnet/minecraft/util/math/BlockPos;)V
-
handleFall
public void handleFall(double heightDifference, boolean onGround) - Mappings:
Namespace Name Mixin selector official a
Labs;a(DZ)V
intermediary method_14207
Lnet/minecraft/class_3222;method_14207(DZ)V
named handleFall
Lnet/minecraft/server/network/ServerPlayerEntity;handleFall(DZ)V
-
openEditSignScreen
- Overrides:
openEditSignScreen
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbkd;a(Lcjp;)V
intermediary method_7311
Lnet/minecraft/class_1657;method_7311(Lnet/minecraft/class_2625;)V
named openEditSignScreen
Lnet/minecraft/entity/player/PlayerEntity;openEditSignScreen(Lnet/minecraft/block/entity/SignBlockEntity;)V
-
incrementScreenHandlerSyncId
private void incrementScreenHandlerSyncId()- Mappings:
Namespace Name Mixin selector official fJ
Labs;fJ()V
intermediary method_14237
Lnet/minecraft/class_3222;method_14237()V
named incrementScreenHandlerSyncId
Lnet/minecraft/server/network/ServerPlayerEntity;incrementScreenHandlerSyncId()V
-
openHandledScreen
- Overrides:
openHandledScreen
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbkd;a(Lasd;)Ljava/util/OptionalInt;
intermediary method_17355
Lnet/minecraft/class_1657;method_17355(Lnet/minecraft/class_3908;)Ljava/util/OptionalInt;
named openHandledScreen
Lnet/minecraft/entity/player/PlayerEntity;openHandledScreen(Lnet/minecraft/screen/NamedScreenHandlerFactory;)Ljava/util/OptionalInt;
-
sendTradeOffers
public void sendTradeOffers(int syncId, TradeOfferList offers, int levelProgress, int experience, boolean leveled, boolean refreshable) - Overrides:
sendTradeOffers
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbkd;a(ILbvn;IIZZ)V
intermediary method_17354
Lnet/minecraft/class_1657;method_17354(ILnet/minecraft/class_1916;IIZZ)V
named sendTradeOffers
Lnet/minecraft/entity/player/PlayerEntity;sendTradeOffers(ILnet/minecraft/village/TradeOfferList;IIZZ)V
-
openHorseInventory
- Overrides:
openHorseInventory
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbkd;a(Lbfi;Lart;)V
intermediary method_7291
Lnet/minecraft/class_1657;method_7291(Lnet/minecraft/class_1496;Lnet/minecraft/class_1263;)V
named openHorseInventory
Lnet/minecraft/entity/player/PlayerEntity;openHorseInventory(Lnet/minecraft/entity/passive/HorseBaseEntity;Lnet/minecraft/inventory/Inventory;)V
-
useBook
Called when the player uses (defaults to right click) a writable or written book item.This can be called either on the client or the server player. Check
book
for whether this is a written or a writable book.- Overrides:
useBook
in classPlayerEntity
- Parameters:
book
- the bookhand
- the hand holding the book- Mappings:
Namespace Name Mixin selector official a
Lbkd;a(Lbqp;Larz;)V
intermediary method_7315
Lnet/minecraft/class_1657;method_7315(Lnet/minecraft/class_1799;Lnet/minecraft/class_1268;)V
named useBook
Lnet/minecraft/entity/player/PlayerEntity;useBook(Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Hand;)V
-
openCommandBlockScreen
- Overrides:
openCommandBlockScreen
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbkd;a(Lciw;)V
intermediary method_7323
Lnet/minecraft/class_1657;method_7323(Lnet/minecraft/class_2593;)V
named openCommandBlockScreen
Lnet/minecraft/entity/player/PlayerEntity;openCommandBlockScreen(Lnet/minecraft/block/entity/CommandBlockBlockEntity;)V
-
closeHandledScreen
public void closeHandledScreen()- Overrides:
closeHandledScreen
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official n
Lbkd;n()V
intermediary method_7346
Lnet/minecraft/class_1657;method_7346()V
named closeHandledScreen
Lnet/minecraft/entity/player/PlayerEntity;closeHandledScreen()V
-
closeScreenHandler
public void closeScreenHandler()Runs closing tasks for the current screen handler and sets it to theplayerScreenHandler
.- Mappings:
Namespace Name Mixin selector official o
Labs;o()V
intermediary method_14247
Lnet/minecraft/class_3222;method_14247()V
named closeScreenHandler
Lnet/minecraft/server/network/ServerPlayerEntity;closeScreenHandler()V
-
updateInput
public void updateInput(float sidewaysSpeed, float forwardSpeed, boolean jumping, boolean sneaking) - Mappings:
Namespace Name Mixin selector official a
Labs;a(FFZZ)V
intermediary method_14218
Lnet/minecraft/class_3222;method_14218(FFZZ)V
named updateInput
Lnet/minecraft/server/network/ServerPlayerEntity;updateInput(FFZZ)V
-
increaseStat
- Overrides:
increaseStat
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbkd;a(Lafl;I)V
intermediary method_7342
Lnet/minecraft/class_1657;method_7342(Lnet/minecraft/class_3445;I)V
named increaseStat
Lnet/minecraft/entity/player/PlayerEntity;increaseStat(Lnet/minecraft/stat/Stat;I)V
-
resetStat
- Overrides:
resetStat
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbkd;a(Lafl;)V
intermediary method_7266
Lnet/minecraft/class_1657;method_7266(Lnet/minecraft/class_3445;)V
named resetStat
Lnet/minecraft/entity/player/PlayerEntity;resetStat(Lnet/minecraft/stat/Stat;)V
-
unlockRecipes
- Overrides:
unlockRecipes
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbkd;a(Ljava/util/Collection;)I
intermediary method_7254
Lnet/minecraft/class_1657;method_7254(Ljava/util/Collection;)I
named unlockRecipes
Lnet/minecraft/entity/player/PlayerEntity;unlockRecipes(Ljava/util/Collection;)I
-
unlockRecipes
- Overrides:
unlockRecipes
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbkd;a([Lww;)V
intermediary method_7335
Lnet/minecraft/class_1657;method_7335([Lnet/minecraft/class_2960;)V
named unlockRecipes
Lnet/minecraft/entity/player/PlayerEntity;unlockRecipes([Lnet/minecraft/util/Identifier;)V
-
lockRecipes
- Overrides:
lockRecipes
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official b
Lbkd;b(Ljava/util/Collection;)I
intermediary method_7333
Lnet/minecraft/class_1657;method_7333(Ljava/util/Collection;)I
named lockRecipes
Lnet/minecraft/entity/player/PlayerEntity;lockRecipes(Ljava/util/Collection;)I
-
addExperience
public void addExperience(int experience) - Overrides:
addExperience
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official d
Lbkd;d(I)V
intermediary method_7255
Lnet/minecraft/class_1657;method_7255(I)V
named addExperience
Lnet/minecraft/entity/player/PlayerEntity;addExperience(I)V
-
onDisconnect
public void onDisconnect()- Mappings:
Namespace Name Mixin selector official p
Labs;p()V
intermediary method_14231
Lnet/minecraft/class_3222;method_14231()V
named onDisconnect
Lnet/minecraft/server/network/ServerPlayerEntity;onDisconnect()V
-
isDisconnected
public boolean isDisconnected()- Mappings:
Namespace Name Mixin selector official q
Labs;q()Z
intermediary method_14239
Lnet/minecraft/class_3222;method_14239()Z
named isDisconnected
Lnet/minecraft/server/network/ServerPlayerEntity;isDisconnected()Z
-
markHealthDirty
public void markHealthDirty()- Mappings:
Namespace Name Mixin selector official r
Labs;r()V
intermediary method_14217
Lnet/minecraft/class_3222;method_14217()V
named markHealthDirty
Lnet/minecraft/server/network/ServerPlayerEntity;markHealthDirty()V
-
sendMessage
- Overrides:
sendMessage
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbkd;a(Los;Z)V
intermediary method_7353
Lnet/minecraft/class_1657;method_7353(Lnet/minecraft/class_2561;Z)V
named sendMessage
Lnet/minecraft/entity/player/PlayerEntity;sendMessage(Lnet/minecraft/text/Text;Z)V
-
consumeItem
protected void consumeItem()- Overrides:
consumeItem
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official s
Latt;s()V
intermediary method_6040
Lnet/minecraft/class_1309;method_6040()V
named consumeItem
Lnet/minecraft/entity/LivingEntity;consumeItem()V
-
lookAt
- Overrides:
lookAt
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Latf;a(Ldu$a;Ldna;)V
intermediary method_5702
Lnet/minecraft/class_1297;method_5702(Lnet/minecraft/class_2183$class_2184;Lnet/minecraft/class_243;)V
named lookAt
Lnet/minecraft/entity/Entity;lookAt(Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;Lnet/minecraft/util/math/Vec3d;)V
-
lookAtEntity
public void lookAtEntity(EntityAnchorArgumentType.EntityAnchor anchorPoint, Entity targetEntity, EntityAnchorArgumentType.EntityAnchor targetAnchor) - Mappings:
Namespace Name Mixin selector official a
Labs;a(Ldu$a;Latf;Ldu$a;)V
intermediary method_14222
Lnet/minecraft/class_3222;method_14222(Lnet/minecraft/class_2183$class_2184;Lnet/minecraft/class_1297;Lnet/minecraft/class_2183$class_2184;)V
named lookAtEntity
Lnet/minecraft/server/network/ServerPlayerEntity;lookAtEntity(Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;Lnet/minecraft/entity/Entity;Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;)V
-
copyFrom
- Mappings:
Namespace Name Mixin selector official a
Labs;a(Labs;Z)V
intermediary method_14203
Lnet/minecraft/class_3222;method_14203(Lnet/minecraft/class_3222;Z)V
named copyFrom
Lnet/minecraft/server/network/ServerPlayerEntity;copyFrom(Lnet/minecraft/server/network/ServerPlayerEntity;Z)V
-
onStatusEffectApplied
protected void onStatusEffectApplied(StatusEffectInstance effect, @Nullable @Nullable Entity source) - Overrides:
onStatusEffectApplied
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Latt;a(Lasz;Latf;)V
intermediary method_6020
Lnet/minecraft/class_1309;method_6020(Lnet/minecraft/class_1293;Lnet/minecraft/class_1297;)V
named onStatusEffectApplied
Lnet/minecraft/entity/LivingEntity;onStatusEffectApplied(Lnet/minecraft/entity/effect/StatusEffectInstance;Lnet/minecraft/entity/Entity;)V
-
onStatusEffectUpgraded
protected void onStatusEffectUpgraded(StatusEffectInstance effect, boolean reapplyEffect, @Nullable @Nullable Entity source) - Overrides:
onStatusEffectUpgraded
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Latt;a(Lasz;ZLatf;)V
intermediary method_6009
Lnet/minecraft/class_1309;method_6009(Lnet/minecraft/class_1293;ZLnet/minecraft/class_1297;)V
named onStatusEffectUpgraded
Lnet/minecraft/entity/LivingEntity;onStatusEffectUpgraded(Lnet/minecraft/entity/effect/StatusEffectInstance;ZLnet/minecraft/entity/Entity;)V
-
onStatusEffectRemoved
- Overrides:
onStatusEffectRemoved
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Latt;a(Lasz;)V
intermediary method_6129
Lnet/minecraft/class_1309;method_6129(Lnet/minecraft/class_1293;)V
named onStatusEffectRemoved
Lnet/minecraft/entity/LivingEntity;onStatusEffectRemoved(Lnet/minecraft/entity/effect/StatusEffectInstance;)V
-
requestTeleport
public void requestTeleport(double destX, double destY, double destZ) - Overrides:
requestTeleport
in classEntity
- Mappings:
Namespace Name Mixin selector official b
Latf;b(DDD)V
intermediary method_5859
Lnet/minecraft/class_1297;method_5859(DDD)V
named requestTeleport
Lnet/minecraft/entity/Entity;requestTeleport(DDD)V
-
refreshPositionAfterTeleport
public void refreshPositionAfterTeleport(double x, double y, double z) - Overrides:
refreshPositionAfterTeleport
in classEntity
- Mappings:
Namespace Name Mixin selector official c
Latf;c(DDD)V
intermediary method_24203
Lnet/minecraft/class_1297;method_24203(DDD)V
named refreshPositionAfterTeleport
Lnet/minecraft/entity/Entity;refreshPositionAfterTeleport(DDD)V
-
addCritParticles
- Overrides:
addCritParticles
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbkd;a(Latf;)V
intermediary method_7277
Lnet/minecraft/class_1657;method_7277(Lnet/minecraft/class_1297;)V
named addCritParticles
Lnet/minecraft/entity/player/PlayerEntity;addCritParticles(Lnet/minecraft/entity/Entity;)V
-
addEnchantedHitParticles
- Overrides:
addEnchantedHitParticles
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official b
Lbkd;b(Latf;)V
intermediary method_7304
Lnet/minecraft/class_1657;method_7304(Lnet/minecraft/class_1297;)V
named addEnchantedHitParticles
Lnet/minecraft/entity/player/PlayerEntity;addEnchantedHitParticles(Lnet/minecraft/entity/Entity;)V
-
sendAbilitiesUpdate
public void sendAbilitiesUpdate()- Overrides:
sendAbilitiesUpdate
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official t
Lbkd;t()V
intermediary method_7355
Lnet/minecraft/class_1657;method_7355()V
named sendAbilitiesUpdate
Lnet/minecraft/entity/player/PlayerEntity;sendAbilitiesUpdate()V
-
getServerWorld
- Mappings:
Namespace Name Mixin selector official u
Labs;u()Labr;
intermediary method_14220
Lnet/minecraft/class_3222;method_14220()Lnet/minecraft/class_3218;
named getServerWorld
Lnet/minecraft/server/network/ServerPlayerEntity;getServerWorld()Lnet/minecraft/server/world/ServerWorld;
-
changeGameMode
- Mappings:
Namespace Name Mixin selector official a
Labs;a(Lbwm;)Z
intermediary method_7336
Lnet/minecraft/class_3222;method_7336(Lnet/minecraft/class_1934;)Z
named changeGameMode
Lnet/minecraft/server/network/ServerPlayerEntity;changeGameMode(Lnet/minecraft/world/GameMode;)Z
-
isSpectator
public boolean isSpectator()- Specified by:
isSpectator
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official A_
Latf;A_()Z
intermediary method_7325
Lnet/minecraft/class_1297;method_7325()Z
named isSpectator
Lnet/minecraft/entity/Entity;isSpectator()Z
-
isCreative
public boolean isCreative()Returns whether this player is in creative mode.- Specified by:
isCreative
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official f
Lbkd;f()Z
intermediary method_7337
Lnet/minecraft/class_1657;method_7337()Z
named isCreative
Lnet/minecraft/entity/player/PlayerEntity;isCreative()Z
-
sendSystemMessage
- Specified by:
sendSystemMessage
in interfaceCommandOutput
- Overrides:
sendSystemMessage
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Ldk;a(Los;Ljava/util/UUID;)V
intermediary method_9203
Lnet/minecraft/class_2165;method_9203(Lnet/minecraft/class_2561;Ljava/util/UUID;)V
named sendSystemMessage
Lnet/minecraft/server/command/CommandOutput;sendSystemMessage(Lnet/minecraft/text/Text;Ljava/util/UUID;)V
-
sendMessage
- Mappings:
Namespace Name Mixin selector official a
Labs;a(Los;Lop;Ljava/util/UUID;)V
intermediary method_14254
Lnet/minecraft/class_3222;method_14254(Lnet/minecraft/class_2561;Lnet/minecraft/class_2556;Ljava/util/UUID;)V
named sendMessage
Lnet/minecraft/server/network/ServerPlayerEntity;sendMessage(Lnet/minecraft/text/Text;Lnet/minecraft/network/MessageType;Ljava/util/UUID;)V
-
getIp
- Mappings:
Namespace Name Mixin selector official v
Labs;v()Ljava/lang/String;
intermediary method_14209
Lnet/minecraft/class_3222;method_14209()Ljava/lang/String;
named getIp
Lnet/minecraft/server/network/ServerPlayerEntity;getIp()Ljava/lang/String;
-
setClientSettings
- Mappings:
Namespace Name Mixin selector official a
Labs;a(Ltt;)V
intermediary method_14213
Lnet/minecraft/class_3222;method_14213(Lnet/minecraft/class_2803;)V
named setClientSettings
Lnet/minecraft/server/network/ServerPlayerEntity;setClientSettings(Lnet/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket;)V
-
areClientChatColorsEnabled
public boolean areClientChatColorsEnabled()- Mappings:
Namespace Name Mixin selector official w
Labs;w()Z
intermediary method_34879
Lnet/minecraft/class_3222;method_34879()Z
named areClientChatColorsEnabled
Lnet/minecraft/server/network/ServerPlayerEntity;areClientChatColorsEnabled()Z
-
getClientChatVisibility
- Mappings:
Namespace Name Mixin selector official x
Labs;x()Lbkb;
intermediary method_14238
Lnet/minecraft/class_3222;method_14238()Lnet/minecraft/class_1659;
named getClientChatVisibility
Lnet/minecraft/server/network/ServerPlayerEntity;getClientChatVisibility()Lnet/minecraft/client/option/ChatVisibility;
-
acceptsMessage
- Mappings:
Namespace Name Mixin selector official a
Labs;a(Lop;)Z
intermediary method_33794
Lnet/minecraft/class_3222;method_33794(Lnet/minecraft/class_2556;)Z
named acceptsMessage
Lnet/minecraft/server/network/ServerPlayerEntity;acceptsMessage(Lnet/minecraft/network/MessageType;)Z
-
sendResourcePackUrl
public void sendResourcePackUrl(String url, String hash, boolean required, @Nullable @Nullable Text resourcePackPrompt) - Mappings:
Namespace Name Mixin selector official a
Labs;a(Ljava/lang/String;Ljava/lang/String;ZLos;)V
intermediary method_14255
Lnet/minecraft/class_3222;method_14255(Ljava/lang/String;Ljava/lang/String;ZLnet/minecraft/class_2561;)V
named sendResourcePackUrl
Lnet/minecraft/server/network/ServerPlayerEntity;sendResourcePackUrl(Ljava/lang/String;Ljava/lang/String;ZLnet/minecraft/text/Text;)V
-
getPermissionLevel
protected int getPermissionLevel()- Overrides:
getPermissionLevel
in classEntity
- Mappings:
Namespace Name Mixin selector official y
Latf;y()I
intermediary method_5691
Lnet/minecraft/class_1297;method_5691()I
named getPermissionLevel
Lnet/minecraft/entity/Entity;getPermissionLevel()I
-
updateLastActionTime
public void updateLastActionTime()- Mappings:
Namespace Name Mixin selector official z
Labs;z()V
intermediary method_14234
Lnet/minecraft/class_3222;method_14234()V
named updateLastActionTime
Lnet/minecraft/server/network/ServerPlayerEntity;updateLastActionTime()V
-
getStatHandler
- Mappings:
Namespace Name Mixin selector official A
Labs;A()Lafk;
intermediary method_14248
Lnet/minecraft/class_3222;method_14248()Lnet/minecraft/class_3442;
named getStatHandler
Lnet/minecraft/server/network/ServerPlayerEntity;getStatHandler()Lnet/minecraft/stat/ServerStatHandler;
-
getRecipeBook
- Mappings:
Namespace Name Mixin selector official B
Labs;B()Lafj;
intermediary method_14253
Lnet/minecraft/class_3222;method_14253()Lnet/minecraft/class_3441;
named getRecipeBook
Lnet/minecraft/server/network/ServerPlayerEntity;getRecipeBook()Lnet/minecraft/server/network/ServerRecipeBook;
-
updatePotionVisibility
protected void updatePotionVisibility()- Overrides:
updatePotionVisibility
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official C
Latt;C()V
intermediary method_6027
Lnet/minecraft/class_1309;method_6027()V
named updatePotionVisibility
Lnet/minecraft/entity/LivingEntity;updatePotionVisibility()V
-
getCameraEntity
- Mappings:
Namespace Name Mixin selector official D
Labs;D()Latf;
intermediary method_14242
Lnet/minecraft/class_3222;method_14242()Lnet/minecraft/class_1297;
named getCameraEntity
Lnet/minecraft/server/network/ServerPlayerEntity;getCameraEntity()Lnet/minecraft/entity/Entity;
-
setCameraEntity
- Mappings:
Namespace Name Mixin selector official c
Labs;c(Latf;)V
intermediary method_14224
Lnet/minecraft/class_3222;method_14224(Lnet/minecraft/class_1297;)V
named setCameraEntity
Lnet/minecraft/server/network/ServerPlayerEntity;setCameraEntity(Lnet/minecraft/entity/Entity;)V
-
tickNetherPortalCooldown
protected void tickNetherPortalCooldown()- Overrides:
tickNetherPortalCooldown
in classEntity
- Mappings:
Namespace Name Mixin selector official E
Latf;E()V
intermediary method_5760
Lnet/minecraft/class_1297;method_5760()V
named tickNetherPortalCooldown
Lnet/minecraft/entity/Entity;tickNetherPortalCooldown()V
-
attack
- Overrides:
attack
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official d
Lbkd;d(Latf;)V
intermediary method_7324
Lnet/minecraft/class_1657;method_7324(Lnet/minecraft/class_1297;)V
named attack
Lnet/minecraft/entity/player/PlayerEntity;attack(Lnet/minecraft/entity/Entity;)V
-
getLastActionTime
public long getLastActionTime()- Mappings:
Namespace Name Mixin selector official F
Labs;F()J
intermediary method_14219
Lnet/minecraft/class_3222;method_14219()J
named getLastActionTime
Lnet/minecraft/server/network/ServerPlayerEntity;getLastActionTime()J
-
getPlayerListName
- Mappings:
Namespace Name Mixin selector official G
Labs;G()Los;
intermediary method_14206
Lnet/minecraft/class_3222;method_14206()Lnet/minecraft/class_2561;
named getPlayerListName
Lnet/minecraft/server/network/ServerPlayerEntity;getPlayerListName()Lnet/minecraft/text/Text;
-
swingHand
- Overrides:
swingHand
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Latt;a(Larz;)V
intermediary method_6104
Lnet/minecraft/class_1309;method_6104(Lnet/minecraft/class_1268;)V
named swingHand
Lnet/minecraft/entity/LivingEntity;swingHand(Lnet/minecraft/util/Hand;)V
-
isInTeleportationState
public boolean isInTeleportationState()- Mappings:
Namespace Name Mixin selector official H
Labs;H()Z
intermediary method_14208
Lnet/minecraft/class_3222;method_14208()Z
named isInTeleportationState
Lnet/minecraft/server/network/ServerPlayerEntity;isInTeleportationState()Z
-
onTeleportationDone
public void onTeleportationDone()- Mappings:
Namespace Name Mixin selector official I
Labs;I()V
intermediary method_14240
Lnet/minecraft/class_3222;method_14240()V
named onTeleportationDone
Lnet/minecraft/server/network/ServerPlayerEntity;onTeleportationDone()V
-
getAdvancementTracker
- Mappings:
Namespace Name Mixin selector official J
Labs;J()Lxe;
intermediary method_14236
Lnet/minecraft/class_3222;method_14236()Lnet/minecraft/class_2985;
named getAdvancementTracker
Lnet/minecraft/server/network/ServerPlayerEntity;getAdvancementTracker()Lnet/minecraft/advancement/PlayerAdvancementTracker;
-
teleport
- Mappings:
Namespace Name Mixin selector official a
Labs;a(Labr;DDDFF)V
intermediary method_14251
Lnet/minecraft/class_3222;method_14251(Lnet/minecraft/class_3218;DDDFF)V
named teleport
Lnet/minecraft/server/network/ServerPlayerEntity;teleport(Lnet/minecraft/server/world/ServerWorld;DDDFF)V
-
getSpawnPointPosition
- Mappings:
Namespace Name Mixin selector official K
Labs;K()Lgg;
intermediary method_26280
Lnet/minecraft/class_3222;method_26280()Lnet/minecraft/class_2338;
named getSpawnPointPosition
Lnet/minecraft/server/network/ServerPlayerEntity;getSpawnPointPosition()Lnet/minecraft/util/math/BlockPos;
-
getSpawnAngle
public float getSpawnAngle()- Mappings:
Namespace Name Mixin selector official L
Labs;L()F
intermediary method_30631
Lnet/minecraft/class_3222;method_30631()F
named getSpawnAngle
Lnet/minecraft/server/network/ServerPlayerEntity;getSpawnAngle()F
-
getSpawnPointDimension
- Mappings:
Namespace Name Mixin selector official M
Labs;M()Lwv;
intermediary method_26281
Lnet/minecraft/class_3222;method_26281()Lnet/minecraft/class_5321;
named getSpawnPointDimension
Lnet/minecraft/server/network/ServerPlayerEntity;getSpawnPointDimension()Lnet/minecraft/util/registry/RegistryKey;
-
isSpawnPointSet
public boolean isSpawnPointSet()- Mappings:
Namespace Name Mixin selector official N
Labs;N()Z
intermediary method_26282
Lnet/minecraft/class_3222;method_26282()Z
named isSpawnPointSet
Lnet/minecraft/server/network/ServerPlayerEntity;isSpawnPointSet()Z
-
setSpawnPoint
public void setSpawnPoint(RegistryKey<World> dimension, @Nullable @Nullable BlockPos pos, float angle, boolean spawnPointSet, boolean sendMessage) - Mappings:
Namespace Name Mixin selector official a
Labs;a(Lwv;Lgg;FZZ)V
intermediary method_26284
Lnet/minecraft/class_3222;method_26284(Lnet/minecraft/class_5321;Lnet/minecraft/class_2338;FZZ)V
named setSpawnPoint
Lnet/minecraft/server/network/ServerPlayerEntity;setSpawnPoint(Lnet/minecraft/util/registry/RegistryKey;Lnet/minecraft/util/math/BlockPos;FZZ)V
-
sendInitialChunkPackets
- Mappings:
Namespace Name Mixin selector official a
Labs;a(Lbvu;Lpk;Lpk;)V
intermediary method_14205
Lnet/minecraft/class_3222;method_14205(Lnet/minecraft/class_1923;Lnet/minecraft/class_2596;Lnet/minecraft/class_2596;)V
named sendInitialChunkPackets
Lnet/minecraft/server/network/ServerPlayerEntity;sendInitialChunkPackets(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/network/Packet;Lnet/minecraft/network/Packet;)V
-
sendUnloadChunkPacket
- Mappings:
Namespace Name Mixin selector official a
Labs;a(Lbvu;)V
intermediary method_14246
Lnet/minecraft/class_3222;method_14246(Lnet/minecraft/class_1923;)V
named sendUnloadChunkPacket
Lnet/minecraft/server/network/ServerPlayerEntity;sendUnloadChunkPacket(Lnet/minecraft/util/math/ChunkPos;)V
-
getWatchedSection
Returns the chunk section position the player's client is currently watching from. This may differ from the chunk section the player is currently in.This is only for chunk loading (watching) purpose. This is updated together with entity tracking, but they are separate mechanisms.
- See Also:
- Mappings:
Namespace Name Mixin selector official O
Labs;O()Lgz;
intermediary method_14232
Lnet/minecraft/class_3222;method_14232()Lnet/minecraft/class_4076;
named getWatchedSection
Lnet/minecraft/server/network/ServerPlayerEntity;getWatchedSection()Lnet/minecraft/util/math/ChunkSectionPos;
-
setWatchedSection
Sets the chunk section position the player's client is currently watching from. This is usually called when the player moves to a new chunk section.- Parameters:
section
- the updated section position- See Also:
- Mappings:
Namespace Name Mixin selector official a
Labs;a(Lgz;)V
intermediary method_17668
Lnet/minecraft/class_3222;method_17668(Lnet/minecraft/class_4076;)V
named setWatchedSection
Lnet/minecraft/server/network/ServerPlayerEntity;setWatchedSection(Lnet/minecraft/util/math/ChunkSectionPos;)V
-
playSound
- Overrides:
playSound
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbkd;a(Lafd;Laff;FF)V
intermediary method_17356
Lnet/minecraft/class_1657;method_17356(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
named playSound
Lnet/minecraft/entity/player/PlayerEntity;playSound(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)V
-
createSpawnPacket
- Overrides:
createSpawnPacket
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official P
Latf;P()Lpk;
intermediary method_18002
Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;
named createSpawnPacket
Lnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;
-
dropItem
- Overrides:
dropItem
in classPlayerEntity
- Parameters:
throwRandomly
- if true, the item will be thrown in a random direction from the entity regardless of which direction the entity is facing- Mappings:
Namespace Name Mixin selector official a
Lbkd;a(Lbqp;ZZ)Lbhc;
intermediary method_7329
Lnet/minecraft/class_1657;method_7329(Lnet/minecraft/class_1799;ZZ)Lnet/minecraft/class_1542;
named dropItem
Lnet/minecraft/entity/player/PlayerEntity;dropItem(Lnet/minecraft/item/ItemStack;ZZ)Lnet/minecraft/entity/ItemEntity;
-
getTextStream
- Mappings:
Namespace Name Mixin selector official Q
Labs;Q()Laco;
intermediary method_31273
Lnet/minecraft/class_3222;method_31273()Lnet/minecraft/class_5513;
named getTextStream
Lnet/minecraft/server/network/ServerPlayerEntity;getTextStream()Lnet/minecraft/server/filter/TextStream;
-
setWorld
- Mappings:
Namespace Name Mixin selector official c
Labs;c(Labr;)V
intermediary method_32747
Lnet/minecraft/class_3222;method_32747(Lnet/minecraft/class_3218;)V
named setWorld
Lnet/minecraft/server/network/ServerPlayerEntity;setWorld(Lnet/minecraft/server/world/ServerWorld;)V
-
gameModeFromNbt
@Nullable private static @Nullable GameMode gameModeFromNbt(@Nullable @Nullable NbtCompound nbt, String key) - Mappings:
Namespace Name Mixin selector official a
Labs;a(Lna;Ljava/lang/String;)Lbwm;
intermediary method_32745
Lnet/minecraft/class_3222;method_32745(Lnet/minecraft/class_2487;Ljava/lang/String;)Lnet/minecraft/class_1934;
named gameModeFromNbt
Lnet/minecraft/server/network/ServerPlayerEntity;gameModeFromNbt(Lnet/minecraft/nbt/NbtCompound;Ljava/lang/String;)Lnet/minecraft/world/GameMode;
-
getServerGameMode
Returns the server game mode the player should be set to, namely the forced game mode.If the forced game mode is not set, returns the
backupGameMode
if notnull
, or the server's default game mode otherwise.- See Also:
- Mappings:
Namespace Name Mixin selector official b
Labs;b(Lbwm;)Lbwm;
intermediary method_32746
Lnet/minecraft/class_3222;method_32746(Lnet/minecraft/class_1934;)Lnet/minecraft/class_1934;
named getServerGameMode
Lnet/minecraft/server/network/ServerPlayerEntity;getServerGameMode(Lnet/minecraft/world/GameMode;)Lnet/minecraft/world/GameMode;
-
setGameMode
- Mappings:
Namespace Name Mixin selector official c
Labs;c(Lna;)V
intermediary method_32748
Lnet/minecraft/class_3222;method_32748(Lnet/minecraft/class_2487;)V
named setGameMode
Lnet/minecraft/server/network/ServerPlayerEntity;setGameMode(Lnet/minecraft/nbt/NbtCompound;)V
-
writeGameModeNbt
- Mappings:
Namespace Name Mixin selector official k
Labs;k(Lna;)V
intermediary method_32749
Lnet/minecraft/class_3222;method_32749(Lnet/minecraft/class_2487;)V
named writeGameModeNbt
Lnet/minecraft/server/network/ServerPlayerEntity;writeGameModeNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
shouldFilterText
public boolean shouldFilterText()- Mappings:
Namespace Name Mixin selector official R
Labs;R()Z
intermediary method_33793
Lnet/minecraft/class_3222;method_33793()Z
named shouldFilterText
Lnet/minecraft/server/network/ServerPlayerEntity;shouldFilterText()Z
-
shouldFilterMessagesSentTo
- Mappings:
Namespace Name Mixin selector official b
Labs;b(Labs;)Z
intermediary method_33795
Lnet/minecraft/class_3222;method_33795(Lnet/minecraft/class_3222;)Z
named shouldFilterMessagesSentTo
Lnet/minecraft/server/network/ServerPlayerEntity;shouldFilterMessagesSentTo(Lnet/minecraft/server/network/ServerPlayerEntity;)Z
-
canModifyAt
- Overrides:
canModifyAt
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Latf;a(Lbwp;Lgg;)Z
intermediary method_36971
Lnet/minecraft/class_1297;method_36971(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Z
named canModifyAt
Lnet/minecraft/entity/Entity;canModifyAt(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
-
method_37119
- Overrides:
method_37119
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Latt;a(Lbqp;)V
intermediary method_37119
Lnet/minecraft/class_1309;method_37119(Lnet/minecraft/class_1799;)V
named method_37119
Lnet/minecraft/entity/LivingEntity;method_37119(Lnet/minecraft/item/ItemStack;)V
-