Class ClientMannequinEntity

All Implemented Interfaces:
ClientPlayerLikeEntity, ComponentsAccess, Attackable, DataTracked, ScoreHolder, HeldItemContext, Nameable, DebugTrackable, EntityLike, UniquelyIdentifiable, ServerWaypoint, Waypoint

@Environment(CLIENT) public class ClientMannequinEntity extends MannequinEntity implements ClientPlayerLikeEntity
Mappings:
Namespace Name
named net/minecraft/client/network/ClientMannequinEntity
intermediary net/minecraft/class_11903
official gcw
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/network/ClientMannequinEntity;LOGGER:Lorg/slf4j/Logger;
      intermediary field_62579 Lnet/minecraft/class_11903;field_62579:Lorg/slf4j/Logger;
      official f Lgcw;f:Lorg/slf4j/Logger;
    • DEFAULT_TEXTURES

      public static final SkinTextures DEFAULT_TEXTURES
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_TEXTURES Lnet/minecraft/client/network/ClientMannequinEntity;DEFAULT_TEXTURES:Lnet/minecraft/entity/player/SkinTextures;
      intermediary field_62927 Lnet/minecraft/class_11903;field_62927:Lnet/minecraft/class_8685;
      official e Lgcw;e:Lczp;
    • state

      private final ClientPlayerLikeState state
      Mappings:
      Namespace Name Mixin selector
      named state Lnet/minecraft/client/network/ClientMannequinEntity;state:Lnet/minecraft/client/network/ClientPlayerLikeState;
      intermediary field_62581 Lnet/minecraft/class_11903;field_62581:Lnet/minecraft/class_11902;
      official g Lgcw;g:Lgcv;
    • skinLookup

      Mappings:
      Namespace Name Mixin selector
      named skinLookup Lnet/minecraft/client/network/ClientMannequinEntity;skinLookup:Ljava/util/concurrent/CompletableFuture;
      intermediary field_62582 Lnet/minecraft/class_11903;field_62582:Ljava/util/concurrent/CompletableFuture;
      official h Lgcw;h:Ljava/util/concurrent/CompletableFuture;
    • skin

      private SkinTextures skin
      Mappings:
      Namespace Name Mixin selector
      named skin Lnet/minecraft/client/network/ClientMannequinEntity;skin:Lnet/minecraft/entity/player/SkinTextures;
      intermediary field_62583 Lnet/minecraft/class_11903;field_62583:Lnet/minecraft/class_8685;
      official i Lgcw;i:Lczp;
    • skinCache

      private final PlayerSkinCache skinCache
      Mappings:
      Namespace Name Mixin selector
      named skinCache Lnet/minecraft/client/network/ClientMannequinEntity;skinCache:Lnet/minecraft/client/texture/PlayerSkinCache;
      intermediary field_62584 Lnet/minecraft/class_11903;field_62584:Lnet/minecraft/class_11786;
      official j Lgcw;j:Lhgc;
  • Constructor Details

    • ClientMannequinEntity

      public ClientMannequinEntity(World world, PlayerSkinCache skinCache)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/network/ClientMannequinEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/client/texture/PlayerSkinCache;)V
      intermediary <init> Lnet/minecraft/class_11903;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_11786;)V
      official <init> Lgcw;<init>(Ldrq;Lhgc;)V
  • Method Details

    • setFactory

      public static void setFactory(PlayerSkinCache cache)
      Mappings:
      Namespace Name Mixin selector
      named setFactory Lnet/minecraft/client/network/ClientMannequinEntity;setFactory(Lnet/minecraft/client/texture/PlayerSkinCache;)V
      intermediary method_74702 Lnet/minecraft/class_11903;method_74702(Lnet/minecraft/class_11786;)V
      official a Lgcw;a(Lhgc;)V
    • tick

      public void tick()
      Ticks this entity.
      Overrides:
      tick in class LivingEntity
      See Also:
      API Note:
      This can be overridden to add additional logics. super.tick(); should be called in those cases.
      Implementation Note:
      By default, this delegates all logics to LivingEntity.baseTick().
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/entity/Entity;tick()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      official g Lcdv;g()V
    • onTrackedDataSet

      public void onTrackedDataSet(TrackedData<?> data)
      Called on the client when the tracked data is set.

      This can be overridden to refresh other fields when the tracked data is set or changed.

      Specified by:
      onTrackedDataSet in interface DataTracked
      Overrides:
      onTrackedDataSet in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named onTrackedDataSet Lnet/minecraft/entity/data/DataTracked;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
      intermediary method_5674 Lnet/minecraft/class_9221;method_5674(Lnet/minecraft/class_2940;)V
      official a Lalp;a(Lalm;)V
    • refreshSkin

      private void refreshSkin()
      Mappings:
      Namespace Name Mixin selector
      named refreshSkin Lnet/minecraft/client/network/ClientMannequinEntity;refreshSkin()V
      intermediary method_74700 Lnet/minecraft/class_11903;method_74700()V
      official a Lgcw;a()V
    • getState

      public ClientPlayerLikeState getState()
      Specified by:
      getState in interface ClientPlayerLikeEntity
      Mappings:
      Namespace Name Mixin selector
      named getState Lnet/minecraft/client/network/ClientPlayerLikeEntity;getState()Lnet/minecraft/client/network/ClientPlayerLikeState;
      intermediary method_74192 Lnet/minecraft/class_11901;method_74192()Lnet/minecraft/class_11902;
      official b Lgcu;b()Lgcv;
    • getSkin

      public SkinTextures getSkin()
      Specified by:
      getSkin in interface ClientPlayerLikeEntity
      Mappings:
      Namespace Name Mixin selector
      named getSkin Lnet/minecraft/client/network/ClientPlayerLikeEntity;getSkin()Lnet/minecraft/entity/player/SkinTextures;
      intermediary method_52814 Lnet/minecraft/class_11901;method_52814()Lnet/minecraft/class_8685;
      official c Lgcu;c()Lczp;
    • setSkin

      private void setSkin(SkinTextures skin)
      Mappings:
      Namespace Name Mixin selector
      named setSkin Lnet/minecraft/client/network/ClientMannequinEntity;setSkin(Lnet/minecraft/entity/player/SkinTextures;)V
      intermediary method_74704 Lnet/minecraft/class_11903;method_74704(Lnet/minecraft/class_8685;)V
      official a Lgcw;a(Lczp;)V
    • getMannequinName

      @Nullable public @Nullable Text getMannequinName()
      Specified by:
      getMannequinName in interface ClientPlayerLikeEntity
      Mappings:
      Namespace Name Mixin selector
      named getMannequinName Lnet/minecraft/client/network/ClientPlayerLikeEntity;getMannequinName()Lnet/minecraft/text/Text;
      intermediary method_74193 Lnet/minecraft/class_11901;method_74193()Lnet/minecraft/class_2561;
      official d Lgcu;d()Lxx;
    • getShoulderParrotVariant

      @Nullable public ParrotEntity.Variant getShoulderParrotVariant(boolean leftShoulder)
      Specified by:
      getShoulderParrotVariant in interface ClientPlayerLikeEntity
      Mappings:
      Namespace Name Mixin selector
      named getShoulderParrotVariant Lnet/minecraft/client/network/ClientPlayerLikeEntity;getShoulderParrotVariant(Z)Lnet/minecraft/entity/passive/ParrotEntity$Variant;
      intermediary method_74191 Lnet/minecraft/class_11901;method_74191(Z)Lnet/minecraft/class_1453$class_7989;
      official a Lgcu;a(Z)Lcrm$b;
    • hasExtraEars

      public boolean hasExtraEars()
      Specified by:
      hasExtraEars in interface ClientPlayerLikeEntity
      Mappings:
      Namespace Name Mixin selector
      named hasExtraEars Lnet/minecraft/client/network/ClientPlayerLikeEntity;hasExtraEars()Z
      intermediary method_74194 Lnet/minecraft/class_11901;method_74194()Z
      official e Lgcu;e()Z