Class ServerPlayerEntity
- All Implemented Interfaces:
ComponentsAccess,Attackable,ContainerUser,DataTracked,ScoreHolder,HeldItemContext,Nameable,DebugTrackable,EntityLike,UniquelyIdentifiable,ServerWaypoint,Waypoint
- Mappings:
Namespace Name named net/minecraft/server/network/ServerPlayerEntityintermediary net/minecraft/class_3222official awy
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordprivate static final recordstatic final recordNested 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.RemovalReasonNested classes/interfaces inherited from interface net.minecraft.world.debug.DebugTrackable
DebugTrackable.DebugDataSupplier<T>, DebugTrackable.TrackerNested classes/interfaces inherited from interface net.minecraft.util.HeldItemContext
HeldItemContext.class_11726Nested classes/interfaces inherited from interface net.minecraft.world.waypoint.ServerWaypoint
ServerWaypoint.AzimuthWaypointTracker, ServerWaypoint.ChebyshevDistanceValidatedTracker, ServerWaypoint.ChunkWaypointTracker, ServerWaypoint.ManhattanDistanceValidatedTracker, ServerWaypoint.PositionalWaypointTracker, ServerWaypoint.WaypointTrackerNested classes/interfaces inherited from interface net.minecraft.world.waypoint.Waypoint
Waypoint.Config -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PlayerAdvancementTrackerprivate booleanprivate ChunkFilterprivate booleanprivate ChatVisibilityprivate final CommandOutputprivate static final EntityAttributeModifierprivate static final EntityAttributeModifierprivate static final booleanprivate static final booleanstatic final Stringprivate 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 Stringprivate longprivate intprivate intprivate intprivate intprivate floatprivate intprivate NbtCompoundprivate intprivate static final Loggerprivate Vec3dbooleanprivate ParticlesModeprivate PlayerInputprivate final ServerRecipeBookprivate @Nullable ServerPlayerEntity.Respawnprivate NbtCompoundprivate final ScreenHandlerListenerprivate final ScreenHandlerSyncHandlerprivate intprivate SculkShriekerWarningManagerbooleanprivate final MinecraftServerprivate @Nullable PublicPlayerSessionprivate static final Textprivate longprivate booleanprivate final ServerStatHandlerprivate Set<DebugSubscriptionType<?>> private intprivate intprivate floatprivate booleanprivate final TextStreamprivate intprivate ChunkSectionPosA chunk section position indicating where the player's client is currently watching chunks from.private static final EntityAttributeModifierFields inherited from class net.minecraft.entity.player.PlayerEntity
abilityResyncCountdown, baseFlySpeed, BLOCK_INTERACTION_RANGE, CRAFTING_SLOT_OFFSET, currentExplosionImpactPos, currentScreenHandler, damageTiltYaw, enchantingTableSeed, ENDER_SLOT_OFFSET, enderChestInventory, ENTITY_INTERACTION_RANGE, experienceLevel, experiencePickUpDelay, experienceProgress, explodedBy, field_55202, fishHook, HELD_ITEM_SLOT_OFFSET, hungerManager, isSubmergedInWater, MAX_HEALTH, playerScreenHandler, remainingLoadTicks, SLEEP_DURATION, totalExperience, WAKE_UP_DURATIONFields inherited from class net.minecraft.entity.PlayerLikeEntity
EYE_HEIGHT, MAIN_ARM, MAIN_ARM_ID, MODEL_CUSTOMIZATION, PLAYER_MODE_CUSTOMIZATION_ID, POSE_DIMENSIONS, STANDING_DIMENSIONS, SWIMMING_BOX_HEIGHT, VEHICLE_ATTACHMENTFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, ATTRIBUTES_KEY, BABY_SCALE_FACTOR, bodyYaw, brain, BRAIN_KEY, dead, DEATH_TICKS, DEATH_TIME_KEY, deathTime, defaultMaxHealth, despawnCounter, elytraFlightController, equipment, EQUIPMENT_KEY, EQUIPMENT_SLOT_ID, FALL_FLYING_KEY, field_30072, field_30074, field_30075, field_44874, field_47756, field_48827, field_55952, field_56256, forwardSpeed, glidingTicks, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, HEALTH_KEY, HURT_BY_TIMESTAMP_KEY, HURT_TIME_KEY, hurtTime, interpolator, itemUseTimeLeft, jumping, lastAttackedTicks, lastBodyYaw, lastDamageTaken, lastHandSwingProgress, lastHeadYaw, limbAnimator, LIVING_FLAGS, maxHurtTime, NOT_WEARING_GAZE_DISGUISE_PREDICATE, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, riptideAttackDamage, riptideStack, riptideTicks, serverHeadYaw, sidewaysSpeed, SLEEPING_DIMENSIONS, SLEEPING_POS_KEY, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAGFields inherited from class net.minecraft.entity.Entity
age, AIR_KEY, collidedSoftly, CUSTOM_DATA_KEY, CUSTOM_NAME_KEY, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_DISTANCE_KEY, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, FIRE_KEY, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, GLOWING_KEY, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, INVULNERABLE_KEY, lastPitch, lastRenderX, lastRenderY, lastRenderZ, lastX, lastY, lastYaw, lastZ, MAX_COMMAND_TAGS, MAX_QUEUED_COLLISION_CHECKS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, MOTION_KEY, movementMultiplier, NO_GRAVITY_KEY, noClip, ON_FIRE_FLAG_INDEX, ON_GROUND_KEY, PASSENGERS_KEY, PORTAL_COOLDOWN_KEY, portalManager, POS_KEY, POSE, random, ridingCooldown, ROTATION_KEY, SILENT_KEY, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnowFields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAMEFields inherited from interface net.minecraft.world.waypoint.ServerWaypoint
AZIMUTH_THRESHOLDFields inherited from interface net.minecraft.world.waypoint.Waypoint
DEFAULT_PLAYER_RANGE, DISABLE_TRACKING -
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) booleanvoidbooleancanBeSpectated(ServerPlayerEntity spectator) Returns whetherspectatorcan spectate this entity.booleancanModifyAt(ServerWorld world, BlockPos pos) Returns whether the entity can modify the world atpos.booleanbooleanchangeGameMode(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.voidvoidDismounts the vehicle if present.booleandropSelectedItem(boolean entireStack) protected voidvoidvoidprotected voidfall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.private static Optional<ServerPlayerEntity.RespawnPos> findRespawnPosition(ServerWorld world, ServerPlayerEntity.Respawn respawn, boolean bool) private voidgameModeFromData(ReadView view, String key) protected floatgetDamageAgainst(Entity target, float baseDamage, DamageSource damageSource) getIp()longintintgetRespawnTarget(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.intReturns the chunk section position the player's client is currently watching from.getWorldSpawnPos(ServerWorld world, BlockPos basePos) voidgiveOrDropStack(ItemStack stack) voidlonghandleThrownEnderPearl(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) booleanbooleanbooleanisInvulnerableTo(ServerWorld world, DamageSource source) private booleanprivate 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) voidbooleanmountOntoShoulder(NbtCompound shoulderNbt) voidonBlockCollision(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) voidopenDialog(RegistryEntry<Dialog> dialog) voidopenEditSignScreen(SignBlockEntity sign, boolean front) voidopenHorseInventory(AbstractHorseEntity horse, Inventory inventory) voidprivate voidvoidplaySoundToPlayer(SoundEvent sound, SoundCategory category, float volume, float pitch) Playssoundto this player only.protected voidreadCustomData(ReadView view) private voidreadEnderPearl(ReadView view) voidreadEnderPearls(ReadView view) voidreadRootVehicle(ReadView view) voidrefreshPositionAfterTeleport(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.voidrequestTeleportOffset(double offsetX, double offsetY, double offsetZ) Requests the entity to teleport to the current position offset by the given amount.voidvoidrotate(float yaw, boolean relativeYaw, float pitch, boolean relativePitch) 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) protected voidsetLeftShoulderNbt(NbtCompound leftShoulderNbt) voidsetMovement(Vec3d movement) voidsetPlayerInput(PlayerInput playerInput) protected voidsetRightShoulderNbt(NbtCompound rightShoulderNbt) voidsetServerWorld(ServerWorld world) voidsetSession(PublicPlayerSession session) voidsetSpawnExtraParticlesOnFall(boolean spawnExtraParticlesOnFall) voidsetSpawnPoint(@Nullable ServerPlayerEntity.Respawn respawn, boolean sendMessage) Sets the player's spawn point.voidsetSpawnPointFrom(ServerPlayerEntity player) voidsetStartRaidPos(BlockPos startRaidPos) voidsetSubscribedTypes(Set<DebugSubscriptionType<?>> subscribedTypes) voidsetWatchedSection(ChunkSectionPos section) Sets the chunk section position the player's client is currently watching from.booleanshouldDamagePlayer(PlayerEntity player) booleanbooleanvoidprivate voidbooleanstartRiding(Entity entity, boolean force, boolean emitEvent) Starts ridingentity.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) protected voidupdateAttribute(RegistryEntry<EntityAttribute> attribute) private voidvoidupdateKilledAdvancementCriterion(Entity entityKilled, 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) protected voidwriteCustomData(WriteView view) private voidwriteEnderPearls(WriteView view) private voidwriteGameModeData(WriteView view) private voidwriteRootVehicle(WriteView view) Methods inherited from class net.minecraft.entity.player.PlayerEntity
addExhaustion, addScore, adjustMovementForSneaking, animateDamage, applyDamage, asString, attackLivingEntity, canActVoluntarily, canBeHitByProjectile, canChangeIntoPose, canConsume, canDropItems, canFoodHeal, canGlide, canHarvest, canInteractWithBlockAt, canInteractWithEntity, canInteractWithEntityIn, canModifyBlocks, canMoveVoluntarily, canPlaceOn, canResetTimeBySleeping, canSprintAsVehicle, canTakeDamage, checkGliding, clearCurrentExplosion, clipAtLedge, createEquipment, createPlayerAttributes, damageArmor, damageHelmet, doesNotSuffocate, dropCreativeStack, dropInventory, dropItem, getAbilities, getAbsorptionAmount, getAttackCooldownProgress, getAttackCooldownProgressPerTick, getBlockBreakingSpeed, getBlockInteractionRange, getBurningDuration, getContainerInteractionRange, getDamageTiltYaw, getDeathSound, getDefaultPortalCooldown, getDisplayName, getEnchantingTableSeed, getEnderChestInventory, getEntityInteractionRange, getExperienceToDrop, getFallSounds, getGameProfile, getHighSpeedSplashSound, getHungerManager, getHurtSound, getInventory, getItemCooldownManager, getLastDeathPos, getLeashPos, getLeftShoulderParrotVariant, getLuck, getMaxRelativeHeadRotation, getMoveEffect, getMovementSpeed, getName, getNameForScoreboard, getNextLevelExperience, getOffGroundSpeed, getPlayerConfigEntry, getPoses, getProjectileType, getRightShoulderParrotVariant, getScore, getSleepTimer, getSoundCategory, getSplashSound, getStackReference, getStringifiedName, getSwimSound, getVelocityMultiplier, getWeaponStack, giveItemStack, handleFallDamage, handleStatus, hasBlindnessEffect, hasPermissionLevel, hasReducedDebugInfo, increaseStat, incrementStat, incrementStat, initDataTracker, interact, isArmorSlot, isBlockBreakingRestricted, isClimbing, isControlledByMainPlayer, isControlledByPlayer, isCreative, isCreativeLevelTwoOp, isImmobile, isInCreativeMode, isLoaded, isMainPlayer, isPlayer, isPushedByFluids, isSpectator, isSwimming, isUsingSpyglass, isViewingContainerAt, mapParrotVariant, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPickupSlotClick, onSwimmingStart, openCommandBlockMinecartScreen, openJigsawScreen, openStructureBlockScreen, openTestBlockScreen, openTestInstanceBlockScreen, playSound, playStepSound, readParrotVariant, remove, requestRespawn, resetLastAttackedTicks, setAbsorptionAmountUnclamped, setFireTicks, setIgnoreFallDamageFromCurrentExplosion, setLastDeathPos, setLeftShoulderParrotVariant, setLoaded, setReducedDebugInfo, setRightShoulderParrotVariant, setScore, shouldAlwaysDropExperience, shouldCancelInteraction, shouldCloseHandledScreenOnRespawn, shouldDismount, shouldIgnoreFallDamageFromCurrentExplosion, shouldRenderName, shouldRotateWithMinecart, shouldSave, shouldSkipBlockDrops, shouldSwimInFluids, slowMovement, spawnSweepAttackParticles, startGliding, takeShieldHit, tickLoaded, tickMovement, travel, tryClearCurrentExplosion, updatePose, updateSwimming, updateWaterSubmersionState, useRiptide, vanishCursedItems, wakeUpMethods inherited from class net.minecraft.entity.PlayerLikeEntity
getBaseDimensions, getMainArm, isModelPartVisible, setMainArmMethods inherited from class net.minecraft.entity.LivingEntity
addDeathParticles, addPowderSnowSlowIfNeeded, addStatusEffect, addStatusEffect, applyArmorToDamage, applyFluidMovingSpeed, areItemsDifferent, baseTick, becomeAngry, canBreatheInWater, canDispenserEquipSlot, canEquip, canEquipFromDispenser, canFreeze, canGlideWith, canHaveStatusEffect, canHit, canPickUpLoot, canSee, canSee, canTarget, canTarget, canUsePortals, canUseSlot, canWalkOnFluid, clampScale, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createTracker, damageEquipment, deserializeBrain, disableExperienceDropping, drop, dropEquipment, dropExperience, dropLoot, dropLoot, equipStack, forEachBrushedItem, forEachGeneratedItem, forEachGiftedItem, forEachShearedItem, generateLoot, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackingPlayer, getAttackKnockbackAgainst, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseWaterMovementSpeedMultiplier, getBlockingItem, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getControlledMovementInput, getDamageBlockedAmount, getDamageTracker, getDespawnCounter, getDimensions, getEffectFadeFactor, getEffectiveGravity, getEntity, getEquippedStack, getEquipSound, getExperienceToDrop, getGlidingTicks, getGravity, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getInterpolator, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getLocationBasedEnchantmentEffects, getLootTableSeed, getMainHandStack, getMaxAbsorption, getMaxHealth, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPassengerRidingPos, getPlayerHitTimer, getPreferredEquipmentSlot, getPrimeAdversary, getRecentDamageSource, getSaddledSpeed, getSafeFallDistance, getSafeFallDistance, getScale, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInArm, getStackInHand, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getWaypointConfig, getWeaponDisableBlockingForSeconds, getYaw, hasInvertedHealingAndHarm, hasLandedInFluid, hasNoDrag, hasStackEquipped, hasStatusEffect, hasWaypoint, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isBaby, isBlocking, isDead, isEntityLookingAtMe, isExperienceDroppingDisabled, isGliding, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isInsideWall, isInSwimmingPose, isJumping, isMobOrPlayer, isPartOfGame, isPushable, isSleeping, isUsingItem, isUsingRiptide, kill, knockback, knockDownwards, lerpHeadYaw, lerpYaw, markEffectsDirty, modifyAppliedDamage, onAttacking, onDamaged, onEquipStack, onKilledBy, onRemoval, onRemove, onSpawnPacket, onTrackedDataSet, playBlockFallSound, playHurtSound, playSound, positionInPortal, positionInPortal, pushAway, pushAwayFrom, removePowderSnowSlow, removeStatusEffect, removeStatusEffectInternal, sendEffectToControllingPlayer, setAbsorptionAmount, setAttacker, setAttacking, setAttacking, setAttackingPlayer, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setMovementSpeed, setNearbySongPlaying, setNoDrag, setOnFireForTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldDropExperience, shouldDropLoot, shouldDrown, spawnItemParticles, stopGliding, stopRiding, stopUsingItem, swimUpward, swingHand, takeKnockback, teleport, tickControlled, tickGliding, tickHandSwing, tickInVoid, tickMovementInput, tickNewAi, tickRiptide, tickStatusEffects, travelFlying, travelFlying, tryAttack, turnHead, updateLimbs, updateLimbs, updatePostDeath, updateTrackedHeadRotation, wouldNotSuffocateInPoseMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, applyBubbleColumnEffects, applyBubbleColumnSurfaceEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calcDistanceFromBottomCollision, calculateBoundingBox, calculateDefaultBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canExplosionDestroyBlock, canStartRiding, canTeleportBetween, castComponentValue, changeLookDirection, checkDespawn, clearQueuedCollisionChecks, clientDamage, collides, collidesWith, collidesWithFluid, collidesWithStateAtPos, copyComponentFrom, copyComponentsFrom, copyComponentsFrom, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, defrost, detach, detachAllHeldLeashes, discard, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropStack, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, findCollisions, get, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyX, getBodyY, getBodyZ, getBoundingBox, getBrightnessAtEyes, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getEffectiveExplosionResistance, getEntityPos, getErrorReporterContext, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHeldQuadLeashOffsets, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getLootTableKey, getMaxAir, getMinFreezeDamageTicks, getMovementDirection, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPickBlockStack, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getX, getY, getYaw, getZ, handleAttack, handleFall, handleFallDamageForPassengers, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasQuadLeashAttachmentPoints, hasVehicle, igniteByLava, interact, interactAt, isAlwaysInvulnerableTo, isAtCloudHeight, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFlyingVehicle, isFrozen, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInSneakingPose, isInteractable, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartlyTouchingWater, isPartOf, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, lerpPosAndRotation, limitFallDistance, move, movementInputToVelocity, occludeVibrationSignals, onDataTrackerUpdate, onHeldLeashUpdate, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSoundIfNotSilent, playSwimSound, playSwimSound, popQueuedCollisionCheck, populateCrashReport, pushOutOfBlocks, raycast, readData, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, registerTracking, reinitDimensions, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, requestTeleportAndDismount, resetPortalCooldown, resetPosition, saveData, saveSelfData, scheduleVelocityUpdate, serverDamage, setAir, setAlwaysSyncAbsolute, setAngles, setApplicableComponent, setBoundingBox, setChangeListener, setComponent, setCustomName, setCustomNameVisible, setFlag, setFrozenTicks, setGlowing, setId, setInPowderSnow, setInvisible, setInvulnerable, setLastPositionAndAngles, setMovement, setMovement, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldAlwaysSyncAbsolute, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTickBlockCollision, sidedDamage, snipAllHeldLeashes, spawnBubbleColumnParticles, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleportSpectatingPlayers, tickBlockCollision, tickBlockCollision, tickHeldLeash, tickPortalTeleportation, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateLastAngles, updateLastPosition, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateTrackedAngles, updateTrackedPosition, updateTrackedPosition, updateTrackedPositionAndAngles, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writeDataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.component.ComponentsAccess
getOrDefault, getTypedMethods inherited from interface net.minecraft.entity.ContainerUser
asLivingEntityMethods 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 cALawy;cA: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 cBLawy;cB: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 cCLawy;cC: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 cDLawy;cD: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 aLawy;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 bLawy;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 cLawy;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 dLawy;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 eLawy;e:Ljava/lang/String;
-
DIMENSION_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named DIMENSION_KEYLnet/minecraft/server/network/ServerPlayerEntity;DIMENSION_KEY:Ljava/lang/String;intermediary field_60522Lnet/minecraft/class_3222;field_60522:Ljava/lang/String;official fLawy;f: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 cELawy;cE:Lcga;
-
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 cFLawy;cF:Lcga;
-
SET_SPAWN_TEXT
- Mappings:
Namespace Name Mixin selector named SET_SPAWN_TEXTLnet/minecraft/server/network/ServerPlayerEntity;SET_SPAWN_TEXT:Lnet/minecraft/text/Text;intermediary field_56606Lnet/minecraft/class_3222;field_56606:Lnet/minecraft/class_2561;official cGLawy;cG:Lxx;
-
WAYPOINT_TRANSMIT_RANGE_CROUCH_MODIFIER
- Mappings:
Namespace Name Mixin selector named WAYPOINT_TRANSMIT_RANGE_CROUCH_MODIFIERLnet/minecraft/server/network/ServerPlayerEntity;WAYPOINT_TRANSMIT_RANGE_CROUCH_MODIFIER:Lnet/minecraft/entity/attribute/EntityAttributeModifier;intermediary field_59631Lnet/minecraft/class_3222;field_59631:Lnet/minecraft/class_1322;official cHLawy;cH:Lcga;
-
DEFAULT_SEEN_CREDITS
private static final boolean DEFAULT_SEEN_CREDITS- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_SEEN_CREDITSLnet/minecraft/server/network/ServerPlayerEntity;DEFAULT_SEEN_CREDITS:Zintermediary field_57112Lnet/minecraft/class_3222;field_57112:Zofficial cILawy;cI:Z
-
DEFAULT_SPAWN_EXTRA_PARTICLES_ON_FALL
private static final boolean DEFAULT_SPAWN_EXTRA_PARTICLES_ON_FALL- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_SPAWN_EXTRA_PARTICLES_ON_FALLLnet/minecraft/server/network/ServerPlayerEntity;DEFAULT_SPAWN_EXTRA_PARTICLES_ON_FALL:Zintermediary field_57113Lnet/minecraft/class_3222;field_57113:Zofficial cJLawy;cJ:Z
-
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 gLawy;g:Laxz;
-
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 cKLawy;cK: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 hLawy;h:Lawz;
-
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 cLLawy;cL:Lamr;
-
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 cMLawy;cM:Lbck;
-
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 cNLawy;cN: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 cOLawy;cO: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 cPLawy;cP: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 cSLawy;cS: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 cTLawy;cT: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 cULawy;cU: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 cVLawy;cV: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 cWLawy;cW: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 cXLawy;cX: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 cYLawy;cY: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 cZLawy;cZ:Lczi;
-
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 daLawy;da:Lawp;
-
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 dbLawy;db: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 dcLawy;dc: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 ddLawy;dd:Lcdv;
-
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 deLawy;de: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 iLawy;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 dfLawy;df:Lbcj;
-
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 dgLawy;dg:Lfoh;
-
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 dhLawy;dh: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 diLawy;di: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 djLawy;dj: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 dkLawy;dk: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 dlLawy;dl:Lfoh;
-
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 dmLawy;dm:Lfoh;
-
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 dnLawy;dn:Lfoh;
-
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 doLawy;do:Lkd;
-
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 dpLawy;dp:Lawg;
-
respawn
- Mappings:
Namespace Name Mixin selector named respawnLnet/minecraft/server/network/ServerPlayerEntity;respawn:Lnet/minecraft/server/network/ServerPlayerEntity$Respawn;intermediary field_56607Lnet/minecraft/class_3222;field_56607:Lnet/minecraft/class_3222$class_10766;official dqLawy;dq:Lawy$a;
-
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 drLawy;dr:Layf;
-
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 dsLawy;ds: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 dtLawy;dt: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 duLawy;du: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 dvLawy;dv:Lcyq;
-
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 dwLawy;dw:Lja;
-
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 dxLawy;dx:Lfoh;
-
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 dyLawy;dy:Lczj;
-
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 dzLawy;dz:Ljava/util/Set;
-
shoulderMountTime
private long shoulderMountTime- Mappings:
Namespace Name Mixin selector named shoulderMountTimeLnet/minecraft/server/network/ServerPlayerEntity;shoulderMountTime:Jintermediary field_62503Lnet/minecraft/class_3222;field_62503:Jofficial dALawy;dA:J
-
leftShoulderNbt
- Mappings:
Namespace Name Mixin selector named leftShoulderNbtLnet/minecraft/server/network/ServerPlayerEntity;leftShoulderNbt:Lnet/minecraft/nbt/NbtCompound;intermediary field_62504Lnet/minecraft/class_3222;field_62504:Lnet/minecraft/class_2487;official dBLawy;dB:Lup;
-
rightShoulderNbt
- Mappings:
Namespace Name Mixin selector named rightShoulderNbtLnet/minecraft/server/network/ServerPlayerEntity;rightShoulderNbt:Lnet/minecraft/nbt/NbtCompound;intermediary field_62505Lnet/minecraft/class_3222;field_62505:Lnet/minecraft/class_2487;official dCLawy;dC:Lup;
-
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 dDLawy;dD:Lddv;
-
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 dELawy;dE:Lddu;
-
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 dFLawy;dF:Lyp;
-
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 jLawy;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 dGLawy;dG:Lei;
-
subscribedTypes
- Mappings:
Namespace Name Mixin selector named subscribedTypesLnet/minecraft/server/network/ServerPlayerEntity;subscribedTypes:Ljava/util/Set;intermediary field_62842Lnet/minecraft/class_3222;field_62842:Ljava/util/Set;official dHLawy;dH:Ljava/util/Set;
-
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 dILawy;dI: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 kLawy;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>Lawy;<init>(Lnet/minecraft/server/MinecraftServer;Lawx;Lcom/mojang/authlib/GameProfile;Lawh;)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 aLcdv;a(Lawx;Lja;)Lja;
-
readCustomData
- Overrides:
readCustomDatain classPlayerEntity- Mappings:
Namespace Name Mixin selector named readCustomDataLnet/minecraft/entity/Entity;readCustomData(Lnet/minecraft/storage/ReadView;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_11368;)Vofficial aLcdv;a(Lfip;)V
-
writeCustomData
- Overrides:
writeCustomDatain classPlayerEntity- Mappings:
Namespace Name Mixin selector named writeCustomDataLnet/minecraft/entity/Entity;writeCustomData(Lnet/minecraft/storage/WriteView;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_11372;)Vofficial aLcdv;a(Lfir;)V
-
writeRootVehicle
- Mappings:
Namespace Name Mixin selector named writeRootVehicleLnet/minecraft/server/network/ServerPlayerEntity;writeRootVehicle(Lnet/minecraft/storage/WriteView;)Vintermediary method_64135Lnet/minecraft/class_3222;method_64135(Lnet/minecraft/class_11372;)Vofficial eLawy;e(Lfir;)V
-
readRootVehicle
- Mappings:
Namespace Name Mixin selector named readRootVehicleLnet/minecraft/server/network/ServerPlayerEntity;readRootVehicle(Lnet/minecraft/storage/ReadView;)Vintermediary method_64125Lnet/minecraft/class_3222;method_64125(Lnet/minecraft/class_11368;)Vofficial bLawy;b(Lfip;)V
-
writeEnderPearls
- Mappings:
Namespace Name Mixin selector named writeEnderPearlsLnet/minecraft/server/network/ServerPlayerEntity;writeEnderPearls(Lnet/minecraft/storage/WriteView;)Vintermediary method_64136Lnet/minecraft/class_3222;method_64136(Lnet/minecraft/class_11372;)Vofficial fLawy;f(Lfir;)V
-
readEnderPearls
- Mappings:
Namespace Name Mixin selector named readEnderPearlsLnet/minecraft/server/network/ServerPlayerEntity;readEnderPearls(Lnet/minecraft/storage/ReadView;)Vintermediary method_64131Lnet/minecraft/class_3222;method_64131(Lnet/minecraft/class_11368;)Vofficial cLawy;c(Lfip;)V
-
readEnderPearl
- Mappings:
Namespace Name Mixin selector named readEnderPearlLnet/minecraft/server/network/ServerPlayerEntity;readEnderPearl(Lnet/minecraft/storage/ReadView;)Vintermediary method_68175Lnet/minecraft/class_3222;method_68175(Lnet/minecraft/class_11368;)Vofficial eLawy;e(Lfip;)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 aLawy;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 bLawy;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 cLczl;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 aLczl;a(Ldhp;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 aLawy;a(Lddg;)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 cLawy;c()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_Lcew;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 Q_Lcew;Q_()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 aLcdv;a(Lejm;)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 fLczl;f()Ldhm;
-
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 gLcdv;g()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 hkLawy;hk()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 hLawy;h()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 iLawy;i(Ldhp;)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 iLczl;i()V
-
handleShoulderEntities
public void handleShoulderEntities()- Overrides:
handleShoulderEntitiesin classPlayerEntity- Mappings:
Namespace Name Mixin selector named handleShoulderEntitiesLnet/minecraft/entity/player/PlayerEntity;handleShoulderEntities()Vintermediary method_74082Lnet/minecraft/class_1657;method_74082()Vofficial jLczl;j()V
-
playShoulderEntitySound
- Mappings:
Namespace Name Mixin selector named playShoulderEntitySoundLnet/minecraft/server/network/ServerPlayerEntity;playShoulderEntitySound(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_74079Lnet/minecraft/class_3222;method_74079(Lnet/minecraft/class_2487;)Vofficial eLawy;e(Lup;)V
-
mountOntoShoulder
- Mappings:
Namespace Name Mixin selector named mountOntoShoulderLnet/minecraft/server/network/ServerPlayerEntity;mountOntoShoulder(Lnet/minecraft/nbt/NbtCompound;)Zintermediary method_74073Lnet/minecraft/class_3222;method_74073(Lnet/minecraft/class_2487;)Zofficial aLawy;a(Lup;)Z
-
dropShoulderEntities
protected void dropShoulderEntities()- Overrides:
dropShoulderEntitiesin classPlayerEntity- Mappings:
Namespace Name Mixin selector named dropShoulderEntitiesLnet/minecraft/entity/player/PlayerEntity;dropShoulderEntities()Vintermediary method_7262Lnet/minecraft/class_1657;method_7262()Vofficial kLczl;k()V
-
spawnShoulderEntity
- Mappings:
Namespace Name Mixin selector named spawnShoulderEntityLnet/minecraft/server/network/ServerPlayerEntity;spawnShoulderEntity(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_74080Lnet/minecraft/class_3222;method_74080(Lnet/minecraft/class_2487;)Vofficial fLawy;f(Lup;)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 mLawy;m()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 nLawy;n()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 aLawy;a(Lfpq;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 aLcew;a(Lcci;)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 hlLawy;hl()V
-
updateKilledAdvancementCriterion
- Overrides:
updateKilledAdvancementCriterionin classEntity- Mappings:
Namespace Name Mixin selector named updateKilledAdvancementCriterionLnet/minecraft/entity/Entity;updateKilledAdvancementCriterion(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;)Vintermediary method_5716Lnet/minecraft/class_1297;method_5716(Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;)Vofficial aLcdv;a(Lcdv;Lcci;)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 aLawy;a(Lfpm;Lfpm;[Lfpq;)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
LivingEntity.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 aLcdv;a(Lawx;Lcci;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 aLczl;a(Lczl;)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 hmLawy;hm()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 aLawy;a(ZLfha$a;)Lfha;
-
canReceiveWaypoints
public boolean canReceiveWaypoints()- Mappings:
Namespace Name Mixin selector named canReceiveWaypointsLnet/minecraft/server/network/ServerPlayerEntity;canReceiveWaypoints()Zintermediary method_70637Lnet/minecraft/class_3222;method_70637()Zofficial oLawy;o()Z
-
updateAttribute
- Overrides:
updateAttributein classLivingEntity- Mappings:
Namespace Name Mixin selector named updateAttributeLnet/minecraft/entity/LivingEntity;updateAttribute(Lnet/minecraft/registry/entry/RegistryEntry;)Vintermediary method_52540Lnet/minecraft/class_1309;method_52540(Lnet/minecraft/class_6880;)Vofficial aLcew;a(Ljk;)V
-
findRespawnPosition
private static Optional<ServerPlayerEntity.RespawnPos> findRespawnPosition(ServerWorld world, ServerPlayerEntity.Respawn respawn, boolean bool) - Mappings:
Namespace Name Mixin selector named findRespawnPositionLnet/minecraft/server/network/ServerPlayerEntity;findRespawnPosition(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/server/network/ServerPlayerEntity$Respawn;Z)Ljava/util/Optional;intermediary method_60588Lnet/minecraft/class_3222;method_60588(Lnet/minecraft/class_3218;Lnet/minecraft/class_3222$class_10766;Z)Ljava/util/Optional;official aLawy;a(Lawx;Lawy$a;Z)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 pLawy;p()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 aLawy;a(Lfha;)Lawy;
-
rotate
public void rotate(float yaw, boolean relativeYaw, float pitch, boolean relativePitch) -
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 hLawy;h(Lawx;)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 aLcdv;a(Lawy;)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 aLcew;a(Lcdv;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 aLczl;a(Lja;)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 bLcew;b(Lja;)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 aLawy;a(Lja;Ljg;)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 iLawy;i(Lja;)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 bLawy;b(Lja;Ljg;)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 aLczl;a(ZZ)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 aLcew;a(Lawx;Lcci;)Z
-
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 bLcew;b(Lawx;Lja;)V
-
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, double), 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 aLcdv;a(DZLejm;Lja;)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 aLcdv;a(Lcdv;)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 qLcew;q()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 aLczl;a(Lehx;Z)V
-
openDialog
- Overrides:
openDialogin classPlayerEntity- Mappings:
Namespace Name Mixin selector named openDialogLnet/minecraft/entity/player/PlayerEntity;openDialog(Lnet/minecraft/registry/entry/RegistryEntry;)Vintermediary method_71753Lnet/minecraft/class_1657;method_71753(Lnet/minecraft/class_6880;)Vofficial bLczl;b(Ljk;)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 hnLawy;hn()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 aLczl;a(Lcbt;)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 aLczl;a(ILdqn;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 aLczl;a(Lcth;Lcbj;)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 aLczl;a(Ldhp;Lcbp;)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 aLczl;a(Legr;)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 rLczl;r()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 sLczl;s()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 tLcdv;t()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 aLawy;a(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 pLawy;p(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 qLawy;q(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 aLczl;a(Lbcl;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 aLczl;a(Lbcl;)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 aLczl;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 aLczl;a(Ldmn;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 bLczl;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 bLczl;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 uLcew;u()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 dLczl;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 vLawy;v()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 wLawy;w()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 xLawy;x()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 aLczl;a(Lxx;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 R_Lcew;R_()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 aLcdv;a(Lew$a;Lfoh;)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 aLawy;a(Lew$a;Lcdv;Lew$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 aLawy;a(Lawy;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 aLcew;a(Lccx;Lcdv;)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 aLcew;a(Lccx;ZLcdv;)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 cLcew;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 bLcdv;b(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 cLcdv;c(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 aLcdv;a(Lawx;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 dLcdv;d(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 bLczl;b(Lcdv;)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 cLczl;c(Lcdv;)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 zLczl;z()V
-
getEntityWorld
- Specified by:
getEntityWorldin interfaceHeldItemContext- Overrides:
getEntityWorldin classEntity- Mappings:
Namespace Name Mixin selector named getEntityWorldLnet/minecraft/server/network/ServerPlayerEntity;getEntityWorld()Lnet/minecraft/server/world/ServerWorld;intermediary method_51469Lnet/minecraft/class_3222;method_51469()Lnet/minecraft/class_3218;official ALawy;A()Lawx;
-
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 aLawy;a(Ldrn;)Z
-
getGameMode
- Specified by:
getGameModein classPlayerEntity- Mappings:
Namespace Name Mixin selector named getGameModeLnet/minecraft/entity/player/PlayerEntity;getGameMode()Lnet/minecraft/world/GameMode;intermediary method_68876Lnet/minecraft/class_1657;method_68876()Lnet/minecraft/class_1934;official aLczl;a()Ldrn;
-
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 BLawy;B()Lei;
-
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 CLawy;C()Lej;
-
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 aLawy;a(Lxx;)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 bLawy;b(Lxx;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 aLawy;a(Lyn;ZLxt$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 DLawy;D()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 aLawy;a(Lawh;)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 ELawy;E()Lawh;
-
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 FLawy;F()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 GLawy;G()Lczi;
-
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 yLawy;y(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 hoLawy;ho()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 HLawy;H()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 aLawy;a(Lalg;)V
-
getPermissionLevel
public 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 ILczl;I()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 JLawy;J()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 KLawy;K()Lbck;
-
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 LLawy;L()Lbcj;
-
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 MLcew;M()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 NLawy;N()Lcdv;
-
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 dLawy;d(Lcdv;)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 OLcdv;O()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 eLczl;e(Lcdv;)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 PLawy;P()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 QLawy;Q()Lxx;
-
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 RLawy;R()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 aLcew;a(Lcbp;)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 SLawy;S()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 TLawy;T()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 ULawy;U()Lamr;
-
getRespawn
- Mappings:
Namespace Name Mixin selector named getRespawnLnet/minecraft/server/network/ServerPlayerEntity;getRespawn()Lnet/minecraft/server/network/ServerPlayerEntity$Respawn;intermediary method_67564Lnet/minecraft/class_3222;method_67564()Lnet/minecraft/class_3222$class_10766;official VLawy;V()Lawy$a;
-
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 bLawy;b(Lawy;)V
-
setSpawnPoint
public void setSpawnPoint(@Nullable @Nullable ServerPlayerEntity.Respawn respawn, boolean sendMessage) Sets the player's spawn point.- Mappings:
Namespace Name Mixin selector named setSpawnPointLnet/minecraft/server/network/ServerPlayerEntity;setSpawnPoint(Lnet/minecraft/server/network/ServerPlayerEntity$Respawn;Z)Vintermediary method_26284Lnet/minecraft/class_3222;method_26284(Lnet/minecraft/class_3222$class_10766;Z)Vofficial aLawy;a(Lawy$a;Z)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 WLawy;W()Lkd;
-
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 aLawy;a(Lkd;)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 XLawy;X()Lawg;
-
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 aLawy;a(Lawg;)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 aLczl;a(Lbcd;Lbcf;FF)V
-
dropItem
- Overrides:
dropItemin classLivingEntity- Mappings:
Namespace Name Mixin selector named dropItemLnet/minecraft/entity/LivingEntity;dropItem(Lnet/minecraft/item/ItemStack;ZZ)Lnet/minecraft/entity/ItemEntity;intermediary method_7329Lnet/minecraft/class_1309;method_7329(Lnet/minecraft/class_1799;ZZ)Lnet/minecraft/class_1542;official aLcew;a(Ldhp;ZZ)Lcvr;
-
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 YLawy;Y()Layf;
-
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 aLawy;a(Lawx;)V
-
gameModeFromData
- Mappings:
Namespace Name Mixin selector named gameModeFromDataLnet/minecraft/server/network/ServerPlayerEntity;gameModeFromData(Lnet/minecraft/storage/ReadView;Ljava/lang/String;)Lnet/minecraft/world/GameMode;intermediary method_32745Lnet/minecraft/class_3222;method_32745(Lnet/minecraft/class_11368;Ljava/lang/String;)Lnet/minecraft/class_1934;official aLawy;a(Lfip;Ljava/lang/String;)Ldrn;
-
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 bLawy;b(Ldrn;)Ldrn;
-
writeGameModeData
- Mappings:
Namespace Name Mixin selector named writeGameModeDataLnet/minecraft/server/network/ServerPlayerEntity;writeGameModeData(Lnet/minecraft/storage/WriteView;)Vintermediary method_32749Lnet/minecraft/class_3222;method_32749(Lnet/minecraft/class_11372;)Vofficial gLawy;g(Lfir;)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 ZLczl;Z()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 cLawy;c(Lawy;)Z
-
canModifyAt
Returns whether the entity can modify the world atpos.This returns
truefor most entities. Players checkto prevent them from modifying entities in the spawn protection or outside the world border.invalid reference
World#canPlayerModifyAtProjectileEntitydelegates 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 cLcdv;c(Lawx;Lja;)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 aLcew;a(Ldhp;)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 aLawy;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 bLcew;b(Ldhp;)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 aaLawy;aa()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 abLczl;ab()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 bLawy;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 aLcew;a(Lcvr;)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 aLawy;a(Lyp;)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 acLawy;ac()Lyp;
-
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 aLcew;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;ZZ)Zintermediary method_5873Lnet/minecraft/class_1297;method_5873(Lnet/minecraft/class_1297;ZZ)Zofficial aLcdv;a(Lcdv;ZZ)Z
-
dismountVehicle
public void dismountVehicle()Dismounts the vehicle if present.For players, will not trigger any networking changes. Use
LivingEntity.stopRiding()instead.- Overrides:
dismountVehiclein classPlayerEntity- See Also:
- Mappings:
Namespace Name Mixin selector named dismountVehicleLnet/minecraft/entity/Entity;dismountVehicle()Vintermediary method_29239Lnet/minecraft/class_1297;method_29239()Vofficial adLcdv;ad()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 bLawy;b(Lawx;)Lahn;
-
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 cLawy;c(Lja;)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 aeLawy;ae()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 afLawy;af()Lja;
-
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 agLcdv;ag()Lfoh;
-
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 aLawy;a(Lfoh;)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 aLczl;a(Lcdv;FLcci;)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 aLcew;a(Ldhl;Lcef;)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 ahLawy;ah()Lczj;
-
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 aLawy;a(Lczj;)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 aiLawy;ai()Lfoh;
-
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 aLawy;a(Ldas;)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 bLawy;b(Ldas;)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 ajLawy;aj()Ljava/util/Set;
-
getLeftShoulderNbt
- Mappings:
Namespace Name Mixin selector named getLeftShoulderNbtLnet/minecraft/server/network/ServerPlayerEntity;getLeftShoulderNbt()Lnet/minecraft/nbt/NbtCompound;intermediary method_74074Lnet/minecraft/class_3222;method_74074()Lnet/minecraft/class_2487;official akLawy;ak()Lup;
-
setLeftShoulderNbt
- Mappings:
Namespace Name Mixin selector named setLeftShoulderNbtLnet/minecraft/server/network/ServerPlayerEntity;setLeftShoulderNbt(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_74076Lnet/minecraft/class_3222;method_74076(Lnet/minecraft/class_2487;)Vofficial bLawy;b(Lup;)V
-
getRightShoulderNbt
- Mappings:
Namespace Name Mixin selector named getRightShoulderNbtLnet/minecraft/server/network/ServerPlayerEntity;getRightShoulderNbt()Lnet/minecraft/nbt/NbtCompound;intermediary method_74075Lnet/minecraft/class_3222;method_74075()Lnet/minecraft/class_2487;official alLawy;al()Lup;
-
setRightShoulderNbt
- Mappings:
Namespace Name Mixin selector named setRightShoulderNbtLnet/minecraft/server/network/ServerPlayerEntity;setRightShoulderNbt(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_74077Lnet/minecraft/class_3222;method_74077(Lnet/minecraft/class_2487;)Vofficial cLawy;c(Lup;)V
-
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 cLawy;c(Ldas;)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 aLawy;a(Lawx;Ldqv;)J
-
setSubscribedTypes
- Mappings:
Namespace Name Mixin selector named setSubscribedTypesLnet/minecraft/server/network/ServerPlayerEntity;setSubscribedTypes(Ljava/util/Set;)Vintermediary method_74537Lnet/minecraft/class_3222;method_74537(Ljava/util/Set;)Vofficial aLawy;a(Ljava/util/Set;)V
-
getSubscribedTypes
- Mappings:
Namespace Name Mixin selector named getSubscribedTypesLnet/minecraft/server/network/ServerPlayerEntity;getSubscribedTypes()Ljava/util/Set;intermediary method_74538Lnet/minecraft/class_3222;method_74538()Ljava/util/Set;official amLawy;am()Ljava/util/Set;
-