Class OtherClientPlayerEntity

All Implemented Interfaces:
CommandOutput, Nameable, EntityLike

@Environment(CLIENT) public class OtherClientPlayerEntity extends AbstractClientPlayerEntity
Represents a player entity that is present on the client but is not the client's own player.
Mappings:
Namespace Name
official ewy
intermediary net/minecraft/class_745
named net/minecraft/client/network/OtherClientPlayerEntity
  • Constructor Details

    • OtherClientPlayerEntity

      public OtherClientPlayerEntity(ClientWorld world, com.mojang.authlib.GameProfile profile, @Nullable @Nullable PlayerPublicKey publicKey)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lewu;<init>(Letl;Lcom/mojang/authlib/GameProfile;Lbti;)V
      intermediary <init> Lnet/minecraft/class_742;<init>(Lnet/minecraft/class_638;Lcom/mojang/authlib/GameProfile;Lnet/minecraft/class_7428;)V
      named <init> Lnet/minecraft/client/network/AbstractClientPlayerEntity;<init>(Lnet/minecraft/client/world/ClientWorld;Lcom/mojang/authlib/GameProfile;Lnet/minecraft/network/encryption/PlayerPublicKey;)V
  • Method Details

    • shouldRender

      public boolean shouldRender(double distance)
      Overrides:
      shouldRender in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbaq;a(D)Z
      intermediary method_5640 Lnet/minecraft/class_1297;method_5640(D)Z
      named shouldRender Lnet/minecraft/entity/Entity;shouldRender(D)Z
    • damage

      public boolean damage(DamageSource source, float amount)
      Overrides:
      damage in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbaq;a(Lazz;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
    • tick

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

      public void tickMovement()
      Overrides:
      tickMovement in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official w_ Lbbf;w_()V
      intermediary method_6007 Lnet/minecraft/class_1309;method_6007()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • updatePose

      protected void updatePose()
      Overrides:
      updatePose in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      official ft Lbtf;ft()V
      intermediary method_7318 Lnet/minecraft/class_1657;method_7318()V
      named updatePose Lnet/minecraft/entity/player/PlayerEntity;updatePose()V
    • sendMessage

      public void sendMessage(Text message)
      Sends a system message.
      Specified by:
      sendMessage in interface CommandOutput
      Overrides:
      sendMessage in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Ldq;a(Lrm;)V
      intermediary method_43496 Lnet/minecraft/class_2165;method_43496(Lnet/minecraft/class_2561;)V
      named sendMessage Lnet/minecraft/server/command/CommandOutput;sendMessage(Lnet/minecraft/text/Text;)V