Class PlayerEntity

Direct Known Subclasses:
ClientPlayerEntity, OtherPlayerEntity, ServerPlayerEntity

public abstract class PlayerEntity extends LivingEntity
Mappings:
Namespace Name
intermediary net/minecraft/class_54
glue class_172
server em
client gs
named net/minecraft/entity/player/PlayerEntity
  • Field Details

    • inventory

      public PlayerInventory inventory
      Mappings:
      Namespace Name Mixin selector
      intermediary field_519 Lnet/minecraft/class_54;field_519:Lnet/minecraft/class_136;
      glue field_726 Lclass_172;field_726:Lclass_223;
      server i Lem;i:Lfx;
      client c Lgs;c:Lix;
      named inventory Lnet/minecraft/entity/player/PlayerEntity;inventory:Lnet/minecraft/entity/player/PlayerInventory;
    • playerScreenHandler

      public ScreenHandler playerScreenHandler
      Mappings:
      Namespace Name Mixin selector
      intermediary field_520 Lnet/minecraft/class_54;field_520:Lnet/minecraft/class_71;
      glue field_727 Lclass_172;field_727:Lclass_94;
      server j Lem;j:Lcl;
      client d Lgs;d:Ldw;
      named playerScreenHandler Lnet/minecraft/entity/player/PlayerEntity;playerScreenHandler:Lnet/minecraft/screen/ScreenHandler;
    • currentScreenHandler

      public ScreenHandler currentScreenHandler
      Mappings:
      Namespace Name Mixin selector
      intermediary field_521 Lnet/minecraft/class_54;field_521:Lnet/minecraft/class_71;
      glue field_728 Lclass_172;field_728:Lclass_94;
      server k Lem;k:Lcl;
      client e Lgs;e:Ldw;
      named currentScreenHandler Lnet/minecraft/entity/player/PlayerEntity;currentScreenHandler:Lnet/minecraft/screen/ScreenHandler;
    • unused

      public byte unused
      Mappings:
      Namespace Name Mixin selector
      intermediary field_522 Lnet/minecraft/class_54;field_522:B
      glue field_729 Lclass_172;field_729:B
      server l Lem;l:B
      client f Lgs;f:B
      named unused Lnet/minecraft/entity/player/PlayerEntity;unused:B
    • score

      public int score
      Mappings:
      Namespace Name Mixin selector
      intermediary field_523 Lnet/minecraft/class_54;field_523:I
      glue field_730 Lclass_172;field_730:I
      server m Lem;m:I
      client g Lgs;g:I
      named score Lnet/minecraft/entity/player/PlayerEntity;score:I
    • prevStepBobbingAmount

      public float prevStepBobbingAmount
      Mappings:
      Namespace Name Mixin selector
      intermediary field_524 Lnet/minecraft/class_54;field_524:F
      glue field_731 Lclass_172;field_731:F
      server n Lem;n:F
      client h Lgs;h:F
      named prevStepBobbingAmount Lnet/minecraft/entity/player/PlayerEntity;prevStepBobbingAmount:F
    • stepBobbingAmount

      public float stepBobbingAmount
      Mappings:
      Namespace Name Mixin selector
      intermediary field_525 Lnet/minecraft/class_54;field_525:F
      glue field_732 Lclass_172;field_732:F
      server o Lem;o:F
      client i Lgs;i:F
      named stepBobbingAmount Lnet/minecraft/entity/player/PlayerEntity;stepBobbingAmount:F
    • handSwinging

      public boolean handSwinging
      Mappings:
      Namespace Name Mixin selector
      intermediary field_526 Lnet/minecraft/class_54;field_526:Z
      glue field_733 Lclass_172;field_733:Z
      server p Lem;p:Z
      client j Lgs;j:Z
      named handSwinging Lnet/minecraft/entity/player/PlayerEntity;handSwinging:Z
    • handSwingTicks

      public int handSwingTicks
      Mappings:
      Namespace Name Mixin selector
      intermediary field_527 Lnet/minecraft/class_54;field_527:I
      glue field_734 Lclass_172;field_734:I
      server q Lem;q:I
      client k Lgs;k:I
      named handSwingTicks Lnet/minecraft/entity/player/PlayerEntity;handSwingTicks:I
    • name

      public String name
      Mappings:
      Namespace Name Mixin selector
      intermediary field_528 Lnet/minecraft/class_54;field_528:Ljava/lang/String;
      glue field_735 Lclass_172;field_735:Ljava/lang/String;
      server r Lem;r:Ljava/lang/String;
      client l Lgs;l:Ljava/lang/String;
      named name Lnet/minecraft/entity/player/PlayerEntity;name:Ljava/lang/String;
    • dimensionId

      public int dimensionId
      Mappings:
      Namespace Name Mixin selector
      intermediary field_529 Lnet/minecraft/class_54;field_529:I
      glue field_736 Lclass_172;field_736:I
      server s Lem;s:I
      client m Lgs;m:I
      named dimensionId Lnet/minecraft/entity/player/PlayerEntity;dimensionId:I
    • playerCapeUrl

      @Environment(CLIENT) public String playerCapeUrl
      Mappings:
      Namespace Name Mixin selector
      intermediary field_506 Lnet/minecraft/class_54;field_506:Ljava/lang/String;
      glue field_1098 Lclass_172;field_1098:Ljava/lang/String;
      server field_506 Lem;field_506:Ljava/lang/String;
      client n Lgs;n:Ljava/lang/String;
      named playerCapeUrl Lnet/minecraft/entity/player/PlayerEntity;playerCapeUrl:Ljava/lang/String;
    • prevCapeX

      public double prevCapeX
      Mappings:
      Namespace Name Mixin selector
      intermediary field_530 Lnet/minecraft/class_54;field_530:D
      glue field_737 Lclass_172;field_737:D
      server t Lem;t:D
      client o Lgs;o:D
      named prevCapeX Lnet/minecraft/entity/player/PlayerEntity;prevCapeX:D
    • prevCapeY

      public double prevCapeY
      Mappings:
      Namespace Name Mixin selector
      intermediary field_531 Lnet/minecraft/class_54;field_531:D
      glue field_738 Lclass_172;field_738:D
      server u Lem;u:D
      client p Lgs;p:D
      named prevCapeY Lnet/minecraft/entity/player/PlayerEntity;prevCapeY:D
    • prevCapeZ

      public double prevCapeZ
      Mappings:
      Namespace Name Mixin selector
      intermediary field_532 Lnet/minecraft/class_54;field_532:D
      glue field_739 Lclass_172;field_739:D
      server v Lem;v:D
      client q Lgs;q:D
      named prevCapeZ Lnet/minecraft/entity/player/PlayerEntity;prevCapeZ:D
    • capeX

      public double capeX
      Mappings:
      Namespace Name Mixin selector
      intermediary field_533 Lnet/minecraft/class_54;field_533:D
      glue field_740 Lclass_172;field_740:D
      server w Lem;w:D
      client r Lgs;r:D
      named capeX Lnet/minecraft/entity/player/PlayerEntity;capeX:D
    • capeY

      public double capeY
      Mappings:
      Namespace Name Mixin selector
      intermediary field_534 Lnet/minecraft/class_54;field_534:D
      glue field_741 Lclass_172;field_741:D
      server x Lem;x:D
      client s Lgs;s:D
      named capeY Lnet/minecraft/entity/player/PlayerEntity;capeY:D
    • capeZ

      public double capeZ
      Mappings:
      Namespace Name Mixin selector
      intermediary field_535 Lnet/minecraft/class_54;field_535:D
      glue field_742 Lclass_172;field_742:D
      server y Lem;y:D
      client t Lgs;t:D
      named capeZ Lnet/minecraft/entity/player/PlayerEntity;capeZ:D
    • sleeping

      protected boolean sleeping
      Mappings:
      Namespace Name Mixin selector
      intermediary field_536 Lnet/minecraft/class_54;field_536:Z
      glue field_743 Lclass_172;field_743:Z
      server z Lem;z:Z
      client u Lgs;u:Z
      named sleeping Lnet/minecraft/entity/player/PlayerEntity;sleeping:Z
    • sleepingPos

      public Vec3i sleepingPos
      Mappings:
      Namespace Name Mixin selector
      intermediary field_508 Lnet/minecraft/class_54;field_508:Lnet/minecraft/class_63;
      glue field_715 Lclass_172;field_715:Lclass_42;
      server A Lem;A:Lay;
      client v Lgs;v:Lbr;
      named sleepingPos Lnet/minecraft/entity/player/PlayerEntity;sleepingPos:Lnet/minecraft/util/math/Vec3i;
    • sleepTimer

      private int sleepTimer
      Mappings:
      Namespace Name Mixin selector
      intermediary field_515 Lnet/minecraft/class_54;field_515:I
      glue field_722 Lclass_172;field_722:I
      server a Lem;a:I
      client a Lgs;a:I
      named sleepTimer Lnet/minecraft/entity/player/PlayerEntity;sleepTimer:I
    • sleepOffsetX

      public float sleepOffsetX
      Mappings:
      Namespace Name Mixin selector
      intermediary field_509 Lnet/minecraft/class_54;field_509:F
      glue field_716 Lclass_172;field_716:F
      server B Lem;B:F
      client w Lgs;w:F
      named sleepOffsetX Lnet/minecraft/entity/player/PlayerEntity;sleepOffsetX:F
    • sleepOffsetY

      @Environment(CLIENT) public float sleepOffsetY
      Mappings:
      Namespace Name Mixin selector
      intermediary field_507 Lnet/minecraft/class_54;field_507:F
      glue field_1099 Lclass_172;field_1099:F
      server field_507 Lem;field_507:F
      client x Lgs;x:F
      named sleepOffsetY Lnet/minecraft/entity/player/PlayerEntity;sleepOffsetY:F
    • sleepOffsetZ

      public float sleepOffsetZ
      Mappings:
      Namespace Name Mixin selector
      intermediary field_510 Lnet/minecraft/class_54;field_510:F
      glue field_717 Lclass_172;field_717:F
      server C Lem;C:F
      client y Lgs;y:F
      named sleepOffsetZ Lnet/minecraft/entity/player/PlayerEntity;sleepOffsetZ:F
    • spawnPos

      private Vec3i spawnPos
      Mappings:
      Namespace Name Mixin selector
      intermediary field_516 Lnet/minecraft/class_54;field_516:Lnet/minecraft/class_63;
      glue field_723 Lclass_172;field_723:Lclass_42;
      server b Lem;b:Lay;
      client b Lgs;b:Lbr;
      named spawnPos Lnet/minecraft/entity/player/PlayerEntity;spawnPos:Lnet/minecraft/util/math/Vec3i;
    • ridingStartPos

      private Vec3i ridingStartPos
      Used for the "On A Rail" Achievement
      Mappings:
      Namespace Name Mixin selector
      intermediary field_517 Lnet/minecraft/class_54;field_517:Lnet/minecraft/class_63;
      glue field_724 Lclass_172;field_724:Lclass_42;
      server c Lem;c:Lay;
      client bN Lgs;bN:Lbr;
      named ridingStartPos Lnet/minecraft/entity/player/PlayerEntity;ridingStartPos:Lnet/minecraft/util/math/Vec3i;
    • portalCooldown

      public int portalCooldown
      Mappings:
      Namespace Name Mixin selector
      intermediary field_511 Lnet/minecraft/class_54;field_511:I
      glue field_718 Lclass_172;field_718:I
      server D Lem;D:I
      client z Lgs;z:I
      named portalCooldown Lnet/minecraft/entity/player/PlayerEntity;portalCooldown:I
    • inTeleportationState

      protected boolean inTeleportationState
      Mappings:
      Namespace Name Mixin selector
      intermediary field_512 Lnet/minecraft/class_54;field_512:Z
      glue field_719 Lclass_172;field_719:Z
      server E Lem;E:Z
      client A Lgs;A:Z
      named inTeleportationState Lnet/minecraft/entity/player/PlayerEntity;inTeleportationState:Z
    • field_504

      @Environment(CLIENT) public float field_504
      Mappings:
      Namespace Name Mixin selector
      intermediary field_504 Lnet/minecraft/class_54;field_504:F
      glue field_1096 Lclass_172;field_1096:F
      server field_504 Lem;field_504:F
      client B Lgs;B:F
      named field_504 Lnet/minecraft/entity/player/PlayerEntity;field_504:F
    • field_505

      @Environment(CLIENT) public float field_505
      Mappings:
      Namespace Name Mixin selector
      intermediary field_505 Lnet/minecraft/class_54;field_505:F
      glue field_1097 Lclass_172;field_1097:F
      server field_505 Lem;field_505:F
      client C Lgs;C:F
      named field_505 Lnet/minecraft/entity/player/PlayerEntity;field_505:F
    • field_513

      @Environment(SERVER) public float field_513
      Mappings:
      Namespace Name Mixin selector
      intermediary field_513 Lnet/minecraft/class_54;field_513:F
      glue field_720 Lclass_172;field_720:F
      server F Lem;F:F
      client field_513 Lgs;field_513:F
      named field_513 Lnet/minecraft/entity/player/PlayerEntity;field_513:F
    • field_518

      private int field_518
      Mappings:
      Namespace Name Mixin selector
      intermediary field_518 Lnet/minecraft/class_54;field_518:I
      glue field_725 Lclass_172;field_725:I
      server d Lem;d:I
      client bO Lgs;bO:I
      named field_518 Lnet/minecraft/entity/player/PlayerEntity;field_518:I
    • fishHook

      public FishingBobberEntity fishHook
      Mappings:
      Namespace Name Mixin selector
      intermediary field_514 Lnet/minecraft/class_54;field_514:Lnet/minecraft/class_135;
      glue field_721 Lclass_172;field_721:Lclass_289;
      server G Lem;G:Lhq;
      client D Lgs;D:Llx;
      named fishHook Lnet/minecraft/entity/player/PlayerEntity;fishHook:Lnet/minecraft/entity/projectile/FishingBobberEntity;
  • Constructor Details

    • PlayerEntity

      public PlayerEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_57;<init>(Lnet/minecraft/class_18;)V
      glue <init> Lclass_450;<init>(Lclass_129;)V
      server <init> Llq;<init>(Ldj;)V
      client <init> Lsn;<init>(Lfd;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
  • Method Details

    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1310 Lnet/minecraft/class_57;method_1310()V
      glue method_108 Lclass_450;method_108()V
      server b Llq;b()V
      client b Lsn;b()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • tick

      public void tick()
      Overrides:
      tick in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1370 Lnet/minecraft/class_57;method_1370()V
      glue method_29 Lclass_450;method_29()V
      server m_ Llq;m_()V
      client w_ Lsn;w_()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • isImmobile

      protected boolean isImmobile()
      Overrides:
      isImmobile in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_942 Lnet/minecraft/class_127;method_942()Z
      glue method_820 Lclass_283;method_820()Z
      server D Lhl;D()Z
      client y Lls;y()Z
      named isImmobile Lnet/minecraft/entity/LivingEntity;isImmobile()Z
    • closeHandledScreen

      protected void closeHandledScreen()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_493 Lnet/minecraft/class_54;method_493()V
      glue method_445 Lclass_172;method_445()V
      server y Lem;y()V
      client r Lgs;r()V
      named closeHandledScreen Lnet/minecraft/entity/player/PlayerEntity;closeHandledScreen()V
    • updateCapeUrl

      @Environment(CLIENT) public void updateCapeUrl()
      Overrides:
      updateCapeUrl in class Entity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1316 Lnet/minecraft/class_57;method_1316()V
      glue method_1175 Lclass_450;method_1175()V
      server method_1316 Llq;method_1316()V
      client u_ Lsn;u_()V
      named updateCapeUrl Lnet/minecraft/entity/Entity;updateCapeUrl()V
    • tickRiding

      public void tickRiding()
      Overrides:
      tickRiding in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1384 Lnet/minecraft/class_57;method_1384()V
      glue method_821 Lclass_450;method_821()V
      server E Llq;E()V
      client s_ Lsn;s_()V
      named tickRiding Lnet/minecraft/entity/Entity;tickRiding()V
    • teleportTop

      @Environment(CLIENT) public void teleportTop()
      Overrides:
      teleportTop in class Entity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1315 Lnet/minecraft/class_57;method_1315()V
      glue method_1174 Lclass_450;method_1174()V
      server method_1315 Llq;method_1315()V
      client t_ Lsn;t_()V
      named teleportTop Lnet/minecraft/entity/Entity;teleportTop()V
    • tickLiving

      protected void tickLiving()
      Overrides:
      tickLiving in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_910 Lnet/minecraft/class_127;method_910()V
      glue method_109 Lclass_283;method_109()V
      server c_ Lhl;c_()V
      client f_ Lls;f_()V
      named tickLiving Lnet/minecraft/entity/LivingEntity;tickLiving()V
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_937 Lnet/minecraft/class_127;method_937()V
      glue method_442 Lclass_283;method_442()V
      server v Lhl;v()V
      client o Lls;o()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • collideWithEntity

      private void collideWithEntity(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_520 Lnet/minecraft/class_54;method_520(Lnet/minecraft/class_57;)V
      glue method_852 Lclass_172;method_852(Lclass_450;)V
      server i Lem;i(Llq;)V
      client j Lgs;j(Lsn;)V
      named collideWithEntity Lnet/minecraft/entity/player/PlayerEntity;collideWithEntity(Lnet/minecraft/entity/Entity;)V
    • getScore

      @Environment(CLIENT) public int getScore()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_481 Lnet/minecraft/class_54;method_481()I
      glue method_1170 Lclass_172;method_1170()I
      server method_481 Lem;method_481()I
      client C Lgs;C()I
      named getScore Lnet/minecraft/entity/player/PlayerEntity;getScore()I
    • onKilledBy

      public void onKilledBy(Entity adversary)
      Overrides:
      onKilledBy in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_938 Lnet/minecraft/class_127;method_938(Lnet/minecraft/class_57;)V
      glue method_614 Lclass_283;method_614(Lclass_450;)V
      server a Lhl;a(Llq;)V
      client b Lls;b(Lsn;)V
      named onKilledBy Lnet/minecraft/entity/LivingEntity;onKilledBy(Lnet/minecraft/entity/Entity;)V
    • updateKilledAchievement

      public void updateKilledAchievement(Entity entityKilled, int score)
      Overrides:
      updateKilledAchievement in class Entity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1391 Lnet/minecraft/class_57;method_1391(Lnet/minecraft/class_57;I)V
      glue method_847 Lclass_450;method_847(Lclass_450;I)V
      server c Llq;c(Llq;I)V
      client c Lsn;c(Lsn;I)V
      named updateKilledAchievement Lnet/minecraft/entity/Entity;updateKilledAchievement(Lnet/minecraft/entity/Entity;I)V
    • dropSelectedItem

      public void dropSelectedItem()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_501 Lnet/minecraft/class_54;method_501()V
      glue method_822 Lclass_172;method_822()V
      server F Lem;F()V
      client D Lgs;D()V
      named dropSelectedItem Lnet/minecraft/entity/player/PlayerEntity;dropSelectedItem()V
    • dropItem

      public void dropItem(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_513 Lnet/minecraft/class_54;method_513(Lnet/minecraft/class_31;)V
      glue method_843 Lclass_172;method_843(Lclass_224;)V
      server b Lem;b(Lfy;)V
      client a Lgs;a(Liz;)V
      named dropItem Lnet/minecraft/entity/player/PlayerEntity;dropItem(Lnet/minecraft/item/ItemStack;)V
    • dropItem

      public void dropItem(ItemStack stack, boolean throwRandomly)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_509 Lnet/minecraft/class_54;method_509(Lnet/minecraft/class_31;Z)V
      glue method_838 Lclass_172;method_838(Lclass_224;Z)V
      server a Lem;a(Lfy;Z)V
      client a Lgs;a(Liz;Z)V
      named dropItem Lnet/minecraft/entity/player/PlayerEntity;dropItem(Lnet/minecraft/item/ItemStack;Z)V
    • spawnItem

      protected void spawnItem(ItemEntity itemEntity)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_508 Lnet/minecraft/class_54;method_508(Lnet/minecraft/class_142;)V
      glue method_837 Lclass_172;method_837(Lclass_189;)V
      server a Lem;a(Lez;)V
      client a Lgs;a(Lhl;)V
      named spawnItem Lnet/minecraft/entity/player/PlayerEntity;spawnItem(Lnet/minecraft/entity/ItemEntity;)V
    • getBlockBreakingSpeed

      public float getBlockBreakingSpeed(Block block)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_511 Lnet/minecraft/class_54;method_511(Lnet/minecraft/class_17;)F
      glue method_841 Lclass_172;method_841(Lclass_507;)F
      server a Lem;a(Lna;)F
      client a Lgs;a(Luu;)F
      named getBlockBreakingSpeed Lnet/minecraft/entity/player/PlayerEntity;getBlockBreakingSpeed(Lnet/minecraft/block/Block;)F
    • canHarvest

      public boolean canHarvest(Block block)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_514 Lnet/minecraft/class_54;method_514(Lnet/minecraft/class_17;)Z
      glue method_844 Lclass_172;method_844(Lclass_507;)Z
      server b Lem;b(Lna;)Z
      client b Lgs;b(Luu;)Z
      named canHarvest Lnet/minecraft/entity/player/PlayerEntity;canHarvest(Lnet/minecraft/block/Block;)Z
    • readNbt

      public void readNbt(NbtCompound nbt)
      Overrides:
      readNbt in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1363 Lnet/minecraft/class_57;method_1363(Lnet/minecraft/class_8;)V
      glue method_23 Lclass_450;method_23(Lclass_333;)V
      server a Llq;a(Liq;)V
      client a Lsn;a(Lnu;)V
      named readNbt Lnet/minecraft/entity/Entity;readNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • writeNbt

      public void writeNbt(NbtCompound nbt)
      Overrides:
      writeNbt in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1368 Lnet/minecraft/class_57;method_1368(Lnet/minecraft/class_8;)V
      glue method_24 Lclass_450;method_24(Lclass_333;)V
      server b Llq;b(Liq;)V
      client b Lsn;b(Lnu;)V
      named writeNbt Lnet/minecraft/entity/Entity;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • openDoubleChestScreen

      public void openDoubleChestScreen(Inventory inventory)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_486 Lnet/minecraft/class_54;method_486(Lnet/minecraft/class_134;)V
      glue method_432 Lclass_172;method_432(Lclass_287;)V
      server a Lem;a(Lhp;)V
      client a Lgs;a(Llw;)V
      named openDoubleChestScreen Lnet/minecraft/entity/player/PlayerEntity;openDoubleChestScreen(Lnet/minecraft/inventory/Inventory;)V
    • openCraftingScreen

      public void openCraftingScreen(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_484 Lnet/minecraft/class_54;method_484(III)V
      glue method_428 Lclass_172;method_428(III)V
      server b Lem;b(III)V
      client a Lgs;a(III)V
      named openCraftingScreen Lnet/minecraft/entity/player/PlayerEntity;openCraftingScreen(III)V
    • sendPickup

      public void sendPickup(Entity item, int count)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_491 Lnet/minecraft/class_54;method_491(Lnet/minecraft/class_57;I)V
      glue method_438 Lclass_172;method_438(Lclass_450;I)V
      server b Lem;b(Llq;I)V
      client b Lgs;b(Lsn;I)V
      named sendPickup Lnet/minecraft/entity/player/PlayerEntity;sendPickup(Lnet/minecraft/entity/Entity;I)V
    • getEyeHeight

      public float getEyeHeight()
      Overrides:
      getEyeHeight in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1378 Lnet/minecraft/class_57;method_1378()F
      glue method_626 Lclass_450;method_626()F
      server t Llq;t()F
      client w Lsn;w()F
      named getEyeHeight Lnet/minecraft/entity/Entity;getEyeHeight()F
    • resetEyeHeight

      protected void resetEyeHeight()
      Used when the player wakes up
      Mappings:
      Namespace Name Mixin selector
      intermediary method_499 Lnet/minecraft/class_54;method_499()V
      glue method_625 Lclass_172;method_625()V
      server s Lem;s()V
      client E Lgs;E()V
      named resetEyeHeight Lnet/minecraft/entity/player/PlayerEntity;resetEyeHeight()V
    • damage

      public boolean damage(Entity damageSource, int amount)
      Overrides:
      damage in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1355 Lnet/minecraft/class_57;method_1355(Lnet/minecraft/class_57;I)Z
      glue method_178 Lclass_450;method_178(Lclass_450;I)Z
      server a Llq;a(Llq;I)Z
      client a Lsn;a(Lsn;I)Z
      named damage Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/Entity;I)Z
    • isPvpEnabled

      protected boolean isPvpEnabled()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_498 Lnet/minecraft/class_54;method_498()Z
      glue method_623 Lclass_172;method_623()Z
      server j_ Lem;j_()Z
      client F Lgs;F()Z
      named isPvpEnabled Lnet/minecraft/entity/player/PlayerEntity;isPvpEnabled()Z
    • method_510

      protected void method_510(LivingEntity livingEntity, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_510 Lnet/minecraft/class_54;method_510(Lnet/minecraft/class_127;Z)V
      glue method_840 Lclass_172;method_840(Lclass_283;Z)V
      server a Lem;a(Lhl;Z)V
      client a Lgs;a(Lls;Z)V
      named method_510 Lnet/minecraft/entity/player/PlayerEntity;method_510(Lnet/minecraft/entity/LivingEntity;Z)V
    • applyDamage

      protected void applyDamage(int amount)
      Overrides:
      applyDamage in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_946 Lnet/minecraft/class_127;method_946(I)V
      glue method_845 Lclass_283;method_845(I)V
      server c Lhl;c(I)V
      client b Lls;b(I)V
      named applyDamage Lnet/minecraft/entity/LivingEntity;applyDamage(I)V
    • openFurnaceScreen

      public void openFurnaceScreen(FurnaceBlockEntity furnace)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_487 Lnet/minecraft/class_54;method_487(Lnet/minecraft/class_138;)V
      glue method_433 Lclass_172;method_433(Lclass_446;)V
      server a Lem;a(Lln;)V
      client a Lgs;a(Lsk;)V
      named openFurnaceScreen Lnet/minecraft/entity/player/PlayerEntity;openFurnaceScreen(Lnet/minecraft/block/entity/FurnaceBlockEntity;)V
    • openDispenserScreen

      public void openDispenserScreen(DispenserBlockEntity dispenser)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_485 Lnet/minecraft/class_54;method_485(Lnet/minecraft/class_137;)V
      glue method_430 Lclass_172;method_430(Lclass_22;)V
      server a Lem;a(Lak;)V
      client a Lgs;a(Laz;)V
      named openDispenserScreen Lnet/minecraft/entity/player/PlayerEntity;openDispenserScreen(Lnet/minecraft/block/entity/DispenserBlockEntity;)V
    • openEditSignScreen

      public void openEditSignScreen(SignBlockEntity sign)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_489 Lnet/minecraft/class_54;method_489(Lnet/minecraft/class_140;)V
      glue method_435 Lclass_172;method_435(Lclass_606;)V
      server a Lem;a(Lpq;)V
      client a Lgs;a(Lyk;)V
      named openEditSignScreen Lnet/minecraft/entity/player/PlayerEntity;openEditSignScreen(Lnet/minecraft/block/entity/SignBlockEntity;)V
    • interact

      public void interact(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_515 Lnet/minecraft/class_54;method_515(Lnet/minecraft/class_57;)V
      glue method_846 Lclass_172;method_846(Lclass_450;)V
      server c Lem;c(Llq;)V
      client c Lgs;c(Lsn;)V
      named interact Lnet/minecraft/entity/player/PlayerEntity;interact(Lnet/minecraft/entity/Entity;)V
    • getHand

      public ItemStack getHand()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_502 Lnet/minecraft/class_54;method_502()Lnet/minecraft/class_31;
      glue method_823 Lclass_172;method_823()Lclass_224;
      server G Lem;G()Lfy;
      client G Lgs;G()Liz;
      named getHand Lnet/minecraft/entity/player/PlayerEntity;getHand()Lnet/minecraft/item/ItemStack;
    • clearStackInHand

      public void clearStackInHand()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_503 Lnet/minecraft/class_54;method_503()V
      glue method_824 Lclass_172;method_824()V
      server H Lem;H()V
      client H Lgs;H()V
      named clearStackInHand Lnet/minecraft/entity/player/PlayerEntity;clearStackInHand()V
    • getStandingEyeHeight

      public double getStandingEyeHeight()
      Overrides:
      getStandingEyeHeight in class Entity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1385 Lnet/minecraft/class_57;method_1385()D
      glue method_825 Lclass_450;method_825()D
      server I Llq;I()D
      client I Lsn;I()D
      named getStandingEyeHeight Lnet/minecraft/entity/Entity;getStandingEyeHeight()D
    • swingHand

      public void swingHand()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_500 Lnet/minecraft/class_54;method_500()V
      glue method_627 Lclass_172;method_627()V
      server w Lem;w()V
      client J Lgs;J()V
      named swingHand Lnet/minecraft/entity/player/PlayerEntity;swingHand()V
    • attack

      public void attack(Entity target)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_516 Lnet/minecraft/class_54;method_516(Lnet/minecraft/class_57;)V
      glue method_848 Lclass_172;method_848(Lclass_450;)V
      server d Lem;d(Llq;)V
      client d Lgs;d(Lsn;)V
      named attack Lnet/minecraft/entity/player/PlayerEntity;attack(Lnet/minecraft/entity/Entity;)V
    • respawn

      @Environment(CLIENT) public void respawn()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_492 Lnet/minecraft/class_54;method_492()V
      glue method_444 Lclass_172;method_444()V
      server method_492 Lem;method_492()V
      client p_ Lgs;p_()V
      named respawn Lnet/minecraft/entity/player/PlayerEntity;respawn()V
    • method_494

      @Environment(CLIENT) public abstract void method_494()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_494 Lnet/minecraft/class_54;method_494()V
      glue method_448 Lclass_172;method_448()V
      server method_494 Lem;method_494()V
      client v Lgs;v()V
      named method_494 Lnet/minecraft/entity/player/PlayerEntity;method_494()V
    • method_496

      public void method_496(ItemStack itemStack)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_496 Lnet/minecraft/class_54;method_496(Lnet/minecraft/class_31;)V
      glue method_612 Lclass_172;method_612(Lclass_224;)V
      server a Lem;a(Lfy;)V
      client b Lgs;b(Liz;)V
      named method_496 Lnet/minecraft/entity/player/PlayerEntity;method_496(Lnet/minecraft/item/ItemStack;)V
    • markDead

      public void markDead()
      Overrides:
      markDead in class Entity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1386 Lnet/minecraft/class_57;method_1386()V
      glue method_826 Lclass_450;method_826()V
      server J Llq;J()V
      client K Lsn;K()V
      named markDead Lnet/minecraft/entity/Entity;markDead()V
    • isInsideWall

      public boolean isInsideWall()
      Overrides:
      isInsideWall in class Entity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1387 Lnet/minecraft/class_57;method_1387()Z
      glue method_827 Lclass_450;method_827()Z
      server K Llq;K()Z
      client L Lsn;L()Z
      named isInsideWall Lnet/minecraft/entity/Entity;isInsideWall()Z
    • trySleep

      public SleepAttemptResult trySleep(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_495 Lnet/minecraft/class_54;method_495(III)Lnet/minecraft/class_141;
      glue method_609 Lclass_172;method_609(III)Lclass_71;
      server a Lem;a(III)Lbw;
      client b Lgs;b(III)Lcw;
      named trySleep Lnet/minecraft/entity/player/PlayerEntity;trySleep(III)Lnet/minecraft/entity/player/SleepAttemptResult;
    • calculateSleepOffset

      private void calculateSleepOffset(int bedDirection)
      Calculates the offset that will beused when rendering the player in bed
      Mappings:
      Namespace Name Mixin selector
      intermediary method_517 Lnet/minecraft/class_54;method_517(I)V
      glue method_849 Lclass_172;method_849(I)V
      server e Lem;e(I)V
      client e Lgs;e(I)V
      named calculateSleepOffset Lnet/minecraft/entity/player/PlayerEntity;calculateSleepOffset(I)V
    • wakeUp

      public void wakeUp(boolean resetSleepTimer, boolean updateSleepingPlayers, boolean setSpawnPos)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_497 Lnet/minecraft/class_54;method_497(ZZZ)V
      glue method_616 Lclass_172;method_616(ZZZ)V
      server a Lem;a(ZZZ)V
      client a Lgs;a(ZZZ)V
      named wakeUp Lnet/minecraft/entity/player/PlayerEntity;wakeUp(ZZZ)V
    • isSleepingInBed

      private boolean isSleepingInBed()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_521 Lnet/minecraft/class_54;method_521()Z
      glue method_853 Lclass_172;method_853()Z
      server o Lem;o()Z
      client am Lgs;am()Z
      named isSleepingInBed Lnet/minecraft/entity/player/PlayerEntity;isSleepingInBed()Z
    • findRespawnPosition

      public static Vec3i findRespawnPosition(World world, Vec3i spawnPos)
      Checks if the player can respawn at their spawn position. If YES, finds a valid wake up position next to bed and returns it. If NO, returns null.
      Mappings:
      Namespace Name Mixin selector
      intermediary method_507 Lnet/minecraft/class_54;method_507(Lnet/minecraft/class_18;Lnet/minecraft/class_63;)Lnet/minecraft/class_63;
      glue method_836 Lclass_172;method_836(Lclass_129;Lclass_42;)Lclass_42;
      server a Lem;a(Ldj;Lay;)Lay;
      client a Lgs;a(Lfd;Lbr;)Lbr;
      named findRespawnPosition Lnet/minecraft/entity/player/PlayerEntity;findRespawnPosition(Lnet/minecraft/world/World;Lnet/minecraft/util/math/Vec3i;)Lnet/minecraft/util/math/Vec3i;
    • getSleepingRotation

      @Environment(CLIENT) public float getSleepingRotation()
      Gets the player's rotation in bed in degrees from the bed's rotation
      Mappings:
      Namespace Name Mixin selector
      intermediary method_482 Lnet/minecraft/class_54;method_482()F
      glue method_1171 Lclass_172;method_1171()F
      server method_482 Lem;method_482()F
      client M Lgs;M()F
      named getSleepingRotation Lnet/minecraft/entity/player/PlayerEntity;getSleepingRotation()F
    • isSleeping

      public boolean isSleeping()
      Overrides:
      isSleeping in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_943 Lnet/minecraft/class_127;method_943()Z
      glue method_828 Lclass_283;method_828()Z
      server L Lhl;L()Z
      client N Lls;N()Z
      named isSleeping Lnet/minecraft/entity/LivingEntity;isSleeping()Z
    • isFullyAsleep

      public boolean isFullyAsleep()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_504 Lnet/minecraft/class_54;method_504()Z
      glue method_829 Lclass_172;method_829()Z
      server M Lem;M()Z
      client O Lgs;O()Z
      named isFullyAsleep Lnet/minecraft/entity/player/PlayerEntity;isFullyAsleep()Z
    • getSleepTimer

      @Environment(CLIENT) public int getSleepTimer()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_483 Lnet/minecraft/class_54;method_483()I
      glue method_1172 Lclass_172;method_1172()I
      server method_483 Lem;method_483()I
      client P Lgs;P()I
      named getSleepTimer Lnet/minecraft/entity/player/PlayerEntity;getSleepTimer()I
    • sendMessage

      public void sendMessage(String message)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_490 Lnet/minecraft/class_54;method_490(Ljava/lang/String;)V
      glue method_437 Lclass_172;method_437(Ljava/lang/String;)V
      server a Lem;a(Ljava/lang/String;)V
      client b Lgs;b(Ljava/lang/String;)V
      named sendMessage Lnet/minecraft/entity/player/PlayerEntity;sendMessage(Ljava/lang/String;)V
    • getSpawnPos

      public Vec3i getSpawnPos()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_505 Lnet/minecraft/class_54;method_505()Lnet/minecraft/class_63;
      glue method_830 Lclass_172;method_830()Lclass_42;
      server N Lem;N()Lay;
      client Q Lgs;Q()Lbr;
      named getSpawnPos Lnet/minecraft/entity/player/PlayerEntity;getSpawnPos()Lnet/minecraft/util/math/Vec3i;
    • setSpawnPos

      public void setSpawnPos(Vec3i spawnPos)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_506 Lnet/minecraft/class_54;method_506(Lnet/minecraft/class_63;)V
      glue method_835 Lclass_172;method_835(Lclass_42;)V
      server a Lem;a(Lay;)V
      client a Lgs;a(Lbr;)V
      named setSpawnPos Lnet/minecraft/entity/player/PlayerEntity;setSpawnPos(Lnet/minecraft/util/math/Vec3i;)V
    • incrementStat

      public void incrementStat(Stat stat)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_512 Lnet/minecraft/class_54;method_512(Lnet/minecraft/class_139;)V
      glue method_842 Lclass_172;method_842(Lclass_534;)V
      server a Lem;a(Lns;)V
      client a Lgs;a(Lvr;)V
      named incrementStat Lnet/minecraft/entity/player/PlayerEntity;incrementStat(Lnet/minecraft/stat/Stat;)V
    • increaseStat

      public void increaseStat(Stat stat, int amount)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_488 Lnet/minecraft/class_54;method_488(Lnet/minecraft/class_139;I)V
      glue method_434 Lclass_172;method_434(Lclass_534;I)V
      server a Lem;a(Lns;I)V
      client a Lgs;a(Lvr;I)V
      named increaseStat Lnet/minecraft/entity/player/PlayerEntity;increaseStat(Lnet/minecraft/stat/Stat;I)V
    • jump

      protected void jump()
      Overrides:
      jump in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_944 Lnet/minecraft/class_127;method_944()V
      glue method_831 Lclass_283;method_831()V
      server O Lhl;O()V
      client R Lls;R()V
      named jump Lnet/minecraft/entity/LivingEntity;jump()V
    • travel

      public void travel(float x, float z)
      Overrides:
      travel in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_945 Lnet/minecraft/class_127;method_945(FF)V
      glue method_834 Lclass_283;method_834(FF)V
      server a Lhl;a(FF)V
      client a_ Lls;a_(FF)V
      named travel Lnet/minecraft/entity/LivingEntity;travel(FF)V
    • updateMovementStats

      private void updateMovementStats(double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_518 Lnet/minecraft/class_54;method_518(DDD)V
      glue method_850 Lclass_172;method_850(DDD)V
      server h Lem;h(DDD)V
      client i Lgs;i(DDD)V
      named updateMovementStats Lnet/minecraft/entity/player/PlayerEntity;updateMovementStats(DDD)V
    • increaseRidingMotionStats

      private void increaseRidingMotionStats(double deltaX, double deltaY, double deltaZ)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_519 Lnet/minecraft/class_54;method_519(DDD)V
      glue method_851 Lclass_172;method_851(DDD)V
      server i Lem;i(DDD)V
      client j Lgs;j(DDD)V
      named increaseRidingMotionStats Lnet/minecraft/entity/player/PlayerEntity;increaseRidingMotionStats(DDD)V
    • onLanding

      protected void onLanding(float fallDistance)
      Overrides:
      onLanding in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1389 Lnet/minecraft/class_57;method_1389(F)V
      glue method_833 Lclass_450;method_833(F)V
      server a Llq;a(F)V
      client b Lsn;b(F)V
      named onLanding Lnet/minecraft/entity/Entity;onLanding(F)V
    • onKilledOther

      public void onKilledOther(LivingEntity other)
      Overrides:
      onKilledOther in class Entity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1390 Lnet/minecraft/class_57;method_1390(Lnet/minecraft/class_127;)V
      glue method_839 Lclass_450;method_839(Lclass_283;)V
      server a Llq;a(Lhl;)V
      client a Lsn;a(Lls;)V
      named onKilledOther Lnet/minecraft/entity/Entity;onKilledOther(Lnet/minecraft/entity/LivingEntity;)V
    • getItemStackTextureId

      @Environment(CLIENT) public int getItemStackTextureId(ItemStack stack)
      Overrides:
      getItemStackTextureId in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_917 Lnet/minecraft/class_127;method_917(Lnet/minecraft/class_31;)I
      glue method_1173 Lclass_283;method_1173(Lclass_224;)I
      server method_917 Lhl;method_917(Lfy;)I
      client c Lls;c(Liz;)I
      named getItemStackTextureId Lnet/minecraft/entity/LivingEntity;getItemStackTextureId(Lnet/minecraft/item/ItemStack;)I
    • tickPortalCooldown

      public void tickPortalCooldown()
      Overrides:
      tickPortalCooldown in class Entity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1388 Lnet/minecraft/class_57;method_1388()V
      glue method_832 Lclass_450;method_832()V
      server P Llq;P()V
      client S Lsn;S()V
      named tickPortalCooldown Lnet/minecraft/entity/Entity;tickPortalCooldown()V