Class ServerPlayerEntity

All Implemented Interfaces:
EntityLike, ScreenHandlerListener, CommandOutput, Nameable

public class ServerPlayerEntity
extends PlayerEntity
implements ScreenHandlerListener
Mappings:
Namespace Name
official aaw
intermediary net/minecraft/class_3222
named net/minecraft/server/network/ServerPlayerEntity
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official bF Laaw;bF:Lorg/apache/logging/log4j/Logger;
      intermediary field_13975 Lnet/minecraft/class_3222;field_13975:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/server/network/ServerPlayerEntity;LOGGER:Lorg/apache/logging/log4j/Logger;
    • networkHandler

      public ServerPlayNetworkHandler networkHandler
      Mappings:
      Namespace Name Mixin selector
      official b Laaw;b:Labn;
      intermediary field_13987 Lnet/minecraft/class_3222;field_13987:Lnet/minecraft/class_3244;
      named networkHandler Lnet/minecraft/server/network/ServerPlayerEntity;networkHandler:Lnet/minecraft/server/network/ServerPlayNetworkHandler;
    • server

      public final MinecraftServer server
      Mappings:
      Namespace Name Mixin selector
      official c Laaw;c:Lnet/minecraft/server/MinecraftServer;
      intermediary field_13995 Lnet/minecraft/class_3222;field_13995:Lnet/minecraft/server/MinecraftServer;
      named server Lnet/minecraft/server/network/ServerPlayerEntity;server:Lnet/minecraft/server/MinecraftServer;
    • interactionManager

      public final ServerPlayerInteractionManager interactionManager
      Mappings:
      Namespace Name Mixin selector
      official d Laaw;d:Laax;
      intermediary field_13974 Lnet/minecraft/class_3222;field_13974:Lnet/minecraft/class_3225;
      named interactionManager Lnet/minecraft/server/network/ServerPlayerEntity;interactionManager:Lnet/minecraft/server/network/ServerPlayerInteractionManager;
    • removedEntities

      private final IntList removedEntities
      Mappings:
      Namespace Name Mixin selector
      official bG Laaw;bG:Lit/unimi/dsi/fastutil/ints/IntList;
      intermediary field_13988 Lnet/minecraft/class_3222;field_13988:Lit/unimi/dsi/fastutil/ints/IntList;
      named removedEntities Lnet/minecraft/server/network/ServerPlayerEntity;removedEntities:Lit/unimi/dsi/fastutil/ints/IntList;
    • advancementTracker

      private final PlayerAdvancementTracker advancementTracker
      Mappings:
      Namespace Name Mixin selector
      official bH Laaw;bH:Lwj;
      intermediary field_13970 Lnet/minecraft/class_3222;field_13970:Lnet/minecraft/class_2985;
      named advancementTracker Lnet/minecraft/server/network/ServerPlayerEntity;advancementTracker:Lnet/minecraft/advancement/PlayerAdvancementTracker;
    • statHandler

      private final ServerStatHandler statHandler
      Mappings:
      Namespace Name Mixin selector
      official bI Laaw;bI:Laem;
      intermediary field_13966 Lnet/minecraft/class_3222;field_13966:Lnet/minecraft/class_3442;
      named statHandler Lnet/minecraft/server/network/ServerPlayerEntity;statHandler:Lnet/minecraft/stat/ServerStatHandler;
    • lastHealthScore

      private float lastHealthScore
      Mappings:
      Namespace Name Mixin selector
      official bJ Laaw;bJ:F
      intermediary field_13963 Lnet/minecraft/class_3222;field_13963:F
      named lastHealthScore Lnet/minecraft/server/network/ServerPlayerEntity;lastHealthScore:F
    • lastFoodScore

      private int lastFoodScore
      Mappings:
      Namespace Name Mixin selector
      official bK Laaw;bK:I
      intermediary field_13983 Lnet/minecraft/class_3222;field_13983:I
      named lastFoodScore Lnet/minecraft/server/network/ServerPlayerEntity;lastFoodScore:I
    • lastAirScore

      private int lastAirScore
      Mappings:
      Namespace Name Mixin selector
      official bL Laaw;bL:I
      intermediary field_13968 Lnet/minecraft/class_3222;field_13968:I
      named lastAirScore Lnet/minecraft/server/network/ServerPlayerEntity;lastAirScore:I
    • lastArmorScore

      private int lastArmorScore
      Mappings:
      Namespace Name Mixin selector
      official bM Laaw;bM:I
      intermediary field_13982 Lnet/minecraft/class_3222;field_13982:I
      named lastArmorScore Lnet/minecraft/server/network/ServerPlayerEntity;lastArmorScore:I
    • lastLevelScore

      private int lastLevelScore
      Mappings:
      Namespace Name Mixin selector
      official bN Laaw;bN:I
      intermediary field_13965 Lnet/minecraft/class_3222;field_13965:I
      named lastLevelScore Lnet/minecraft/server/network/ServerPlayerEntity;lastLevelScore:I
    • lastExperienceScore

      private int lastExperienceScore
      Mappings:
      Namespace Name Mixin selector
      official bO Laaw;bO:I
      intermediary field_13980 Lnet/minecraft/class_3222;field_13980:I
      named lastExperienceScore Lnet/minecraft/server/network/ServerPlayerEntity;lastExperienceScore:I
    • syncedHealth

      private float syncedHealth
      Mappings:
      Namespace Name Mixin selector
      official bP Laaw;bP:F
      intermediary field_13997 Lnet/minecraft/class_3222;field_13997:F
      named syncedHealth Lnet/minecraft/server/network/ServerPlayerEntity;syncedHealth:F
    • syncedFoodLevel

      private int syncedFoodLevel
      Mappings:
      Namespace Name Mixin selector
      official bQ Laaw;bQ:I
      intermediary field_13979 Lnet/minecraft/class_3222;field_13979:I
      named syncedFoodLevel Lnet/minecraft/server/network/ServerPlayerEntity;syncedFoodLevel:I
    • syncedSaturationIsZero

      private boolean syncedSaturationIsZero
      Mappings:
      Namespace Name Mixin selector
      official bR Laaw;bR:Z
      intermediary field_13972 Lnet/minecraft/class_3222;field_13972:Z
      named syncedSaturationIsZero Lnet/minecraft/server/network/ServerPlayerEntity;syncedSaturationIsZero:Z
    • syncedExperience

      private int syncedExperience
      Mappings:
      Namespace Name Mixin selector
      official bS Laaw;bS:I
      intermediary field_13978 Lnet/minecraft/class_3222;field_13978:I
      named syncedExperience Lnet/minecraft/server/network/ServerPlayerEntity;syncedExperience:I
    • joinInvulnerabilityTicks

      private int joinInvulnerabilityTicks
      Mappings:
      Namespace Name Mixin selector
      official bT Laaw;bT:I
      intermediary field_13998 Lnet/minecraft/class_3222;field_13998:I
      named joinInvulnerabilityTicks Lnet/minecraft/server/network/ServerPlayerEntity;joinInvulnerabilityTicks:I
    • clientChatVisibility

      private ChatVisibility clientChatVisibility
      Mappings:
      Namespace Name Mixin selector
      official bU Laaw;bU:Lbhj;
      intermediary field_13993 Lnet/minecraft/class_3222;field_13993:Lnet/minecraft/class_1659;
      named clientChatVisibility Lnet/minecraft/server/network/ServerPlayerEntity;clientChatVisibility:Lnet/minecraft/client/option/ChatVisibility;
    • clientChatColorsEnabled

      private boolean clientChatColorsEnabled
      Mappings:
      Namespace Name Mixin selector
      official bV Laaw;bV:Z
      intermediary field_13971 Lnet/minecraft/class_3222;field_13971:Z
      named clientChatColorsEnabled Lnet/minecraft/server/network/ServerPlayerEntity;clientChatColorsEnabled:Z
    • lastActionTime

      private long lastActionTime
      Mappings:
      Namespace Name Mixin selector
      official bW Laaw;bW:J
      intermediary field_13976 Lnet/minecraft/class_3222;field_13976:J
      named lastActionTime Lnet/minecraft/server/network/ServerPlayerEntity;lastActionTime:J
    • cameraEntity

      private Entity cameraEntity
      Mappings:
      Namespace Name Mixin selector
      official bX Laaw;bX:Laqv;
      intermediary field_13984 Lnet/minecraft/class_3222;field_13984:Lnet/minecraft/class_1297;
      named cameraEntity Lnet/minecraft/server/network/ServerPlayerEntity;cameraEntity:Lnet/minecraft/entity/Entity;
    • inTeleportationState

      private boolean inTeleportationState
      Mappings:
      Namespace Name Mixin selector
      official bY Laaw;bY:Z
      intermediary field_13985 Lnet/minecraft/class_3222;field_13985:Z
      named inTeleportationState Lnet/minecraft/server/network/ServerPlayerEntity;inTeleportationState:Z
    • seenCredits

      private boolean seenCredits
      Mappings:
      Namespace Name Mixin selector
      official bZ Laaw;bZ:Z
      intermediary field_13969 Lnet/minecraft/class_3222;field_13969:Z
      named seenCredits Lnet/minecraft/server/network/ServerPlayerEntity;seenCredits:Z
    • recipeBook

      private final ServerRecipeBook recipeBook
      Mappings:
      Namespace Name Mixin selector
      official ca Laaw;ca:Lael;
      intermediary field_13996 Lnet/minecraft/class_3222;field_13996:Lnet/minecraft/class_3441;
      named recipeBook Lnet/minecraft/server/network/ServerPlayerEntity;recipeBook:Lnet/minecraft/server/network/ServerRecipeBook;
    • levitationStartPos

      private Vec3d levitationStartPos
      Mappings:
      Namespace Name Mixin selector
      official cb Laaw;cb:Ldiu;
      intermediary field_13992 Lnet/minecraft/class_3222;field_13992:Lnet/minecraft/class_243;
      named levitationStartPos Lnet/minecraft/server/network/ServerPlayerEntity;levitationStartPos:Lnet/minecraft/util/math/Vec3d;
    • levitationStartTick

      private int levitationStartTick
      Mappings:
      Namespace Name Mixin selector
      official cc Laaw;cc:I
      intermediary field_13973 Lnet/minecraft/class_3222;field_13973:I
      named levitationStartTick Lnet/minecraft/server/network/ServerPlayerEntity;levitationStartTick:I
    • disconnected

      private boolean disconnected
      Mappings:
      Namespace Name Mixin selector
      official cd Laaw;cd:Z
      intermediary field_13964 Lnet/minecraft/class_3222;field_13964:Z
      named disconnected Lnet/minecraft/server/network/ServerPlayerEntity;disconnected:Z
    • enteredNetherPos

      @Nullable private Vec3d enteredNetherPos
      Mappings:
      Namespace Name Mixin selector
      official ce Laaw;ce:Ldiu;
      intermediary field_13994 Lnet/minecraft/class_3222;field_13994:Lnet/minecraft/class_243;
      named enteredNetherPos Lnet/minecraft/server/network/ServerPlayerEntity;enteredNetherPos:Lnet/minecraft/util/math/Vec3d;
    • cameraPosition

      private ChunkSectionPos cameraPosition
      Mappings:
      Namespace Name Mixin selector
      official cf Laaw;cf:Lgq;
      intermediary field_13990 Lnet/minecraft/class_3222;field_13990:Lnet/minecraft/class_4076;
      named cameraPosition Lnet/minecraft/server/network/ServerPlayerEntity;cameraPosition:Lnet/minecraft/util/math/ChunkSectionPos;
    • spawnPointDimension

      private RegistryKey<World> spawnPointDimension
      Mappings:
      Namespace Name Mixin selector
      official cg Laaw;cg:Lwa;
      intermediary field_23191 Lnet/minecraft/class_3222;field_23191:Lnet/minecraft/class_5321;
      named spawnPointDimension Lnet/minecraft/server/network/ServerPlayerEntity;spawnPointDimension:Lnet/minecraft/util/registry/RegistryKey;
    • spawnPointPosition

      @Nullable private BlockPos spawnPointPosition
      Mappings:
      Namespace Name Mixin selector
      official ch Laaw;ch:Lfx;
      intermediary field_23192 Lnet/minecraft/class_3222;field_23192:Lnet/minecraft/class_2338;
      named spawnPointPosition Lnet/minecraft/server/network/ServerPlayerEntity;spawnPointPosition:Lnet/minecraft/util/math/BlockPos;
    • spawnPointSet

      private boolean spawnPointSet
      Mappings:
      Namespace Name Mixin selector
      official ci Laaw;ci:Z
      intermediary field_23193 Lnet/minecraft/class_3222;field_23193:Z
      named spawnPointSet Lnet/minecraft/server/network/ServerPlayerEntity;spawnPointSet:Z
    • spawnAngle

      private float spawnAngle
      Mappings:
      Namespace Name Mixin selector
      official cj Laaw;cj:F
      intermediary field_26353 Lnet/minecraft/class_3222;field_26353:F
      named spawnAngle Lnet/minecraft/server/network/ServerPlayerEntity;spawnAngle:F
    • textStream

      @Nullable private final TextStream textStream
      Mappings:
      Namespace Name Mixin selector
      official ck Laaw;ck:Labs;
      intermediary field_26821 Lnet/minecraft/class_3222;field_26821:Lnet/minecraft/class_5513;
      named textStream Lnet/minecraft/server/network/ServerPlayerEntity;textStream:Lnet/minecraft/server/filter/TextStream;
    • screenHandlerSyncId

      private int screenHandlerSyncId
      Mappings:
      Namespace Name Mixin selector
      official cl Laaw;cl:I
      intermediary field_13986 Lnet/minecraft/class_3222;field_13986:I
      named screenHandlerSyncId Lnet/minecraft/server/network/ServerPlayerEntity;screenHandlerSyncId:I
    • skipPacketSlotUpdates

      public boolean skipPacketSlotUpdates
      Mappings:
      Namespace Name Mixin selector
      official e Laaw;e:Z
      intermediary field_13991 Lnet/minecraft/class_3222;field_13991:Z
      named skipPacketSlotUpdates Lnet/minecraft/server/network/ServerPlayerEntity;skipPacketSlotUpdates:Z
    • pingMilliseconds

      public int pingMilliseconds
      Mappings:
      Namespace Name Mixin selector
      official f Laaw;f:I
      intermediary field_13967 Lnet/minecraft/class_3222;field_13967:I
      named pingMilliseconds Lnet/minecraft/server/network/ServerPlayerEntity;pingMilliseconds:I
    • notInAnyWorld

      public boolean notInAnyWorld
      Mappings:
      Namespace Name Mixin selector
      official g Laaw;g:Z
      intermediary field_13989 Lnet/minecraft/class_3222;field_13989:Z
      named notInAnyWorld Lnet/minecraft/server/network/ServerPlayerEntity;notInAnyWorld:Z
  • Constructor Details

    • ServerPlayerEntity

      public ServerPlayerEntity​(MinecraftServer server, ServerWorld world, com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laaw;<init>(Lnet/minecraft/server/MinecraftServer;Laav;Lcom/mojang/authlib/GameProfile;)V
      intermediary <init> Lnet/minecraft/class_3222;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_3218;Lcom/mojang/authlib/GameProfile;)V
      named <init> Lnet/minecraft/server/network/ServerPlayerEntity;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/server/world/ServerWorld;Lcom/mojang/authlib/GameProfile;)V
  • Method Details

    • moveToSpawn

      private void moveToSpawn​(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      official d Laaw;d(Laav;)V
      intermediary method_14245 Lnet/minecraft/class_3222;method_14245(Lnet/minecraft/class_3218;)V
      named moveToSpawn Lnet/minecraft/server/network/ServerPlayerEntity;moveToSpawn(Lnet/minecraft/server/world/ServerWorld;)V
    • calculateSpawnOffsetMultiplier

      private int calculateSpawnOffsetMultiplier​(int horizontalSpawnArea)
      Mappings:
      Namespace Name Mixin selector
      official v Laaw;v(I)I
      intermediary method_14244 Lnet/minecraft/class_3222;method_14244(I)I
      named calculateSpawnOffsetMultiplier Lnet/minecraft/server/network/ServerPlayerEntity;calculateSpawnOffsetMultiplier(I)I
    • readCustomDataFromTag

      public void readCustomDataFromTag​(CompoundTag tag)
      Overrides:
      readCustomDataFromTag in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(Lmq;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      named readCustomDataFromTag Lnet/minecraft/entity/Entity;readCustomDataFromTag(Lnet/minecraft/nbt/CompoundTag;)V
    • writeCustomDataToTag

      public void writeCustomDataToTag​(CompoundTag tag)
      Overrides:
      writeCustomDataToTag in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official b Laqv;b(Lmq;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      named writeCustomDataToTag Lnet/minecraft/entity/Entity;writeCustomDataToTag(Lnet/minecraft/nbt/CompoundTag;)V
    • setExperiencePoints

      public void setExperiencePoints​(int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Laaw;a(I)V
      intermediary method_14228 Lnet/minecraft/class_3222;method_14228(I)V
      named setExperiencePoints Lnet/minecraft/server/network/ServerPlayerEntity;setExperiencePoints(I)V
    • setExperienceLevel

      public void setExperienceLevel​(int level)
      Mappings:
      Namespace Name Mixin selector
      official b Laaw;b(I)V
      intermediary method_14252 Lnet/minecraft/class_3222;method_14252(I)V
      named setExperienceLevel Lnet/minecraft/server/network/ServerPlayerEntity;setExperienceLevel(I)V
    • addExperienceLevels

      public void addExperienceLevels​(int levels)
      Overrides:
      addExperienceLevels in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lbhl;c(I)V
      intermediary method_7316 Lnet/minecraft/class_1657;method_7316(I)V
      named addExperienceLevels Lnet/minecraft/entity/player/PlayerEntity;addExperienceLevels(I)V
    • applyEnchantmentCosts

      public void applyEnchantmentCosts​(ItemStack enchantedItem, int experienceLevels)
      Overrides:
      applyEnchantmentCosts in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbhl;a(Lbnv;I)V
      intermediary method_7286 Lnet/minecraft/class_1657;method_7286(Lnet/minecraft/class_1799;I)V
      named applyEnchantmentCosts Lnet/minecraft/entity/player/PlayerEntity;applyEnchantmentCosts(Lnet/minecraft/item/ItemStack;I)V
    • onSpawn

      public void onSpawn()
      Mappings:
      Namespace Name Mixin selector
      official f Laaw;f()V
      intermediary method_14235 Lnet/minecraft/class_3222;method_14235()V
      named onSpawn Lnet/minecraft/server/network/ServerPlayerEntity;onSpawn()V
    • enterCombat

      public void enterCombat()
      Overrides:
      enterCombat in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official g Lari;g()V
      intermediary method_6000 Lnet/minecraft/class_1309;method_6000()V
      named enterCombat Lnet/minecraft/entity/LivingEntity;enterCombat()V
    • endCombat

      public void endCombat()
      Overrides:
      endCombat in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official h Lari;h()V
      intermediary method_6044 Lnet/minecraft/class_1309;method_6044()V
      named endCombat Lnet/minecraft/entity/LivingEntity;endCombat()V
    • onBlockCollision

      protected void onBlockCollision​(BlockState state)
      Overrides:
      onBlockCollision in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(Lcht;)V
      intermediary method_5622 Lnet/minecraft/class_1297;method_5622(Lnet/minecraft/class_2680;)V
      named onBlockCollision Lnet/minecraft/entity/Entity;onBlockCollision(Lnet/minecraft/block/BlockState;)V
    • createCooldownManager

      protected ItemCooldownManager createCooldownManager()
      Overrides:
      createCooldownManager in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official i Lbhl;i()Lbns;
      intermediary method_7265 Lnet/minecraft/class_1657;method_7265()Lnet/minecraft/class_1796;
      named createCooldownManager Lnet/minecraft/entity/player/PlayerEntity;createCooldownManager()Lnet/minecraft/entity/player/ItemCooldownManager;
    • tick

      public void tick()
      Overrides:
      tick in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official j Laqv;j()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • playerTick

      public void playerTick()
      Mappings:
      Namespace Name Mixin selector
      official x_ Laaw;x_()V
      intermediary method_14226 Lnet/minecraft/class_3222;method_14226()V
      named playerTick Lnet/minecraft/server/network/ServerPlayerEntity;playerTick()V
    • updateScores

      private void updateScores​(ScoreboardCriterion criterion, int score)
      Mappings:
      Namespace Name Mixin selector
      official a Laaw;a(Ldjv;I)V
      intermediary method_14212 Lnet/minecraft/class_3222;method_14212(Lnet/minecraft/class_274;I)V
      named updateScores Lnet/minecraft/server/network/ServerPlayerEntity;updateScores(Lnet/minecraft/scoreboard/ScoreboardCriterion;I)V
    • onDeath

      public void onDeath​(DamageSource source)
      Overrides:
      onDeath in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lari;a(Laqf;)V
      intermediary method_6078 Lnet/minecraft/class_1309;method_6078(Lnet/minecraft/class_1282;)V
      named onDeath Lnet/minecraft/entity/LivingEntity;onDeath(Lnet/minecraft/entity/damage/DamageSource;)V
    • forgiveMobAnger

      private void forgiveMobAnger()
      Mappings:
      Namespace Name Mixin selector
      official fx Laaw;fx()V
      intermediary method_29779 Lnet/minecraft/class_3222;method_29779()V
      named forgiveMobAnger Lnet/minecraft/server/network/ServerPlayerEntity;forgiveMobAnger()V
    • updateKilledAdvancementCriterion

      public void updateKilledAdvancementCriterion​(Entity killer, int score, DamageSource damageSource)
      Overrides:
      updateKilledAdvancementCriterion in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(Laqv;ILaqf;)V
      intermediary method_5716 Lnet/minecraft/class_1297;method_5716(Lnet/minecraft/class_1297;ILnet/minecraft/class_1282;)V
      named updateKilledAdvancementCriterion Lnet/minecraft/entity/Entity;updateKilledAdvancementCriterion(Lnet/minecraft/entity/Entity;ILnet/minecraft/entity/damage/DamageSource;)V
    • updateScoreboardScore

      private void updateScoreboardScore​(String playerName, String team, ScoreboardCriterion[] scoreboardCriterion)
      Mappings:
      Namespace Name Mixin selector
      official a Laaw;a(Ljava/lang/String;Ljava/lang/String;[Ldjv;)V
      intermediary method_14227 Lnet/minecraft/class_3222;method_14227(Ljava/lang/String;Ljava/lang/String;[Lnet/minecraft/class_274;)V
      named updateScoreboardScore Lnet/minecraft/server/network/ServerPlayerEntity;updateScoreboardScore(Ljava/lang/String;Ljava/lang/String;[Lnet/minecraft/scoreboard/ScoreboardCriterion;)V
    • damage

      public boolean damage​(DamageSource source, float amount)
      Overrides:
      damage in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(Laqf;F)Z
      intermediary method_5643 Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Z
      named damage Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
    • shouldDamagePlayer

      public boolean shouldDamagePlayer​(PlayerEntity player)
      Overrides:
      shouldDamagePlayer in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbhl;a(Lbhl;)Z
      intermediary method_7256 Lnet/minecraft/class_1657;method_7256(Lnet/minecraft/class_1657;)Z
      named shouldDamagePlayer Lnet/minecraft/entity/player/PlayerEntity;shouldDamagePlayer(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • isPvpEnabled

      private boolean isPvpEnabled()
      Mappings:
      Namespace Name Mixin selector
      official fy Laaw;fy()Z
      intermediary method_14230 Lnet/minecraft/class_3222;method_14230()Z
      named isPvpEnabled Lnet/minecraft/server/network/ServerPlayerEntity;isPvpEnabled()Z
    • getTeleportTarget

      @Nullable protected TeleportTarget getTeleportTarget​(ServerWorld destination)
      Overrides:
      getTeleportTarget in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(Laav;)Lddb;
      intermediary method_30329 Lnet/minecraft/class_1297;method_30329(Lnet/minecraft/class_3218;)Lnet/minecraft/class_5454;
      named getTeleportTarget Lnet/minecraft/entity/Entity;getTeleportTarget(Lnet/minecraft/server/world/ServerWorld;)Lnet/minecraft/world/TeleportTarget;
    • moveToWorld

      @Nullable public Entity moveToWorld​(ServerWorld destination)
      Moves this entity to another world.

      Note all entities except server player entities are completely recreated at the destination.

      Overrides:
      moveToWorld in class Entity
      Returns:
      the entity in the other world
      Mappings:
      Namespace Name Mixin selector
      official b Laqv;b(Laav;)Laqv;
      intermediary method_5731 Lnet/minecraft/class_1297;method_5731(Lnet/minecraft/class_3218;)Lnet/minecraft/class_1297;
      named moveToWorld Lnet/minecraft/entity/Entity;moveToWorld(Lnet/minecraft/server/world/ServerWorld;)Lnet/minecraft/entity/Entity;
    • createEndSpawnPlatform

      private void createEndSpawnPlatform​(ServerWorld world, BlockPos centerPos)
      Mappings:
      Namespace Name Mixin selector
      official a Laaw;a(Laav;Lfx;)V
      intermediary method_30313 Lnet/minecraft/class_3222;method_30313(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)V
      named createEndSpawnPlatform Lnet/minecraft/server/network/ServerPlayerEntity;createEndSpawnPlatform(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)V
    • method_30330

      protected Optional<class_5459.class_5460> method_30330​(ServerWorld serverWorld, BlockPos blockPos, boolean bool)
      Overrides:
      method_30330 in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(Laav;Lfx;Z)Ljava/util/Optional;
      intermediary method_30330 Lnet/minecraft/class_1297;method_30330(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Z)Ljava/util/Optional;
      named method_30330 Lnet/minecraft/entity/Entity;method_30330(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 e Laaw;e(Laav;)V
      intermediary method_18783 Lnet/minecraft/class_3222;method_18783(Lnet/minecraft/class_3218;)V
      named worldChanged Lnet/minecraft/server/network/ServerPlayerEntity;worldChanged(Lnet/minecraft/server/world/ServerWorld;)V
    • canBeSpectated

      public boolean canBeSpectated​(ServerPlayerEntity spectator)
      Overrides:
      canBeSpectated in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(Laaw;)Z
      intermediary method_5680 Lnet/minecraft/class_1297;method_5680(Lnet/minecraft/class_3222;)Z
      named canBeSpectated Lnet/minecraft/entity/Entity;canBeSpectated(Lnet/minecraft/server/network/ServerPlayerEntity;)Z
    • sendBlockEntityUpdate

      private void sendBlockEntityUpdate​(BlockEntity blockEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Laaw;a(Lcfr;)V
      intermediary method_14216 Lnet/minecraft/class_3222;method_14216(Lnet/minecraft/class_2586;)V
      named sendBlockEntityUpdate Lnet/minecraft/server/network/ServerPlayerEntity;sendBlockEntityUpdate(Lnet/minecraft/block/entity/BlockEntity;)V
    • sendPickup

      public void sendPickup​(Entity item, int count)
      Overrides:
      sendPickup in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lari;a(Laqv;I)V
      intermediary method_6103 Lnet/minecraft/class_1309;method_6103(Lnet/minecraft/class_1297;I)V
      named sendPickup Lnet/minecraft/entity/LivingEntity;sendPickup(Lnet/minecraft/entity/Entity;I)V
    • trySleep

      public com.mojang.datafixers.util.Either<PlayerEntity.SleepFailureReason,​Unit> trySleep​(BlockPos pos)
      Overrides:
      trySleep in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbhl;a(Lfx;)Lcom/mojang/datafixers/util/Either;
      intermediary method_7269 Lnet/minecraft/class_1657;method_7269(Lnet/minecraft/class_2338;)Lcom/mojang/datafixers/util/Either;
      named trySleep Lnet/minecraft/entity/player/PlayerEntity;trySleep(Lnet/minecraft/util/math/BlockPos;)Lcom/mojang/datafixers/util/Either;
    • sleep

      public void sleep​(BlockPos pos)
      Overrides:
      sleep in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lari;b(Lfx;)V
      intermediary method_18403 Lnet/minecraft/class_1309;method_18403(Lnet/minecraft/class_2338;)V
      named sleep Lnet/minecraft/entity/LivingEntity;sleep(Lnet/minecraft/util/math/BlockPos;)V
    • isBedTooFarAway

      private boolean isBedTooFarAway​(BlockPos pos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Laaw;a(Lfx;Lgc;)Z
      intermediary method_26285 Lnet/minecraft/class_3222;method_26285(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
      named isBedTooFarAway Lnet/minecraft/server/network/ServerPlayerEntity;isBedTooFarAway(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
    • isBedTooFarAway

      private boolean isBedTooFarAway​(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official g Laaw;g(Lfx;)Z
      intermediary method_26287 Lnet/minecraft/class_3222;method_26287(Lnet/minecraft/class_2338;)Z
      named isBedTooFarAway Lnet/minecraft/server/network/ServerPlayerEntity;isBedTooFarAway(Lnet/minecraft/util/math/BlockPos;)Z
    • isBedObstructed

      private boolean isBedObstructed​(BlockPos pos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official b Laaw;b(Lfx;Lgc;)Z
      intermediary method_26286 Lnet/minecraft/class_3222;method_26286(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
      named isBedObstructed Lnet/minecraft/server/network/ServerPlayerEntity;isBedObstructed(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
    • wakeUp

      public void wakeUp​(boolean bool, boolean updateSleepingPlayers)
      Overrides:
      wakeUp in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbhl;a(ZZ)V
      intermediary method_7358 Lnet/minecraft/class_1657;method_7358(ZZ)V
      named wakeUp Lnet/minecraft/entity/player/PlayerEntity;wakeUp(ZZ)V
    • startRiding

      public boolean startRiding​(Entity entity, boolean force)
      Overrides:
      startRiding in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(Laqv;Z)Z
      intermediary method_5873 Lnet/minecraft/class_1297;method_5873(Lnet/minecraft/class_1297;Z)Z
      named startRiding Lnet/minecraft/entity/Entity;startRiding(Lnet/minecraft/entity/Entity;Z)Z
    • stopRiding

      public void stopRiding()
      Overrides:
      stopRiding in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official l Laqv;l()V
      intermediary method_5848 Lnet/minecraft/class_1297;method_5848()V
      named stopRiding Lnet/minecraft/entity/Entity;stopRiding()V
    • method_33567

      public void method_33567​(double double2, double double3, double double4)
      Overrides:
      method_33567 in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(DDD)V
      intermediary method_33567 Lnet/minecraft/class_1297;method_33567(DDD)V
      named method_33567 Lnet/minecraft/entity/Entity;method_33567(DDD)V
    • isInvulnerableTo

      public boolean isInvulnerableTo​(DamageSource damageSource)
      Overrides:
      isInvulnerableTo in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official b Laqv;b(Laqf;)Z
      intermediary method_5679 Lnet/minecraft/class_1297;method_5679(Lnet/minecraft/class_1282;)Z
      named isInvulnerableTo Lnet/minecraft/entity/Entity;isInvulnerableTo(Lnet/minecraft/entity/damage/DamageSource;)Z
    • fall

      protected void fall​(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPosition)
      Overrides:
      fall in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(DZLcht;Lfx;)V
      intermediary method_5623 Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)V
      named fall Lnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
    • applyMovementEffects

      protected void applyMovementEffects​(BlockPos pos)
      Overrides:
      applyMovementEffects in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lari;c(Lfx;)V
      intermediary method_6126 Lnet/minecraft/class_1309;method_6126(Lnet/minecraft/class_2338;)V
      named applyMovementEffects Lnet/minecraft/entity/LivingEntity;applyMovementEffects(Lnet/minecraft/util/math/BlockPos;)V
    • handleFall

      public void handleFall​(double heightDifference, boolean onGround)
      Mappings:
      Namespace Name Mixin selector
      official a Laaw;a(DZ)V
      intermediary method_14207 Lnet/minecraft/class_3222;method_14207(DZ)V
      named handleFall Lnet/minecraft/server/network/ServerPlayerEntity;handleFall(DZ)V
    • openEditSignScreen

      public void openEditSignScreen​(SignBlockEntity sign)
      Overrides:
      openEditSignScreen in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbhl;a(Lcgr;)V
      intermediary method_7311 Lnet/minecraft/class_1657;method_7311(Lnet/minecraft/class_2625;)V
      named openEditSignScreen Lnet/minecraft/entity/player/PlayerEntity;openEditSignScreen(Lnet/minecraft/block/entity/SignBlockEntity;)V
    • incrementScreenHandlerSyncId

      private void incrementScreenHandlerSyncId()
      Mappings:
      Namespace Name Mixin selector
      official fz Laaw;fz()V
      intermediary method_14237 Lnet/minecraft/class_3222;method_14237()V
      named incrementScreenHandlerSyncId Lnet/minecraft/server/network/ServerPlayerEntity;incrementScreenHandlerSyncId()V
    • openHandledScreen

      public OptionalInt openHandledScreen​(@Nullable NamedScreenHandlerFactory factory)
      Overrides:
      openHandledScreen in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbhl;a(Lapt;)Ljava/util/OptionalInt;
      intermediary method_17355 Lnet/minecraft/class_1657;method_17355(Lnet/minecraft/class_3908;)Ljava/util/OptionalInt;
      named openHandledScreen Lnet/minecraft/entity/player/PlayerEntity;openHandledScreen(Lnet/minecraft/screen/NamedScreenHandlerFactory;)Ljava/util/OptionalInt;
    • sendTradeOffers

      public void sendTradeOffers​(int syncId, TradeOfferList offers, int levelProgress, int experience, boolean leveled, boolean refreshable)
      Overrides:
      sendTradeOffers in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbhl;a(ILbst;IIZZ)V
      intermediary method_17354 Lnet/minecraft/class_1657;method_17354(ILnet/minecraft/class_1916;IIZZ)V
      named sendTradeOffers Lnet/minecraft/entity/player/PlayerEntity;sendTradeOffers(ILnet/minecraft/village/TradeOfferList;IIZZ)V
    • openHorseInventory

      public void openHorseInventory​(HorseBaseEntity horse, Inventory inventory)
      Overrides:
      openHorseInventory in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbhl;a(Lbcr;Lapj;)V
      intermediary method_7291 Lnet/minecraft/class_1657;method_7291(Lnet/minecraft/class_1496;Lnet/minecraft/class_1263;)V
      named openHorseInventory Lnet/minecraft/entity/player/PlayerEntity;openHorseInventory(Lnet/minecraft/entity/passive/HorseBaseEntity;Lnet/minecraft/inventory/Inventory;)V
    • openEditBookScreen

      public void openEditBookScreen​(ItemStack book, Hand hand)
      Overrides:
      openEditBookScreen in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbhl;a(Lbnv;Lapp;)V
      intermediary method_7315 Lnet/minecraft/class_1657;method_7315(Lnet/minecraft/class_1799;Lnet/minecraft/class_1268;)V
      named openEditBookScreen Lnet/minecraft/entity/player/PlayerEntity;openEditBookScreen(Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Hand;)V
    • openCommandBlockScreen

      public void openCommandBlockScreen​(CommandBlockBlockEntity commandBlock)
      Overrides:
      openCommandBlockScreen in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbhl;a(Lcfy;)V
      intermediary method_7323 Lnet/minecraft/class_1657;method_7323(Lnet/minecraft/class_2593;)V
      named openCommandBlockScreen Lnet/minecraft/entity/player/PlayerEntity;openCommandBlockScreen(Lnet/minecraft/block/entity/CommandBlockBlockEntity;)V
    • onSlotUpdate

      public void onSlotUpdate​(ScreenHandler handler, int slotId, ItemStack stack)
      Specified by:
      onSlotUpdate in interface ScreenHandlerListener
      Mappings:
      Namespace Name Mixin selector
      official a Lbkd;a(Lbjr;ILbnv;)V
      intermediary method_7635 Lnet/minecraft/class_1712;method_7635(Lnet/minecraft/class_1703;ILnet/minecraft/class_1799;)V
      named onSlotUpdate Lnet/minecraft/screen/ScreenHandlerListener;onSlotUpdate(Lnet/minecraft/screen/ScreenHandler;ILnet/minecraft/item/ItemStack;)V
    • refreshScreenHandler

      public void refreshScreenHandler​(ScreenHandler handler)
      Sends packets to the client that refresh the current screen handler's items.
      Mappings:
      Namespace Name Mixin selector
      official a Laaw;a(Lbjr;)V
      intermediary method_14204 Lnet/minecraft/class_3222;method_14204(Lnet/minecraft/class_1703;)V
      named refreshScreenHandler Lnet/minecraft/server/network/ServerPlayerEntity;refreshScreenHandler(Lnet/minecraft/screen/ScreenHandler;)V
    • onHandlerRegistered

      public void onHandlerRegistered​(ScreenHandler handler, DefaultedList<ItemStack> stacks)
      Specified by:
      onHandlerRegistered in interface ScreenHandlerListener
      Mappings:
      Namespace Name Mixin selector
      official a Lbkd;a(Lbjr;Lgj;)V
      intermediary method_7634 Lnet/minecraft/class_1712;method_7634(Lnet/minecraft/class_1703;Lnet/minecraft/class_2371;)V
      named onHandlerRegistered Lnet/minecraft/screen/ScreenHandlerListener;onHandlerRegistered(Lnet/minecraft/screen/ScreenHandler;Lnet/minecraft/util/collection/DefaultedList;)V
    • onPropertyUpdate

      public void onPropertyUpdate​(ScreenHandler handler, int property, int value)
      Specified by:
      onPropertyUpdate in interface ScreenHandlerListener
      Mappings:
      Namespace Name Mixin selector
      official a Lbkd;a(Lbjr;II)V
      intermediary method_7633 Lnet/minecraft/class_1712;method_7633(Lnet/minecraft/class_1703;II)V
      named onPropertyUpdate Lnet/minecraft/screen/ScreenHandlerListener;onPropertyUpdate(Lnet/minecraft/screen/ScreenHandler;II)V
    • closeHandledScreen

      public void closeHandledScreen()
      Overrides:
      closeHandledScreen in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official m Lbhl;m()V
      intermediary method_7346 Lnet/minecraft/class_1657;method_7346()V
      named closeHandledScreen Lnet/minecraft/entity/player/PlayerEntity;closeHandledScreen()V
    • updateCursorStack

      public void updateCursorStack()
      Mappings:
      Namespace Name Mixin selector
      official n Laaw;n()V
      intermediary method_14241 Lnet/minecraft/class_3222;method_14241()V
      named updateCursorStack Lnet/minecraft/server/network/ServerPlayerEntity;updateCursorStack()V
    • closeScreenHandler

      public void closeScreenHandler()
      Runs closing tasks for the current screen handler and sets it to the playerScreenHandler.
      Mappings:
      Namespace Name Mixin selector
      official o Laaw;o()V
      intermediary method_14247 Lnet/minecraft/class_3222;method_14247()V
      named closeScreenHandler Lnet/minecraft/server/network/ServerPlayerEntity;closeScreenHandler()V
    • method_14218

      public void method_14218​(float float2, float float3, boolean bool, boolean bool2)
      Mappings:
      Namespace Name Mixin selector
      official a Laaw;a(FFZZ)V
      intermediary method_14218 Lnet/minecraft/class_3222;method_14218(FFZZ)V
      named method_14218 Lnet/minecraft/server/network/ServerPlayerEntity;method_14218(FFZZ)V
    • increaseStat

      public void increaseStat​(Stat<?> stat, int amount)
      Overrides:
      increaseStat in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbhl;a(Laen;I)V
      intermediary method_7342 Lnet/minecraft/class_1657;method_7342(Lnet/minecraft/class_3445;I)V
      named increaseStat Lnet/minecraft/entity/player/PlayerEntity;increaseStat(Lnet/minecraft/stat/Stat;I)V
    • resetStat

      public void resetStat​(Stat<?> stat)
      Overrides:
      resetStat in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbhl;a(Laen;)V
      intermediary method_7266 Lnet/minecraft/class_1657;method_7266(Lnet/minecraft/class_3445;)V
      named resetStat Lnet/minecraft/entity/player/PlayerEntity;resetStat(Lnet/minecraft/stat/Stat;)V
    • unlockRecipes

      public int unlockRecipes​(Collection<Recipe<?>> recipes)
      Overrides:
      unlockRecipes in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbhl;a(Ljava/util/Collection;)I
      intermediary method_7254 Lnet/minecraft/class_1657;method_7254(Ljava/util/Collection;)I
      named unlockRecipes Lnet/minecraft/entity/player/PlayerEntity;unlockRecipes(Ljava/util/Collection;)I
    • unlockRecipes

      public void unlockRecipes​(Identifier[] ids)
      Overrides:
      unlockRecipes in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbhl;a([Lwb;)V
      intermediary method_7335 Lnet/minecraft/class_1657;method_7335([Lnet/minecraft/class_2960;)V
      named unlockRecipes Lnet/minecraft/entity/player/PlayerEntity;unlockRecipes([Lnet/minecraft/util/Identifier;)V
    • lockRecipes

      public int lockRecipes​(Collection<Recipe<?>> recipes)
      Overrides:
      lockRecipes in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbhl;b(Ljava/util/Collection;)I
      intermediary method_7333 Lnet/minecraft/class_1657;method_7333(Ljava/util/Collection;)I
      named lockRecipes Lnet/minecraft/entity/player/PlayerEntity;lockRecipes(Ljava/util/Collection;)I
    • addExperience

      public void addExperience​(int experience)
      Overrides:
      addExperience in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official d Lbhl;d(I)V
      intermediary method_7255 Lnet/minecraft/class_1657;method_7255(I)V
      named addExperience Lnet/minecraft/entity/player/PlayerEntity;addExperience(I)V
    • onDisconnect

      public void onDisconnect()
      Mappings:
      Namespace Name Mixin selector
      official p Laaw;p()V
      intermediary method_14231 Lnet/minecraft/class_3222;method_14231()V
      named onDisconnect Lnet/minecraft/server/network/ServerPlayerEntity;onDisconnect()V
    • isDisconnected

      public boolean isDisconnected()
      Mappings:
      Namespace Name Mixin selector
      official y_ Laaw;y_()Z
      intermediary method_14239 Lnet/minecraft/class_3222;method_14239()Z
      named isDisconnected Lnet/minecraft/server/network/ServerPlayerEntity;isDisconnected()Z
    • markHealthDirty

      public void markHealthDirty()
      Mappings:
      Namespace Name Mixin selector
      official r Laaw;r()V
      intermediary method_14217 Lnet/minecraft/class_3222;method_14217()V
      named markHealthDirty Lnet/minecraft/server/network/ServerPlayerEntity;markHealthDirty()V
    • sendMessage

      public void sendMessage​(Text message, boolean actionBar)
      Overrides:
      sendMessage in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbhl;a(Loi;Z)V
      intermediary method_7353 Lnet/minecraft/class_1657;method_7353(Lnet/minecraft/class_2561;Z)V
      named sendMessage Lnet/minecraft/entity/player/PlayerEntity;sendMessage(Lnet/minecraft/text/Text;Z)V
    • consumeItem

      protected void consumeItem()
      Overrides:
      consumeItem in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official s Lari;s()V
      intermediary method_6040 Lnet/minecraft/class_1309;method_6040()V
      named consumeItem Lnet/minecraft/entity/LivingEntity;consumeItem()V
    • lookAt

      public void lookAt​(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target)
      Overrides:
      lookAt in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(Ldj$a;Ldiu;)V
      intermediary method_5702 Lnet/minecraft/class_1297;method_5702(Lnet/minecraft/class_2183$class_2184;Lnet/minecraft/class_243;)V
      named lookAt Lnet/minecraft/entity/Entity;lookAt(Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;Lnet/minecraft/util/math/Vec3d;)V
    • method_14222

      public void method_14222​(EntityAnchorArgumentType.EntityAnchor entityAnchor, Entity entity, EntityAnchorArgumentType.EntityAnchor entityAnchor2)
      Mappings:
      Namespace Name Mixin selector
      official a Laaw;a(Ldj$a;Laqv;Ldj$a;)V
      intermediary method_14222 Lnet/minecraft/class_3222;method_14222(Lnet/minecraft/class_2183$class_2184;Lnet/minecraft/class_1297;Lnet/minecraft/class_2183$class_2184;)V
      named method_14222 Lnet/minecraft/server/network/ServerPlayerEntity;method_14222(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 a Laaw;a(Laaw;Z)V
      intermediary method_14203 Lnet/minecraft/class_3222;method_14203(Lnet/minecraft/class_3222;Z)V
      named copyFrom Lnet/minecraft/server/network/ServerPlayerEntity;copyFrom(Lnet/minecraft/server/network/ServerPlayerEntity;Z)V
    • onStatusEffectApplied

      protected void onStatusEffectApplied​(StatusEffectInstance effect)
      Overrides:
      onStatusEffectApplied in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lari;a(Laqp;)V
      intermediary method_6020 Lnet/minecraft/class_1309;method_6020(Lnet/minecraft/class_1293;)V
      named onStatusEffectApplied Lnet/minecraft/entity/LivingEntity;onStatusEffectApplied(Lnet/minecraft/entity/effect/StatusEffectInstance;)V
    • onStatusEffectUpgraded

      protected void onStatusEffectUpgraded​(StatusEffectInstance effect, boolean reapplyEffect)
      Overrides:
      onStatusEffectUpgraded in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lari;a(Laqp;Z)V
      intermediary method_6009 Lnet/minecraft/class_1309;method_6009(Lnet/minecraft/class_1293;Z)V
      named onStatusEffectUpgraded Lnet/minecraft/entity/LivingEntity;onStatusEffectUpgraded(Lnet/minecraft/entity/effect/StatusEffectInstance;Z)V
    • onStatusEffectRemoved

      protected void onStatusEffectRemoved​(StatusEffectInstance effect)
      Overrides:
      onStatusEffectRemoved in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lari;b(Laqp;)V
      intermediary method_6129 Lnet/minecraft/class_1309;method_6129(Lnet/minecraft/class_1293;)V
      named onStatusEffectRemoved Lnet/minecraft/entity/LivingEntity;onStatusEffectRemoved(Lnet/minecraft/entity/effect/StatusEffectInstance;)V
    • requestTeleport

      public void requestTeleport​(double destX, double destY, double destZ)
      Overrides:
      requestTeleport in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b Laqv;b(DDD)V
      intermediary method_5859 Lnet/minecraft/class_1297;method_5859(DDD)V
      named requestTeleport Lnet/minecraft/entity/Entity;requestTeleport(DDD)V
    • refreshPositionAfterTeleport

      public void refreshPositionAfterTeleport​(double x, double y, double z)
      Overrides:
      refreshPositionAfterTeleport in class Entity
      Mappings:
      Namespace Name Mixin selector
      official c Laqv;c(DDD)V
      intermediary method_24203 Lnet/minecraft/class_1297;method_24203(DDD)V
      named refreshPositionAfterTeleport Lnet/minecraft/entity/Entity;refreshPositionAfterTeleport(DDD)V
    • addCritParticles

      public void addCritParticles​(Entity target)
      Overrides:
      addCritParticles in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbhl;a(Laqv;)V
      intermediary method_7277 Lnet/minecraft/class_1657;method_7277(Lnet/minecraft/class_1297;)V
      named addCritParticles Lnet/minecraft/entity/player/PlayerEntity;addCritParticles(Lnet/minecraft/entity/Entity;)V
    • addEnchantedHitParticles

      public void addEnchantedHitParticles​(Entity target)
      Overrides:
      addEnchantedHitParticles in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbhl;b(Laqv;)V
      intermediary method_7304 Lnet/minecraft/class_1657;method_7304(Lnet/minecraft/class_1297;)V
      named addEnchantedHitParticles Lnet/minecraft/entity/player/PlayerEntity;addEnchantedHitParticles(Lnet/minecraft/entity/Entity;)V
    • sendAbilitiesUpdate

      public void sendAbilitiesUpdate()
      Overrides:
      sendAbilitiesUpdate in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official c_ Lbhl;c_()V
      intermediary method_7355 Lnet/minecraft/class_1657;method_7355()V
      named sendAbilitiesUpdate Lnet/minecraft/entity/player/PlayerEntity;sendAbilitiesUpdate()V
    • getServerWorld

      public ServerWorld getServerWorld()
      Mappings:
      Namespace Name Mixin selector
      official u Laaw;u()Laav;
      intermediary method_14220 Lnet/minecraft/class_3222;method_14220()Lnet/minecraft/class_3218;
      named getServerWorld Lnet/minecraft/server/network/ServerPlayerEntity;getServerWorld()Lnet/minecraft/server/world/ServerWorld;
    • changeGameMode

      public boolean changeGameMode​(GameMode gameMode)
      Mappings:
      Namespace Name Mixin selector
      official a Laaw;a(Lbts;)Z
      intermediary method_7336 Lnet/minecraft/class_3222;method_7336(Lnet/minecraft/class_1934;)Z
      named changeGameMode Lnet/minecraft/server/network/ServerPlayerEntity;changeGameMode(Lnet/minecraft/world/GameMode;)Z
    • isSpectator

      public boolean isSpectator()
      Specified by:
      isSpectator in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official a_ Laqv;a_()Z
      intermediary method_7325 Lnet/minecraft/class_1297;method_7325()Z
      named isSpectator Lnet/minecraft/entity/Entity;isSpectator()Z
    • isCreative

      public boolean isCreative()
      Returns whether this player is in creative mode.
      Specified by:
      isCreative in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official b_ Lbhl;b_()Z
      intermediary method_7337 Lnet/minecraft/class_1657;method_7337()Z
      named isCreative Lnet/minecraft/entity/player/PlayerEntity;isCreative()Z
    • sendSystemMessage

      public void sendSystemMessage​(Text message, UUID senderUuid)
      Specified by:
      sendSystemMessage in interface CommandOutput
      Overrides:
      sendSystemMessage in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lda;a(Loi;Ljava/util/UUID;)V
      intermediary method_9203 Lnet/minecraft/class_2165;method_9203(Lnet/minecraft/class_2561;Ljava/util/UUID;)V
      named sendSystemMessage Lnet/minecraft/server/command/CommandOutput;sendSystemMessage(Lnet/minecraft/text/Text;Ljava/util/UUID;)V
    • sendMessage

      public void sendMessage​(Text message, MessageType type, UUID senderUuid)
      Mappings:
      Namespace Name Mixin selector
      official a Laaw;a(Loi;Lof;Ljava/util/UUID;)V
      intermediary method_14254 Lnet/minecraft/class_3222;method_14254(Lnet/minecraft/class_2561;Lnet/minecraft/class_2556;Ljava/util/UUID;)V
      named sendMessage Lnet/minecraft/server/network/ServerPlayerEntity;sendMessage(Lnet/minecraft/text/Text;Lnet/minecraft/network/MessageType;Ljava/util/UUID;)V
    • getIp

      public String getIp()
      Mappings:
      Namespace Name Mixin selector
      official v Laaw;v()Ljava/lang/String;
      intermediary method_14209 Lnet/minecraft/class_3222;method_14209()Ljava/lang/String;
      named getIp Lnet/minecraft/server/network/ServerPlayerEntity;getIp()Ljava/lang/String;
    • setClientSettings

      public void setClientSettings​(ClientSettingsC2SPacket packet)
      Mappings:
      Namespace Name Mixin selector
      official a Laaw;a(Lsy;)V
      intermediary method_14213 Lnet/minecraft/class_3222;method_14213(Lnet/minecraft/class_2803;)V
      named setClientSettings Lnet/minecraft/server/network/ServerPlayerEntity;setClientSettings(Lnet/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket;)V
    • getClientChatVisibility

      public ChatVisibility getClientChatVisibility()
      Mappings:
      Namespace Name Mixin selector
      official x Laaw;x()Lbhj;
      intermediary method_14238 Lnet/minecraft/class_3222;method_14238()Lnet/minecraft/class_1659;
      named getClientChatVisibility Lnet/minecraft/server/network/ServerPlayerEntity;getClientChatVisibility()Lnet/minecraft/client/option/ChatVisibility;
    • sendResourcePackUrl

      public void sendResourcePackUrl​(String url, String hash, boolean required)
      Mappings:
      Namespace Name Mixin selector
      official a Laaw;a(Ljava/lang/String;Ljava/lang/String;Z)V
      intermediary method_14255 Lnet/minecraft/class_3222;method_14255(Ljava/lang/String;Ljava/lang/String;Z)V
      named sendResourcePackUrl Lnet/minecraft/server/network/ServerPlayerEntity;sendResourcePackUrl(Ljava/lang/String;Ljava/lang/String;Z)V
    • getPermissionLevel

      protected int getPermissionLevel()
      Overrides:
      getPermissionLevel in class Entity
      Mappings:
      Namespace Name Mixin selector
      official y Laqv;y()I
      intermediary method_5691 Lnet/minecraft/class_1297;method_5691()I
      named getPermissionLevel Lnet/minecraft/entity/Entity;getPermissionLevel()I
    • updateLastActionTime

      public void updateLastActionTime()
      Mappings:
      Namespace Name Mixin selector
      official z Laaw;z()V
      intermediary method_14234 Lnet/minecraft/class_3222;method_14234()V
      named updateLastActionTime Lnet/minecraft/server/network/ServerPlayerEntity;updateLastActionTime()V
    • getStatHandler

      public ServerStatHandler getStatHandler()
      Mappings:
      Namespace Name Mixin selector
      official A Laaw;A()Laem;
      intermediary method_14248 Lnet/minecraft/class_3222;method_14248()Lnet/minecraft/class_3442;
      named getStatHandler Lnet/minecraft/server/network/ServerPlayerEntity;getStatHandler()Lnet/minecraft/stat/ServerStatHandler;
    • getRecipeBook

      public ServerRecipeBook getRecipeBook()
      Mappings:
      Namespace Name Mixin selector
      official B Laaw;B()Lael;
      intermediary method_14253 Lnet/minecraft/class_3222;method_14253()Lnet/minecraft/class_3441;
      named getRecipeBook Lnet/minecraft/server/network/ServerPlayerEntity;getRecipeBook()Lnet/minecraft/server/network/ServerRecipeBook;
    • onStoppedTracking

      public void onStoppedTracking​(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official c Laaw;c(Laqv;)V
      intermediary method_14249 Lnet/minecraft/class_3222;method_14249(Lnet/minecraft/class_1297;)V
      named onStoppedTracking Lnet/minecraft/server/network/ServerPlayerEntity;onStoppedTracking(Lnet/minecraft/entity/Entity;)V
    • onStartedTracking

      public void onStartedTracking​(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official d Laaw;d(Laqv;)V
      intermediary method_14211 Lnet/minecraft/class_3222;method_14211(Lnet/minecraft/class_1297;)V
      named onStartedTracking Lnet/minecraft/server/network/ServerPlayerEntity;onStartedTracking(Lnet/minecraft/entity/Entity;)V
    • updatePotionVisibility

      protected void updatePotionVisibility()
      Overrides:
      updatePotionVisibility in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official C Lari;C()V
      intermediary method_6027 Lnet/minecraft/class_1309;method_6027()V
      named updatePotionVisibility Lnet/minecraft/entity/LivingEntity;updatePotionVisibility()V
    • getCameraEntity

      public Entity getCameraEntity()
      Mappings:
      Namespace Name Mixin selector
      official D Laaw;D()Laqv;
      intermediary method_14242 Lnet/minecraft/class_3222;method_14242()Lnet/minecraft/class_1297;
      named getCameraEntity Lnet/minecraft/server/network/ServerPlayerEntity;getCameraEntity()Lnet/minecraft/entity/Entity;
    • setCameraEntity

      public void setCameraEntity​(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official e Laaw;e(Laqv;)V
      intermediary method_14224 Lnet/minecraft/class_3222;method_14224(Lnet/minecraft/class_1297;)V
      named setCameraEntity Lnet/minecraft/server/network/ServerPlayerEntity;setCameraEntity(Lnet/minecraft/entity/Entity;)V
    • tickNetherPortalCooldown

      protected void tickNetherPortalCooldown()
      Overrides:
      tickNetherPortalCooldown in class Entity
      Mappings:
      Namespace Name Mixin selector
      official E Laqv;E()V
      intermediary method_5760 Lnet/minecraft/class_1297;method_5760()V
      named tickNetherPortalCooldown Lnet/minecraft/entity/Entity;tickNetherPortalCooldown()V
    • attack

      public void attack​(Entity target)
      Overrides:
      attack in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official f Lbhl;f(Laqv;)V
      intermediary method_7324 Lnet/minecraft/class_1657;method_7324(Lnet/minecraft/class_1297;)V
      named attack Lnet/minecraft/entity/player/PlayerEntity;attack(Lnet/minecraft/entity/Entity;)V
    • getLastActionTime

      public long getLastActionTime()
      Mappings:
      Namespace Name Mixin selector
      official F Laaw;F()J
      intermediary method_14219 Lnet/minecraft/class_3222;method_14219()J
      named getLastActionTime Lnet/minecraft/server/network/ServerPlayerEntity;getLastActionTime()J
    • getPlayerListName

      @Nullable public Text getPlayerListName()
      Mappings:
      Namespace Name Mixin selector
      official G Laaw;G()Loi;
      intermediary method_14206 Lnet/minecraft/class_3222;method_14206()Lnet/minecraft/class_2561;
      named getPlayerListName Lnet/minecraft/server/network/ServerPlayerEntity;getPlayerListName()Lnet/minecraft/text/Text;
    • swingHand

      public void swingHand​(Hand hand)
      Overrides:
      swingHand in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lari;a(Lapp;)V
      intermediary method_6104 Lnet/minecraft/class_1309;method_6104(Lnet/minecraft/class_1268;)V
      named swingHand Lnet/minecraft/entity/LivingEntity;swingHand(Lnet/minecraft/util/Hand;)V
    • isInTeleportationState

      public boolean isInTeleportationState()
      Mappings:
      Namespace Name Mixin selector
      official H Laaw;H()Z
      intermediary method_14208 Lnet/minecraft/class_3222;method_14208()Z
      named isInTeleportationState Lnet/minecraft/server/network/ServerPlayerEntity;isInTeleportationState()Z
    • onTeleportationDone

      public void onTeleportationDone()
      Mappings:
      Namespace Name Mixin selector
      official I Laaw;I()V
      intermediary method_14240 Lnet/minecraft/class_3222;method_14240()V
      named onTeleportationDone Lnet/minecraft/server/network/ServerPlayerEntity;onTeleportationDone()V
    • getAdvancementTracker

      public PlayerAdvancementTracker getAdvancementTracker()
      Mappings:
      Namespace Name Mixin selector
      official J Laaw;J()Lwj;
      intermediary method_14236 Lnet/minecraft/class_3222;method_14236()Lnet/minecraft/class_2985;
      named getAdvancementTracker Lnet/minecraft/server/network/ServerPlayerEntity;getAdvancementTracker()Lnet/minecraft/advancement/PlayerAdvancementTracker;
    • teleport

      public void teleport​(ServerWorld targetWorld, double x, double y, double z, float yaw, float pitch)
      Mappings:
      Namespace Name Mixin selector
      official a Laaw;a(Laav;DDDFF)V
      intermediary method_14251 Lnet/minecraft/class_3222;method_14251(Lnet/minecraft/class_3218;DDDFF)V
      named teleport Lnet/minecraft/server/network/ServerPlayerEntity;teleport(Lnet/minecraft/server/world/ServerWorld;DDDFF)V
    • getSpawnPointPosition

      @Nullable public BlockPos getSpawnPointPosition()
      Mappings:
      Namespace Name Mixin selector
      official K Laaw;K()Lfx;
      intermediary method_26280 Lnet/minecraft/class_3222;method_26280()Lnet/minecraft/class_2338;
      named getSpawnPointPosition Lnet/minecraft/server/network/ServerPlayerEntity;getSpawnPointPosition()Lnet/minecraft/util/math/BlockPos;
    • getSpawnAngle

      public float getSpawnAngle()
      Mappings:
      Namespace Name Mixin selector
      official L Laaw;L()F
      intermediary method_30631 Lnet/minecraft/class_3222;method_30631()F
      named getSpawnAngle Lnet/minecraft/server/network/ServerPlayerEntity;getSpawnAngle()F
    • getSpawnPointDimension

      public RegistryKey<World> getSpawnPointDimension()
      Mappings:
      Namespace Name Mixin selector
      official M Laaw;M()Lwa;
      intermediary method_26281 Lnet/minecraft/class_3222;method_26281()Lnet/minecraft/class_5321;
      named getSpawnPointDimension Lnet/minecraft/server/network/ServerPlayerEntity;getSpawnPointDimension()Lnet/minecraft/util/registry/RegistryKey;
    • isSpawnPointSet

      public boolean isSpawnPointSet()
      Mappings:
      Namespace Name Mixin selector
      official N Laaw;N()Z
      intermediary method_26282 Lnet/minecraft/class_3222;method_26282()Z
      named isSpawnPointSet Lnet/minecraft/server/network/ServerPlayerEntity;isSpawnPointSet()Z
    • setSpawnPoint

      public void setSpawnPoint​(RegistryKey<World> dimension, @Nullable BlockPos pos, float angle, boolean spawnPointSet, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Laaw;a(Lwa;Lfx;FZZ)V
      intermediary method_26284 Lnet/minecraft/class_3222;method_26284(Lnet/minecraft/class_5321;Lnet/minecraft/class_2338;FZZ)V
      named setSpawnPoint Lnet/minecraft/server/network/ServerPlayerEntity;setSpawnPoint(Lnet/minecraft/util/registry/RegistryKey;Lnet/minecraft/util/math/BlockPos;FZZ)V
    • sendInitialChunkPackets

      public void sendInitialChunkPackets​(ChunkPos chunkPos, Packet<?> packet, Packet<?> packet2)
      Mappings:
      Namespace Name Mixin selector
      official a Laaw;a(Lbta;Lpa;Lpa;)V
      intermediary method_14205 Lnet/minecraft/class_3222;method_14205(Lnet/minecraft/class_1923;Lnet/minecraft/class_2596;Lnet/minecraft/class_2596;)V
      named sendInitialChunkPackets Lnet/minecraft/server/network/ServerPlayerEntity;sendInitialChunkPackets(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/network/Packet;Lnet/minecraft/network/Packet;)V
    • sendUnloadChunkPacket

      public void sendUnloadChunkPacket​(ChunkPos chunkPos)
      Mappings:
      Namespace Name Mixin selector
      official a Laaw;a(Lbta;)V
      intermediary method_14246 Lnet/minecraft/class_3222;method_14246(Lnet/minecraft/class_1923;)V
      named sendUnloadChunkPacket Lnet/minecraft/server/network/ServerPlayerEntity;sendUnloadChunkPacket(Lnet/minecraft/util/math/ChunkPos;)V
    • getCameraPosition

      public ChunkSectionPos getCameraPosition()
      Mappings:
      Namespace Name Mixin selector
      official O Laaw;O()Lgq;
      intermediary method_14232 Lnet/minecraft/class_3222;method_14232()Lnet/minecraft/class_4076;
      named getCameraPosition Lnet/minecraft/server/network/ServerPlayerEntity;getCameraPosition()Lnet/minecraft/util/math/ChunkSectionPos;
    • setCameraPosition

      public void setCameraPosition​(ChunkSectionPos cameraPosition)
      Mappings:
      Namespace Name Mixin selector
      official a Laaw;a(Lgq;)V
      intermediary method_17668 Lnet/minecraft/class_3222;method_17668(Lnet/minecraft/class_4076;)V
      named setCameraPosition Lnet/minecraft/server/network/ServerPlayerEntity;setCameraPosition(Lnet/minecraft/util/math/ChunkSectionPos;)V
    • playSound

      public void playSound​(SoundEvent event, SoundCategory category, float volume, float pitch)
      Overrides:
      playSound in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbhl;a(Laef;Laeh;FF)V
      intermediary method_17356 Lnet/minecraft/class_1657;method_17356(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
      named playSound Lnet/minecraft/entity/player/PlayerEntity;playSound(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)V
    • createSpawnPacket

      public Packet<?> createSpawnPacket()
      Overrides:
      createSpawnPacket in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official P Laqv;P()Lpa;
      intermediary method_18002 Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;
      named createSpawnPacket Lnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;
    • dropItem

      public ItemEntity dropItem​(ItemStack stack, boolean throwRandomly, boolean retainOwnership)
      Overrides:
      dropItem in class PlayerEntity
      Parameters:
      throwRandomly - If true, the item will be thrown in a random direction from the entity regardless of which direction the entity is facing
      Mappings:
      Namespace Name Mixin selector
      official a Lbhl;a(Lbnv;ZZ)Lbek;
      intermediary method_7329 Lnet/minecraft/class_1657;method_7329(Lnet/minecraft/class_1799;ZZ)Lnet/minecraft/class_1542;
      named dropItem Lnet/minecraft/entity/player/PlayerEntity;dropItem(Lnet/minecraft/item/ItemStack;ZZ)Lnet/minecraft/entity/ItemEntity;
    • getTextStream

      @Nullable public TextStream getTextStream()
      Mappings:
      Namespace Name Mixin selector
      official Q Laaw;Q()Labs;
      intermediary method_31273 Lnet/minecraft/class_3222;method_31273()Lnet/minecraft/class_5513;
      named getTextStream Lnet/minecraft/server/network/ServerPlayerEntity;getTextStream()Lnet/minecraft/server/filter/TextStream;
    • setWorld

      public void setWorld​(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      official c Laaw;c(Laav;)V
      intermediary method_32747 Lnet/minecraft/class_3222;method_32747(Lnet/minecraft/class_3218;)V
      named setWorld Lnet/minecraft/server/network/ServerPlayerEntity;setWorld(Lnet/minecraft/server/world/ServerWorld;)V
    • gameModeFromTag

      @Nullable private static GameMode gameModeFromTag​(@Nullable CompoundTag tag, String key)
      Mappings:
      Namespace Name Mixin selector
      official a Laaw;a(Lmq;Ljava/lang/String;)Lbts;
      intermediary method_32745 Lnet/minecraft/class_3222;method_32745(Lnet/minecraft/class_2487;Ljava/lang/String;)Lnet/minecraft/class_1934;
      named gameModeFromTag Lnet/minecraft/server/network/ServerPlayerEntity;gameModeFromTag(Lnet/minecraft/nbt/CompoundTag;Ljava/lang/String;)Lnet/minecraft/world/GameMode;
    • getServerGameMode

      private GameMode getServerGameMode​(@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 backupGameMode if not null, or the server's default game mode otherwise.

      See Also:
      MinecraftServer.getForcedGameMode()
      Mappings:
      Namespace Name Mixin selector
      official b Laaw;b(Lbts;)Lbts;
      intermediary method_32746 Lnet/minecraft/class_3222;method_32746(Lnet/minecraft/class_1934;)Lnet/minecraft/class_1934;
      named getServerGameMode Lnet/minecraft/server/network/ServerPlayerEntity;getServerGameMode(Lnet/minecraft/world/GameMode;)Lnet/minecraft/world/GameMode;
    • setGameMode

      public void setGameMode​(@Nullable CompoundTag tag)
      Mappings:
      Namespace Name Mixin selector
      official c Laaw;c(Lmq;)V
      intermediary method_32748 Lnet/minecraft/class_3222;method_32748(Lnet/minecraft/class_2487;)V
      named setGameMode Lnet/minecraft/server/network/ServerPlayerEntity;setGameMode(Lnet/minecraft/nbt/CompoundTag;)V
    • gameModeToTag

      private void gameModeToTag​(CompoundTag tag)
      Mappings:
      Namespace Name Mixin selector
      official k Laaw;k(Lmq;)V
      intermediary method_32749 Lnet/minecraft/class_3222;method_32749(Lnet/minecraft/class_2487;)V
      named gameModeToTag Lnet/minecraft/server/network/ServerPlayerEntity;gameModeToTag(Lnet/minecraft/nbt/CompoundTag;)V