类 ServerPlayerEntity
- java.lang.Object
-
- net.minecraft.entity.Entity
-
- net.minecraft.entity.LivingEntity
-
- net.minecraft.entity.player.PlayerEntity
-
- net.minecraft.server.network.ServerPlayerEntity
-
- 所有已实现的接口:
CommandOutput,Nameable,EntityLike
public class ServerPlayerEntity extends PlayerEntity
- Mappings:
Namespace Name official abkintermediary net/minecraft/class_3222named net/minecraft/server/network/ServerPlayerEntity
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.player.PlayerEntity
PlayerEntity.SleepFailureReason
-
从类继承的嵌套类/接口 net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
-
字段概要
-
从类继承的字段 net.minecraft.entity.player.PlayerEntity
abilityResyncCountdown, capeX, capeY, capeZ, currentScreenHandler, enchantmentTableSeed, enderChestInventory, experienceLevel, experiencePickUpDelay, experienceProgress, field_30642, field_30643, field_30644, field_30645, field_30646, field_30647, field_30648, field_30649, field_30650, field_30651, field_7509, fishHook, hungerManager, isSubmergedInWater, LEFT_SHOULDER_ENTITY, MAIN_ARM, PLAYER_MODEL_PARTS, playerScreenHandler, prevCapeX, prevCapeY, prevCapeZ, prevStrideDistance, RIGHT_SHOULDER_ENTITY, STANDING_DIMENSIONS, strideDistance, totalExperience
-
从类继承的字段 net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_30063, field_30064, field_30065, field_30066, field_30067, field_30068, field_30069, field_30070, field_30071, field_30072, field_30073, field_30074, field_30075, field_30076, field_30077, field_6215, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed
-
从类继承的字段 net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_29973, field_29974, field_29979, field_29980, field_29981, field_29987, field_29988, field_29989, field_29990, field_29991, field_29992, field_29993, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, movementMultiplier, netherPortalTime, noClip, onGround, PASSENGERS_KEY, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world, yaw
-
从接口继承的字段 net.minecraft.server.command.CommandOutput
DUMMY
-
-
构造器概要
构造器 构造器 说明 ServerPlayerEntity(MinecraftServer server, ServerWorld world, com.mojang.authlib.GameProfile profile)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 private booleanacceptsMessage(MessageType type)voidaddCritParticles(Entity target)voidaddEnchantedHitParticles(Entity target)voidaddExperience(int experience)voidaddExperienceLevels(int levels)voidapplyEnchantmentCosts(ItemStack enchantedItem, int experienceLevels)protected voidapplyMovementEffects(BlockPos pos)voidattack(Entity target)private intcalculateSpawnOffsetMultiplier(int horizontalSpawnArea)booleancanBeSpectated(ServerPlayerEntity spectator)booleanchangeGameMode(GameMode gameMode)voidcloseHandledScreen()voidcloseScreenHandler()Runs closing tasks for the current screen handler and sets it to theplayerScreenHandler.protected voidconsumeItem()voidcopyFrom(ServerPlayerEntity oldPlayer, boolean alive)protected ItemCooldownManagercreateCooldownManager()private voidcreateEndSpawnPlatform(ServerWorld world, BlockPos centerPos)Packet<?>createSpawnPacket()booleandamage(DamageSource source, float amount)ItemEntitydropItem(ItemStack stack, boolean throwRandomly, boolean retainOwnership)voidendCombat()voidenterCombat()protected voidfall(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPosition)private voidforgiveMobAnger()private static @Nullable GameModegameModeFromNbt(@Nullable CompoundTag nbt, String key)PlayerAdvancementTrackergetAdvancementTracker()EntitygetCameraEntity()ChatVisibilitygetClientChatVisibility()StringgetIp()longgetLastActionTime()protected intgetPermissionLevel()@Nullable TextgetPlayerListName()protected Optional<PortalUtil.Rectangle>getPortalRect(ServerWorld destWorld, BlockPos destPos, boolean destIsNether)ServerRecipeBookgetRecipeBook()private GameModegetServerGameMode(@Nullable GameMode backupGameMode)Returns the server game mode the player should be set to, namely the forced game mode.ServerWorldgetServerWorld()floatgetSpawnAngle()RegistryKey<World>getSpawnPointDimension()@Nullable BlockPosgetSpawnPointPosition()ServerStatHandlergetStatHandler()protected @Nullable TeleportTargetgetTeleportTarget(ServerWorld destination)TextStreamgetTextStream()ChunkSectionPosgetWatchedSection()Returns the chunk section position the player's client is currently watching from.voidhandleFall(double heightDifference, boolean onGround)voidincreaseStat(Stat<?> stat, int amount)private voidincrementScreenHandlerSyncId()private booleanisBedObstructed(BlockPos pos, Direction direction)private booleanisBedTooFarAway(BlockPos pos)private booleanisBedTooFarAway(BlockPos pos, Direction direction)booleanisCreative()Returns whether this player is in creative mode.booleanisDisconnected()booleanisInTeleportationState()booleanisInvulnerableTo(DamageSource damageSource)private booleanisPvpEnabled()booleanisSpawnPointSet()booleanisSpectator()intlockRecipes(Collection<Recipe<?>> recipes)voidlookAt(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target)voidlookAtEntity(EntityAnchorArgumentType.EntityAnchor anchorPoint, Entity targetEntity, EntityAnchorArgumentType.EntityAnchor targetAnchor)voidmarkHealthDirty()voidmethod_34225()booleanmethod_34879()private voidmoveToSpawn(ServerWorld world)@Nullable EntitymoveToWorld(ServerWorld destination)Moves this entity to another world.protected voidonBlockCollision(BlockState state)voidonDeath(DamageSource source)voidonDisconnect()private voidonSpawn(ScreenHandler screenHandler)voidonStartedTracking(Entity entity)protected voidonStatusEffectApplied(StatusEffectInstance effect)protected voidonStatusEffectRemoved(StatusEffectInstance effect)protected voidonStatusEffectUpgraded(StatusEffectInstance effect, boolean reapplyEffect)voidonStoppedTracking(Entity entity)voidonTeleportationDone()voidopenCommandBlockScreen(CommandBlockBlockEntity commandBlock)voidopenEditSignScreen(SignBlockEntity sign)OptionalIntopenHandledScreen(@Nullable NamedScreenHandlerFactory factory)voidopenHorseInventory(HorseBaseEntity horse, Inventory inventory)voidplayerTick()voidplaySound(SoundEvent event, SoundCategory category, float volume, float pitch)voidreadCustomDataFromNbt(CompoundTag nbt)voidrefreshPositionAfterTeleport(double x, double y, double z)voidrequestTeleport(double destX, double destY, double destZ)voidrequestTeleportAndDismount(double destX, double destY, double destZ)voidresetStat(Stat<?> stat)voidsendAbilitiesUpdate()private voidsendBlockEntityUpdate(BlockEntity blockEntity)voidsendInitialChunkPackets(ChunkPos chunkPos, Packet<?> packet, Packet<?> packet2)voidsendMessage(Text message, boolean actionBar)voidsendMessage(Text message, MessageType type, UUID senderUuid)voidsendPickup(Entity item, int count)voidsendResourcePackUrl(String url, String hash, boolean required)voidsendSystemMessage(Text message, UUID senderUuid)voidsendTradeOffers(int syncId, TradeOfferList offers, int levelProgress, int experience, boolean leveled, boolean refreshable)voidsendUnloadChunkPacket(ChunkPos chunkPos)voidsetCameraEntity(Entity entity)voidsetClientSettings(ClientSettingsC2SPacket packet)voidsetExperienceLevel(int level)voidsetExperiencePoints(int int2)voidsetGameMode(@Nullable CompoundTag nbt)voidsetSpawnPoint(RegistryKey<World> dimension, @Nullable BlockPos pos, float angle, boolean spawnPointSet, boolean bool)voidsetWatchedSection(ChunkSectionPos section)Sets the chunk section position the player's client is currently watching from.voidsetWorld(ServerWorld world)booleanshouldDamagePlayer(PlayerEntity player)booleanshouldFilterMessagesSentTo(ServerPlayerEntity player)booleanshouldFilterText()voidsleep(BlockPos pos)booleanstartRiding(Entity entity, boolean force)voidstopRiding()voidswingHand(Hand hand)voidteleport(ServerWorld targetWorld, double x, double y, double z, float yaw, float pitch)voidtick()protected voidtickNetherPortalCooldown()com.mojang.datafixers.util.Either<PlayerEntity.SleepFailureReason,Unit>trySleep(BlockPos pos)intunlockRecipes(Collection<Recipe<?>> recipes)voidunlockRecipes(Identifier[] ids)voidupdateInput(float sidewaysSpeed, float forwardSpeed, boolean jumping, boolean sneaking)voidupdateKilledAdvancementCriterion(Entity killer, int score, DamageSource damageSource)voidupdateLastActionTime()protected voidupdatePotionVisibility()private voidupdateScoreboardScore(String playerName, String team, ScoreboardCriterion[] scoreboardCriterion)private voidupdateScores(ScoreboardCriterion criterion, int score)voiduseBook(ItemStack book, Hand hand)Called when the player uses (defaults to right click) a writable or written book item.voidwakeUp(boolean bool, boolean updateSleepingPlayers)private voidworldChanged(ServerWorld origin)voidwriteCustomDataToNbt(CompoundTag nbt)private voidwriteGameModeNbt(CompoundTag nbt)-
从类继承的方法 net.minecraft.entity.player.PlayerEntity
addExhaustion, addScore, addShoulderEntity, adjustMovementForSneaking, applyDamage, attackLivingEntity, canConsume, canEquip, canFoodHeal, canHarvest, canModifyBlocks, canPlaceOn, canTakeDamage, checkFallFlying, clipAtLedge, createPlayerAttributes, damageArmor, damageShield, disableShield, dismountVehicle, doesNotSuffocate, dropInventory, dropItem, dropSelectedItem, dropShoulderEntities, eatFood, equipStack, findRespawnPosition, getAbilities, getAbsorptionAmount, getActiveEyeHeight, getArmorItems, getArrowType, getAttackCooldownProgress, getAttackCooldownProgressPerTick, getBlockBreakingSpeed, getBurningDuration, getCommandItemSlot, getDeathSound, getDefaultNetherPortalCooldown, getDimensions, getDisplayName, getEnchantmentTableSeed, getEnderChestInventory, getEntityName, getEquippedStack, getFallSound, getGameProfile, getHeightOffset, getHighSpeedSplashSound, getHungerManager, getHurtSound, getInventory, getItemCooldownManager, getItemsHand, getLuck, getMainArm, getMaxNetherPortalTime, getMoveEffect, getMovementSpeed, getName, getNextLevelExperience, getOfflinePlayerUuid, getPoses, getScore, getScoreboard, getShoulderEntityLeft, getShoulderEntityRight, getSleepTimer, getSoundCategory, getSplashSound, getSwimSound, getUuidFromProfile, getVelocityMultiplier, getXpToDrop, giveItemStack, handleFallDamage, handleStatus, hasReducedDebugInfo, increaseStat, increaseTravelMotionStats, incrementStat, incrementStat, initDataTracker, interact, isBlockBreakingRestricted, isCreativeLevelTwoOp, isImmobile, isMainPlayer, isOnSoulSpeedBlock, isPartVisible, isPlayer, isPushedByFluids, isSleepingLongEnough, isSwimming, isUsingSpyglass, jump, method_30951, onKilledOther, onPickupSlotClick, onSwimmingStart, openCommandBlockMinecartScreen, openJigsawScreen, openStructureBlockScreen, playSound, remove, requestRespawn, resetLastAttackedTicks, setAbsorptionAmount, setFireTicks, setMainArm, setReducedDebugInfo, setScore, setShoulderEntityLeft, setShoulderEntityRight, shouldAlwaysDropXp, shouldCancelInteraction, shouldDismount, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSave, shouldSwimInFluids, slowMovement, spawnSweepAttackParticles, startFallFlying, stopFallFlying, takeShieldHit, tickMovement, tickNewAi, tickRiding, travel, updatePose, updateSwimming, updateWaterSubmersionState, vanishCursedItems, wakeUp
-
从类继承的方法 net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, animateDamage, applyArmorToDamage, applyEnchantmentsToDamage, applyStatusEffect, baseTick, canBeRiddenInWater, canBreatheInWater, canFreeze, canHaveStatusEffect, canMoveVoluntarily, canSee, canTarget, canTarget, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, computeFallDamage, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, deserializeBrain, displaySoulSpeedEffects, drop, dropEquipment, dropLoot, dropXp, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBlockState, getBoundingBox, getBrain, getClimbingPos, getDamageTracker, getDespawnCounter, getDrinkSound, getEatSound, getEyeHeight, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getLootContextBuilder, getLootTable, getMainHandStack, getMaxHealth, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInHand, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVisibilityBoundingBox, getYaw, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isBaby, isBlocking, isClimbing, isDead, isFallFlying, isHolding, isHolding, isHoldingOntoLadder, isInsideWall, isInSwimmingPose, isMobOrPlayer, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, kill, knockback, knockDownwards, markEffectsDirty, method_26317, method_26318, method_35053, method_35054, onAttacking, onEquipStack, onKilledBy, onTrackedDataSet, playBlockFallSound, playHurtSound, positionInPortal, positionInPortal, pushAway, pushAwayFrom, readFromPacket, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendToolBreakStatus, setAttacker, setAttacking, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setMovementSpeed, setNearbySongPlaying, setOnGround, setRiptideTicks, setSleepingPosition, setSprinting, setStackInHand, setStingerCount, setStuckArrowCount, setYaw, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, spawnConsumptionEffects, stopUsingItem, swimUpward, swingHand, takeKnockback, teleport, tickCramming, tickHandSwing, tickInVoid, tickRiptide, tickStatusEffects, triggerItemPickedUpByEntityCriteria, tryAttack, turnHead, updateLimbs, updatePostDeath, updateTrackedHeadRotation, updateTrackedPositionAndAngles
-
从类继承的方法 net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustSingleAxisMovementForCollisions, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canExplosionDestroyBlock, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, dealDamage, detach, discard, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getCameraBlockPos, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGameEventHandler, getHeight, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLerpedPos, getMaxAir, getMinFreezeDamageTicks, getMountedHeightOffset, getMovementDirection, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPickBlockStack, getPistonBehavior, getPitch, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getStandingEyeHeight, getSwimHeight, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getX, getY, getZ, handleAttack, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interact, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isImmuneToExplosion, isInLava, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSprinting, isSubmergedIn, isSubmergedInWater, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, method_36209, move, occludeVibrationSignals, offsetX, offsetZ, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, playStepSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, toNbtList, toNbtList, toString, unsetRemoved, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
-
-
-
-
字段详细资料
-
LOGGER
private static final Logger LOGGER
- Mappings:
Namespace Name Mixin selector official crLabk;cr:Lorg/apache/logging/log4j/Logger;intermediary field_13975Lnet/minecraft/class_3222;field_13975:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/server/network/ServerPlayerEntity;LOGGER:Lorg/apache/logging/log4j/Logger;
-
field_29769
private static final int field_29769
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official csLabk;cs:Iintermediary field_29769Lnet/minecraft/class_3222;field_29769:Inamed field_29769Lnet/minecraft/server/network/ServerPlayerEntity;field_29769:I
-
field_29770
private static final int field_29770
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official ctLabk;ct:Iintermediary field_29770Lnet/minecraft/class_3222;field_29770:Inamed field_29770Lnet/minecraft/server/network/ServerPlayerEntity;field_29770:I
-
networkHandler
public ServerPlayNetworkHandler networkHandler
- Mappings:
Namespace Name Mixin selector official bLabk;b:Lacb;intermediary field_13987Lnet/minecraft/class_3222;field_13987:Lnet/minecraft/class_3244;named networkHandlerLnet/minecraft/server/network/ServerPlayerEntity;networkHandler:Lnet/minecraft/server/network/ServerPlayNetworkHandler;
-
server
public final MinecraftServer server
- Mappings:
Namespace Name Mixin selector official cLabk;c:Lnet/minecraft/server/MinecraftServer;intermediary field_13995Lnet/minecraft/class_3222;field_13995:Lnet/minecraft/server/MinecraftServer;named serverLnet/minecraft/server/network/ServerPlayerEntity;server:Lnet/minecraft/server/MinecraftServer;
-
interactionManager
public final ServerPlayerInteractionManager interactionManager
- Mappings:
Namespace Name Mixin selector official dLabk;d:Labl;intermediary field_13974Lnet/minecraft/class_3222;field_13974:Lnet/minecraft/class_3225;named interactionManagerLnet/minecraft/server/network/ServerPlayerEntity;interactionManager:Lnet/minecraft/server/network/ServerPlayerInteractionManager;
-
removedEntities
private final IntList removedEntities
- Mappings:
Namespace Name Mixin selector official cuLabk;cu:Lit/unimi/dsi/fastutil/ints/IntList;intermediary field_13988Lnet/minecraft/class_3222;field_13988:Lit/unimi/dsi/fastutil/ints/IntList;named removedEntitiesLnet/minecraft/server/network/ServerPlayerEntity;removedEntities:Lit/unimi/dsi/fastutil/ints/IntList;
-
advancementTracker
private final PlayerAdvancementTracker advancementTracker
- Mappings:
Namespace Name Mixin selector official cvLabk;cv:Lwx;intermediary field_13970Lnet/minecraft/class_3222;field_13970:Lnet/minecraft/class_2985;named advancementTrackerLnet/minecraft/server/network/ServerPlayerEntity;advancementTracker:Lnet/minecraft/advancement/PlayerAdvancementTracker;
-
statHandler
private final ServerStatHandler statHandler
- Mappings:
Namespace Name Mixin selector official cwLabk;cw:Lafc;intermediary field_13966Lnet/minecraft/class_3222;field_13966:Lnet/minecraft/class_3442;named statHandlerLnet/minecraft/server/network/ServerPlayerEntity;statHandler:Lnet/minecraft/stat/ServerStatHandler;
-
lastHealthScore
private float lastHealthScore
- Mappings:
Namespace Name Mixin selector official cxLabk;cx:Fintermediary field_13963Lnet/minecraft/class_3222;field_13963:Fnamed lastHealthScoreLnet/minecraft/server/network/ServerPlayerEntity;lastHealthScore:F
-
lastFoodScore
private int lastFoodScore
- Mappings:
Namespace Name Mixin selector official cyLabk;cy:Iintermediary field_13983Lnet/minecraft/class_3222;field_13983:Inamed lastFoodScoreLnet/minecraft/server/network/ServerPlayerEntity;lastFoodScore:I
-
lastAirScore
private int lastAirScore
- Mappings:
Namespace Name Mixin selector official czLabk;cz:Iintermediary field_13968Lnet/minecraft/class_3222;field_13968:Inamed lastAirScoreLnet/minecraft/server/network/ServerPlayerEntity;lastAirScore:I
-
lastArmorScore
private int lastArmorScore
- Mappings:
Namespace Name Mixin selector official cALabk;cA:Iintermediary field_13982Lnet/minecraft/class_3222;field_13982:Inamed lastArmorScoreLnet/minecraft/server/network/ServerPlayerEntity;lastArmorScore:I
-
lastLevelScore
private int lastLevelScore
- Mappings:
Namespace Name Mixin selector official cBLabk;cB:Iintermediary field_13965Lnet/minecraft/class_3222;field_13965:Inamed lastLevelScoreLnet/minecraft/server/network/ServerPlayerEntity;lastLevelScore:I
-
lastExperienceScore
private int lastExperienceScore
- Mappings:
Namespace Name Mixin selector official cCLabk;cC:Iintermediary field_13980Lnet/minecraft/class_3222;field_13980:Inamed lastExperienceScoreLnet/minecraft/server/network/ServerPlayerEntity;lastExperienceScore:I
-
syncedHealth
private float syncedHealth
- Mappings:
Namespace Name Mixin selector official cDLabk;cD:Fintermediary field_13997Lnet/minecraft/class_3222;field_13997:Fnamed syncedHealthLnet/minecraft/server/network/ServerPlayerEntity;syncedHealth:F
-
syncedFoodLevel
private int syncedFoodLevel
- Mappings:
Namespace Name Mixin selector official cELabk;cE:Iintermediary field_13979Lnet/minecraft/class_3222;field_13979:Inamed syncedFoodLevelLnet/minecraft/server/network/ServerPlayerEntity;syncedFoodLevel:I
-
syncedSaturationIsZero
private boolean syncedSaturationIsZero
- Mappings:
Namespace Name Mixin selector official cFLabk;cF:Zintermediary field_13972Lnet/minecraft/class_3222;field_13972:Znamed syncedSaturationIsZeroLnet/minecraft/server/network/ServerPlayerEntity;syncedSaturationIsZero:Z
-
syncedExperience
private int syncedExperience
- Mappings:
Namespace Name Mixin selector official cGLabk;cG:Iintermediary field_13978Lnet/minecraft/class_3222;field_13978:Inamed syncedExperienceLnet/minecraft/server/network/ServerPlayerEntity;syncedExperience:I
-
joinInvulnerabilityTicks
private int joinInvulnerabilityTicks
- Mappings:
Namespace Name Mixin selector official cHLabk;cH:Iintermediary field_13998Lnet/minecraft/class_3222;field_13998:Inamed joinInvulnerabilityTicksLnet/minecraft/server/network/ServerPlayerEntity;joinInvulnerabilityTicks:I
-
clientChatVisibility
private ChatVisibility clientChatVisibility
- Mappings:
Namespace Name Mixin selector official cILabk;cI:Lbjd;intermediary field_13993Lnet/minecraft/class_3222;field_13993:Lnet/minecraft/class_1659;named clientChatVisibilityLnet/minecraft/server/network/ServerPlayerEntity;clientChatVisibility:Lnet/minecraft/client/option/ChatVisibility;
-
clientChatColorsEnabled
private boolean clientChatColorsEnabled
- Mappings:
Namespace Name Mixin selector official cJLabk;cJ:Zintermediary field_13971Lnet/minecraft/class_3222;field_13971:Znamed clientChatColorsEnabledLnet/minecraft/server/network/ServerPlayerEntity;clientChatColorsEnabled:Z
-
lastActionTime
private long lastActionTime
- Mappings:
Namespace Name Mixin selector official cKLabk;cK:Jintermediary field_13976Lnet/minecraft/class_3222;field_13976:Jnamed lastActionTimeLnet/minecraft/server/network/ServerPlayerEntity;lastActionTime:J
-
cameraEntity
private Entity cameraEntity
- Mappings:
Namespace Name Mixin selector official cLLabk;cL:Lasl;intermediary field_13984Lnet/minecraft/class_3222;field_13984:Lnet/minecraft/class_1297;named cameraEntityLnet/minecraft/server/network/ServerPlayerEntity;cameraEntity:Lnet/minecraft/entity/Entity;
-
inTeleportationState
private boolean inTeleportationState
- Mappings:
Namespace Name Mixin selector official cMLabk;cM:Zintermediary field_13985Lnet/minecraft/class_3222;field_13985:Znamed inTeleportationStateLnet/minecraft/server/network/ServerPlayerEntity;inTeleportationState:Z
-
seenCredits
private boolean seenCredits
- Mappings:
Namespace Name Mixin selector official cNLabk;cN:Zintermediary field_13969Lnet/minecraft/class_3222;field_13969:Znamed seenCreditsLnet/minecraft/server/network/ServerPlayerEntity;seenCredits:Z
-
recipeBook
private final ServerRecipeBook recipeBook
- Mappings:
Namespace Name Mixin selector official cOLabk;cO:Lafb;intermediary field_13996Lnet/minecraft/class_3222;field_13996:Lnet/minecraft/class_3441;named recipeBookLnet/minecraft/server/network/ServerPlayerEntity;recipeBook:Lnet/minecraft/server/network/ServerRecipeBook;
-
levitationStartPos
private Vec3d levitationStartPos
- Mappings:
Namespace Name Mixin selector official cPLabk;cP:Ldma;intermediary field_13992Lnet/minecraft/class_3222;field_13992:Lnet/minecraft/class_243;named levitationStartPosLnet/minecraft/server/network/ServerPlayerEntity;levitationStartPos:Lnet/minecraft/util/math/Vec3d;
-
levitationStartTick
private int levitationStartTick
- Mappings:
Namespace Name Mixin selector official cQLabk;cQ:Iintermediary field_13973Lnet/minecraft/class_3222;field_13973:Inamed levitationStartTickLnet/minecraft/server/network/ServerPlayerEntity;levitationStartTick:I
-
disconnected
private boolean disconnected
- Mappings:
Namespace Name Mixin selector official cRLabk;cR:Zintermediary field_13964Lnet/minecraft/class_3222;field_13964:Znamed disconnectedLnet/minecraft/server/network/ServerPlayerEntity;disconnected:Z
-
enteredNetherPos
@Nullable private @Nullable Vec3d enteredNetherPos
- Mappings:
Namespace Name Mixin selector official cSLabk;cS:Ldma;intermediary field_13994Lnet/minecraft/class_3222;field_13994:Lnet/minecraft/class_243;named enteredNetherPosLnet/minecraft/server/network/ServerPlayerEntity;enteredNetherPos:Lnet/minecraft/util/math/Vec3d;
-
watchedSection
private ChunkSectionPos 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.- 另请参阅:
getWatchedSection(),setWatchedSection(ChunkSectionPos)- Mappings:
Namespace Name Mixin selector official cTLabk;cT:Lgu;intermediary field_13990Lnet/minecraft/class_3222;field_13990:Lnet/minecraft/class_4076;named watchedSectionLnet/minecraft/server/network/ServerPlayerEntity;watchedSection:Lnet/minecraft/util/math/ChunkSectionPos;
-
spawnPointDimension
private RegistryKey<World> spawnPointDimension
- Mappings:
Namespace Name Mixin selector official cULabk;cU:Lwo;intermediary field_23191Lnet/minecraft/class_3222;field_23191:Lnet/minecraft/class_5321;named spawnPointDimensionLnet/minecraft/server/network/ServerPlayerEntity;spawnPointDimension:Lnet/minecraft/util/registry/RegistryKey;
-
spawnPointPosition
@Nullable private @Nullable BlockPos spawnPointPosition
- Mappings:
Namespace Name Mixin selector official cVLabk;cV:Lgb;intermediary field_23192Lnet/minecraft/class_3222;field_23192:Lnet/minecraft/class_2338;named spawnPointPositionLnet/minecraft/server/network/ServerPlayerEntity;spawnPointPosition:Lnet/minecraft/util/math/BlockPos;
-
spawnPointSet
private boolean spawnPointSet
- Mappings:
Namespace Name Mixin selector official cWLabk;cW:Zintermediary field_23193Lnet/minecraft/class_3222;field_23193:Znamed spawnPointSetLnet/minecraft/server/network/ServerPlayerEntity;spawnPointSet:Z
-
spawnAngle
private float spawnAngle
- Mappings:
Namespace Name Mixin selector official cXLabk;cX:Fintermediary field_26353Lnet/minecraft/class_3222;field_26353:Fnamed spawnAngleLnet/minecraft/server/network/ServerPlayerEntity;spawnAngle:F
-
textStream
private final TextStream textStream
- Mappings:
Namespace Name Mixin selector official cYLabk;cY:Lacg;intermediary field_26821Lnet/minecraft/class_3222;field_26821:Lnet/minecraft/class_5513;named textStreamLnet/minecraft/server/network/ServerPlayerEntity;textStream:Lnet/minecraft/server/filter/TextStream;
-
filterText
private boolean filterText
- Mappings:
Namespace Name Mixin selector official cZLabk;cZ:Zintermediary field_28860Lnet/minecraft/class_3222;field_28860:Znamed filterTextLnet/minecraft/server/network/ServerPlayerEntity;filterText:Z
-
screenHandlerSyncHandler
private final ScreenHandlerSyncHandler screenHandlerSyncHandler
- Mappings:
Namespace Name Mixin selector official daLabk;da:Lbly;intermediary field_29180Lnet/minecraft/class_3222;field_29180:Lnet/minecraft/class_5916;named screenHandlerSyncHandlerLnet/minecraft/server/network/ServerPlayerEntity;screenHandlerSyncHandler:Lnet/minecraft/screen/ScreenHandlerSyncHandler;
-
screenHandlerListener
private final ScreenHandlerListener screenHandlerListener
- Mappings:
Namespace Name Mixin selector official dbLabk;db:Lblx;intermediary field_29181Lnet/minecraft/class_3222;field_29181:Lnet/minecraft/class_1712;named screenHandlerListenerLnet/minecraft/server/network/ServerPlayerEntity;screenHandlerListener:Lnet/minecraft/screen/ScreenHandlerListener;
-
screenHandlerSyncId
private int screenHandlerSyncId
- Mappings:
Namespace Name Mixin selector official dcLabk;dc:Iintermediary field_13986Lnet/minecraft/class_3222;field_13986:Inamed screenHandlerSyncIdLnet/minecraft/server/network/ServerPlayerEntity;screenHandlerSyncId:I
-
pingMilliseconds
public int pingMilliseconds
- Mappings:
Namespace Name Mixin selector official eLabk;e:Iintermediary field_13967Lnet/minecraft/class_3222;field_13967:Inamed pingMillisecondsLnet/minecraft/server/network/ServerPlayerEntity;pingMilliseconds:I
-
notInAnyWorld
public boolean notInAnyWorld
- Mappings:
Namespace Name Mixin selector official fLabk;f:Zintermediary field_13989Lnet/minecraft/class_3222;field_13989:Znamed notInAnyWorldLnet/minecraft/server/network/ServerPlayerEntity;notInAnyWorld:Z
-
-
构造器详细资料
-
ServerPlayerEntity
public ServerPlayerEntity(MinecraftServer server, ServerWorld world, com.mojang.authlib.GameProfile profile)
- Mappings:
Namespace Name Mixin selector official <init>Labk;<init>(Lnet/minecraft/server/MinecraftServer;Labj;Lcom/mojang/authlib/GameProfile;)Vintermediary <init>Lnet/minecraft/class_3222;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_3218;Lcom/mojang/authlib/GameProfile;)Vnamed <init>Lnet/minecraft/server/network/ServerPlayerEntity;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/server/world/ServerWorld;Lcom/mojang/authlib/GameProfile;)V
-
-
方法详细资料
-
moveToSpawn
private void moveToSpawn(ServerWorld world)
- Mappings:
Namespace Name Mixin selector official dLabk;d(Labj;)Vintermediary method_14245Lnet/minecraft/class_3222;method_14245(Lnet/minecraft/class_3218;)Vnamed moveToSpawnLnet/minecraft/server/network/ServerPlayerEntity;moveToSpawn(Lnet/minecraft/server/world/ServerWorld;)V
-
calculateSpawnOffsetMultiplier
private int calculateSpawnOffsetMultiplier(int horizontalSpawnArea)
- Mappings:
Namespace Name Mixin selector official vLabk;v(I)Iintermediary method_14244Lnet/minecraft/class_3222;method_14244(I)Inamed calculateSpawnOffsetMultiplierLnet/minecraft/server/network/ServerPlayerEntity;calculateSpawnOffsetMultiplier(I)I
-
readCustomDataFromNbt
public void readCustomDataFromNbt(CompoundTag nbt)
- 覆盖:
readCustomDataFromNbt在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official aLasl;a(Lmv;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
writeCustomDataToNbt
public void writeCustomDataToNbt(CompoundTag nbt)
- 覆盖:
writeCustomDataToNbt在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official bLasl;b(Lmv;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
setExperiencePoints
public void setExperiencePoints(int int2)
- Mappings:
Namespace Name Mixin selector official aLabk;a(I)Vintermediary method_14228Lnet/minecraft/class_3222;method_14228(I)Vnamed setExperiencePointsLnet/minecraft/server/network/ServerPlayerEntity;setExperiencePoints(I)V
-
setExperienceLevel
public void setExperienceLevel(int level)
- Mappings:
Namespace Name Mixin selector official bLabk;b(I)Vintermediary method_14252Lnet/minecraft/class_3222;method_14252(I)Vnamed setExperienceLevelLnet/minecraft/server/network/ServerPlayerEntity;setExperienceLevel(I)V
-
addExperienceLevels
public void addExperienceLevels(int levels)
- 覆盖:
addExperienceLevels在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official cLbjf;c(I)Vintermediary method_7316Lnet/minecraft/class_1657;method_7316(I)Vnamed addExperienceLevelsLnet/minecraft/entity/player/PlayerEntity;addExperienceLevels(I)V
-
applyEnchantmentCosts
public void applyEnchantmentCosts(ItemStack enchantedItem, int experienceLevels)
- 覆盖:
applyEnchantmentCosts在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official aLbjf;a(Lbpr;I)Vintermediary method_7286Lnet/minecraft/class_1657;method_7286(Lnet/minecraft/class_1799;I)Vnamed applyEnchantmentCostsLnet/minecraft/entity/player/PlayerEntity;applyEnchantmentCosts(Lnet/minecraft/item/ItemStack;I)V
-
onSpawn
private void onSpawn(ScreenHandler screenHandler)
- Mappings:
Namespace Name Mixin selector official aLabk;a(Lbll;)Vintermediary method_14235Lnet/minecraft/class_3222;method_14235(Lnet/minecraft/class_1703;)Vnamed onSpawnLnet/minecraft/server/network/ServerPlayerEntity;onSpawn(Lnet/minecraft/screen/ScreenHandler;)V
-
method_34225
public void method_34225()
- Mappings:
Namespace Name Mixin selector official fLabk;f()Vintermediary method_34225Lnet/minecraft/class_3222;method_34225()Vnamed method_34225Lnet/minecraft/server/network/ServerPlayerEntity;method_34225()V
-
enterCombat
public void enterCombat()
- 覆盖:
enterCombat在类中LivingEntity- Mappings:
Namespace Name Mixin selector official gLasy;g()Vintermediary method_6000Lnet/minecraft/class_1309;method_6000()Vnamed enterCombatLnet/minecraft/entity/LivingEntity;enterCombat()V
-
endCombat
public void endCombat()
- 覆盖:
endCombat在类中LivingEntity- Mappings:
Namespace Name Mixin selector official hLasy;h()Vintermediary method_6044Lnet/minecraft/class_1309;method_6044()Vnamed endCombatLnet/minecraft/entity/LivingEntity;endCombat()V
-
onBlockCollision
protected void onBlockCollision(BlockState state)
- 覆盖:
onBlockCollision在类中Entity- Mappings:
Namespace Name Mixin selector official aLasl;a(Lcjr;)Vintermediary method_5622Lnet/minecraft/class_1297;method_5622(Lnet/minecraft/class_2680;)Vnamed onBlockCollisionLnet/minecraft/entity/Entity;onBlockCollision(Lnet/minecraft/block/BlockState;)V
-
createCooldownManager
protected ItemCooldownManager createCooldownManager()
- 覆盖:
createCooldownManager在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official iLbjf;i()Lbpo;intermediary method_7265Lnet/minecraft/class_1657;method_7265()Lnet/minecraft/class_1796;named createCooldownManagerLnet/minecraft/entity/player/PlayerEntity;createCooldownManager()Lnet/minecraft/entity/player/ItemCooldownManager;
-
tick
public void tick()
- 覆盖:
tick在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official jLasl;j()Vintermediary method_5773Lnet/minecraft/class_1297;method_5773()Vnamed tickLnet/minecraft/entity/Entity;tick()V
-
playerTick
public void playerTick()
- Mappings:
Namespace Name Mixin selector official w_Labk;w_()Vintermediary method_14226Lnet/minecraft/class_3222;method_14226()Vnamed playerTickLnet/minecraft/server/network/ServerPlayerEntity;playerTick()V
-
updateScores
private void updateScores(ScoreboardCriterion criterion, int score)
- Mappings:
Namespace Name Mixin selector official aLabk;a(Ldnb;I)Vintermediary method_14212Lnet/minecraft/class_3222;method_14212(Lnet/minecraft/class_274;I)Vnamed updateScoresLnet/minecraft/server/network/ServerPlayerEntity;updateScores(Lnet/minecraft/scoreboard/ScoreboardCriterion;I)V
-
onDeath
public void onDeath(DamageSource source)
- 覆盖:
onDeath在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official aLasy;a(Larv;)Vintermediary method_6078Lnet/minecraft/class_1309;method_6078(Lnet/minecraft/class_1282;)Vnamed onDeathLnet/minecraft/entity/LivingEntity;onDeath(Lnet/minecraft/entity/damage/DamageSource;)V
-
forgiveMobAnger
private void forgiveMobAnger()
- Mappings:
Namespace Name Mixin selector official fALabk;fA()Vintermediary method_29779Lnet/minecraft/class_3222;method_29779()Vnamed forgiveMobAngerLnet/minecraft/server/network/ServerPlayerEntity;forgiveMobAnger()V
-
updateKilledAdvancementCriterion
public void updateKilledAdvancementCriterion(Entity killer, int score, DamageSource damageSource)
- 覆盖:
updateKilledAdvancementCriterion在类中Entity- Mappings:
Namespace Name Mixin selector official aLasl;a(Lasl;ILarv;)Vintermediary method_5716Lnet/minecraft/class_1297;method_5716(Lnet/minecraft/class_1297;ILnet/minecraft/class_1282;)Vnamed updateKilledAdvancementCriterionLnet/minecraft/entity/Entity;updateKilledAdvancementCriterion(Lnet/minecraft/entity/Entity;ILnet/minecraft/entity/damage/DamageSource;)V
-
updateScoreboardScore
private void updateScoreboardScore(String playerName, String team, ScoreboardCriterion[] scoreboardCriterion)
- Mappings:
Namespace Name Mixin selector official aLabk;a(Ljava/lang/String;Ljava/lang/String;[Ldnb;)Vintermediary method_14227Lnet/minecraft/class_3222;method_14227(Ljava/lang/String;Ljava/lang/String;[Lnet/minecraft/class_274;)Vnamed updateScoreboardScoreLnet/minecraft/server/network/ServerPlayerEntity;updateScoreboardScore(Ljava/lang/String;Ljava/lang/String;[Lnet/minecraft/scoreboard/ScoreboardCriterion;)V
-
damage
public boolean damage(DamageSource source, float amount)
- 覆盖:
damage在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official aLasl;a(Larv;F)Zintermediary method_5643Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
shouldDamagePlayer
public boolean shouldDamagePlayer(PlayerEntity player)
- 覆盖:
shouldDamagePlayer在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official aLbjf;a(Lbjf;)Zintermediary method_7256Lnet/minecraft/class_1657;method_7256(Lnet/minecraft/class_1657;)Znamed shouldDamagePlayerLnet/minecraft/entity/player/PlayerEntity;shouldDamagePlayer(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
isPvpEnabled
private boolean isPvpEnabled()
- Mappings:
Namespace Name Mixin selector official fBLabk;fB()Zintermediary method_14230Lnet/minecraft/class_3222;method_14230()Znamed isPvpEnabledLnet/minecraft/server/network/ServerPlayerEntity;isPvpEnabled()Z
-
getTeleportTarget
@Nullable protected @Nullable TeleportTarget getTeleportTarget(ServerWorld destination)
- 覆盖:
getTeleportTarget在类中Entity- Mappings:
Namespace Name Mixin selector official aLasl;a(Labj;)Ldgi;intermediary method_30329Lnet/minecraft/class_1297;method_30329(Lnet/minecraft/class_3218;)Lnet/minecraft/class_5454;named getTeleportTargetLnet/minecraft/entity/Entity;getTeleportTarget(Lnet/minecraft/server/world/ServerWorld;)Lnet/minecraft/world/TeleportTarget;
-
moveToWorld
@Nullable public @Nullable Entity moveToWorld(ServerWorld destination)
Moves this entity to another world.Note all entities except server player entities are completely recreated at the destination.
- 覆盖:
moveToWorld在类中Entity- 返回:
- the entity in the other world
- Mappings:
Namespace Name Mixin selector official bLasl;b(Labj;)Lasl;intermediary method_5731Lnet/minecraft/class_1297;method_5731(Lnet/minecraft/class_3218;)Lnet/minecraft/class_1297;named moveToWorldLnet/minecraft/entity/Entity;moveToWorld(Lnet/minecraft/server/world/ServerWorld;)Lnet/minecraft/entity/Entity;
-
createEndSpawnPlatform
private void createEndSpawnPlatform(ServerWorld world, BlockPos centerPos)
- Mappings:
Namespace Name Mixin selector official aLabk;a(Labj;Lgb;)Vintermediary method_30313Lnet/minecraft/class_3222;method_30313(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Vnamed createEndSpawnPlatformLnet/minecraft/server/network/ServerPlayerEntity;createEndSpawnPlatform(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)V
-
getPortalRect
protected Optional<PortalUtil.Rectangle> getPortalRect(ServerWorld destWorld, BlockPos destPos, boolean destIsNether)
- 覆盖:
getPortalRect在类中Entity- Mappings:
Namespace Name Mixin selector official aLasl;a(Labj;Lgb;Z)Ljava/util/Optional;intermediary method_30330Lnet/minecraft/class_1297;method_30330(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Z)Ljava/util/Optional;named getPortalRectLnet/minecraft/entity/Entity;getPortalRect(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Z)Ljava/util/Optional;
-
worldChanged
private void worldChanged(ServerWorld origin)
- Mappings:
Namespace Name Mixin selector official eLabk;e(Labj;)Vintermediary method_18783Lnet/minecraft/class_3222;method_18783(Lnet/minecraft/class_3218;)Vnamed worldChangedLnet/minecraft/server/network/ServerPlayerEntity;worldChanged(Lnet/minecraft/server/world/ServerWorld;)V
-
canBeSpectated
public boolean canBeSpectated(ServerPlayerEntity spectator)
- 覆盖:
canBeSpectated在类中Entity- Mappings:
Namespace Name Mixin selector official aLasl;a(Labk;)Zintermediary method_5680Lnet/minecraft/class_1297;method_5680(Lnet/minecraft/class_3222;)Znamed canBeSpectatedLnet/minecraft/entity/Entity;canBeSpectated(Lnet/minecraft/server/network/ServerPlayerEntity;)Z
-
sendBlockEntityUpdate
private void sendBlockEntityUpdate(BlockEntity blockEntity)
- Mappings:
Namespace Name Mixin selector official aLabk;a(Lchp;)Vintermediary method_14216Lnet/minecraft/class_3222;method_14216(Lnet/minecraft/class_2586;)Vnamed sendBlockEntityUpdateLnet/minecraft/server/network/ServerPlayerEntity;sendBlockEntityUpdate(Lnet/minecraft/block/entity/BlockEntity;)V
-
sendPickup
public void sendPickup(Entity item, int count)
- 覆盖:
sendPickup在类中LivingEntity- Mappings:
Namespace Name Mixin selector official aLasy;a(Lasl;I)Vintermediary method_6103Lnet/minecraft/class_1309;method_6103(Lnet/minecraft/class_1297;I)Vnamed sendPickupLnet/minecraft/entity/LivingEntity;sendPickup(Lnet/minecraft/entity/Entity;I)V
-
trySleep
public com.mojang.datafixers.util.Either<PlayerEntity.SleepFailureReason,Unit> trySleep(BlockPos pos)
- 覆盖:
trySleep在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official aLbjf;a(Lgb;)Lcom/mojang/datafixers/util/Either;intermediary method_7269Lnet/minecraft/class_1657;method_7269(Lnet/minecraft/class_2338;)Lcom/mojang/datafixers/util/Either;named trySleepLnet/minecraft/entity/player/PlayerEntity;trySleep(Lnet/minecraft/util/math/BlockPos;)Lcom/mojang/datafixers/util/Either;
-
sleep
public void sleep(BlockPos pos)
- 覆盖:
sleep在类中LivingEntity- Mappings:
Namespace Name Mixin selector official bLasy;b(Lgb;)Vintermediary method_18403Lnet/minecraft/class_1309;method_18403(Lnet/minecraft/class_2338;)Vnamed sleepLnet/minecraft/entity/LivingEntity;sleep(Lnet/minecraft/util/math/BlockPos;)V
-
isBedTooFarAway
private boolean isBedTooFarAway(BlockPos pos, Direction direction)
- Mappings:
Namespace Name Mixin selector official aLabk;a(Lgb;Lgg;)Zintermediary method_26285Lnet/minecraft/class_3222;method_26285(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Znamed isBedTooFarAwayLnet/minecraft/server/network/ServerPlayerEntity;isBedTooFarAway(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-
isBedTooFarAway
private boolean isBedTooFarAway(BlockPos pos)
- Mappings:
Namespace Name Mixin selector official gLabk;g(Lgb;)Zintermediary method_26287Lnet/minecraft/class_3222;method_26287(Lnet/minecraft/class_2338;)Znamed isBedTooFarAwayLnet/minecraft/server/network/ServerPlayerEntity;isBedTooFarAway(Lnet/minecraft/util/math/BlockPos;)Z
-
isBedObstructed
private boolean isBedObstructed(BlockPos pos, Direction direction)
- Mappings:
Namespace Name Mixin selector official bLabk;b(Lgb;Lgg;)Zintermediary method_26286Lnet/minecraft/class_3222;method_26286(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Znamed isBedObstructedLnet/minecraft/server/network/ServerPlayerEntity;isBedObstructed(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-
wakeUp
public void wakeUp(boolean bool, boolean updateSleepingPlayers)- 覆盖:
wakeUp在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official aLbjf;a(ZZ)Vintermediary method_7358Lnet/minecraft/class_1657;method_7358(ZZ)Vnamed wakeUpLnet/minecraft/entity/player/PlayerEntity;wakeUp(ZZ)V
-
startRiding
public boolean startRiding(Entity entity, boolean force)
- 覆盖:
startRiding在类中Entity- Mappings:
Namespace Name Mixin selector official aLasl;a(Lasl;Z)Zintermediary method_5873Lnet/minecraft/class_1297;method_5873(Lnet/minecraft/class_1297;Z)Znamed startRidingLnet/minecraft/entity/Entity;startRiding(Lnet/minecraft/entity/Entity;Z)Z
-
stopRiding
public void stopRiding()
- 覆盖:
stopRiding在类中LivingEntity- Mappings:
Namespace Name Mixin selector official lLasl;l()Vintermediary method_5848Lnet/minecraft/class_1297;method_5848()Vnamed stopRidingLnet/minecraft/entity/Entity;stopRiding()V
-
requestTeleportAndDismount
public void requestTeleportAndDismount(double destX, double destY, double destZ)- 覆盖:
requestTeleportAndDismount在类中Entity- Mappings:
Namespace Name Mixin selector official aLasl;a(DDD)Vintermediary method_33567Lnet/minecraft/class_1297;method_33567(DDD)Vnamed requestTeleportAndDismountLnet/minecraft/entity/Entity;requestTeleportAndDismount(DDD)V
-
isInvulnerableTo
public boolean isInvulnerableTo(DamageSource damageSource)
- 覆盖:
isInvulnerableTo在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official bLasl;b(Larv;)Zintermediary method_5679Lnet/minecraft/class_1297;method_5679(Lnet/minecraft/class_1282;)Znamed isInvulnerableToLnet/minecraft/entity/Entity;isInvulnerableTo(Lnet/minecraft/entity/damage/DamageSource;)Z
-
fall
protected void fall(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPosition)- 覆盖:
fall在类中LivingEntity- Mappings:
Namespace Name Mixin selector official aLasl;a(DZLcjr;Lgb;)Vintermediary method_5623Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)Vnamed fallLnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
-
applyMovementEffects
protected void applyMovementEffects(BlockPos pos)
- 覆盖:
applyMovementEffects在类中LivingEntity- Mappings:
Namespace Name Mixin selector official cLasy;c(Lgb;)Vintermediary method_6126Lnet/minecraft/class_1309;method_6126(Lnet/minecraft/class_2338;)Vnamed applyMovementEffectsLnet/minecraft/entity/LivingEntity;applyMovementEffects(Lnet/minecraft/util/math/BlockPos;)V
-
handleFall
public void handleFall(double heightDifference, boolean onGround)- Mappings:
Namespace Name Mixin selector official aLabk;a(DZ)Vintermediary method_14207Lnet/minecraft/class_3222;method_14207(DZ)Vnamed handleFallLnet/minecraft/server/network/ServerPlayerEntity;handleFall(DZ)V
-
openEditSignScreen
public void openEditSignScreen(SignBlockEntity sign)
- 覆盖:
openEditSignScreen在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official aLbjf;a(Lcip;)Vintermediary method_7311Lnet/minecraft/class_1657;method_7311(Lnet/minecraft/class_2625;)Vnamed openEditSignScreenLnet/minecraft/entity/player/PlayerEntity;openEditSignScreen(Lnet/minecraft/block/entity/SignBlockEntity;)V
-
incrementScreenHandlerSyncId
private void incrementScreenHandlerSyncId()
- Mappings:
Namespace Name Mixin selector official fCLabk;fC()Vintermediary method_14237Lnet/minecraft/class_3222;method_14237()Vnamed incrementScreenHandlerSyncIdLnet/minecraft/server/network/ServerPlayerEntity;incrementScreenHandlerSyncId()V
-
openHandledScreen
public OptionalInt openHandledScreen(@Nullable @Nullable NamedScreenHandlerFactory factory)
- 覆盖:
openHandledScreen在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official aLbjf;a(Larj;)Ljava/util/OptionalInt;intermediary method_17355Lnet/minecraft/class_1657;method_17355(Lnet/minecraft/class_3908;)Ljava/util/OptionalInt;named openHandledScreenLnet/minecraft/entity/player/PlayerEntity;openHandledScreen(Lnet/minecraft/screen/NamedScreenHandlerFactory;)Ljava/util/OptionalInt;
-
sendTradeOffers
public void sendTradeOffers(int syncId, TradeOfferList offers, int levelProgress, int experience, boolean leveled, boolean refreshable)- 覆盖:
sendTradeOffers在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official aLbjf;a(ILbup;IIZZ)Vintermediary method_17354Lnet/minecraft/class_1657;method_17354(ILnet/minecraft/class_1916;IIZZ)Vnamed sendTradeOffersLnet/minecraft/entity/player/PlayerEntity;sendTradeOffers(ILnet/minecraft/village/TradeOfferList;IIZZ)V
-
openHorseInventory
public void openHorseInventory(HorseBaseEntity horse, Inventory inventory)
- 覆盖:
openHorseInventory在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official aLbjf;a(Lbek;Laqz;)Vintermediary method_7291Lnet/minecraft/class_1657;method_7291(Lnet/minecraft/class_1496;Lnet/minecraft/class_1263;)Vnamed openHorseInventoryLnet/minecraft/entity/player/PlayerEntity;openHorseInventory(Lnet/minecraft/entity/passive/HorseBaseEntity;Lnet/minecraft/inventory/Inventory;)V
-
useBook
public void useBook(ItemStack book, Hand hand)
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.- 覆盖:
useBook在类中PlayerEntity- 参数:
book- the bookhand- the hand holding the book- Mappings:
Namespace Name Mixin selector official aLbjf;a(Lbpr;Larf;)Vintermediary method_7315Lnet/minecraft/class_1657;method_7315(Lnet/minecraft/class_1799;Lnet/minecraft/class_1268;)Vnamed useBookLnet/minecraft/entity/player/PlayerEntity;useBook(Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Hand;)V
-
openCommandBlockScreen
public void openCommandBlockScreen(CommandBlockBlockEntity commandBlock)
- 覆盖:
openCommandBlockScreen在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official aLbjf;a(Lchw;)Vintermediary method_7323Lnet/minecraft/class_1657;method_7323(Lnet/minecraft/class_2593;)Vnamed openCommandBlockScreenLnet/minecraft/entity/player/PlayerEntity;openCommandBlockScreen(Lnet/minecraft/block/entity/CommandBlockBlockEntity;)V
-
closeHandledScreen
public void closeHandledScreen()
- 覆盖:
closeHandledScreen在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official mLbjf;m()Vintermediary method_7346Lnet/minecraft/class_1657;method_7346()Vnamed closeHandledScreenLnet/minecraft/entity/player/PlayerEntity;closeHandledScreen()V
-
closeScreenHandler
public void closeScreenHandler()
Runs closing tasks for the current screen handler and sets it to theplayerScreenHandler.- Mappings:
Namespace Name Mixin selector official nLabk;n()Vintermediary method_14247Lnet/minecraft/class_3222;method_14247()Vnamed closeScreenHandlerLnet/minecraft/server/network/ServerPlayerEntity;closeScreenHandler()V
-
updateInput
public void updateInput(float sidewaysSpeed, float forwardSpeed, boolean jumping, boolean sneaking)- Mappings:
Namespace Name Mixin selector official aLabk;a(FFZZ)Vintermediary method_14218Lnet/minecraft/class_3222;method_14218(FFZZ)Vnamed updateInputLnet/minecraft/server/network/ServerPlayerEntity;updateInput(FFZZ)V
-
increaseStat
public void increaseStat(Stat<?> stat, int amount)
- 覆盖:
increaseStat在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official aLbjf;a(Lafd;I)Vintermediary method_7342Lnet/minecraft/class_1657;method_7342(Lnet/minecraft/class_3445;I)Vnamed increaseStatLnet/minecraft/entity/player/PlayerEntity;increaseStat(Lnet/minecraft/stat/Stat;I)V
-
resetStat
public void resetStat(Stat<?> stat)
- 覆盖:
resetStat在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official aLbjf;a(Lafd;)Vintermediary method_7266Lnet/minecraft/class_1657;method_7266(Lnet/minecraft/class_3445;)Vnamed resetStatLnet/minecraft/entity/player/PlayerEntity;resetStat(Lnet/minecraft/stat/Stat;)V
-
unlockRecipes
public int unlockRecipes(Collection<Recipe<?>> recipes)
- 覆盖:
unlockRecipes在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official aLbjf;a(Ljava/util/Collection;)Iintermediary method_7254Lnet/minecraft/class_1657;method_7254(Ljava/util/Collection;)Inamed unlockRecipesLnet/minecraft/entity/player/PlayerEntity;unlockRecipes(Ljava/util/Collection;)I
-
unlockRecipes
public void unlockRecipes(Identifier[] ids)
- 覆盖:
unlockRecipes在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official aLbjf;a([Lwp;)Vintermediary method_7335Lnet/minecraft/class_1657;method_7335([Lnet/minecraft/class_2960;)Vnamed unlockRecipesLnet/minecraft/entity/player/PlayerEntity;unlockRecipes([Lnet/minecraft/util/Identifier;)V
-
lockRecipes
public int lockRecipes(Collection<Recipe<?>> recipes)
- 覆盖:
lockRecipes在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official bLbjf;b(Ljava/util/Collection;)Iintermediary method_7333Lnet/minecraft/class_1657;method_7333(Ljava/util/Collection;)Inamed lockRecipesLnet/minecraft/entity/player/PlayerEntity;lockRecipes(Ljava/util/Collection;)I
-
addExperience
public void addExperience(int experience)
- 覆盖:
addExperience在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official dLbjf;d(I)Vintermediary method_7255Lnet/minecraft/class_1657;method_7255(I)Vnamed addExperienceLnet/minecraft/entity/player/PlayerEntity;addExperience(I)V
-
onDisconnect
public void onDisconnect()
- Mappings:
Namespace Name Mixin selector official oLabk;o()Vintermediary method_14231Lnet/minecraft/class_3222;method_14231()Vnamed onDisconnectLnet/minecraft/server/network/ServerPlayerEntity;onDisconnect()V
-
isDisconnected
public boolean isDisconnected()
- Mappings:
Namespace Name Mixin selector official pLabk;p()Zintermediary method_14239Lnet/minecraft/class_3222;method_14239()Znamed isDisconnectedLnet/minecraft/server/network/ServerPlayerEntity;isDisconnected()Z
-
markHealthDirty
public void markHealthDirty()
- Mappings:
Namespace Name Mixin selector official x_Labk;x_()Vintermediary method_14217Lnet/minecraft/class_3222;method_14217()Vnamed markHealthDirtyLnet/minecraft/server/network/ServerPlayerEntity;markHealthDirty()V
-
sendMessage
public void sendMessage(Text message, boolean actionBar)
- 覆盖:
sendMessage在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official aLbjf;a(Lon;Z)Vintermediary method_7353Lnet/minecraft/class_1657;method_7353(Lnet/minecraft/class_2561;Z)Vnamed sendMessageLnet/minecraft/entity/player/PlayerEntity;sendMessage(Lnet/minecraft/text/Text;Z)V
-
consumeItem
protected void consumeItem()
- 覆盖:
consumeItem在类中LivingEntity- Mappings:
Namespace Name Mixin selector official rLasy;r()Vintermediary method_6040Lnet/minecraft/class_1309;method_6040()Vnamed consumeItemLnet/minecraft/entity/LivingEntity;consumeItem()V
-
lookAt
public void lookAt(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target)
- 覆盖:
lookAt在类中LivingEntity- Mappings:
Namespace Name Mixin selector official aLasl;a(Ldp$a;Ldma;)Vintermediary method_5702Lnet/minecraft/class_1297;method_5702(Lnet/minecraft/class_2183$class_2184;Lnet/minecraft/class_243;)Vnamed lookAtLnet/minecraft/entity/Entity;lookAt(Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;Lnet/minecraft/util/math/Vec3d;)V
-
lookAtEntity
public void lookAtEntity(EntityAnchorArgumentType.EntityAnchor anchorPoint, Entity targetEntity, EntityAnchorArgumentType.EntityAnchor targetAnchor)
- Mappings:
Namespace Name Mixin selector official aLabk;a(Ldp$a;Lasl;Ldp$a;)Vintermediary method_14222Lnet/minecraft/class_3222;method_14222(Lnet/minecraft/class_2183$class_2184;Lnet/minecraft/class_1297;Lnet/minecraft/class_2183$class_2184;)Vnamed lookAtEntityLnet/minecraft/server/network/ServerPlayerEntity;lookAtEntity(Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;Lnet/minecraft/entity/Entity;Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;)V
-
copyFrom
public void copyFrom(ServerPlayerEntity oldPlayer, boolean alive)
- Mappings:
Namespace Name Mixin selector official aLabk;a(Labk;Z)Vintermediary method_14203Lnet/minecraft/class_3222;method_14203(Lnet/minecraft/class_3222;Z)Vnamed copyFromLnet/minecraft/server/network/ServerPlayerEntity;copyFrom(Lnet/minecraft/server/network/ServerPlayerEntity;Z)V
-
onStatusEffectApplied
protected void onStatusEffectApplied(StatusEffectInstance effect)
- 覆盖:
onStatusEffectApplied在类中LivingEntity- Mappings:
Namespace Name Mixin selector official aLasy;a(Lasf;)Vintermediary method_6020Lnet/minecraft/class_1309;method_6020(Lnet/minecraft/class_1293;)Vnamed onStatusEffectAppliedLnet/minecraft/entity/LivingEntity;onStatusEffectApplied(Lnet/minecraft/entity/effect/StatusEffectInstance;)V
-
onStatusEffectUpgraded
protected void onStatusEffectUpgraded(StatusEffectInstance effect, boolean reapplyEffect)
- 覆盖:
onStatusEffectUpgraded在类中LivingEntity- Mappings:
Namespace Name Mixin selector official aLasy;a(Lasf;Z)Vintermediary method_6009Lnet/minecraft/class_1309;method_6009(Lnet/minecraft/class_1293;Z)Vnamed onStatusEffectUpgradedLnet/minecraft/entity/LivingEntity;onStatusEffectUpgraded(Lnet/minecraft/entity/effect/StatusEffectInstance;Z)V
-
onStatusEffectRemoved
protected void onStatusEffectRemoved(StatusEffectInstance effect)
- 覆盖:
onStatusEffectRemoved在类中LivingEntity- Mappings:
Namespace Name Mixin selector official bLasy;b(Lasf;)Vintermediary method_6129Lnet/minecraft/class_1309;method_6129(Lnet/minecraft/class_1293;)Vnamed onStatusEffectRemovedLnet/minecraft/entity/LivingEntity;onStatusEffectRemoved(Lnet/minecraft/entity/effect/StatusEffectInstance;)V
-
requestTeleport
public void requestTeleport(double destX, double destY, double destZ)- 覆盖:
requestTeleport在类中Entity- Mappings:
Namespace Name Mixin selector official bLasl;b(DDD)Vintermediary method_5859Lnet/minecraft/class_1297;method_5859(DDD)Vnamed requestTeleportLnet/minecraft/entity/Entity;requestTeleport(DDD)V
-
refreshPositionAfterTeleport
public void refreshPositionAfterTeleport(double x, double y, double z)- 覆盖:
refreshPositionAfterTeleport在类中Entity- Mappings:
Namespace Name Mixin selector official cLasl;c(DDD)Vintermediary method_24203Lnet/minecraft/class_1297;method_24203(DDD)Vnamed refreshPositionAfterTeleportLnet/minecraft/entity/Entity;refreshPositionAfterTeleport(DDD)V
-
addCritParticles
public void addCritParticles(Entity target)
- 覆盖:
addCritParticles在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official aLbjf;a(Lasl;)Vintermediary method_7277Lnet/minecraft/class_1657;method_7277(Lnet/minecraft/class_1297;)Vnamed addCritParticlesLnet/minecraft/entity/player/PlayerEntity;addCritParticles(Lnet/minecraft/entity/Entity;)V
-
addEnchantedHitParticles
public void addEnchantedHitParticles(Entity target)
- 覆盖:
addEnchantedHitParticles在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official bLbjf;b(Lasl;)Vintermediary method_7304Lnet/minecraft/class_1657;method_7304(Lnet/minecraft/class_1297;)Vnamed addEnchantedHitParticlesLnet/minecraft/entity/player/PlayerEntity;addEnchantedHitParticles(Lnet/minecraft/entity/Entity;)V
-
sendAbilitiesUpdate
public void sendAbilitiesUpdate()
- 覆盖:
sendAbilitiesUpdate在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official sLbjf;s()Vintermediary method_7355Lnet/minecraft/class_1657;method_7355()Vnamed sendAbilitiesUpdateLnet/minecraft/entity/player/PlayerEntity;sendAbilitiesUpdate()V
-
getServerWorld
public ServerWorld getServerWorld()
- Mappings:
Namespace Name Mixin selector official tLabk;t()Labj;intermediary method_14220Lnet/minecraft/class_3222;method_14220()Lnet/minecraft/class_3218;named getServerWorldLnet/minecraft/server/network/ServerPlayerEntity;getServerWorld()Lnet/minecraft/server/world/ServerWorld;
-
changeGameMode
public boolean changeGameMode(GameMode gameMode)
- Mappings:
Namespace Name Mixin selector official aLabk;a(Lbvo;)Zintermediary method_7336Lnet/minecraft/class_3222;method_7336(Lnet/minecraft/class_1934;)Znamed changeGameModeLnet/minecraft/server/network/ServerPlayerEntity;changeGameMode(Lnet/minecraft/world/GameMode;)Z
-
isSpectator
public boolean isSpectator()
- 指定者:
isSpectator在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official a_Lasl;a_()Zintermediary method_7325Lnet/minecraft/class_1297;method_7325()Znamed isSpectatorLnet/minecraft/entity/Entity;isSpectator()Z
-
isCreative
public boolean isCreative()
Returns whether this player is in creative mode.- 指定者:
isCreative在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official b_Lbjf;b_()Zintermediary method_7337Lnet/minecraft/class_1657;method_7337()Znamed isCreativeLnet/minecraft/entity/player/PlayerEntity;isCreative()Z
-
sendSystemMessage
public void sendSystemMessage(Text message, UUID senderUuid)
- 指定者:
sendSystemMessage在接口中CommandOutput- 覆盖:
sendSystemMessage在类中Entity- Mappings:
Namespace Name Mixin selector official aLdf;a(Lon;Ljava/util/UUID;)Vintermediary method_9203Lnet/minecraft/class_2165;method_9203(Lnet/minecraft/class_2561;Ljava/util/UUID;)Vnamed sendSystemMessageLnet/minecraft/server/command/CommandOutput;sendSystemMessage(Lnet/minecraft/text/Text;Ljava/util/UUID;)V
-
sendMessage
public void sendMessage(Text message, MessageType type, UUID senderUuid)
- Mappings:
Namespace Name Mixin selector official aLabk;a(Lon;Lok;Ljava/util/UUID;)Vintermediary method_14254Lnet/minecraft/class_3222;method_14254(Lnet/minecraft/class_2561;Lnet/minecraft/class_2556;Ljava/util/UUID;)Vnamed sendMessageLnet/minecraft/server/network/ServerPlayerEntity;sendMessage(Lnet/minecraft/text/Text;Lnet/minecraft/network/MessageType;Ljava/util/UUID;)V
-
getIp
public String getIp()
- Mappings:
Namespace Name Mixin selector official uLabk;u()Ljava/lang/String;intermediary method_14209Lnet/minecraft/class_3222;method_14209()Ljava/lang/String;named getIpLnet/minecraft/server/network/ServerPlayerEntity;getIp()Ljava/lang/String;
-
setClientSettings
public void setClientSettings(ClientSettingsC2SPacket packet)
- Mappings:
Namespace Name Mixin selector official aLabk;a(Ltn;)Vintermediary method_14213Lnet/minecraft/class_3222;method_14213(Lnet/minecraft/class_2803;)Vnamed setClientSettingsLnet/minecraft/server/network/ServerPlayerEntity;setClientSettings(Lnet/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket;)V
-
method_34879
public boolean method_34879()
- Mappings:
Namespace Name Mixin selector official vLabk;v()Zintermediary method_34879Lnet/minecraft/class_3222;method_34879()Znamed method_34879Lnet/minecraft/server/network/ServerPlayerEntity;method_34879()Z
-
getClientChatVisibility
public ChatVisibility getClientChatVisibility()
- Mappings:
Namespace Name Mixin selector official wLabk;w()Lbjd;intermediary method_14238Lnet/minecraft/class_3222;method_14238()Lnet/minecraft/class_1659;named getClientChatVisibilityLnet/minecraft/server/network/ServerPlayerEntity;getClientChatVisibility()Lnet/minecraft/client/option/ChatVisibility;
-
acceptsMessage
private boolean acceptsMessage(MessageType type)
- Mappings:
Namespace Name Mixin selector official aLabk;a(Lok;)Zintermediary method_33794Lnet/minecraft/class_3222;method_33794(Lnet/minecraft/class_2556;)Znamed acceptsMessageLnet/minecraft/server/network/ServerPlayerEntity;acceptsMessage(Lnet/minecraft/network/MessageType;)Z
-
sendResourcePackUrl
public void sendResourcePackUrl(String url, String hash, boolean required)
- Mappings:
Namespace Name Mixin selector official aLabk;a(Ljava/lang/String;Ljava/lang/String;Z)Vintermediary method_14255Lnet/minecraft/class_3222;method_14255(Ljava/lang/String;Ljava/lang/String;Z)Vnamed sendResourcePackUrlLnet/minecraft/server/network/ServerPlayerEntity;sendResourcePackUrl(Ljava/lang/String;Ljava/lang/String;Z)V
-
getPermissionLevel
protected int getPermissionLevel()
- 覆盖:
getPermissionLevel在类中Entity- Mappings:
Namespace Name Mixin selector official xLasl;x()Iintermediary method_5691Lnet/minecraft/class_1297;method_5691()Inamed getPermissionLevelLnet/minecraft/entity/Entity;getPermissionLevel()I
-
updateLastActionTime
public void updateLastActionTime()
- Mappings:
Namespace Name Mixin selector official yLabk;y()Vintermediary method_14234Lnet/minecraft/class_3222;method_14234()Vnamed updateLastActionTimeLnet/minecraft/server/network/ServerPlayerEntity;updateLastActionTime()V
-
getStatHandler
public ServerStatHandler getStatHandler()
- Mappings:
Namespace Name Mixin selector official zLabk;z()Lafc;intermediary method_14248Lnet/minecraft/class_3222;method_14248()Lnet/minecraft/class_3442;named getStatHandlerLnet/minecraft/server/network/ServerPlayerEntity;getStatHandler()Lnet/minecraft/stat/ServerStatHandler;
-
getRecipeBook
public ServerRecipeBook getRecipeBook()
- Mappings:
Namespace Name Mixin selector official ALabk;A()Lafb;intermediary method_14253Lnet/minecraft/class_3222;method_14253()Lnet/minecraft/class_3441;named getRecipeBookLnet/minecraft/server/network/ServerPlayerEntity;getRecipeBook()Lnet/minecraft/server/network/ServerRecipeBook;
-
onStoppedTracking
public void onStoppedTracking(Entity entity)
- Mappings:
Namespace Name Mixin selector official cLabk;c(Lasl;)Vintermediary method_14249Lnet/minecraft/class_3222;method_14249(Lnet/minecraft/class_1297;)Vnamed onStoppedTrackingLnet/minecraft/server/network/ServerPlayerEntity;onStoppedTracking(Lnet/minecraft/entity/Entity;)V
-
onStartedTracking
public void onStartedTracking(Entity entity)
- Mappings:
Namespace Name Mixin selector official dLabk;d(Lasl;)Vintermediary method_14211Lnet/minecraft/class_3222;method_14211(Lnet/minecraft/class_1297;)Vnamed onStartedTrackingLnet/minecraft/server/network/ServerPlayerEntity;onStartedTracking(Lnet/minecraft/entity/Entity;)V
-
updatePotionVisibility
protected void updatePotionVisibility()
- 覆盖:
updatePotionVisibility在类中LivingEntity- Mappings:
Namespace Name Mixin selector official BLasy;B()Vintermediary method_6027Lnet/minecraft/class_1309;method_6027()Vnamed updatePotionVisibilityLnet/minecraft/entity/LivingEntity;updatePotionVisibility()V
-
getCameraEntity
public Entity getCameraEntity()
- Mappings:
Namespace Name Mixin selector official CLabk;C()Lasl;intermediary method_14242Lnet/minecraft/class_3222;method_14242()Lnet/minecraft/class_1297;named getCameraEntityLnet/minecraft/server/network/ServerPlayerEntity;getCameraEntity()Lnet/minecraft/entity/Entity;
-
setCameraEntity
public void setCameraEntity(Entity entity)
- Mappings:
Namespace Name Mixin selector official eLabk;e(Lasl;)Vintermediary method_14224Lnet/minecraft/class_3222;method_14224(Lnet/minecraft/class_1297;)Vnamed setCameraEntityLnet/minecraft/server/network/ServerPlayerEntity;setCameraEntity(Lnet/minecraft/entity/Entity;)V
-
tickNetherPortalCooldown
protected void tickNetherPortalCooldown()
- 覆盖:
tickNetherPortalCooldown在类中Entity- Mappings:
Namespace Name Mixin selector official DLasl;D()Vintermediary method_5760Lnet/minecraft/class_1297;method_5760()Vnamed tickNetherPortalCooldownLnet/minecraft/entity/Entity;tickNetherPortalCooldown()V
-
attack
public void attack(Entity target)
- 覆盖:
attack在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official fLbjf;f(Lasl;)Vintermediary method_7324Lnet/minecraft/class_1657;method_7324(Lnet/minecraft/class_1297;)Vnamed attackLnet/minecraft/entity/player/PlayerEntity;attack(Lnet/minecraft/entity/Entity;)V
-
getLastActionTime
public long getLastActionTime()
- Mappings:
Namespace Name Mixin selector official ELabk;E()Jintermediary method_14219Lnet/minecraft/class_3222;method_14219()Jnamed getLastActionTimeLnet/minecraft/server/network/ServerPlayerEntity;getLastActionTime()J
-
getPlayerListName
@Nullable public @Nullable Text getPlayerListName()
- Mappings:
Namespace Name Mixin selector official FLabk;F()Lon;intermediary method_14206Lnet/minecraft/class_3222;method_14206()Lnet/minecraft/class_2561;named getPlayerListNameLnet/minecraft/server/network/ServerPlayerEntity;getPlayerListName()Lnet/minecraft/text/Text;
-
swingHand
public void swingHand(Hand hand)
- 覆盖:
swingHand在类中LivingEntity- Mappings:
Namespace Name Mixin selector official aLasy;a(Larf;)Vintermediary method_6104Lnet/minecraft/class_1309;method_6104(Lnet/minecraft/class_1268;)Vnamed swingHandLnet/minecraft/entity/LivingEntity;swingHand(Lnet/minecraft/util/Hand;)V
-
isInTeleportationState
public boolean isInTeleportationState()
- Mappings:
Namespace Name Mixin selector official GLabk;G()Zintermediary method_14208Lnet/minecraft/class_3222;method_14208()Znamed isInTeleportationStateLnet/minecraft/server/network/ServerPlayerEntity;isInTeleportationState()Z
-
onTeleportationDone
public void onTeleportationDone()
- Mappings:
Namespace Name Mixin selector official HLabk;H()Vintermediary method_14240Lnet/minecraft/class_3222;method_14240()Vnamed onTeleportationDoneLnet/minecraft/server/network/ServerPlayerEntity;onTeleportationDone()V
-
getAdvancementTracker
public PlayerAdvancementTracker getAdvancementTracker()
- Mappings:
Namespace Name Mixin selector official ILabk;I()Lwx;intermediary method_14236Lnet/minecraft/class_3222;method_14236()Lnet/minecraft/class_2985;named getAdvancementTrackerLnet/minecraft/server/network/ServerPlayerEntity;getAdvancementTracker()Lnet/minecraft/advancement/PlayerAdvancementTracker;
-
teleport
public void teleport(ServerWorld targetWorld, double x, double y, double z, float yaw, float pitch)
- Mappings:
Namespace Name Mixin selector official aLabk;a(Labj;DDDFF)Vintermediary method_14251Lnet/minecraft/class_3222;method_14251(Lnet/minecraft/class_3218;DDDFF)Vnamed teleportLnet/minecraft/server/network/ServerPlayerEntity;teleport(Lnet/minecraft/server/world/ServerWorld;DDDFF)V
-
getSpawnPointPosition
@Nullable public @Nullable BlockPos getSpawnPointPosition()
- Mappings:
Namespace Name Mixin selector official JLabk;J()Lgb;intermediary method_26280Lnet/minecraft/class_3222;method_26280()Lnet/minecraft/class_2338;named getSpawnPointPositionLnet/minecraft/server/network/ServerPlayerEntity;getSpawnPointPosition()Lnet/minecraft/util/math/BlockPos;
-
getSpawnAngle
public float getSpawnAngle()
- Mappings:
Namespace Name Mixin selector official KLabk;K()Fintermediary method_30631Lnet/minecraft/class_3222;method_30631()Fnamed getSpawnAngleLnet/minecraft/server/network/ServerPlayerEntity;getSpawnAngle()F
-
getSpawnPointDimension
public RegistryKey<World> getSpawnPointDimension()
- Mappings:
Namespace Name Mixin selector official LLabk;L()Lwo;intermediary method_26281Lnet/minecraft/class_3222;method_26281()Lnet/minecraft/class_5321;named getSpawnPointDimensionLnet/minecraft/server/network/ServerPlayerEntity;getSpawnPointDimension()Lnet/minecraft/util/registry/RegistryKey;
-
isSpawnPointSet
public boolean isSpawnPointSet()
- Mappings:
Namespace Name Mixin selector official MLabk;M()Zintermediary method_26282Lnet/minecraft/class_3222;method_26282()Znamed isSpawnPointSetLnet/minecraft/server/network/ServerPlayerEntity;isSpawnPointSet()Z
-
setSpawnPoint
public void setSpawnPoint(RegistryKey<World> dimension, @Nullable @Nullable BlockPos pos, float angle, boolean spawnPointSet, boolean bool)
- Mappings:
Namespace Name Mixin selector official aLabk;a(Lwo;Lgb;FZZ)Vintermediary method_26284Lnet/minecraft/class_3222;method_26284(Lnet/minecraft/class_5321;Lnet/minecraft/class_2338;FZZ)Vnamed setSpawnPointLnet/minecraft/server/network/ServerPlayerEntity;setSpawnPoint(Lnet/minecraft/util/registry/RegistryKey;Lnet/minecraft/util/math/BlockPos;FZZ)V
-
sendInitialChunkPackets
public void sendInitialChunkPackets(ChunkPos chunkPos, Packet<?> packet, Packet<?> packet2)
- Mappings:
Namespace Name Mixin selector official aLabk;a(Lbuw;Lpf;Lpf;)Vintermediary method_14205Lnet/minecraft/class_3222;method_14205(Lnet/minecraft/class_1923;Lnet/minecraft/class_2596;Lnet/minecraft/class_2596;)Vnamed sendInitialChunkPacketsLnet/minecraft/server/network/ServerPlayerEntity;sendInitialChunkPackets(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/network/Packet;Lnet/minecraft/network/Packet;)V
-
sendUnloadChunkPacket
public void sendUnloadChunkPacket(ChunkPos chunkPos)
- Mappings:
Namespace Name Mixin selector official aLabk;a(Lbuw;)Vintermediary method_14246Lnet/minecraft/class_3222;method_14246(Lnet/minecraft/class_1923;)Vnamed sendUnloadChunkPacketLnet/minecraft/server/network/ServerPlayerEntity;sendUnloadChunkPacket(Lnet/minecraft/util/math/ChunkPos;)V
-
getWatchedSection
public ChunkSectionPos 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.
- 另请参阅:
watchedSection,setWatchedSection(ChunkSectionPos)- Mappings:
Namespace Name Mixin selector official NLabk;N()Lgu;intermediary method_14232Lnet/minecraft/class_3222;method_14232()Lnet/minecraft/class_4076;named getWatchedSectionLnet/minecraft/server/network/ServerPlayerEntity;getWatchedSection()Lnet/minecraft/util/math/ChunkSectionPos;
-
setWatchedSection
public void setWatchedSection(ChunkSectionPos section)
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.- 参数:
section- the updated section position- 另请参阅:
watchedSection,getWatchedSection()- Mappings:
Namespace Name Mixin selector official aLabk;a(Lgu;)Vintermediary method_17668Lnet/minecraft/class_3222;method_17668(Lnet/minecraft/class_4076;)Vnamed setWatchedSectionLnet/minecraft/server/network/ServerPlayerEntity;setWatchedSection(Lnet/minecraft/util/math/ChunkSectionPos;)V
-
playSound
public void playSound(SoundEvent event, SoundCategory category, float volume, float pitch)
- 覆盖:
playSound在类中PlayerEntity- Mappings:
Namespace Name Mixin selector official aLbjf;a(Laev;Laex;FF)Vintermediary method_17356Lnet/minecraft/class_1657;method_17356(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)Vnamed playSoundLnet/minecraft/entity/player/PlayerEntity;playSound(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)V
-
createSpawnPacket
public Packet<?> createSpawnPacket()
- 覆盖:
createSpawnPacket在类中LivingEntity- Mappings:
Namespace Name Mixin selector official OLasl;O()Lpf;intermediary method_18002Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;named createSpawnPacketLnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;
-
dropItem
public ItemEntity dropItem(ItemStack stack, boolean throwRandomly, boolean retainOwnership)
- 覆盖:
dropItem在类中PlayerEntity- 参数:
throwRandomly- If true, the item will be thrown in a random direction from the entity regardless of which direction the entity is facing- Mappings:
Namespace Name Mixin selector official aLbjf;a(Lbpr;ZZ)Lbge;intermediary method_7329Lnet/minecraft/class_1657;method_7329(Lnet/minecraft/class_1799;ZZ)Lnet/minecraft/class_1542;named dropItemLnet/minecraft/entity/player/PlayerEntity;dropItem(Lnet/minecraft/item/ItemStack;ZZ)Lnet/minecraft/entity/ItemEntity;
-
getTextStream
public TextStream getTextStream()
- Mappings:
Namespace Name Mixin selector official PLabk;P()Lacg;intermediary method_31273Lnet/minecraft/class_3222;method_31273()Lnet/minecraft/class_5513;named getTextStreamLnet/minecraft/server/network/ServerPlayerEntity;getTextStream()Lnet/minecraft/server/filter/TextStream;
-
setWorld
public void setWorld(ServerWorld world)
- Mappings:
Namespace Name Mixin selector official cLabk;c(Labj;)Vintermediary method_32747Lnet/minecraft/class_3222;method_32747(Lnet/minecraft/class_3218;)Vnamed setWorldLnet/minecraft/server/network/ServerPlayerEntity;setWorld(Lnet/minecraft/server/world/ServerWorld;)V
-
gameModeFromNbt
@Nullable private static @Nullable GameMode gameModeFromNbt(@Nullable @Nullable CompoundTag nbt, String key)
- Mappings:
Namespace Name Mixin selector official aLabk;a(Lmv;Ljava/lang/String;)Lbvo;intermediary method_32745Lnet/minecraft/class_3222;method_32745(Lnet/minecraft/class_2487;Ljava/lang/String;)Lnet/minecraft/class_1934;named gameModeFromNbtLnet/minecraft/server/network/ServerPlayerEntity;gameModeFromNbt(Lnet/minecraft/nbt/CompoundTag;Ljava/lang/String;)Lnet/minecraft/world/GameMode;
-
getServerGameMode
private GameMode getServerGameMode(@Nullable @Nullable GameMode backupGameMode)
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.- 另请参阅:
MinecraftServer.getForcedGameMode()- Mappings:
Namespace Name Mixin selector official bLabk;b(Lbvo;)Lbvo;intermediary method_32746Lnet/minecraft/class_3222;method_32746(Lnet/minecraft/class_1934;)Lnet/minecraft/class_1934;named getServerGameModeLnet/minecraft/server/network/ServerPlayerEntity;getServerGameMode(Lnet/minecraft/world/GameMode;)Lnet/minecraft/world/GameMode;
-
setGameMode
public void setGameMode(@Nullable @Nullable CompoundTag nbt)
- Mappings:
Namespace Name Mixin selector official cLabk;c(Lmv;)Vintermediary method_32748Lnet/minecraft/class_3222;method_32748(Lnet/minecraft/class_2487;)Vnamed setGameModeLnet/minecraft/server/network/ServerPlayerEntity;setGameMode(Lnet/minecraft/nbt/CompoundTag;)V
-
writeGameModeNbt
private void writeGameModeNbt(CompoundTag nbt)
- Mappings:
Namespace Name Mixin selector official kLabk;k(Lmv;)Vintermediary method_32749Lnet/minecraft/class_3222;method_32749(Lnet/minecraft/class_2487;)Vnamed writeGameModeNbtLnet/minecraft/server/network/ServerPlayerEntity;writeGameModeNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
shouldFilterText
public boolean shouldFilterText()
- Mappings:
Namespace Name Mixin selector official QLabk;Q()Zintermediary method_33793Lnet/minecraft/class_3222;method_33793()Znamed shouldFilterTextLnet/minecraft/server/network/ServerPlayerEntity;shouldFilterText()Z
-
shouldFilterMessagesSentTo
public boolean shouldFilterMessagesSentTo(ServerPlayerEntity player)
- Mappings:
Namespace Name Mixin selector official bLabk;b(Labk;)Zintermediary method_33795Lnet/minecraft/class_3222;method_33795(Lnet/minecraft/class_3222;)Znamed shouldFilterMessagesSentToLnet/minecraft/server/network/ServerPlayerEntity;shouldFilterMessagesSentTo(Lnet/minecraft/server/network/ServerPlayerEntity;)Z
-
-