Class ServerPlayerEntity
- All Implemented Interfaces:
Attackable,DataTracked,ScoreHolder,Nameable,EntityLike
- Mappings:
Namespace Name named net/minecraft/server/network/ServerPlayerEntityintermediary net/minecraft/class_3222official asi
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.entity.player.PlayerEntity
PlayerEntity.SleepFailureReasonNested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSoundsNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PlayerAdvancementTrackerprivate booleanprivate ChunkFilterprivate booleanprivate ChatVisibilityprivate final CommandOutputprivate static final EntityAttributeModifierprivate static final EntityAttributeModifierprivate booleanstatic final Stringstatic final Stringprivate final Set<EnderPearlEntity> private static final intprivate static final intprivate static final intstatic final doublestatic final doublestatic final intprivate booleanprivate booleanprivate intprivate Stringprivate longprivate intprivate intprivate intprivate intprivate floatprivate intprivate intprivate static final Loggerprivate Vec3dbooleanprivate ParticlesModeprivate PlayerInputprivate final ServerRecipeBookprivate final ScreenHandlerListenerprivate final ScreenHandlerSyncHandlerprivate intprivate SculkShriekerWarningManagerbooleanfinal MinecraftServerprivate @Nullable PublicPlayerSessionprivate floatprivate booleanprivate booleanprivate RegistryKey<World> private final ServerStatHandlerprivate intprivate intprivate floatprivate booleanprivate final TextStreamprivate intprivate ChunkSectionPosA 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, currentExplosionImpactPos, currentScreenHandler, damageTiltYaw, DEFAULT_EYE_HEIGHT, DEFAULT_MAIN_ARM, enchantingTableSeed, enderChestInventory, experienceLevel, experiencePickUpDelay, experienceProgress, explodedBy, field_30644, field_30645, field_30646, field_30647, field_30648, field_30649, field_30650, field_46175, field_47819, field_47820, field_49734, field_49735, field_7509, fishHook, hungerManager, isSubmergedInWater, LEFT_SHOULDER_ENTITY, MAIN_ARM, PLAYER_MODEL_PARTS, playerScreenHandler, prevCapeX, prevCapeY, prevCapeZ, prevStrideDistance, RIGHT_SHOULDER_ENTITY, STANDING_DIMENSIONS, strideDistance, totalExperience, VEHICLE_ATTACHMENT_POSFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, ATTRIBUTES_NBT_KEY, BABY_SCALE_FACTOR, bodyTrackingIncrements, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, elytraFlightController, EQUIPMENT_SLOT_ID, field_30069, field_30070, field_30072, field_30074, field_30075, field_44874, field_47756, field_48827, field_6215, forwardSpeed, glidingTicks, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, limbAnimator, LIVING_FLAGS, lookDirection, maxHurtTime, NOT_WEARING_GAZE_DISGUISE_PREDICATE, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevScale, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideAttackDamage, riptideStack, riptideTicks, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAGFields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, portalManager, POSE, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnowFields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME -
Constructor Summary
ConstructorsConstructorDescriptionServerPlayerEntity(MinecraftServer server, ServerWorld world, com.mojang.authlib.GameProfile profile, SyncedClientOptions clientOptions) -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanprivate booleanacceptsMessage(boolean overlay) voidaddCritParticles(Entity target) voidaddEnchantedHitParticles(Entity target) voidaddEnderPearl(EnderPearlEntity enderPearl) static longaddEnderPearlTicket(ServerWorld world, ChunkPos chunkPos) voidaddExperience(int experience) voidaddExperienceLevels(int levels) booleanvoidapplyEnchantmentCosts(ItemStack enchantedItem, int experienceLevels) protected voidapplyMovementEffects(ServerWorld world, BlockPos pos) booleanvoidprivate intcalculateSpawnOffsetMultiplier(int horizontalSpawnArea) booleancanBeSpectated(ServerPlayerEntity spectator) Returns whetherspectatorcan spectate this entity.booleancanModifyAt(ServerWorld world, BlockPos pos) Returns whether the entity can modify the world atpos.private booleancanSpawnIn(ServerWorld world, Box box) booleanchangeGameMode(GameMode gameMode) voidvoidCloses the currently open handled screen.protected voidvoidcopyFrom(ServerPlayerEntity oldPlayer, boolean alive) protected ItemCooldownManagerbooleandamage(ServerWorld world, DamageSource source, float amount) Applies a damage to this entity.voidprivate @Nullable ItemEntitydropPlayerItem(ItemStack stack, boolean throwRandomly, boolean retainOwnership) booleandropSelectedItem(boolean entireStack) voidvoidprotected voidfall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.private static Optional<ServerPlayerEntity.RespawnPos> findRespawnPosition(ServerWorld world, BlockPos pos, float spawnAngle, boolean spawnForced, boolean alive) private voidgameModeFromNbt(@Nullable NbtCompound nbt, String key) protected floatgetDamageAgainst(Entity target, float baseDamage, DamageSource damageSource) getIp()longprotected intintgetRespawnTarget(boolean alive, TeleportTarget.PostDimensionTransition postDimensionTransition) private GameModegetServerGameMode(@Nullable GameMode backupGameMode) Returns the server game mode the player should be set to, namely the forced game mode.floatintReturns the chunk section position the player's client is currently watching from.getWorldSpawnPos(ServerWorld world, BlockPos basePos) voidgiveOrDropStack(ItemStack stack) voidhandleFall(double xDifference, double yDifference, double zDifference, boolean onGround) longhandleThrownEnderPearl(EnderPearlEntity enderPearl) private voidincreaseRidingMotionStats(double deltaX, double deltaY, double deltaZ) voidincreaseStat(Stat<?> stat, int amount) voidincreaseTravelMotionStats(double deltaX, double deltaY, double deltaZ) private voidprivate booleanisBedObstructed(BlockPos pos, Direction direction) private booleanisBedWithinRange(BlockPos pos) private booleanisBedWithinRange(BlockPos pos, Direction direction) booleanReturns whether this player is in creative mode.booleanbooleanbooleanisInvulnerableTo(ServerWorld world, DamageSource source) private booleanbooleanbooleanReturns whether the entity is a spectator.private static booleanisZero(double deltaX, double deltaY, double deltaZ) voidjump()intlockRecipes(Collection<RecipeEntry<?>> recipes) voidlookAt(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target) Changes this entity's pitch and yaw to look attarget.voidlookAtEntity(EntityAnchorArgumentType.EntityAnchor anchorPoint, Entity targetEntity, EntityAnchorArgumentType.EntityAnchor targetAnchor) voidvoidonBlockCollision(BlockState state) Called when this entity's collision box intersectsstate.voidonDeath(DamageSource damageSource) voidvoidonExplodedBy(@Nullable Entity entity) voidRuns closing tasks for the current screen handler and sets it to thePlayerEntity.playerScreenHandler.voidCalled when the entity lands on a block.voidonRecipeCrafted(RecipeEntry<?> recipe, List<ItemStack> ingredients) private voidonScreenHandlerOpened(ScreenHandler screenHandler) voidonSpawn()protected voidonStatusEffectApplied(StatusEffectInstance effect, @Nullable Entity source) protected voidprotected voidonStatusEffectUpgraded(StatusEffectInstance effect, boolean reapplyEffect, @Nullable Entity source) voidvoidopenCommandBlockScreen(CommandBlockBlockEntity commandBlock) voidopenEditSignScreen(SignBlockEntity sign, boolean front) voidopenHorseInventory(AbstractHorseEntity horse, Inventory inventory) voidvoidplaySoundToPlayer(SoundEvent sound, SoundCategory category, float volume, float pitch) Playssoundto this player only.voidReads custom data fromnbt.voidvoidvoidvoidrefreshPositionAfterTeleport(double x, double y, double z) voidremoveEnderPearl(EnderPearlEntity enderPearl) voidrequestTeleport(double destX, double destY, double destZ) Requests the entity to teleport to the given position.voidrequestTeleportAndDismount(double destX, double destY, double destZ) Requests the entity to teleport to the given position.voidrequestTeleportOffset(double offsetX, double offsetY, double offsetZ) Requests the entity to teleport to the current position offset by the given amount.voidvoidrotate(float yaw, float pitch) voidvoidsendChatMessage(SentMessage message, boolean filterMaskEnabled, MessageType.Parameters params) Sends a chat message to the player.voidsendEquipmentBreakStatus(Item item, EquipmentSlot slot) private voidsendMapPacket(ItemStack stack) voidsendMessage(Text message) voidsendMessage(Text message, boolean overlay) Adds a message to this player's HUD.voidsendMessageToClient(Text message, boolean overlay) voidsendPickup(Entity item, int count) voidsendServerMetadata(ServerMetadata metadata) voidsendTradeOffers(int syncId, TradeOfferList offers, int levelProgress, int experience, boolean leveled, boolean refreshable) voidsetCameraEntity(@Nullable Entity entity) voidsetChunkFilter(ChunkFilter chunkFilter) voidsetClientOptions(SyncedClientOptions clientOptions) voidsetExperienceLevel(int level) voidsetExperiencePoints(int points) voidsetMovement(Vec3d movement) voidsetPlayerInput(PlayerInput playerInput) voidsetServerWorld(ServerWorld world) voidsetSession(PublicPlayerSession session) voidsetSpawnExtraParticlesOnFall(boolean spawnExtraParticlesOnFall) voidsetSpawnPoint(RegistryKey<World> dimension, @Nullable BlockPos pos, float angle, boolean forced, boolean sendMessage) Sets the player's spawn point.voidsetSpawnPointFrom(ServerPlayerEntity player) voidsetStartRaidPos(BlockPos startRaidPos) voidsetWatchedSection(ChunkSectionPos section) Sets the chunk section position the player's client is currently watching from.booleanshouldDamagePlayer(PlayerEntity player) booleanbooleanvoidbooleanstartRiding(Entity entity, boolean force) Starts ridingentity.voidStops riding the vehicle if present.voidbooleanteleport(ServerWorld world, double destX, double destY, double destZ, Set<PositionFlag> flags, float yaw, float pitch, boolean resetCamera) Teleports the entity to the given position.teleportTo(TeleportTarget teleportTarget) Teleports this entity to another location, potentially in another world.voidtick()Ticks this entity.protected voidvoidprotected voidprotected voidtickItemStackUsage(ItemStack stack) protected voidvoidvoidvoidtiltScreen(double deltaX, double deltaZ) voidCalled to trigger advancement criteria when an entity picks up an item thrown by a player.com.mojang.datafixers.util.Either<PlayerEntity.SleepFailureReason, Unit> Tries to start sleeping on a block.intunlockRecipes(Collection<RecipeEntry<?>> recipes) voidunlockRecipes(List<RegistryKey<Recipe<?>>> recipes) private voidvoidupdateKilledAdvancementCriterion(Entity entityKilled, int score, DamageSource damageSource) voidprotected voidprivate voidupdateScoreboardScore(ScoreHolder targetScoreHolder, ScoreHolder aboutScoreHolder, ScoreboardCriterion[] criterions) private voidupdateScores(ScoreboardCriterion criterion, int score) voidCalled when the player uses (defaults to right click) a writable or written book item.voidwakeUp(boolean skipSleepTimer, boolean updateSleepingPlayers) Wakes this player up.private voidworldChanged(ServerWorld origin) voidWrites custom data tonbt.private voidprivate voidprivate voidMethods inherited from class net.minecraft.entity.player.PlayerEntity
addExhaustion, addScore, addShoulderEntity, adjustMovementForSneaking, animateDamage, applyDamage, attackLivingEntity, canBeHitByProjectile, canChangeIntoPose, canConsume, canDropItems, canFoodHeal, canGlide, canHarvest, canInteractWithBlockAt, canInteractWithEntity, canInteractWithEntityIn, canModifyBlocks, canPlaceOn, canResetTimeBySleeping, canSprintAsVehicle, canTakeDamage, canUseSlot, checkGliding, clearCurrentExplosion, clipAtLedge, createPlayerAttributes, damageArmor, damageHelmet, damageShield, disableShield, dismountVehicle, doesNotSuffocate, dropCreativeStack, dropInventory, dropItem, dropShoulderEntities, equipStack, getAbilities, getAbsorptionAmount, getArmorItems, getAttackCooldownProgress, getAttackCooldownProgressPerTick, getBaseDimensions, getBlockBreakingSpeed, getBlockInteractionRange, getBurningDuration, getDamageTiltYaw, getDeathSound, getDefaultPortalCooldown, getDisplayName, getEnchantingTableSeed, getEnderChestInventory, getEntityInteractionRange, getEquippedStack, getFallSounds, getGameProfile, getHandItems, getHighSpeedSplashSound, getHungerManager, getHurtSound, getInventory, getItemCooldownManager, getLastDeathPos, getLeashPos, getLuck, getMainArm, getMaxRelativeHeadRotation, getMoveEffect, getMovementSpeed, getName, getNameForScoreboard, getNextLevelExperience, getOffGroundSpeed, getPoses, getProjectileType, getScore, getScoreboard, getShoulderEntityLeft, getShoulderEntityRight, getSleepTimer, getSoundCategory, getSplashSound, getStackReference, getSwimSound, getVelocityMultiplier, getWeaponStack, getXpToDrop, giveItemStack, handleFallDamage, handleStatus, hasPermissionLevel, hasReducedDebugInfo, increaseStat, incrementStat, incrementStat, initDataTracker, interact, isArmorSlot, isBlockBreakingRestricted, isControlledByPlayer, isCreativeLevelTwoOp, isImmobile, isInCreativeMode, isMainPlayer, isPartVisible, isPlayer, isPushedByFluids, isSwimming, isUsingSpyglass, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPickupSlotClick, onSwimmingStart, openCommandBlockMinecartScreen, openJigsawScreen, openStructureBlockScreen, playSound, playStepSound, remove, requestRespawn, resetLastAttackedTicks, setAbsorptionAmountUnclamped, setFireTicks, setIgnoreFallDamageFromCurrentExplosion, setLastDeathPos, setMainArm, setReducedDebugInfo, setScore, setShoulderEntityLeft, setShoulderEntityRight, shouldAlwaysDropXp, shouldCancelInteraction, shouldCloseHandledScreenOnRespawn, shouldDismount, shouldIgnoreFallDamageFromCurrentExplosion, shouldRenderName, shouldRotateWithMinecart, shouldSave, shouldSwimInFluids, slowMovement, spawnSweepAttackParticles, startGliding, stopGliding, takeShieldHit, tickMovement, tickNewAi, travel, tryClearCurrentExplosion, updatePose, updateSwimming, updateWaterSubmersionState, useRiptide, vanishCursedItems, wakeUpMethods inherited from class net.minecraft.entity.LivingEntity
addDeathParticles, addPowderSnowSlowIfNeeded, addStatusEffect, addStatusEffect, applyArmorToDamage, applyFluidMovingSpeed, areItemsDifferent, baseTick, blockedByShield, canBreatheInWater, canDispenserEquipSlot, canEquip, canEquipFromDispenser, canFreeze, canGlideWith, canHaveStatusEffect, canHit, canPickUpLoot, canSee, canSee, canTarget, canTarget, canUsePortals, canWalkOnFluid, clampScale, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, damageEquipment, deserializeBrain, disableExperienceDropping, disablesShield, drop, dropEquipment, dropLoot, dropXp, forEachGeneratedItem, forEachGiftedItem, forEachShearedItem, getActiveHand, getActiveItem, getActiveStatusEffects, getAllArmorItems, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBlockingItem, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getControlledMovementInput, getDamageTracker, getDespawnCounter, getDimensions, getEffectiveGravity, getEquippedItems, getGlidingTicks, getGravity, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getJumpVelocity, getKnockbackAgainst, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getLerpTargetPitch, getLerpTargetX, getLerpTargetY, getLerpTargetYaw, getLerpTargetZ, getLocationBasedEnchantmentEffects, getLootTableSeed, getMainHandStack, getMaxAbsorption, getMaxHealth, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPassengerRidingPos, getPlayerHitTimer, getPreferredEquipmentSlot, getPrimeAdversary, getRecentDamageSource, getSaddledSpeed, getSafeFallDistance, getSafeFallDistance, getScale, getScaleFactor, getSleepingDirection, getSleepingPosition, getSlotForHand, getSoundPitch, getSoundVolume, getStackInArm, getStackInHand, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getXpToDrop, getYaw, hasInvertedHealingAndHarm, hasLandedInFluid, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isBaby, isBlocking, isClimbing, isDead, isEntityLookingAtMe, isExperienceDroppingDisabled, isGliding, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isInsideWall, isInSwimmingPose, isMobOrPlayer, isPartOfGame, isPushable, isSleeping, isUsingItem, isUsingRiptide, kill, knockback, knockDownwards, lerpHeadYaw, lerpYaw, markEffectsDirty, modifyAppliedDamage, onAttacking, onDamaged, onEquipStack, onKilledBy, onRemoval, onSpawnPacket, onTrackedDataSet, playBlockFallSound, playHurtSound, playSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, removePowderSnowSlow, removeStatusEffect, removeStatusEffectInternal, resetLerp, sendEffectToControllingPlayer, setAbsorptionAmount, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setMovementSpeed, setNearbySongPlaying, setNoDrag, setOnFireForTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldDropLoot, shouldDropXp, spawnItemParticles, stopUsingItem, swimUpward, swingHand, takeKnockback, teleport, tickControlled, tickGliding, tickHandSwing, tickInVoid, tickRiptide, tickStatusEffects, tryAttack, turnHead, updateAttribute, updateLimbs, updateLimbs, updatePostDeath, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wouldNotSuffocateInPoseMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, applyGravity, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canExplosionDestroyBlock, canMoveVoluntarily, canStartRiding, canTeleportBetween, changeLookDirection, checkDespawn, clientDamage, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, detach, discard, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashOffset, getLeashOffset, getLerpedPitch, getLerpedPos, getLerpedYaw, getLootTableKey, getMaxAir, getMinFreezeDamageTicks, getMovementDirection, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPickBlockStack, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getServer, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasVehicle, interact, interactAt, isAlwaysInvulnerableTo, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLocalPlayerOrLogicalSideForUpdatingMovement, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, lerpPosAndRotation, limitFallDistance, move, movementInputToVelocity, occludeVibrationSignals, offsetX, offsetZ, onDataTrackerUpdate, onPassengerLookAround, onPlayerCollision, onRemove, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSoundIfNotSilent, playSwimSound, playSwimSound, populateCrashReport, pushOutOfBlocks, queueBlockCollisionCheck, raycast, readNbt, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, serverDamage, setAir, setAngles, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFlag, setFrozenTicks, setGlowing, setId, setInPowderSnow, setInvisible, setInvulnerable, setMovement, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setPosition, setPrevPositionAndAngles, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTickBlockCollision, sidedDamage, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, tickBlockCollision, tickBlockCollision, tickPortalTeleportation, toNbtList, toNbtList, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updatePrevAngles, updatePrevPosition, updateSupportingBlockPos, updateTrackedPosition, updateVelocity, updateWaterState, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/server/network/ServerPlayerEntity;LOGGER:Lorg/slf4j/Logger;intermediary field_13975Lnet/minecraft/class_3222;field_13975:Lorg/slf4j/Logger;official czLasi;cz:Lorg/slf4j/Logger;
-
field_29769
private static final int field_29769- See Also:
- Mappings:
Namespace Name Mixin selector named field_29769Lnet/minecraft/server/network/ServerPlayerEntity;field_29769:Iintermediary field_29769Lnet/minecraft/class_3222;field_29769:Iofficial cCLasi;cC:I
-
field_29770
private static final int field_29770- See Also:
- Mappings:
Namespace Name Mixin selector named field_29770Lnet/minecraft/server/network/ServerPlayerEntity;field_29770:Iintermediary field_29770Lnet/minecraft/class_3222;field_29770:Iofficial cDLasi;cD:I
-
field_46928
private static final int field_46928- See Also:
- Mappings:
Namespace Name Mixin selector named field_46928Lnet/minecraft/server/network/ServerPlayerEntity;field_46928:Iintermediary field_46928Lnet/minecraft/class_3222;field_46928:Iofficial cELasi;cE:I
-
field_54046
public static final double field_54046- See Also:
- Mappings:
Namespace Name Mixin selector named field_54046Lnet/minecraft/server/network/ServerPlayerEntity;field_54046:Dintermediary field_54046Lnet/minecraft/class_3222;field_54046:Dofficial aLasi;a:D
-
field_54047
public static final double field_54047- See Also:
- Mappings:
Namespace Name Mixin selector named field_54047Lnet/minecraft/server/network/ServerPlayerEntity;field_54047:Dintermediary field_54047Lnet/minecraft/class_3222;field_54047:Dofficial bLasi;b:D
-
field_54207
public static final int field_54207- See Also:
- Mappings:
Namespace Name Mixin selector named field_54207Lnet/minecraft/server/network/ServerPlayerEntity;field_54207:Iintermediary field_54207Lnet/minecraft/class_3222;field_54207:Iofficial cLasi;c:I
-
ENDER_PEARLS_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named ENDER_PEARLS_KEYLnet/minecraft/server/network/ServerPlayerEntity;ENDER_PEARLS_KEY:Ljava/lang/String;intermediary field_54209Lnet/minecraft/class_3222;field_54209:Ljava/lang/String;official dLasi;d:Ljava/lang/String;
-
ENDER_PEARLS_DIMENSION_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named ENDER_PEARLS_DIMENSION_KEYLnet/minecraft/server/network/ServerPlayerEntity;ENDER_PEARLS_DIMENSION_KEY:Ljava/lang/String;intermediary field_54210Lnet/minecraft/class_3222;field_54210:Ljava/lang/String;official eLasi;e:Ljava/lang/String;
-
CREATIVE_BLOCK_INTERACTION_RANGE_MODIFIER
- Mappings:
Namespace Name Mixin selector named CREATIVE_BLOCK_INTERACTION_RANGE_MODIFIERLnet/minecraft/server/network/ServerPlayerEntity;CREATIVE_BLOCK_INTERACTION_RANGE_MODIFIER:Lnet/minecraft/entity/attribute/EntityAttributeModifier;intermediary field_47709Lnet/minecraft/class_3222;field_47709:Lnet/minecraft/class_1322;official cFLasi;cF:Lbxl;
-
CREATIVE_ENTITY_INTERACTION_RANGE_MODIFIER
- Mappings:
Namespace Name Mixin selector named CREATIVE_ENTITY_INTERACTION_RANGE_MODIFIERLnet/minecraft/server/network/ServerPlayerEntity;CREATIVE_ENTITY_INTERACTION_RANGE_MODIFIER:Lnet/minecraft/entity/attribute/EntityAttributeModifier;intermediary field_47710Lnet/minecraft/class_3222;field_47710:Lnet/minecraft/class_1322;official cGLasi;cG:Lbxl;
-
networkHandler
- Mappings:
Namespace Name Mixin selector named networkHandlerLnet/minecraft/server/network/ServerPlayerEntity;networkHandler:Lnet/minecraft/server/network/ServerPlayNetworkHandler;intermediary field_13987Lnet/minecraft/class_3222;field_13987:Lnet/minecraft/class_3244;official fLasi;f:Latk;
-
server
- Mappings:
Namespace Name Mixin selector named serverLnet/minecraft/server/network/ServerPlayerEntity;server:Lnet/minecraft/server/MinecraftServer;intermediary field_13995Lnet/minecraft/class_3222;field_13995:Lnet/minecraft/server/MinecraftServer;official gLasi;g:Lnet/minecraft/server/MinecraftServer;
-
interactionManager
- Mappings:
Namespace Name Mixin selector named interactionManagerLnet/minecraft/server/network/ServerPlayerEntity;interactionManager:Lnet/minecraft/server/network/ServerPlayerInteractionManager;intermediary field_13974Lnet/minecraft/class_3222;field_13974:Lnet/minecraft/class_3225;official hLasi;h:Lasj;
-
advancementTracker
- Mappings:
Namespace Name Mixin selector named advancementTrackerLnet/minecraft/server/network/ServerPlayerEntity;advancementTracker:Lnet/minecraft/advancement/PlayerAdvancementTracker;intermediary field_13970Lnet/minecraft/class_3222;field_13970:Lnet/minecraft/class_2985;official cHLasi;cH:Lamh;
-
statHandler
- Mappings:
Namespace Name Mixin selector named statHandlerLnet/minecraft/server/network/ServerPlayerEntity;statHandler:Lnet/minecraft/stat/ServerStatHandler;intermediary field_13966Lnet/minecraft/class_3222;field_13966:Lnet/minecraft/class_3442;official cILasi;cI:Laxl;
-
lastHealthScore
private float lastHealthScore- Mappings:
Namespace Name Mixin selector named lastHealthScoreLnet/minecraft/server/network/ServerPlayerEntity;lastHealthScore:Fintermediary field_13963Lnet/minecraft/class_3222;field_13963:Fofficial cJLasi;cJ:F
-
lastFoodScore
private int lastFoodScore- Mappings:
Namespace Name Mixin selector named lastFoodScoreLnet/minecraft/server/network/ServerPlayerEntity;lastFoodScore:Iintermediary field_13983Lnet/minecraft/class_3222;field_13983:Iofficial cKLasi;cK:I
-
lastAirScore
private int lastAirScore- Mappings:
Namespace Name Mixin selector named lastAirScoreLnet/minecraft/server/network/ServerPlayerEntity;lastAirScore:Iintermediary field_13968Lnet/minecraft/class_3222;field_13968:Iofficial cLLasi;cL:I
-
lastArmorScore
private int lastArmorScore- Mappings:
Namespace Name Mixin selector named lastArmorScoreLnet/minecraft/server/network/ServerPlayerEntity;lastArmorScore:Iintermediary field_13982Lnet/minecraft/class_3222;field_13982:Iofficial cMLasi;cM:I
-
lastLevelScore
private int lastLevelScore- Mappings:
Namespace Name Mixin selector named lastLevelScoreLnet/minecraft/server/network/ServerPlayerEntity;lastLevelScore:Iintermediary field_13965Lnet/minecraft/class_3222;field_13965:Iofficial cNLasi;cN:I
-
lastExperienceScore
private int lastExperienceScore- Mappings:
Namespace Name Mixin selector named lastExperienceScoreLnet/minecraft/server/network/ServerPlayerEntity;lastExperienceScore:Iintermediary field_13980Lnet/minecraft/class_3222;field_13980:Iofficial cOLasi;cO:I
-
syncedHealth
private float syncedHealth- Mappings:
Namespace Name Mixin selector named syncedHealthLnet/minecraft/server/network/ServerPlayerEntity;syncedHealth:Fintermediary field_13997Lnet/minecraft/class_3222;field_13997:Fofficial cPLasi;cP:F
-
syncedFoodLevel
private int syncedFoodLevel- Mappings:
Namespace Name Mixin selector named syncedFoodLevelLnet/minecraft/server/network/ServerPlayerEntity;syncedFoodLevel:Iintermediary field_13979Lnet/minecraft/class_3222;field_13979:Iofficial cQLasi;cQ:I
-
syncedSaturationIsZero
private boolean syncedSaturationIsZero- Mappings:
Namespace Name Mixin selector named syncedSaturationIsZeroLnet/minecraft/server/network/ServerPlayerEntity;syncedSaturationIsZero:Zintermediary field_13972Lnet/minecraft/class_3222;field_13972:Zofficial cRLasi;cR:Z
-
syncedExperience
private int syncedExperience- Mappings:
Namespace Name Mixin selector named syncedExperienceLnet/minecraft/server/network/ServerPlayerEntity;syncedExperience:Iintermediary field_13978Lnet/minecraft/class_3222;field_13978:Iofficial cSLasi;cS:I
-
joinInvulnerabilityTicks
private int joinInvulnerabilityTicks- Mappings:
Namespace Name Mixin selector named joinInvulnerabilityTicksLnet/minecraft/server/network/ServerPlayerEntity;joinInvulnerabilityTicks:Iintermediary field_13998Lnet/minecraft/class_3222;field_13998:Iofficial cTLasi;cT:I
-
clientChatVisibility
- Mappings:
Namespace Name Mixin selector named clientChatVisibilityLnet/minecraft/server/network/ServerPlayerEntity;clientChatVisibility:Lnet/minecraft/network/message/ChatVisibility;intermediary field_13993Lnet/minecraft/class_3222;field_13993:Lnet/minecraft/class_1659;official cULasi;cU:Lcpt;
-
particlesMode
- Mappings:
Namespace Name Mixin selector named particlesModeLnet/minecraft/server/network/ServerPlayerEntity;particlesMode:Lnet/minecraft/particle/ParticlesMode;intermediary field_52358Lnet/minecraft/class_3222;field_52358:Lnet/minecraft/class_4066;official cVLasi;cV:Larz;
-
clientChatColorsEnabled
private boolean clientChatColorsEnabled- Mappings:
Namespace Name Mixin selector named clientChatColorsEnabledLnet/minecraft/server/network/ServerPlayerEntity;clientChatColorsEnabled:Zintermediary field_13971Lnet/minecraft/class_3222;field_13971:Zofficial cWLasi;cW:Z
-
lastActionTime
private long lastActionTime- Mappings:
Namespace Name Mixin selector named lastActionTimeLnet/minecraft/server/network/ServerPlayerEntity;lastActionTime:Jintermediary field_13976Lnet/minecraft/class_3222;field_13976:Jofficial cXLasi;cX:J
-
cameraEntity
- Mappings:
Namespace Name Mixin selector named cameraEntityLnet/minecraft/server/network/ServerPlayerEntity;cameraEntity:Lnet/minecraft/entity/Entity;intermediary field_13984Lnet/minecraft/class_3222;field_13984:Lnet/minecraft/class_1297;official cYLasi;cY:Lbvj;
-
inTeleportationState
private boolean inTeleportationState- Mappings:
Namespace Name Mixin selector named inTeleportationStateLnet/minecraft/server/network/ServerPlayerEntity;inTeleportationState:Zintermediary field_13985Lnet/minecraft/class_3222;field_13985:Zofficial cZLasi;cZ:Z
-
seenCredits
public boolean seenCredits- Mappings:
Namespace Name Mixin selector named seenCreditsLnet/minecraft/server/network/ServerPlayerEntity;seenCredits:Zintermediary field_13969Lnet/minecraft/class_3222;field_13969:Zofficial iLasi;i:Z
-
recipeBook
- Mappings:
Namespace Name Mixin selector named recipeBookLnet/minecraft/server/network/ServerPlayerEntity;recipeBook:Lnet/minecraft/server/network/ServerRecipeBook;intermediary field_13996Lnet/minecraft/class_3222;field_13996:Lnet/minecraft/class_3441;official daLasi;da:Laxk;
-
levitationStartPos
- Mappings:
Namespace Name Mixin selector named levitationStartPosLnet/minecraft/server/network/ServerPlayerEntity;levitationStartPos:Lnet/minecraft/util/math/Vec3d;intermediary field_13992Lnet/minecraft/class_3222;field_13992:Lnet/minecraft/class_243;official dbLasi;db:Lfbx;
-
levitationStartTick
private int levitationStartTick- Mappings:
Namespace Name Mixin selector named levitationStartTickLnet/minecraft/server/network/ServerPlayerEntity;levitationStartTick:Iintermediary field_13973Lnet/minecraft/class_3222;field_13973:Iofficial dcLasi;dc:I
-
disconnected
private boolean disconnected- Mappings:
Namespace Name Mixin selector named disconnectedLnet/minecraft/server/network/ServerPlayerEntity;disconnected:Zintermediary field_13964Lnet/minecraft/class_3222;field_13964:Zofficial ddLasi;dd:Z
-
viewDistance
private int viewDistance- Mappings:
Namespace Name Mixin selector named viewDistanceLnet/minecraft/server/network/ServerPlayerEntity;viewDistance:Iintermediary field_44990Lnet/minecraft/class_3222;field_44990:Iofficial deLasi;de:I
-
language
- Mappings:
Namespace Name Mixin selector named languageLnet/minecraft/server/network/ServerPlayerEntity;language:Ljava/lang/String;intermediary field_46156Lnet/minecraft/class_3222;field_46156:Ljava/lang/String;official dfLasi;df:Ljava/lang/String;
-
fallStartPos
- Mappings:
Namespace Name Mixin selector named fallStartPosLnet/minecraft/server/network/ServerPlayerEntity;fallStartPos:Lnet/minecraft/util/math/Vec3d;intermediary field_35007Lnet/minecraft/class_3222;field_35007:Lnet/minecraft/class_243;official dgLasi;dg:Lfbx;
-
enteredNetherPos
- Mappings:
Namespace Name Mixin selector named enteredNetherPosLnet/minecraft/server/network/ServerPlayerEntity;enteredNetherPos:Lnet/minecraft/util/math/Vec3d;intermediary field_13994Lnet/minecraft/class_3222;field_13994:Lnet/minecraft/class_243;official dhLasi;dh:Lfbx;
-
vehicleInLavaRidingPos
- Mappings:
Namespace Name Mixin selector named vehicleInLavaRidingPosLnet/minecraft/server/network/ServerPlayerEntity;vehicleInLavaRidingPos:Lnet/minecraft/util/math/Vec3d;intermediary field_35008Lnet/minecraft/class_3222;field_35008:Lnet/minecraft/class_243;official diLasi;di:Lfbx;
-
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 named watchedSectionLnet/minecraft/server/network/ServerPlayerEntity;watchedSection:Lnet/minecraft/util/math/ChunkSectionPos;intermediary field_13990Lnet/minecraft/class_3222;field_13990:Lnet/minecraft/class_4076;official djLasi;dj:Lkj;
-
chunkFilter
- Mappings:
Namespace Name Mixin selector named chunkFilterLnet/minecraft/server/network/ServerPlayerEntity;chunkFilter:Lnet/minecraft/server/network/ChunkFilter;intermediary field_44991Lnet/minecraft/class_3222;field_44991:Lnet/minecraft/class_8603;official dkLasi;dk:Larr;
-
spawnPointDimension
- Mappings:
Namespace Name Mixin selector named spawnPointDimensionLnet/minecraft/server/network/ServerPlayerEntity;spawnPointDimension:Lnet/minecraft/registry/RegistryKey;intermediary field_23191Lnet/minecraft/class_3222;field_23191:Lnet/minecraft/class_5321;official dlLasi;dl:Laly;
-
spawnPointPosition
- Mappings:
Namespace Name Mixin selector named spawnPointPositionLnet/minecraft/server/network/ServerPlayerEntity;spawnPointPosition:Lnet/minecraft/util/math/BlockPos;intermediary field_23192Lnet/minecraft/class_3222;field_23192:Lnet/minecraft/class_2338;official dmLasi;dm:Ljh;
-
spawnForced
private boolean spawnForced- Mappings:
Namespace Name Mixin selector named spawnForcedLnet/minecraft/server/network/ServerPlayerEntity;spawnForced:Zintermediary field_23193Lnet/minecraft/class_3222;field_23193:Zofficial dnLasi;dn:Z
-
spawnAngle
private float spawnAngle- Mappings:
Namespace Name Mixin selector named spawnAngleLnet/minecraft/server/network/ServerPlayerEntity;spawnAngle:Fintermediary field_26353Lnet/minecraft/class_3222;field_26353:Fofficial doLasi;do:F
-
textStream
- Mappings:
Namespace Name Mixin selector named textStreamLnet/minecraft/server/network/ServerPlayerEntity;textStream:Lnet/minecraft/server/filter/TextStream;intermediary field_26821Lnet/minecraft/class_3222;field_26821:Lnet/minecraft/class_5513;official dpLasi;dp:Latq;
-
filterText
private boolean filterText- Mappings:
Namespace Name Mixin selector named filterTextLnet/minecraft/server/network/ServerPlayerEntity;filterText:Zintermediary field_28860Lnet/minecraft/class_3222;field_28860:Zofficial dqLasi;dq:Z
-
allowServerListing
private boolean allowServerListing- Mappings:
Namespace Name Mixin selector named allowServerListingLnet/minecraft/server/network/ServerPlayerEntity;allowServerListing:Zintermediary field_35566Lnet/minecraft/class_3222;field_35566:Zofficial drLasi;dr:Z
-
spawnExtraParticlesOnFall
private boolean spawnExtraParticlesOnFall- Mappings:
Namespace Name Mixin selector named spawnExtraParticlesOnFallLnet/minecraft/server/network/ServerPlayerEntity;spawnExtraParticlesOnFall:Zintermediary field_49776Lnet/minecraft/class_3222;field_49776:Zofficial dsLasi;ds:Z
-
sculkShriekerWarningManager
- Mappings:
Namespace Name Mixin selector named sculkShriekerWarningManagerLnet/minecraft/server/network/ServerPlayerEntity;sculkShriekerWarningManager:Lnet/minecraft/block/entity/SculkShriekerWarningManager;intermediary field_39985Lnet/minecraft/class_3222;field_39985:Lnet/minecraft/class_7262;official dtLasi;dt:Lcpb;
-
startRaidPos
- Mappings:
Namespace Name Mixin selector named startRaidPosLnet/minecraft/server/network/ServerPlayerEntity;startRaidPos:Lnet/minecraft/util/math/BlockPos;intermediary field_50088Lnet/minecraft/class_3222;field_50088:Lnet/minecraft/class_2338;official duLasi;du:Ljh;
-
movement
- Mappings:
Namespace Name Mixin selector named movementLnet/minecraft/server/network/ServerPlayerEntity;movement:Lnet/minecraft/util/math/Vec3d;intermediary field_51875Lnet/minecraft/class_3222;field_51875:Lnet/minecraft/class_243;official dvLasi;dv:Lfbx;
-
playerInput
- Mappings:
Namespace Name Mixin selector named playerInputLnet/minecraft/server/network/ServerPlayerEntity;playerInput:Lnet/minecraft/util/PlayerInput;intermediary field_54048Lnet/minecraft/class_3222;field_54048:Lnet/minecraft/class_10185;official dwLasi;dw:Lcpu;
-
enderPearls
- Mappings:
Namespace Name Mixin selector named enderPearlsLnet/minecraft/server/network/ServerPlayerEntity;enderPearls:Ljava/util/Set;intermediary field_54208Lnet/minecraft/class_3222;field_54208:Ljava/util/Set;official dxLasi;dx:Ljava/util/Set;
-
screenHandlerSyncHandler
- Mappings:
Namespace Name Mixin selector named screenHandlerSyncHandlerLnet/minecraft/server/network/ServerPlayerEntity;screenHandlerSyncHandler:Lnet/minecraft/screen/ScreenHandlerSyncHandler;intermediary field_29180Lnet/minecraft/class_3222;field_29180:Lnet/minecraft/class_5916;official dyLasi;dy:Lctq;
-
screenHandlerListener
- Mappings:
Namespace Name Mixin selector named screenHandlerListenerLnet/minecraft/server/network/ServerPlayerEntity;screenHandlerListener:Lnet/minecraft/screen/ScreenHandlerListener;intermediary field_29181Lnet/minecraft/class_3222;field_29181:Lnet/minecraft/class_1712;official dzLasi;dz:Lctp;
-
session
- Mappings:
Namespace Name Mixin selector named sessionLnet/minecraft/server/network/ServerPlayerEntity;session:Lnet/minecraft/network/encryption/PublicPlayerSession;intermediary field_39986Lnet/minecraft/class_3222;field_39986:Lnet/minecraft/class_7822;official dALasi;dA:Lym;
-
field_49777
- Mappings:
Namespace Name Mixin selector named field_49777Lnet/minecraft/server/network/ServerPlayerEntity;field_49777:Ljava/lang/Object;intermediary field_49777Lnet/minecraft/class_3222;field_49777:Ljava/lang/Object;official jLasi;j:Ljava/lang/Object;
-
commandOutput
- Mappings:
Namespace Name Mixin selector named commandOutputLnet/minecraft/server/network/ServerPlayerEntity;commandOutput:Lnet/minecraft/server/command/CommandOutput;intermediary field_54402Lnet/minecraft/class_3222;field_54402:Lnet/minecraft/class_2165;official dBLasi;dB:Lev;
-
screenHandlerSyncId
private int screenHandlerSyncId- Mappings:
Namespace Name Mixin selector named screenHandlerSyncIdLnet/minecraft/server/network/ServerPlayerEntity;screenHandlerSyncId:Iintermediary field_13986Lnet/minecraft/class_3222;field_13986:Iofficial dCLasi;dC:I
-
notInAnyWorld
public boolean notInAnyWorld- Mappings:
Namespace Name Mixin selector named notInAnyWorldLnet/minecraft/server/network/ServerPlayerEntity;notInAnyWorld:Zintermediary field_13989Lnet/minecraft/class_3222;field_13989:Zofficial kLasi;k:Z
-
-
Constructor Details
-
ServerPlayerEntity
public ServerPlayerEntity(MinecraftServer server, ServerWorld world, com.mojang.authlib.GameProfile profile, SyncedClientOptions clientOptions) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/server/network/ServerPlayerEntity;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/server/world/ServerWorld;Lcom/mojang/authlib/GameProfile;Lnet/minecraft/network/packet/c2s/common/SyncedClientOptions;)Vintermediary <init>Lnet/minecraft/class_3222;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_3218;Lcom/mojang/authlib/GameProfile;Lnet/minecraft/class_8791;)Vofficial <init>Lasi;<init>(Lnet/minecraft/server/MinecraftServer;Lash;Lcom/mojang/authlib/GameProfile;Lars;)V
-
-
Method Details
-
getWorldSpawnPos
- Overrides:
getWorldSpawnPosin classEntity- Mappings:
Namespace Name Mixin selector named getWorldSpawnPosLnet/minecraft/entity/Entity;getWorldSpawnPos(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;intermediary method_14245Lnet/minecraft/class_1297;method_14245(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;official aLbvj;a(Lash;Ljh;)Ljh;
-
canSpawnIn
- Mappings:
Namespace Name Mixin selector named canSpawnInLnet/minecraft/server/network/ServerPlayerEntity;canSpawnIn(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/Box;)Zintermediary method_61274Lnet/minecraft/class_3222;method_61274(Lnet/minecraft/class_3218;Lnet/minecraft/class_238;)Zofficial aLasi;a(Lash;Lfbs;)Z
-
calculateSpawnOffsetMultiplier
private int calculateSpawnOffsetMultiplier(int horizontalSpawnArea) - Mappings:
Namespace Name Mixin selector named calculateSpawnOffsetMultiplierLnet/minecraft/server/network/ServerPlayerEntity;calculateSpawnOffsetMultiplier(I)Iintermediary method_14244Lnet/minecraft/class_3222;method_14244(I)Iofficial tLasi;t(I)I
-
readCustomDataFromNbt
Reads custom data fromnbt. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
nbtmight not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Overrides:
readCustomDataFromNbtin classPlayerEntity- See Also:
- Mappings:
Namespace Name Mixin selector named readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vofficial aLbvj;a(Lux;)V
-
writeCustomDataToNbt
Writes custom data tonbt. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
- Overrides:
writeCustomDataToNbtin classPlayerEntity- See Also:
- Mappings:
Namespace Name Mixin selector named writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vofficial bLbvj;b(Lux;)V
-
writeRootVehicle
- Mappings:
Namespace Name Mixin selector named writeRootVehicleLnet/minecraft/server/network/ServerPlayerEntity;writeRootVehicle(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_64135Lnet/minecraft/class_3222;method_64135(Lnet/minecraft/class_2487;)Vofficial kLasi;k(Lux;)V
-
readRootVehicle
- Mappings:
Namespace Name Mixin selector named readRootVehicleLnet/minecraft/server/network/ServerPlayerEntity;readRootVehicle(Ljava/util/Optional;)Vintermediary method_64125Lnet/minecraft/class_3222;method_64125(Ljava/util/Optional;)Vofficial aLasi;a(Ljava/util/Optional;)V
-
writeEnderPearls
- Mappings:
Namespace Name Mixin selector named writeEnderPearlsLnet/minecraft/server/network/ServerPlayerEntity;writeEnderPearls(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_64136Lnet/minecraft/class_3222;method_64136(Lnet/minecraft/class_2487;)Vofficial lLasi;l(Lux;)V
-
readEnderPearls
- Mappings:
Namespace Name Mixin selector named readEnderPearlsLnet/minecraft/server/network/ServerPlayerEntity;readEnderPearls(Ljava/util/Optional;)Vintermediary method_64131Lnet/minecraft/class_3222;method_64131(Ljava/util/Optional;)Vofficial bLasi;b(Ljava/util/Optional;)V
-
setExperiencePoints
public void setExperiencePoints(int points) - Mappings:
Namespace Name Mixin selector named setExperiencePointsLnet/minecraft/server/network/ServerPlayerEntity;setExperiencePoints(I)Vintermediary method_14228Lnet/minecraft/class_3222;method_14228(I)Vofficial aLasi;a(I)V
-
setExperienceLevel
public void setExperienceLevel(int level) - Mappings:
Namespace Name Mixin selector named setExperienceLevelLnet/minecraft/server/network/ServerPlayerEntity;setExperienceLevel(I)Vintermediary method_14252Lnet/minecraft/class_3222;method_14252(I)Vofficial bLasi;b(I)V
-
addExperienceLevels
public void addExperienceLevels(int levels) - Overrides:
addExperienceLevelsin classPlayerEntity- Mappings:
Namespace Name Mixin selector named addExperienceLevelsLnet/minecraft/entity/player/PlayerEntity;addExperienceLevels(I)Vintermediary method_7316Lnet/minecraft/class_1657;method_7316(I)Vofficial cLcpw;c(I)V
-
applyEnchantmentCosts
- Overrides:
applyEnchantmentCostsin classPlayerEntity- Mappings:
Namespace Name Mixin selector named applyEnchantmentCostsLnet/minecraft/entity/player/PlayerEntity;applyEnchantmentCosts(Lnet/minecraft/item/ItemStack;I)Vintermediary method_7286Lnet/minecraft/class_1657;method_7286(Lnet/minecraft/class_1799;I)Vofficial aLcpw;a(Lcxo;I)V
-
onScreenHandlerOpened
- Mappings:
Namespace Name Mixin selector named onScreenHandlerOpenedLnet/minecraft/server/network/ServerPlayerEntity;onScreenHandlerOpened(Lnet/minecraft/screen/ScreenHandler;)Vintermediary method_14235Lnet/minecraft/class_3222;method_14235(Lnet/minecraft/class_1703;)Vofficial aLasi;a(Lctb;)V
-
onSpawn
public void onSpawn()- Mappings:
Namespace Name Mixin selector named onSpawnLnet/minecraft/server/network/ServerPlayerEntity;onSpawn()Vintermediary method_34225Lnet/minecraft/class_3222;method_34225()Vofficial dLasi;d()V
-
enterCombat
public void enterCombat()- Overrides:
enterCombatin classLivingEntity- Mappings:
Namespace Name Mixin selector named enterCombatLnet/minecraft/entity/LivingEntity;enterCombat()Vintermediary method_6000Lnet/minecraft/class_1309;method_6000()Vofficial i_Lbwf;i_()V
-
endCombat
public void endCombat()- Overrides:
endCombatin classLivingEntity- Mappings:
Namespace Name Mixin selector named endCombatLnet/minecraft/entity/LivingEntity;endCombat()Vintermediary method_6044Lnet/minecraft/class_1309;method_6044()Vofficial j_Lbwf;j_()V
-
onBlockCollision
Called when this entity's collision box intersectsstate.- Overrides:
onBlockCollisionin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector named onBlockCollisionLnet/minecraft/entity/Entity;onBlockCollision(Lnet/minecraft/block/BlockState;)Vintermediary method_5622Lnet/minecraft/class_1297;method_5622(Lnet/minecraft/class_2680;)Vofficial aLbvj;a(Ldxu;)V
-
createCooldownManager
- Overrides:
createCooldownManagerin classPlayerEntity- Mappings:
Namespace Name Mixin selector named createCooldownManagerLnet/minecraft/entity/player/PlayerEntity;createCooldownManager()Lnet/minecraft/entity/player/ItemCooldownManager;intermediary method_7265Lnet/minecraft/class_1657;method_7265()Lnet/minecraft/class_1796;official gLcpw;g()Lcxl;
-
tick
public void tick()Ticks this entity.- Overrides:
tickin classPlayerEntity- See Also:
- API Note:
- This can be overridden to add additional logics.
super.tick();should be called in those cases. - Implementation Note:
- By default, this delegates all logics to
LivingEntity.baseTick(). - Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/entity/Entity;tick()Vintermediary method_5773Lnet/minecraft/class_1297;method_5773()Vofficial hLbvj;h()V
-
updateCreativeInteractionRangeModifiers
private void updateCreativeInteractionRangeModifiers()- Mappings:
Namespace Name Mixin selector named updateCreativeInteractionRangeModifiersLnet/minecraft/server/network/ServerPlayerEntity;updateCreativeInteractionRangeModifiers()Vintermediary method_55633Lnet/minecraft/class_3222;method_55633()Vofficial gPLasi;gP()V
-
playerTick
public void playerTick()- Mappings:
Namespace Name Mixin selector named playerTickLnet/minecraft/server/network/ServerPlayerEntity;playerTick()Vintermediary method_14226Lnet/minecraft/class_3222;method_14226()Vofficial iLasi;i()V
-
sendMapPacket
- Mappings:
Namespace Name Mixin selector named sendMapPacketLnet/minecraft/server/network/ServerPlayerEntity;sendMapPacket(Lnet/minecraft/item/ItemStack;)Vintermediary method_64134Lnet/minecraft/class_3222;method_64134(Lnet/minecraft/class_1799;)Vofficial jLasi;j(Lcxo;)V
-
tickHunger
protected void tickHunger()- Overrides:
tickHungerin classPlayerEntity- Mappings:
Namespace Name Mixin selector named tickHungerLnet/minecraft/entity/player/PlayerEntity;tickHunger()Vintermediary method_64400Lnet/minecraft/class_1657;method_64400()Vofficial jLcpw;j()V
-
onLanding
public void onLanding()Called when the entity lands on a block. -
tickFallStartPos
public void tickFallStartPos()- Mappings:
Namespace Name Mixin selector named tickFallStartPosLnet/minecraft/server/network/ServerPlayerEntity;tickFallStartPos()Vintermediary method_38786Lnet/minecraft/class_3222;method_38786()Vofficial lLasi;l()V
-
tickVehicleInLavaRiding
public void tickVehicleInLavaRiding()- Mappings:
Namespace Name Mixin selector named tickVehicleInLavaRidingLnet/minecraft/server/network/ServerPlayerEntity;tickVehicleInLavaRiding()Vintermediary method_38787Lnet/minecraft/class_3222;method_38787()Vofficial mLasi;m()V
-
updateScores
- Mappings:
Namespace Name Mixin selector named updateScoresLnet/minecraft/server/network/ServerPlayerEntity;updateScores(Lnet/minecraft/scoreboard/ScoreboardCriterion;I)Vintermediary method_14212Lnet/minecraft/class_3222;method_14212(Lnet/minecraft/class_274;I)Vofficial aLasi;a(Lfdf;I)V
-
onDeath
- Overrides:
onDeathin classPlayerEntity- Mappings:
Namespace Name Mixin selector named onDeathLnet/minecraft/entity/LivingEntity;onDeath(Lnet/minecraft/entity/damage/DamageSource;)Vintermediary method_6078Lnet/minecraft/class_1309;method_6078(Lnet/minecraft/class_1282;)Vofficial aLbwf;a(Lbtz;)V
-
forgiveMobAnger
private void forgiveMobAnger()- Mappings:
Namespace Name Mixin selector named forgiveMobAngerLnet/minecraft/server/network/ServerPlayerEntity;forgiveMobAnger()Vintermediary method_29779Lnet/minecraft/class_3222;method_29779()Vofficial gQLasi;gQ()V
-
updateKilledAdvancementCriterion
public void updateKilledAdvancementCriterion(Entity entityKilled, int score, DamageSource damageSource) - Overrides:
updateKilledAdvancementCriterionin classEntity- Mappings:
Namespace Name Mixin selector named updateKilledAdvancementCriterionLnet/minecraft/entity/Entity;updateKilledAdvancementCriterion(Lnet/minecraft/entity/Entity;ILnet/minecraft/entity/damage/DamageSource;)Vintermediary method_5716Lnet/minecraft/class_1297;method_5716(Lnet/minecraft/class_1297;ILnet/minecraft/class_1282;)Vofficial aLbvj;a(Lbvj;ILbtz;)V
-
updateScoreboardScore
private void updateScoreboardScore(ScoreHolder targetScoreHolder, ScoreHolder aboutScoreHolder, ScoreboardCriterion[] criterions) - Mappings:
Namespace Name Mixin selector named updateScoreboardScoreLnet/minecraft/server/network/ServerPlayerEntity;updateScoreboardScore(Lnet/minecraft/scoreboard/ScoreHolder;Lnet/minecraft/scoreboard/ScoreHolder;[Lnet/minecraft/scoreboard/ScoreboardCriterion;)Vintermediary method_14227Lnet/minecraft/class_3222;method_14227(Lnet/minecraft/class_9015;Lnet/minecraft/class_9015;[Lnet/minecraft/class_274;)Vofficial aLasi;a(Lfdb;Lfdb;[Lfdf;)V
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntityhas health value, and damaging the entity decreases it. This also handles shields, extra damage to helmets for falling blocks, setting the attacker, playing hurt sound, etc.Some entities like
ItemEntityalso have health value, which the overridden method decrements. There also exist several entities, likeEndCrystalEntity, where any damage discards the entity (perhaps with an explosion).If this is overridden, it must check the result of
isInvulnerableTo(net.minecraft.server.world.ServerWorld, net.minecraft.entity.damage.DamageSource)and return early.- Overrides:
damagein classPlayerEntity- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector named damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)Zintermediary method_64397Lnet/minecraft/class_1297;method_64397(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)Zofficial aLbvj;a(Lash;Lbtz;F)Z
-
shouldDamagePlayer
- Overrides:
shouldDamagePlayerin classPlayerEntity- Mappings:
Namespace Name Mixin selector named shouldDamagePlayerLnet/minecraft/entity/player/PlayerEntity;shouldDamagePlayer(Lnet/minecraft/entity/player/PlayerEntity;)Zintermediary method_7256Lnet/minecraft/class_1657;method_7256(Lnet/minecraft/class_1657;)Zofficial aLcpw;a(Lcpw;)Z
-
isPvpEnabled
private boolean isPvpEnabled()- Mappings:
Namespace Name Mixin selector named isPvpEnabledLnet/minecraft/server/network/ServerPlayerEntity;isPvpEnabled()Zintermediary method_14230Lnet/minecraft/class_3222;method_14230()Zofficial gRLasi;gR()Z
-
getRespawnTarget
public TeleportTarget getRespawnTarget(boolean alive, TeleportTarget.PostDimensionTransition postDimensionTransition) - Mappings:
Namespace Name Mixin selector named getRespawnTargetLnet/minecraft/server/network/ServerPlayerEntity;getRespawnTarget(ZLnet/minecraft/world/TeleportTarget$PostDimensionTransition;)Lnet/minecraft/world/TeleportTarget;intermediary method_60590Lnet/minecraft/class_3222;method_60590(ZLnet/minecraft/class_5454$class_9823;)Lnet/minecraft/class_5454;official aLasi;a(ZLeuw$a;)Leuw;
-
findRespawnPosition
private static Optional<ServerPlayerEntity.RespawnPos> findRespawnPosition(ServerWorld world, BlockPos pos, float spawnAngle, boolean spawnForced, boolean alive) - Mappings:
Namespace Name Mixin selector named findRespawnPositionLnet/minecraft/server/network/ServerPlayerEntity;findRespawnPosition(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;FZZ)Ljava/util/Optional;intermediary method_60588Lnet/minecraft/class_3222;method_60588(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;FZZ)Ljava/util/Optional;official aLasi;a(Lash;Ljh;FZZ)Ljava/util/Optional;
-
detachForDimensionChange
public void detachForDimensionChange()- Mappings:
Namespace Name Mixin selector named detachForDimensionChangeLnet/minecraft/server/network/ServerPlayerEntity;detachForDimensionChange()Vintermediary method_60594Lnet/minecraft/class_3222;method_60594()Vofficial nLasi;n()V
-
teleportTo
Description copied from class:EntityTeleports this entity to another location, potentially in another world.Note if teleported to a different world, entities (excluding server player entities) are completely recreated at the destination.
- Overrides:
teleportToin classEntity- Returns:
- the entity after teleporting
- Mappings:
Namespace Name Mixin selector named teleportToLnet/minecraft/server/network/ServerPlayerEntity;teleportTo(Lnet/minecraft/world/TeleportTarget;)Lnet/minecraft/server/network/ServerPlayerEntity;intermediary method_61275Lnet/minecraft/class_3222;method_61275(Lnet/minecraft/class_5454;)Lnet/minecraft/class_3222;official aLasi;a(Leuw;)Lasi;
-
rotate
public void rotate(float yaw, float pitch) -
worldChanged
- Mappings:
Namespace Name Mixin selector named worldChangedLnet/minecraft/server/network/ServerPlayerEntity;worldChanged(Lnet/minecraft/server/world/ServerWorld;)Vintermediary method_18783Lnet/minecraft/class_3222;method_18783(Lnet/minecraft/class_3218;)Vofficial gLasi;g(Lash;)V
-
canBeSpectated
Returns whetherspectatorcan spectate this entity.Spectator players (other than themselves) cannot be spectated.
- Overrides:
canBeSpectatedin classEntity- Returns:
- whether
spectatorcan spectate this entity - Mappings:
Namespace Name Mixin selector named canBeSpectatedLnet/minecraft/entity/Entity;canBeSpectated(Lnet/minecraft/server/network/ServerPlayerEntity;)Zintermediary method_5680Lnet/minecraft/class_1297;method_5680(Lnet/minecraft/class_3222;)Zofficial aLbvj;a(Lasi;)Z
-
sendPickup
- Overrides:
sendPickupin classLivingEntity- Mappings:
Namespace Name Mixin selector named sendPickupLnet/minecraft/entity/LivingEntity;sendPickup(Lnet/minecraft/entity/Entity;I)Vintermediary method_6103Lnet/minecraft/class_1309;method_6103(Lnet/minecraft/class_1297;I)Vofficial aLbwf;a(Lbvj;I)V
-
trySleep
public com.mojang.datafixers.util.Either<PlayerEntity.SleepFailureReason,Unit> trySleep(BlockPos pos) Tries to start sleeping on a block.- Overrides:
trySleepin classPlayerEntity- Parameters:
pos- the position of the bed block- Returns:
- an
Either.Rightif successful, otherwise anEither.Leftcontaining the failure reason - Mappings:
Namespace Name Mixin selector named trySleepLnet/minecraft/entity/player/PlayerEntity;trySleep(Lnet/minecraft/util/math/BlockPos;)Lcom/mojang/datafixers/util/Either;intermediary method_7269Lnet/minecraft/class_1657;method_7269(Lnet/minecraft/class_2338;)Lcom/mojang/datafixers/util/Either;official aLcpw;a(Ljh;)Lcom/mojang/datafixers/util/Either;
-
sleep
- Overrides:
sleepin classLivingEntity- Mappings:
Namespace Name Mixin selector named sleepLnet/minecraft/entity/LivingEntity;sleep(Lnet/minecraft/util/math/BlockPos;)Vintermediary method_18403Lnet/minecraft/class_1309;method_18403(Lnet/minecraft/class_2338;)Vofficial bLbwf;b(Ljh;)V
-
isBedWithinRange
- Mappings:
Namespace Name Mixin selector named isBedWithinRangeLnet/minecraft/server/network/ServerPlayerEntity;isBedWithinRange(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Zintermediary method_26285Lnet/minecraft/class_3222;method_26285(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Zofficial aLasi;a(Ljh;Ljm;)Z
-
isBedWithinRange
- Mappings:
Namespace Name Mixin selector named isBedWithinRangeLnet/minecraft/server/network/ServerPlayerEntity;isBedWithinRange(Lnet/minecraft/util/math/BlockPos;)Zintermediary method_26287Lnet/minecraft/class_3222;method_26287(Lnet/minecraft/class_2338;)Zofficial iLasi;i(Ljh;)Z
-
isBedObstructed
- Mappings:
Namespace Name Mixin selector named isBedObstructedLnet/minecraft/server/network/ServerPlayerEntity;isBedObstructed(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Zintermediary method_26286Lnet/minecraft/class_3222;method_26286(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Zofficial bLasi;b(Ljh;Ljm;)Z
-
wakeUp
public void wakeUp(boolean skipSleepTimer, boolean updateSleepingPlayers) Wakes this player up.- Overrides:
wakeUpin classPlayerEntity- Parameters:
skipSleepTimer- iftrue, the sleep timer will be set straight to 0 instead of 100updateSleepingPlayers- iftrueand called on the logical server, sends sleeping status updates to all players- Mappings:
Namespace Name Mixin selector named wakeUpLnet/minecraft/entity/player/PlayerEntity;wakeUp(ZZ)Vintermediary method_7358Lnet/minecraft/class_1657;method_7358(ZZ)Vofficial aLcpw;a(ZZ)V
-
requestTeleportAndDismount
public void requestTeleportAndDismount(double destX, double destY, double destZ) Requests the entity to teleport to the given position. If the entity is a player, this also dismounts the player.- Overrides:
requestTeleportAndDismountin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector named requestTeleportAndDismountLnet/minecraft/entity/Entity;requestTeleportAndDismount(DDD)Vintermediary method_33567Lnet/minecraft/class_1297;method_33567(DDD)Vofficial aLbvj;a(DDD)V
-
isInvulnerableTo
- Overrides:
isInvulnerableToin classPlayerEntity- Mappings:
Namespace Name Mixin selector named isInvulnerableToLnet/minecraft/entity/LivingEntity;isInvulnerableTo(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;)Zintermediary method_5679Lnet/minecraft/class_1309;method_5679(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;)Zofficial aLbwf;a(Lash;Lbtz;)Z
-
fall
protected void fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls. Flying mobs should override this to do nothing.- Overrides:
fallin classLivingEntity- Implementation Note:
- If on ground, this calls
Block.onLandedUpon(net.minecraft.world.World, net.minecraft.block.BlockState, net.minecraft.util.math.BlockPos, net.minecraft.entity.Entity, float), which can add or reduce fall damage, emitsGameEvent.HIT_GROUND, then callsonLanding(). Otherwise, ifheightDifferenceis negative, it subtracts that value fromEntity.fallDistance. - Mappings:
Namespace Name Mixin selector named fallLnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)Vintermediary method_5623Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)Vofficial aLbvj;a(DZLdxu;Ljh;)V
-
applyMovementEffects
- Overrides:
applyMovementEffectsin classLivingEntity- Mappings:
Namespace Name Mixin selector named applyMovementEffectsLnet/minecraft/entity/LivingEntity;applyMovementEffects(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Vintermediary method_6126Lnet/minecraft/class_1309;method_6126(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Vofficial bLbwf;b(Lash;Ljh;)V
-
handleFall
public void handleFall(double xDifference, double yDifference, double zDifference, boolean onGround) - Mappings:
Namespace Name Mixin selector named handleFallLnet/minecraft/server/network/ServerPlayerEntity;handleFall(DDDZ)Vintermediary method_14207Lnet/minecraft/class_3222;method_14207(DDDZ)Vofficial aLasi;a(DDDZ)V
-
onExplodedBy
- Overrides:
onExplodedByin classEntity- Mappings:
Namespace Name Mixin selector named onExplodedByLnet/minecraft/entity/Entity;onExplodedBy(Lnet/minecraft/entity/Entity;)Vintermediary method_56918Lnet/minecraft/class_1297;method_56918(Lnet/minecraft/class_1297;)Vofficial b_Lbvj;b_(Lbvj;)V
-
tickCramming
protected void tickCramming()- Overrides:
tickCrammingin classLivingEntity- Mappings:
Namespace Name Mixin selector named tickCrammingLnet/minecraft/entity/LivingEntity;tickCramming()Vintermediary method_6070Lnet/minecraft/class_1309;method_6070()Vofficial oLbwf;o()V
-
openEditSignScreen
- Overrides:
openEditSignScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector named openEditSignScreenLnet/minecraft/entity/player/PlayerEntity;openEditSignScreen(Lnet/minecraft/block/entity/SignBlockEntity;Z)Vintermediary method_7311Lnet/minecraft/class_1657;method_7311(Lnet/minecraft/class_2625;Z)Vofficial aLcpw;a(Ldwj;Z)V
-
incrementScreenHandlerSyncId
private void incrementScreenHandlerSyncId()- Mappings:
Namespace Name Mixin selector named incrementScreenHandlerSyncIdLnet/minecraft/server/network/ServerPlayerEntity;incrementScreenHandlerSyncId()Vintermediary method_14237Lnet/minecraft/class_3222;method_14237()Vofficial gSLasi;gS()V
-
openHandledScreen
- Overrides:
openHandledScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector named openHandledScreenLnet/minecraft/entity/player/PlayerEntity;openHandledScreen(Lnet/minecraft/screen/NamedScreenHandlerFactory;)Ljava/util/OptionalInt;intermediary method_17355Lnet/minecraft/class_1657;method_17355(Lnet/minecraft/class_3908;)Ljava/util/OptionalInt;official aLcpw;a(Lbtk;)Ljava/util/OptionalInt;
-
sendTradeOffers
public void sendTradeOffers(int syncId, TradeOfferList offers, int levelProgress, int experience, boolean leveled, boolean refreshable) - Overrides:
sendTradeOffersin classPlayerEntity- Mappings:
Namespace Name Mixin selector named sendTradeOffersLnet/minecraft/entity/player/PlayerEntity;sendTradeOffers(ILnet/minecraft/village/TradeOfferList;IIZZ)Vintermediary method_17354Lnet/minecraft/class_1657;method_17354(ILnet/minecraft/class_1916;IIZZ)Vofficial aLcpw;a(ILdgf;IIZZ)V
-
openHorseInventory
- Overrides:
openHorseInventoryin classPlayerEntity- Mappings:
Namespace Name Mixin selector named openHorseInventoryLnet/minecraft/entity/player/PlayerEntity;openHorseInventory(Lnet/minecraft/entity/passive/AbstractHorseEntity;Lnet/minecraft/inventory/Inventory;)Vintermediary method_7291Lnet/minecraft/class_1657;method_7291(Lnet/minecraft/class_1496;Lnet/minecraft/class_1263;)Vofficial aLcpw;a(Lcka;Lbtb;)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
bookfor whether this is a written or a writable book.- Overrides:
useBookin classPlayerEntity- Parameters:
book- the bookhand- the hand holding the book- Implementation Note:
- The writing of a writable book in vanilla is totally controlled by
the client; the server cannot make the client open a book edit screen by
making a server player use a writable book. Only when the client finishes
writing a book it will send a book update C2S packet.
Meanwhile, the reading of a written book is totally controlled and initiated by the server.
- Mappings:
Namespace Name Mixin selector named useBookLnet/minecraft/entity/player/PlayerEntity;useBook(Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Hand;)Vintermediary method_7315Lnet/minecraft/class_1657;method_7315(Lnet/minecraft/class_1799;Lnet/minecraft/class_1268;)Vofficial aLcpw;a(Lcxo;Lbth;)V
-
openCommandBlockScreen
- Overrides:
openCommandBlockScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector named openCommandBlockScreenLnet/minecraft/entity/player/PlayerEntity;openCommandBlockScreen(Lnet/minecraft/block/entity/CommandBlockBlockEntity;)Vintermediary method_7323Lnet/minecraft/class_1657;method_7323(Lnet/minecraft/class_2593;)Vofficial aLcpw;a(Ldvg;)V
-
closeHandledScreen
public void closeHandledScreen()Closes the currently open handled screen.This method can be called on either logical side, and it will synchronize the closing automatically to the other.
- Overrides:
closeHandledScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector named closeHandledScreenLnet/minecraft/entity/player/PlayerEntity;closeHandledScreen()Vintermediary method_7346Lnet/minecraft/class_1657;method_7346()Vofficial pLcpw;p()V
-
onHandledScreenClosed
public void onHandledScreenClosed()Runs closing tasks for the current screen handler and sets it to thePlayerEntity.playerScreenHandler.- Overrides:
onHandledScreenClosedin classPlayerEntity- Mappings:
Namespace Name Mixin selector named onHandledScreenClosedLnet/minecraft/entity/player/PlayerEntity;onHandledScreenClosed()Vintermediary method_14247Lnet/minecraft/class_1657;method_14247()Vofficial qLcpw;q()V
-
tickRiding
public void tickRiding()- Overrides:
tickRidingin classPlayerEntity- Mappings:
Namespace Name Mixin selector named tickRidingLnet/minecraft/entity/Entity;tickRiding()Vintermediary method_5842Lnet/minecraft/class_1297;method_5842()Vofficial rLbvj;r()V
-
increaseTravelMotionStats
public void increaseTravelMotionStats(double deltaX, double deltaY, double deltaZ) - Mappings:
Namespace Name Mixin selector named increaseTravelMotionStatsLnet/minecraft/server/network/ServerPlayerEntity;increaseTravelMotionStats(DDD)Vintermediary method_54720Lnet/minecraft/class_3222;method_54720(DDD)Vofficial bLasi;b(DDD)V
-
increaseRidingMotionStats
private void increaseRidingMotionStats(double deltaX, double deltaY, double deltaZ) - Mappings:
Namespace Name Mixin selector named increaseRidingMotionStatsLnet/minecraft/server/network/ServerPlayerEntity;increaseRidingMotionStats(DDD)Vintermediary method_54721Lnet/minecraft/class_3222;method_54721(DDD)Vofficial qLasi;q(DDD)V
-
isZero
private static boolean isZero(double deltaX, double deltaY, double deltaZ) - Mappings:
Namespace Name Mixin selector named isZeroLnet/minecraft/server/network/ServerPlayerEntity;isZero(DDD)Zintermediary method_54722Lnet/minecraft/class_3222;method_54722(DDD)Zofficial rLasi;r(DDD)Z
-
increaseStat
- Overrides:
increaseStatin classPlayerEntity- Mappings:
Namespace Name Mixin selector named increaseStatLnet/minecraft/entity/player/PlayerEntity;increaseStat(Lnet/minecraft/stat/Stat;I)Vintermediary method_7342Lnet/minecraft/class_1657;method_7342(Lnet/minecraft/class_3445;I)Vofficial aLcpw;a(Laxm;I)V
-
resetStat
- Overrides:
resetStatin classPlayerEntity- Mappings:
Namespace Name Mixin selector named resetStatLnet/minecraft/entity/player/PlayerEntity;resetStat(Lnet/minecraft/stat/Stat;)Vintermediary method_7266Lnet/minecraft/class_1657;method_7266(Lnet/minecraft/class_3445;)Vofficial aLcpw;a(Laxm;)V
-
unlockRecipes
- Overrides:
unlockRecipesin classPlayerEntity- Mappings:
Namespace Name Mixin selector named unlockRecipesLnet/minecraft/entity/player/PlayerEntity;unlockRecipes(Ljava/util/Collection;)Iintermediary method_7254Lnet/minecraft/class_1657;method_7254(Ljava/util/Collection;)Iofficial aLcpw;a(Ljava/util/Collection;)I
-
onRecipeCrafted
- Overrides:
onRecipeCraftedin classPlayerEntity- Mappings:
Namespace Name Mixin selector named onRecipeCraftedLnet/minecraft/entity/player/PlayerEntity;onRecipeCrafted(Lnet/minecraft/recipe/RecipeEntry;Ljava/util/List;)Vintermediary method_51283Lnet/minecraft/class_1657;method_51283(Lnet/minecraft/class_8786;Ljava/util/List;)Vofficial aLcpw;a(Ldci;Ljava/util/List;)V
-
unlockRecipes
- Overrides:
unlockRecipesin classPlayerEntity- Mappings:
Namespace Name Mixin selector named unlockRecipesLnet/minecraft/entity/player/PlayerEntity;unlockRecipes(Ljava/util/List;)Vintermediary method_7335Lnet/minecraft/class_1657;method_7335(Ljava/util/List;)Vofficial bLcpw;b(Ljava/util/List;)V
-
lockRecipes
- Overrides:
lockRecipesin classPlayerEntity- Mappings:
Namespace Name Mixin selector named lockRecipesLnet/minecraft/entity/player/PlayerEntity;lockRecipes(Ljava/util/Collection;)Iintermediary method_7333Lnet/minecraft/class_1657;method_7333(Ljava/util/Collection;)Iofficial bLcpw;b(Ljava/util/Collection;)I
-
jump
public void jump()- Overrides:
jumpin classLivingEntity- Mappings:
Namespace Name Mixin selector named jumpLnet/minecraft/entity/LivingEntity;jump()Vintermediary method_6043Lnet/minecraft/class_1309;method_6043()Vofficial sLbwf;s()V
-
addExperience
public void addExperience(int experience) - Overrides:
addExperiencein classPlayerEntity- Mappings:
Namespace Name Mixin selector named addExperienceLnet/minecraft/entity/player/PlayerEntity;addExperience(I)Vintermediary method_7255Lnet/minecraft/class_1657;method_7255(I)Vofficial dLcpw;d(I)V
-
onDisconnect
public void onDisconnect()- Mappings:
Namespace Name Mixin selector named onDisconnectLnet/minecraft/server/network/ServerPlayerEntity;onDisconnect()Vintermediary method_14231Lnet/minecraft/class_3222;method_14231()Vofficial tLasi;t()V
-
isDisconnected
public boolean isDisconnected()- Mappings:
Namespace Name Mixin selector named isDisconnectedLnet/minecraft/server/network/ServerPlayerEntity;isDisconnected()Zintermediary method_14239Lnet/minecraft/class_3222;method_14239()Zofficial uLasi;u()Z
-
markHealthDirty
public void markHealthDirty()- Mappings:
Namespace Name Mixin selector named markHealthDirtyLnet/minecraft/server/network/ServerPlayerEntity;markHealthDirty()Vintermediary method_14217Lnet/minecraft/class_3222;method_14217()Vofficial vLasi;v()V
-
sendMessage
Adds a message to this player's HUD.If it's called on
ServerPlayerEntity, it sends a message to the client corresponding to this player so that the client can add a message to their HUD. If it's called onClientPlayerEntity, it just adds a message to their HUD.- Overrides:
sendMessagein classPlayerEntity- Parameters:
message- the message to add- See Also:
- Mappings:
Namespace Name Mixin selector named sendMessageLnet/minecraft/entity/player/PlayerEntity;sendMessage(Lnet/minecraft/text/Text;Z)Vintermediary method_7353Lnet/minecraft/class_1657;method_7353(Lnet/minecraft/class_2561;Z)Vofficial aLcpw;a(Lxv;Z)V
-
consumeItem
protected void consumeItem()- Overrides:
consumeItemin classLivingEntity- Mappings:
Namespace Name Mixin selector named consumeItemLnet/minecraft/entity/LivingEntity;consumeItem()Vintermediary method_6040Lnet/minecraft/class_1309;method_6040()Vofficial wLbwf;w()V
-
lookAt
Changes this entity's pitch and yaw to look attarget.- Overrides:
lookAtin classLivingEntity- Mappings:
Namespace Name Mixin selector named lookAtLnet/minecraft/entity/Entity;lookAt(Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;Lnet/minecraft/util/math/Vec3d;)Vintermediary method_5702Lnet/minecraft/class_1297;method_5702(Lnet/minecraft/class_2183$class_2184;Lnet/minecraft/class_243;)Vofficial aLbvj;a(Lfi$a;Lfbx;)V
-
lookAtEntity
public void lookAtEntity(EntityAnchorArgumentType.EntityAnchor anchorPoint, Entity targetEntity, EntityAnchorArgumentType.EntityAnchor targetAnchor) - Mappings:
Namespace Name Mixin selector named lookAtEntityLnet/minecraft/server/network/ServerPlayerEntity;lookAtEntity(Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;Lnet/minecraft/entity/Entity;Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;)Vintermediary method_14222Lnet/minecraft/class_3222;method_14222(Lnet/minecraft/class_2183$class_2184;Lnet/minecraft/class_1297;Lnet/minecraft/class_2183$class_2184;)Vofficial aLasi;a(Lfi$a;Lbvj;Lfi$a;)V
-
copyFrom
- Mappings:
Namespace Name Mixin selector named copyFromLnet/minecraft/server/network/ServerPlayerEntity;copyFrom(Lnet/minecraft/server/network/ServerPlayerEntity;Z)Vintermediary method_14203Lnet/minecraft/class_3222;method_14203(Lnet/minecraft/class_3222;Z)Vofficial aLasi;a(Lasi;Z)V
-
onStatusEffectApplied
protected void onStatusEffectApplied(StatusEffectInstance effect, @Nullable @Nullable Entity source) - Overrides:
onStatusEffectAppliedin classLivingEntity- Mappings:
Namespace Name Mixin selector named onStatusEffectAppliedLnet/minecraft/entity/LivingEntity;onStatusEffectApplied(Lnet/minecraft/entity/effect/StatusEffectInstance;Lnet/minecraft/entity/Entity;)Vintermediary method_6020Lnet/minecraft/class_1309;method_6020(Lnet/minecraft/class_1293;Lnet/minecraft/class_1297;)Vofficial aLbwf;a(Lbuo;Lbvj;)V
-
onStatusEffectUpgraded
protected void onStatusEffectUpgraded(StatusEffectInstance effect, boolean reapplyEffect, @Nullable @Nullable Entity source) - Overrides:
onStatusEffectUpgradedin classLivingEntity- Mappings:
Namespace Name Mixin selector named onStatusEffectUpgradedLnet/minecraft/entity/LivingEntity;onStatusEffectUpgraded(Lnet/minecraft/entity/effect/StatusEffectInstance;ZLnet/minecraft/entity/Entity;)Vintermediary method_6009Lnet/minecraft/class_1309;method_6009(Lnet/minecraft/class_1293;ZLnet/minecraft/class_1297;)Vofficial aLbwf;a(Lbuo;ZLbvj;)V
-
onStatusEffectsRemoved
- Overrides:
onStatusEffectsRemovedin classLivingEntity- Mappings:
Namespace Name Mixin selector named onStatusEffectsRemovedLnet/minecraft/entity/LivingEntity;onStatusEffectsRemoved(Ljava/util/Collection;)Vintermediary method_6129Lnet/minecraft/class_1309;method_6129(Ljava/util/Collection;)Vofficial cLbwf;c(Ljava/util/Collection;)V
-
requestTeleport
public void requestTeleport(double destX, double destY, double destZ) Requests the entity to teleport to the given position.For players, this sends the teleport packet. For other entities, this just sets the position of the entity and its passengers.
- Overrides:
requestTeleportin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector named requestTeleportLnet/minecraft/entity/Entity;requestTeleport(DDD)Vintermediary method_5859Lnet/minecraft/class_1297;method_5859(DDD)Vofficial cLbvj;c(DDD)V
-
requestTeleportOffset
public void requestTeleportOffset(double offsetX, double offsetY, double offsetZ) Requests the entity to teleport to the current position offset by the given amount.For players, this sends the teleport packet. For other entities, this just sets the position of the entity and its passengers.
- Overrides:
requestTeleportOffsetin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector named requestTeleportOffsetLnet/minecraft/entity/Entity;requestTeleportOffset(DDD)Vintermediary method_45166Lnet/minecraft/class_1297;method_45166(DDD)Vofficial dLbvj;d(DDD)V
-
teleport
public boolean teleport(ServerWorld world, double destX, double destY, double destZ, Set<PositionFlag> flags, float yaw, float pitch, boolean resetCamera) Teleports the entity to the given position. Ifworlddiffers from the current world, it copies the entity and discards the current one.- Overrides:
teleportin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector named teleportLnet/minecraft/entity/Entity;teleport(Lnet/minecraft/server/world/ServerWorld;DDDLjava/util/Set;FFZ)Zintermediary method_48105Lnet/minecraft/class_1297;method_48105(Lnet/minecraft/class_3218;DDDLjava/util/Set;FFZ)Zofficial aLbvj;a(Lash;DDDLjava/util/Set;FFZ)Z
-
refreshPositionAfterTeleport
public void refreshPositionAfterTeleport(double x, double y, double z) - Overrides:
refreshPositionAfterTeleportin classEntity- Mappings:
Namespace Name Mixin selector named refreshPositionAfterTeleportLnet/minecraft/entity/Entity;refreshPositionAfterTeleport(DDD)Vintermediary method_24203Lnet/minecraft/class_1297;method_24203(DDD)Vofficial eLbvj;e(DDD)V
-
addCritParticles
- Overrides:
addCritParticlesin classPlayerEntity- Mappings:
Namespace Name Mixin selector named addCritParticlesLnet/minecraft/entity/player/PlayerEntity;addCritParticles(Lnet/minecraft/entity/Entity;)Vintermediary method_7277Lnet/minecraft/class_1657;method_7277(Lnet/minecraft/class_1297;)Vofficial bLcpw;b(Lbvj;)V
-
addEnchantedHitParticles
- Overrides:
addEnchantedHitParticlesin classPlayerEntity- Mappings:
Namespace Name Mixin selector named addEnchantedHitParticlesLnet/minecraft/entity/player/PlayerEntity;addEnchantedHitParticles(Lnet/minecraft/entity/Entity;)Vintermediary method_7304Lnet/minecraft/class_1657;method_7304(Lnet/minecraft/class_1297;)Vofficial cLcpw;c(Lbvj;)V
-
sendAbilitiesUpdate
public void sendAbilitiesUpdate()- Overrides:
sendAbilitiesUpdatein classPlayerEntity- Mappings:
Namespace Name Mixin selector named sendAbilitiesUpdateLnet/minecraft/entity/player/PlayerEntity;sendAbilitiesUpdate()Vintermediary method_7355Lnet/minecraft/class_1657;method_7355()Vofficial xLcpw;x()V
-
getServerWorld
- Mappings:
Namespace Name Mixin selector named getServerWorldLnet/minecraft/server/network/ServerPlayerEntity;getServerWorld()Lnet/minecraft/server/world/ServerWorld;intermediary method_51469Lnet/minecraft/class_3222;method_51469()Lnet/minecraft/class_3218;official yLasi;y()Lash;
-
changeGameMode
- Mappings:
Namespace Name Mixin selector named changeGameModeLnet/minecraft/server/network/ServerPlayerEntity;changeGameMode(Lnet/minecraft/world/GameMode;)Zintermediary method_7336Lnet/minecraft/class_3222;method_7336(Lnet/minecraft/class_1934;)Zofficial aLasi;a(Ldhe;)Z
-
isSpectator
public boolean isSpectator()Returns whether the entity is a spectator.This returns
falseunless the entity is a player in spectator game mode.- Specified by:
isSpectatorin classPlayerEntity- Returns:
- whether the entity is a spectator
- Mappings:
Namespace Name Mixin selector named isSpectatorLnet/minecraft/entity/Entity;isSpectator()Zintermediary method_7325Lnet/minecraft/class_1297;method_7325()Zofficial aa_Lbvj;aa_()Z
-
isCreative
public boolean isCreative()Returns whether this player is in creative mode.- Specified by:
isCreativein classPlayerEntity- Mappings:
Namespace Name Mixin selector named isCreativeLnet/minecraft/entity/player/PlayerEntity;isCreative()Zintermediary method_7337Lnet/minecraft/class_1657;method_7337()Zofficial bLcpw;b()Z
-
getCommandOutput
- Mappings:
Namespace Name Mixin selector named getCommandOutputLnet/minecraft/server/network/ServerPlayerEntity;getCommandOutput()Lnet/minecraft/server/command/CommandOutput;intermediary method_64401Lnet/minecraft/class_3222;method_64401()Lnet/minecraft/class_2165;official zLasi;z()Lev;
-
getCommandSource
- Mappings:
Namespace Name Mixin selector named getCommandSourceLnet/minecraft/server/network/ServerPlayerEntity;getCommandSource()Lnet/minecraft/server/command/ServerCommandSource;intermediary method_64396Lnet/minecraft/class_3222;method_64396()Lnet/minecraft/class_2168;official ALasi;A()Lew;
-
sendMessage
- Mappings:
Namespace Name Mixin selector named sendMessageLnet/minecraft/server/network/ServerPlayerEntity;sendMessage(Lnet/minecraft/text/Text;)Vintermediary method_64398Lnet/minecraft/class_3222;method_64398(Lnet/minecraft/class_2561;)Vofficial aLasi;a(Lxv;)V
-
sendMessageToClient
- Mappings:
Namespace Name Mixin selector named sendMessageToClientLnet/minecraft/server/network/ServerPlayerEntity;sendMessageToClient(Lnet/minecraft/text/Text;Z)Vintermediary method_43502Lnet/minecraft/class_3222;method_43502(Lnet/minecraft/class_2561;Z)Vofficial bLasi;b(Lxv;Z)V
-
sendChatMessage
public void sendChatMessage(SentMessage message, boolean filterMaskEnabled, MessageType.Parameters params) Sends a chat message to the player.Chat messages have signatures. It is possible to use a bogus signature - such as
SignedMessage.ofUnsigned(java.lang.String)- to send a chat message; however if the signature is invalid (e.g. because the text's content differs from the one sent by the client, or because the passed signature is invalid) the client will show a warning and can discard it depending on the client's options.- See Also:
- Mappings:
Namespace Name Mixin selector named sendChatMessageLnet/minecraft/server/network/ServerPlayerEntity;sendChatMessage(Lnet/minecraft/network/message/SentMessage;ZLnet/minecraft/network/message/MessageType$Parameters;)Vintermediary method_43505Lnet/minecraft/class_3222;method_43505(Lnet/minecraft/class_7604;ZLnet/minecraft/class_2556$class_7602;)Vofficial aLasi;a(Lyk;ZLxr$a;)V
-
getIp
- Mappings:
Namespace Name Mixin selector named getIpLnet/minecraft/server/network/ServerPlayerEntity;getIp()Ljava/lang/String;intermediary method_14209Lnet/minecraft/class_3222;method_14209()Ljava/lang/String;official BLasi;B()Ljava/lang/String;
-
setClientOptions
- Mappings:
Namespace Name Mixin selector named setClientOptionsLnet/minecraft/server/network/ServerPlayerEntity;setClientOptions(Lnet/minecraft/network/packet/c2s/common/SyncedClientOptions;)Vintermediary method_14213Lnet/minecraft/class_3222;method_14213(Lnet/minecraft/class_8791;)Vofficial aLasi;a(Lars;)V
-
getClientOptions
- Mappings:
Namespace Name Mixin selector named getClientOptionsLnet/minecraft/server/network/ServerPlayerEntity;getClientOptions()Lnet/minecraft/network/packet/c2s/common/SyncedClientOptions;intermediary method_53823Lnet/minecraft/class_3222;method_53823()Lnet/minecraft/class_8791;official CLasi;C()Lars;
-
areClientChatColorsEnabled
public boolean areClientChatColorsEnabled()- Mappings:
Namespace Name Mixin selector named areClientChatColorsEnabledLnet/minecraft/server/network/ServerPlayerEntity;areClientChatColorsEnabled()Zintermediary method_34879Lnet/minecraft/class_3222;method_34879()Zofficial DLasi;D()Z
-
getClientChatVisibility
- Mappings:
Namespace Name Mixin selector named getClientChatVisibilityLnet/minecraft/server/network/ServerPlayerEntity;getClientChatVisibility()Lnet/minecraft/network/message/ChatVisibility;intermediary method_14238Lnet/minecraft/class_3222;method_14238()Lnet/minecraft/class_1659;official ELasi;E()Lcpt;
-
acceptsMessage
private boolean acceptsMessage(boolean overlay) - Mappings:
Namespace Name Mixin selector named acceptsMessageLnet/minecraft/server/network/ServerPlayerEntity;acceptsMessage(Z)Zintermediary method_44707Lnet/minecraft/class_3222;method_44707(Z)Zofficial xLasi;x(Z)Z
-
acceptsChatMessage
private boolean acceptsChatMessage()- Mappings:
Namespace Name Mixin selector named acceptsChatMessageLnet/minecraft/server/network/ServerPlayerEntity;acceptsChatMessage()Zintermediary method_44706Lnet/minecraft/class_3222;method_44706()Zofficial gTLasi;gT()Z
-
getViewDistance
public int getViewDistance()- Mappings:
Namespace Name Mixin selector named getViewDistanceLnet/minecraft/server/network/ServerPlayerEntity;getViewDistance()Iintermediary method_52371Lnet/minecraft/class_3222;method_52371()Iofficial FLasi;F()I
-
sendServerMetadata
- Mappings:
Namespace Name Mixin selector named sendServerMetadataLnet/minecraft/server/network/ServerPlayerEntity;sendServerMetadata(Lnet/minecraft/server/ServerMetadata;)Vintermediary method_43930Lnet/minecraft/class_3222;method_43930(Lnet/minecraft/class_2926;)Vofficial aLasi;a(Lakw;)V
-
getPermissionLevel
protected int getPermissionLevel()- Overrides:
getPermissionLevelin classPlayerEntity- Mappings:
Namespace Name Mixin selector named getPermissionLevelLnet/minecraft/entity/player/PlayerEntity;getPermissionLevel()Iintermediary method_5691Lnet/minecraft/class_1657;method_5691()Iofficial GLcpw;G()I
-
updateLastActionTime
public void updateLastActionTime()- Mappings:
Namespace Name Mixin selector named updateLastActionTimeLnet/minecraft/server/network/ServerPlayerEntity;updateLastActionTime()Vintermediary method_14234Lnet/minecraft/class_3222;method_14234()Vofficial HLasi;H()V
-
getStatHandler
- Mappings:
Namespace Name Mixin selector named getStatHandlerLnet/minecraft/server/network/ServerPlayerEntity;getStatHandler()Lnet/minecraft/stat/ServerStatHandler;intermediary method_14248Lnet/minecraft/class_3222;method_14248()Lnet/minecraft/class_3442;official ILasi;I()Laxl;
-
getRecipeBook
- Mappings:
Namespace Name Mixin selector named getRecipeBookLnet/minecraft/server/network/ServerPlayerEntity;getRecipeBook()Lnet/minecraft/server/network/ServerRecipeBook;intermediary method_14253Lnet/minecraft/class_3222;method_14253()Lnet/minecraft/class_3441;official JLasi;J()Laxk;
-
updatePotionVisibility
protected void updatePotionVisibility()- Overrides:
updatePotionVisibilityin classLivingEntity- Mappings:
Namespace Name Mixin selector named updatePotionVisibilityLnet/minecraft/entity/LivingEntity;updatePotionVisibility()Vintermediary method_6027Lnet/minecraft/class_1309;method_6027()Vofficial KLbwf;K()V
-
getCameraEntity
- Mappings:
Namespace Name Mixin selector named getCameraEntityLnet/minecraft/server/network/ServerPlayerEntity;getCameraEntity()Lnet/minecraft/entity/Entity;intermediary method_14242Lnet/minecraft/class_3222;method_14242()Lnet/minecraft/class_1297;official LLasi;L()Lbvj;
-
setCameraEntity
- Mappings:
Namespace Name Mixin selector named setCameraEntityLnet/minecraft/server/network/ServerPlayerEntity;setCameraEntity(Lnet/minecraft/entity/Entity;)Vintermediary method_14224Lnet/minecraft/class_3222;method_14224(Lnet/minecraft/class_1297;)Vofficial dLasi;d(Lbvj;)V
-
tickPortalCooldown
protected void tickPortalCooldown()- Overrides:
tickPortalCooldownin classEntity- Mappings:
Namespace Name Mixin selector named tickPortalCooldownLnet/minecraft/entity/Entity;tickPortalCooldown()Vintermediary method_5760Lnet/minecraft/class_1297;method_5760()Vofficial MLbvj;M()V
-
attack
- Overrides:
attackin classPlayerEntity- Mappings:
Namespace Name Mixin selector named attackLnet/minecraft/entity/player/PlayerEntity;attack(Lnet/minecraft/entity/Entity;)Vintermediary method_7324Lnet/minecraft/class_1657;method_7324(Lnet/minecraft/class_1297;)Vofficial eLcpw;e(Lbvj;)V
-
getLastActionTime
public long getLastActionTime()- Mappings:
Namespace Name Mixin selector named getLastActionTimeLnet/minecraft/server/network/ServerPlayerEntity;getLastActionTime()Jintermediary method_14219Lnet/minecraft/class_3222;method_14219()Jofficial NLasi;N()J
-
getPlayerListName
- Mappings:
Namespace Name Mixin selector named getPlayerListNameLnet/minecraft/server/network/ServerPlayerEntity;getPlayerListName()Lnet/minecraft/text/Text;intermediary method_14206Lnet/minecraft/class_3222;method_14206()Lnet/minecraft/class_2561;official OLasi;O()Lxv;
-
getPlayerListOrder
public int getPlayerListOrder()- Mappings:
Namespace Name Mixin selector named getPlayerListOrderLnet/minecraft/server/network/ServerPlayerEntity;getPlayerListOrder()Iintermediary method_61272Lnet/minecraft/class_3222;method_61272()Iofficial PLasi;P()I
-
swingHand
- Overrides:
swingHandin classLivingEntity- Mappings:
Namespace Name Mixin selector named swingHandLnet/minecraft/entity/LivingEntity;swingHand(Lnet/minecraft/util/Hand;)Vintermediary method_6104Lnet/minecraft/class_1309;method_6104(Lnet/minecraft/class_1268;)Vofficial aLbwf;a(Lbth;)V
-
isInTeleportationState
public boolean isInTeleportationState()- Mappings:
Namespace Name Mixin selector named isInTeleportationStateLnet/minecraft/server/network/ServerPlayerEntity;isInTeleportationState()Zintermediary method_14208Lnet/minecraft/class_3222;method_14208()Zofficial QLasi;Q()Z
-
onTeleportationDone
public void onTeleportationDone()- Mappings:
Namespace Name Mixin selector named onTeleportationDoneLnet/minecraft/server/network/ServerPlayerEntity;onTeleportationDone()Vintermediary method_14240Lnet/minecraft/class_3222;method_14240()Vofficial RLasi;R()V
-
getAdvancementTracker
- Mappings:
Namespace Name Mixin selector named getAdvancementTrackerLnet/minecraft/server/network/ServerPlayerEntity;getAdvancementTracker()Lnet/minecraft/advancement/PlayerAdvancementTracker;intermediary method_14236Lnet/minecraft/class_3222;method_14236()Lnet/minecraft/class_2985;official SLasi;S()Lamh;
-
getSpawnPointPosition
- Mappings:
Namespace Name Mixin selector named getSpawnPointPositionLnet/minecraft/server/network/ServerPlayerEntity;getSpawnPointPosition()Lnet/minecraft/util/math/BlockPos;intermediary method_26280Lnet/minecraft/class_3222;method_26280()Lnet/minecraft/class_2338;official TLasi;T()Ljh;
-
getSpawnAngle
public float getSpawnAngle()- Mappings:
Namespace Name Mixin selector named getSpawnAngleLnet/minecraft/server/network/ServerPlayerEntity;getSpawnAngle()Fintermediary method_30631Lnet/minecraft/class_3222;method_30631()Fofficial ULasi;U()F
-
getSpawnPointDimension
- Mappings:
Namespace Name Mixin selector named getSpawnPointDimensionLnet/minecraft/server/network/ServerPlayerEntity;getSpawnPointDimension()Lnet/minecraft/registry/RegistryKey;intermediary method_26281Lnet/minecraft/class_3222;method_26281()Lnet/minecraft/class_5321;official VLasi;V()Laly;
-
isSpawnForced
public boolean isSpawnForced()- Mappings:
Namespace Name Mixin selector named isSpawnForcedLnet/minecraft/server/network/ServerPlayerEntity;isSpawnForced()Zintermediary method_26282Lnet/minecraft/class_3222;method_26282()Zofficial WLasi;W()Z
-
setSpawnPointFrom
- Mappings:
Namespace Name Mixin selector named setSpawnPointFromLnet/minecraft/server/network/ServerPlayerEntity;setSpawnPointFrom(Lnet/minecraft/server/network/ServerPlayerEntity;)Vintermediary method_60592Lnet/minecraft/class_3222;method_60592(Lnet/minecraft/class_3222;)Vofficial bLasi;b(Lasi;)V
-
setSpawnPoint
public void setSpawnPoint(RegistryKey<World> dimension, @Nullable @Nullable BlockPos pos, float angle, boolean forced, boolean sendMessage) Sets the player's spawn point.- Parameters:
dimension- the new spawn dimensionpos- the new spawn point, ornullif resetting to the world spawnforced- whether the new spawn point is forcedsendMessage- iftrue, a game message about the spawn point change will be sent- Mappings:
Namespace Name Mixin selector named setSpawnPointLnet/minecraft/server/network/ServerPlayerEntity;setSpawnPoint(Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/util/math/BlockPos;FZZ)Vintermediary method_26284Lnet/minecraft/class_3222;method_26284(Lnet/minecraft/class_5321;Lnet/minecraft/class_2338;FZZ)Vofficial aLasi;a(Laly;Ljh;FZZ)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 named getWatchedSectionLnet/minecraft/server/network/ServerPlayerEntity;getWatchedSection()Lnet/minecraft/util/math/ChunkSectionPos;intermediary method_14232Lnet/minecraft/class_3222;method_14232()Lnet/minecraft/class_4076;official XLasi;X()Lkj;
-
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 named setWatchedSectionLnet/minecraft/server/network/ServerPlayerEntity;setWatchedSection(Lnet/minecraft/util/math/ChunkSectionPos;)Vintermediary method_17668Lnet/minecraft/class_3222;method_17668(Lnet/minecraft/class_4076;)Vofficial aLasi;a(Lkj;)V
-
getChunkFilter
- Mappings:
Namespace Name Mixin selector named getChunkFilterLnet/minecraft/server/network/ServerPlayerEntity;getChunkFilter()Lnet/minecraft/server/network/ChunkFilter;intermediary method_52372Lnet/minecraft/class_3222;method_52372()Lnet/minecraft/class_8603;official YLasi;Y()Larr;
-
setChunkFilter
- Mappings:
Namespace Name Mixin selector named setChunkFilterLnet/minecraft/server/network/ServerPlayerEntity;setChunkFilter(Lnet/minecraft/server/network/ChunkFilter;)Vintermediary method_52373Lnet/minecraft/class_3222;method_52373(Lnet/minecraft/class_8603;)Vofficial aLasi;a(Larr;)V
-
playSoundToPlayer
Playssoundto this player only.Use
PlayerEntity.playSound(SoundEvent, float, float)to play sound that can be heard by nearby players. Unlike that method, this method should be called on only one side (i.e. either the server or the client, alone).- Overrides:
playSoundToPlayerin classPlayerEntity- Mappings:
Namespace Name Mixin selector named playSoundToPlayerLnet/minecraft/entity/player/PlayerEntity;playSoundToPlayer(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)Vintermediary method_17356Lnet/minecraft/class_1657;method_17356(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)Vofficial aLcpw;a(Laxe;Laxg;FF)V
-
dropItem
- Overrides:
dropItemin 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 named dropItemLnet/minecraft/entity/player/PlayerEntity;dropItem(Lnet/minecraft/item/ItemStack;ZZ)Lnet/minecraft/entity/ItemEntity;intermediary method_7329Lnet/minecraft/class_1657;method_7329(Lnet/minecraft/class_1799;ZZ)Lnet/minecraft/class_1542;official aLcpw;a(Lcxo;ZZ)Lcma;
-
dropPlayerItem
@Nullable private @Nullable ItemEntity dropPlayerItem(ItemStack stack, boolean throwRandomly, boolean retainOwnership) - Mappings:
Namespace Name Mixin selector named dropPlayerItemLnet/minecraft/server/network/ServerPlayerEntity;dropPlayerItem(Lnet/minecraft/item/ItemStack;ZZ)Lnet/minecraft/entity/ItemEntity;intermediary method_61277Lnet/minecraft/class_3222;method_61277(Lnet/minecraft/class_1799;ZZ)Lnet/minecraft/class_1542;official bLasi;b(Lcxo;ZZ)Lcma;
-
getTextStream
- Mappings:
Namespace Name Mixin selector named getTextStreamLnet/minecraft/server/network/ServerPlayerEntity;getTextStream()Lnet/minecraft/server/filter/TextStream;intermediary method_31273Lnet/minecraft/class_3222;method_31273()Lnet/minecraft/class_5513;official ZLasi;Z()Latq;
-
setServerWorld
- Mappings:
Namespace Name Mixin selector named setServerWorldLnet/minecraft/server/network/ServerPlayerEntity;setServerWorld(Lnet/minecraft/server/world/ServerWorld;)Vintermediary method_51468Lnet/minecraft/class_3222;method_51468(Lnet/minecraft/class_3218;)Vofficial aLasi;a(Lash;)V
-
gameModeFromNbt
@Nullable private static @Nullable GameMode gameModeFromNbt(@Nullable @Nullable NbtCompound nbt, String key) - Mappings:
Namespace Name Mixin selector named gameModeFromNbtLnet/minecraft/server/network/ServerPlayerEntity;gameModeFromNbt(Lnet/minecraft/nbt/NbtCompound;Ljava/lang/String;)Lnet/minecraft/world/GameMode;intermediary method_32745Lnet/minecraft/class_3222;method_32745(Lnet/minecraft/class_2487;Ljava/lang/String;)Lnet/minecraft/class_1934;official aLasi;a(Lux;Ljava/lang/String;)Ldhe;
-
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
backupGameModeif notnull, or the server's default game mode otherwise.- See Also:
- Mappings:
Namespace Name Mixin selector named getServerGameModeLnet/minecraft/server/network/ServerPlayerEntity;getServerGameMode(Lnet/minecraft/world/GameMode;)Lnet/minecraft/world/GameMode;intermediary method_32746Lnet/minecraft/class_3222;method_32746(Lnet/minecraft/class_1934;)Lnet/minecraft/class_1934;official bLasi;b(Ldhe;)Ldhe;
-
readGameModeNbt
- Mappings:
Namespace Name Mixin selector named readGameModeNbtLnet/minecraft/server/network/ServerPlayerEntity;readGameModeNbt(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_32748Lnet/minecraft/class_3222;method_32748(Lnet/minecraft/class_2487;)Vofficial cLasi;c(Lux;)V
-
writeGameModeNbt
- Mappings:
Namespace Name Mixin selector named writeGameModeNbtLnet/minecraft/server/network/ServerPlayerEntity;writeGameModeNbt(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_32749Lnet/minecraft/class_3222;method_32749(Lnet/minecraft/class_2487;)Vofficial mLasi;m(Lux;)V
-
shouldFilterText
public boolean shouldFilterText()- Overrides:
shouldFilterTextin classPlayerEntity- Mappings:
Namespace Name Mixin selector named shouldFilterTextLnet/minecraft/entity/player/PlayerEntity;shouldFilterText()Zintermediary method_33793Lnet/minecraft/class_1657;method_33793()Zofficial aaLcpw;aa()Z
-
shouldFilterMessagesSentTo
- Mappings:
Namespace Name Mixin selector named shouldFilterMessagesSentToLnet/minecraft/server/network/ServerPlayerEntity;shouldFilterMessagesSentTo(Lnet/minecraft/server/network/ServerPlayerEntity;)Zintermediary method_33795Lnet/minecraft/class_3222;method_33795(Lnet/minecraft/class_3222;)Zofficial cLasi;c(Lasi;)Z
-
canModifyAt
Returns whether the entity can modify the world atpos.This returns
truefor most entities. Players checkWorld.canPlayerModifyAt(net.minecraft.entity.player.PlayerEntity, net.minecraft.util.math.BlockPos)to prevent them from modifying entities in the spawn protection or outside the world border.ProjectileEntitydelegates it to the owner if the owner is a player; if the owner is a non-player entity, this returns the value ofGameRules.DO_MOB_GRIEFING, and ownerless projectiles are always allowed to modify the world.- Overrides:
canModifyAtin classEntity- Returns:
- whether the entity can modify the world at
pos - See Also:
- Mappings:
Namespace Name Mixin selector named canModifyAtLnet/minecraft/entity/Entity;canModifyAt(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Zintermediary method_36971Lnet/minecraft/class_1297;method_36971(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Zofficial cLbvj;c(Lash;Ljh;)Z
-
tickItemStackUsage
- Overrides:
tickItemStackUsagein classLivingEntity- Mappings:
Namespace Name Mixin selector named tickItemStackUsageLnet/minecraft/entity/LivingEntity;tickItemStackUsage(Lnet/minecraft/item/ItemStack;)Vintermediary method_37119Lnet/minecraft/class_1309;method_37119(Lnet/minecraft/class_1799;)Vofficial aLbwf;a(Lcxo;)V
-
dropSelectedItem
public boolean dropSelectedItem(boolean entireStack) - Mappings:
Namespace Name Mixin selector named dropSelectedItemLnet/minecraft/server/network/ServerPlayerEntity;dropSelectedItem(Z)Zintermediary method_37413Lnet/minecraft/class_3222;method_37413(Z)Zofficial aLasi;a(Z)Z
-
giveOrDropStack
- Overrides:
giveOrDropStackin classLivingEntity- Mappings:
Namespace Name Mixin selector named giveOrDropStackLnet/minecraft/entity/LivingEntity;giveOrDropStack(Lnet/minecraft/item/ItemStack;)Vintermediary method_64399Lnet/minecraft/class_1309;method_64399(Lnet/minecraft/class_1799;)Vofficial bLbwf;b(Lcxo;)V
-
allowsServerListing
public boolean allowsServerListing()- Mappings:
Namespace Name Mixin selector named allowsServerListingLnet/minecraft/server/network/ServerPlayerEntity;allowsServerListing()Zintermediary method_39426Lnet/minecraft/class_3222;method_39426()Zofficial abLasi;ab()Z
-
getSculkShriekerWarningManager
- Overrides:
getSculkShriekerWarningManagerin classPlayerEntity- Mappings:
Namespace Name Mixin selector named getSculkShriekerWarningManagerLnet/minecraft/entity/player/PlayerEntity;getSculkShriekerWarningManager()Ljava/util/Optional;intermediary method_42272Lnet/minecraft/class_1657;method_42272()Ljava/util/Optional;official acLcpw;ac()Ljava/util/Optional;
-
setSpawnExtraParticlesOnFall
public void setSpawnExtraParticlesOnFall(boolean spawnExtraParticlesOnFall) - Mappings:
Namespace Name Mixin selector named setSpawnExtraParticlesOnFallLnet/minecraft/server/network/ServerPlayerEntity;setSpawnExtraParticlesOnFall(Z)Vintermediary method_58143Lnet/minecraft/class_3222;method_58143(Z)Vofficial bLasi;b(Z)V
-
triggerItemPickedUpByEntityCriteria
Called to trigger advancement criteria when an entity picks up an item thrown by a player.- Overrides:
triggerItemPickedUpByEntityCriteriain classLivingEntity- Mappings:
Namespace Name Mixin selector named triggerItemPickedUpByEntityCriteriaLnet/minecraft/entity/LivingEntity;triggerItemPickedUpByEntityCriteria(Lnet/minecraft/entity/ItemEntity;)Vintermediary method_29499Lnet/minecraft/class_1309;method_29499(Lnet/minecraft/class_1542;)Vofficial aLbwf;a(Lcma;)V
-
setSession
- Mappings:
Namespace Name Mixin selector named setSessionLnet/minecraft/server/network/ServerPlayerEntity;setSession(Lnet/minecraft/network/encryption/PublicPlayerSession;)Vintermediary method_46364Lnet/minecraft/class_3222;method_46364(Lnet/minecraft/class_7822;)Vofficial aLasi;a(Lym;)V
-
getSession
- Mappings:
Namespace Name Mixin selector named getSessionLnet/minecraft/server/network/ServerPlayerEntity;getSession()Lnet/minecraft/network/encryption/PublicPlayerSession;intermediary method_45163Lnet/minecraft/class_3222;method_45163()Lnet/minecraft/class_7822;official adLasi;ad()Lym;
-
tiltScreen
public void tiltScreen(double deltaX, double deltaZ) - Overrides:
tiltScreenin classLivingEntity- Mappings:
Namespace Name Mixin selector named tiltScreenLnet/minecraft/entity/LivingEntity;tiltScreen(DD)Vintermediary method_48761Lnet/minecraft/class_1309;method_48761(DD)Vofficial aLbwf;a(DD)V
-
startRiding
Starts ridingentity.For example,
player.startRiding(horse)causes the player to ride a horse; the opposite,horse.startRiding(player), will cause the horse to ride a player.This fails when this entity is already riding the entity (or vice versa), or when this entity does not allow riding other entities (or vice versa) unless
forceistrue. If this entity is already riding another entity, it will stop riding that entity first.- Overrides:
startRidingin classEntity- Parameters:
force- whether to bypass the entity's rideability check- Returns:
- whether this entity successfully started riding
- See Also:
- Mappings:
Namespace Name Mixin selector named startRidingLnet/minecraft/entity/Entity;startRiding(Lnet/minecraft/entity/Entity;Z)Zintermediary method_5873Lnet/minecraft/class_1297;method_5873(Lnet/minecraft/class_1297;Z)Zofficial aLbvj;a(Lbvj;Z)Z
-
stopRiding
public void stopRiding()Stops riding the vehicle if present.For example, if
playeris riding on a horse,player.stopRiding()will dismount that player from the horse.- Overrides:
stopRidingin classLivingEntity- See Also:
- Mappings:
Namespace Name Mixin selector named stopRidingLnet/minecraft/entity/Entity;stopRiding()Vintermediary method_5848Lnet/minecraft/class_1297;method_5848()Vofficial aeLbvj;ae()V
-
createCommonPlayerSpawnInfo
- Mappings:
Namespace Name Mixin selector named createCommonPlayerSpawnInfoLnet/minecraft/server/network/ServerPlayerEntity;createCommonPlayerSpawnInfo(Lnet/minecraft/server/world/ServerWorld;)Lnet/minecraft/network/packet/s2c/play/CommonPlayerSpawnInfo;intermediary method_52374Lnet/minecraft/class_3222;method_52374(Lnet/minecraft/class_3218;)Lnet/minecraft/class_8589;official bLasi;b(Lash;)Lahh;
-
setStartRaidPos
- Mappings:
Namespace Name Mixin selector named setStartRaidPosLnet/minecraft/server/network/ServerPlayerEntity;setStartRaidPos(Lnet/minecraft/util/math/BlockPos;)Vintermediary method_58586Lnet/minecraft/class_3222;method_58586(Lnet/minecraft/class_2338;)Vofficial cLasi;c(Ljh;)V
-
clearStartRaidPos
public void clearStartRaidPos()- Mappings:
Namespace Name Mixin selector named clearStartRaidPosLnet/minecraft/server/network/ServerPlayerEntity;clearStartRaidPos()Vintermediary method_58584Lnet/minecraft/class_3222;method_58584()Vofficial afLasi;af()V
-
getStartRaidPos
- Mappings:
Namespace Name Mixin selector named getStartRaidPosLnet/minecraft/server/network/ServerPlayerEntity;getStartRaidPos()Lnet/minecraft/util/math/BlockPos;intermediary method_58585Lnet/minecraft/class_3222;method_58585()Lnet/minecraft/class_2338;official agLasi;ag()Ljh;
-
getMovement
- Overrides:
getMovementin classEntity- Mappings:
Namespace Name Mixin selector named getMovementLnet/minecraft/entity/Entity;getMovement()Lnet/minecraft/util/math/Vec3d;intermediary method_60478Lnet/minecraft/class_1297;method_60478()Lnet/minecraft/class_243;official ahLbvj;ah()Lfbx;
-
setMovement
- Mappings:
Namespace Name Mixin selector named setMovementLnet/minecraft/server/network/ServerPlayerEntity;setMovement(Lnet/minecraft/util/math/Vec3d;)Vintermediary method_52208Lnet/minecraft/class_3222;method_52208(Lnet/minecraft/class_243;)Vofficial aLasi;a(Lfbx;)V
-
getDamageAgainst
- Overrides:
getDamageAgainstin classPlayerEntity- Mappings:
Namespace Name Mixin selector named getDamageAgainstLnet/minecraft/entity/player/PlayerEntity;getDamageAgainst(Lnet/minecraft/entity/Entity;FLnet/minecraft/entity/damage/DamageSource;)Fintermediary method_59903Lnet/minecraft/class_1657;method_59903(Lnet/minecraft/class_1297;FLnet/minecraft/class_1282;)Fofficial aLcpw;a(Lbvj;FLbtz;)F
-
sendEquipmentBreakStatus
- Overrides:
sendEquipmentBreakStatusin classLivingEntity- Mappings:
Namespace Name Mixin selector named sendEquipmentBreakStatusLnet/minecraft/entity/LivingEntity;sendEquipmentBreakStatus(Lnet/minecraft/item/Item;Lnet/minecraft/entity/EquipmentSlot;)Vintermediary method_20235Lnet/minecraft/class_1309;method_20235(Lnet/minecraft/class_1792;Lnet/minecraft/class_1304;)Vofficial aLbwf;a(Lcxk;Lbvr;)V
-
getPlayerInput
- Mappings:
Namespace Name Mixin selector named getPlayerInputLnet/minecraft/server/network/ServerPlayerEntity;getPlayerInput()Lnet/minecraft/util/PlayerInput;intermediary method_63562Lnet/minecraft/class_3222;method_63562()Lnet/minecraft/class_10185;official aiLasi;ai()Lcpu;
-
setPlayerInput
- Mappings:
Namespace Name Mixin selector named setPlayerInputLnet/minecraft/server/network/ServerPlayerEntity;setPlayerInput(Lnet/minecraft/util/PlayerInput;)Vintermediary method_63561Lnet/minecraft/class_3222;method_63561(Lnet/minecraft/class_10185;)Vofficial aLasi;a(Lcpu;)V
-
getInputVelocityForMinecart
- Mappings:
Namespace Name Mixin selector named getInputVelocityForMinecartLnet/minecraft/server/network/ServerPlayerEntity;getInputVelocityForMinecart()Lnet/minecraft/util/math/Vec3d;intermediary method_63563Lnet/minecraft/class_3222;method_63563()Lnet/minecraft/class_243;official ajLasi;aj()Lfbx;
-
addEnderPearl
- Mappings:
Namespace Name Mixin selector named addEnderPearlLnet/minecraft/server/network/ServerPlayerEntity;addEnderPearl(Lnet/minecraft/entity/projectile/thrown/EnderPearlEntity;)Vintermediary method_64124Lnet/minecraft/class_3222;method_64124(Lnet/minecraft/class_1684;)Vofficial aLasi;a(Lcqz;)V
-
removeEnderPearl
- Mappings:
Namespace Name Mixin selector named removeEnderPearlLnet/minecraft/server/network/ServerPlayerEntity;removeEnderPearl(Lnet/minecraft/entity/projectile/thrown/EnderPearlEntity;)Vintermediary method_64130Lnet/minecraft/class_3222;method_64130(Lnet/minecraft/class_1684;)Vofficial bLasi;b(Lcqz;)V
-
getEnderPearls
- Mappings:
Namespace Name Mixin selector named getEnderPearlsLnet/minecraft/server/network/ServerPlayerEntity;getEnderPearls()Ljava/util/Set;intermediary method_64128Lnet/minecraft/class_3222;method_64128()Ljava/util/Set;official akLasi;ak()Ljava/util/Set;
-
handleThrownEnderPearl
- Mappings:
Namespace Name Mixin selector named handleThrownEnderPearlLnet/minecraft/server/network/ServerPlayerEntity;handleThrownEnderPearl(Lnet/minecraft/entity/projectile/thrown/EnderPearlEntity;)Jintermediary method_64133Lnet/minecraft/class_3222;method_64133(Lnet/minecraft/class_1684;)Jofficial cLasi;c(Lcqz;)J
-
addEnderPearlTicket
- Mappings:
Namespace Name Mixin selector named addEnderPearlTicketLnet/minecraft/server/network/ServerPlayerEntity;addEnderPearlTicket(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/ChunkPos;)Jintermediary method_64123Lnet/minecraft/class_3222;method_64123(Lnet/minecraft/class_3218;Lnet/minecraft/class_1923;)Jofficial aLasi;a(Lash;Ldgn;)J
-