Package net.minecraft

Class class_10275

All Implemented Interfaces:
Attackable, DataTracked, EquipmentHolder, Leashable, Monster, Targeter, ScoreHolder, Nameable, EntityLike
Direct Known Subclasses:
class_10281

public class class_10275 extends HostileEntity
Mappings:
Namespace Name
named net/minecraft/class_10275
intermediary net/minecraft/class_10275
official cnw
  • Field Details

    • field_54571

      private static final TrackedData<Boolean> field_54571
      Mappings:
      Namespace Name Mixin selector
      named field_54571 Lnet/minecraft/class_10275;field_54571:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_54571 Lnet/minecraft/class_10275;field_54571:Lnet/minecraft/class_2940;
      official cb Lcnw;cb:Lalc;
    • field_54572

      private static final TrackedData<Boolean> field_54572
      Mappings:
      Namespace Name Mixin selector
      named field_54572 Lnet/minecraft/class_10275;field_54572:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_54572 Lnet/minecraft/class_10275;field_54572:Lnet/minecraft/class_2940;
      official cc Lcnw;cc:Lalc;
    • field_54573

      private static final int field_54573
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54573 Lnet/minecraft/class_10275;field_54573:I
      intermediary field_54573 Lnet/minecraft/class_10275;field_54573:I
      official cd Lcnw;cd:I
    • field_54574

      private static final int field_54574
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54574 Lnet/minecraft/class_10275;field_54574:I
      intermediary field_54574 Lnet/minecraft/class_10275;field_54574:I
      official ce Lcnw;ce:I
    • field_54575

      private static final float field_54575
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54575 Lnet/minecraft/class_10275;field_54575:F
      intermediary field_54575 Lnet/minecraft/class_10275;field_54575:F
      official cf Lcnw;cf:F
    • field_54576

      private static final float field_54576
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54576 Lnet/minecraft/class_10275;field_54576:F
      intermediary field_54576 Lnet/minecraft/class_10275;field_54576:F
      official cg Lcnw;cg:F
    • field_54577

      private static final float field_54577
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54577 Lnet/minecraft/class_10275;field_54577:F
      intermediary field_54577 Lnet/minecraft/class_10275;field_54577:F
      official ch Lcnw;ch:F
    • field_54566

      public static final int field_54566
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54566 Lnet/minecraft/class_10275;field_54566:I
      intermediary field_54566 Lnet/minecraft/class_10275;field_54566:I
      official a Lcnw;a:I
    • field_54578

      private static final float field_54578
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54578 Lnet/minecraft/class_10275;field_54578:F
      intermediary field_54578 Lnet/minecraft/class_10275;field_54578:F
      official ci Lcnw;ci:F
    • field_54567

      public static final float field_54567
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54567 Lnet/minecraft/class_10275;field_54567:F
      intermediary field_54567 Lnet/minecraft/class_10275;field_54567:F
      official b Lcnw;b:F
    • field_54569

      public static final int field_54569
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54569 Lnet/minecraft/class_10275;field_54569:I
      intermediary field_54569 Lnet/minecraft/class_10275;field_54569:I
      official c Lcnw;c:I
    • field_54580

      public static final int field_54580
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54580 Lnet/minecraft/class_10275;field_54580:I
      intermediary field_54580 Lnet/minecraft/class_10275;field_54580:I
      official d Lcnw;d:I
    • field_54579

      private int field_54579
      Mappings:
      Namespace Name Mixin selector
      named field_54579 Lnet/minecraft/class_10275;field_54579:I
      intermediary field_54579 Lnet/minecraft/class_10275;field_54579:I
      official cj Lcnw;cj:I
    • field_54568

      public final AnimationState field_54568
      Mappings:
      Namespace Name Mixin selector
      named field_54568 Lnet/minecraft/class_10275;field_54568:Lnet/minecraft/entity/AnimationState;
      intermediary field_54568 Lnet/minecraft/class_10275;field_54568:Lnet/minecraft/class_7094;
      official bZ Lcnw;bZ:Lbux;
    • field_54570

      public final AnimationState field_54570
      Mappings:
      Namespace Name Mixin selector
      named field_54570 Lnet/minecraft/class_10275;field_54570:Lnet/minecraft/entity/AnimationState;
      intermediary field_54570 Lnet/minecraft/class_10275;field_54570:Lnet/minecraft/class_7094;
      official ca Lcnw;ca:Lbux;
  • Constructor Details

    • class_10275

      public class_10275(EntityType<? extends class_10275> type, World world)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      official <init> Lbvf;<init>(Lbvm;Ldha;)V
  • Method Details

    • createBodyControl

      protected BodyControl createBodyControl()
      Overrides:
      createBodyControl in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named createBodyControl Lnet/minecraft/entity/mob/MobEntity;createBodyControl()Lnet/minecraft/entity/ai/control/BodyControl;
      intermediary method_5963 Lnet/minecraft/class_1308;method_5963()Lnet/minecraft/class_1330;
      official G Lbwd;G()Lcbx;
    • createBrainProfile

      protected Brain.Profile<class_10275> createBrainProfile()
      Overrides:
      createBrainProfile in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named createBrainProfile Lnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;
      intermediary method_28306 Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;
      official ec Lbwb;ec()Lbxd$b;
    • deserializeBrain

      protected Brain<?> deserializeBrain(com.mojang.serialization.Dynamic<?> dynamic)
      Overrides:
      deserializeBrain in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named deserializeBrain Lnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;
      intermediary method_18867 Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;
      official a Lbwb;a(Lcom/mojang/serialization/Dynamic;)Lbxd;
    • initDataTracker

      protected void initDataTracker(DataTracker.Builder builder)
      Initializes data tracker.
      Overrides:
      initDataTracker in class MobEntity
      API Note:
      Subclasses should override this and add to the builder any data that needs to be tracked.
      Mappings:
      Namespace Name Mixin selector
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)V
      official a Lbvf;a(Lalg$a;)V
    • method_64627

      public static DefaultAttributeContainer.Builder method_64627()
      Mappings:
      Namespace Name Mixin selector
      named method_64627 Lnet/minecraft/class_10275;method_64627()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
      intermediary method_64627 Lnet/minecraft/class_10275;method_64627()Lnet/minecraft/class_5132$class_5133;
      official m Lcnw;m()Lbxi$a;
    • method_64628

      public boolean method_64628()
      Mappings:
      Namespace Name Mixin selector
      named method_64628 Lnet/minecraft/class_10275;method_64628()Z
      intermediary method_64628 Lnet/minecraft/class_10275;method_64628()Z
      official p Lcnw;p()Z
    • tryAttack

      public boolean tryAttack(ServerWorld world, Entity target)
      Overrides:
      tryAttack in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named tryAttack Lnet/minecraft/entity/LivingEntity;tryAttack(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;)Z
      intermediary method_6121 Lnet/minecraft/class_1309;method_6121(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;)Z
      official c Lbwb;c(Lash;Lbvf;)Z
    • isPushable

      public boolean isPushable()
      Returns whether the entity can be pushed by other entities.
      Overrides:
      isPushable in class LivingEntity
      Returns:
      whether the entity can be pushed by other entities
      Mappings:
      Namespace Name Mixin selector
      named isPushable Lnet/minecraft/entity/Entity;isPushable()Z
      intermediary method_5810 Lnet/minecraft/class_1297;method_5810()Z
      official bI Lbvf;bI()Z
    • getBrain

      public Brain<class_10275> getBrain()
      Overrides:
      getBrain in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getBrain Lnet/minecraft/entity/LivingEntity;getBrain()Lnet/minecraft/entity/ai/brain/Brain;
      intermediary method_18868 Lnet/minecraft/class_1309;method_18868()Lnet/minecraft/class_4095;
      official eb Lbwb;eb()Lbxd;
    • mobTick

      protected void mobTick(ServerWorld world)
      Overrides:
      mobTick in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick(Lnet/minecraft/server/world/ServerWorld;)V
      intermediary method_5958 Lnet/minecraft/class_1308;method_5958(Lnet/minecraft/class_3218;)V
      official a Lbwd;a(Lash;)V
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
      intermediary method_6007 Lnet/minecraft/class_1309;method_6007()V
      official d_ Lbwb;d_()V
    • tick

      public void tick()
      Ticks this entity.
      Overrides:
      tick in class MobEntity
      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 MobEntity.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 h Lbvf;h()V
    • method_64624

      private void method_64624()
      Mappings:
      Namespace Name Mixin selector
      named method_64624 Lnet/minecraft/class_10275;method_64624()V
      intermediary method_64624 Lnet/minecraft/class_10275;method_64624()V
      official gm Lcnw;gm()V
    • handleStatus

      public void handleStatus(byte status)
      Called on the client when the entity receives an entity status from the server. They are often used to spawn particles or play sounds. Subclasses can override this method to handle custom entity status.
      Overrides:
      handleStatus in class MobEntity
      See Also:
      API Note:
      To send an entity status, use World.sendEntityStatus(net.minecraft.entity.Entity, byte).
      Mappings:
      Namespace Name Mixin selector
      named handleStatus Lnet/minecraft/entity/Entity;handleStatus(B)V
      intermediary method_5711 Lnet/minecraft/class_1297;method_5711(B)V
      official b Lbvf;b(B)V
    • playAttackSound

      public void playAttackSound()
      Overrides:
      playAttackSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named playAttackSound Lnet/minecraft/entity/mob/MobEntity;playAttackSound()V
      intermediary method_59928 Lnet/minecraft/class_1308;method_59928()V
      official gd Lbwd;gd()V
    • getAmbientSound

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_5994 Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
      official u Lbwd;u()Laxe;
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
      intermediary method_6011 Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
      official e Lbwb;e(Lbtv;)Laxe;
    • getDeathSound

      protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      official o_ Lbwb;o_()Laxe;
    • playStepSound

      protected void playStepSound(BlockPos pos, BlockState state)
      Overrides:
      playStepSound in class Entity
      Mappings:
      Namespace Name Mixin selector
      named playStepSound Lnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
      intermediary method_5712 Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      official b Lbvf;b(Ljh;Ldxn;)V
    • getTarget

      @Nullable public @Nullable LivingEntity getTarget()
      Specified by:
      getTarget in interface Targeter
      Overrides:
      getTarget in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named getTarget Lnet/minecraft/entity/Targeter;getTarget()Lnet/minecraft/entity/LivingEntity;
      intermediary method_5968 Lnet/minecraft/class_8152;method_5968()Lnet/minecraft/class_1309;
      official O_ Lbwz;O_()Lbwb;
    • sendAiDebugData

      protected void sendAiDebugData()
      Overrides:
      sendAiDebugData in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named sendAiDebugData Lnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
      intermediary method_18409 Lnet/minecraft/class_1308;method_18409()V
      official Y Lbwd;Y()V
    • takeKnockback

      public void takeKnockback(double strength, double x, double z)
      Overrides:
      takeKnockback in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named takeKnockback Lnet/minecraft/entity/LivingEntity;takeKnockback(DDD)V
      intermediary method_6005 Lnet/minecraft/class_1309;method_6005(DDD)V
      official p Lbwb;p(DDD)V
    • method_64629

      public boolean method_64629()
      Mappings:
      Namespace Name Mixin selector
      named method_64629 Lnet/minecraft/class_10275;method_64629()Z
      intermediary method_64629 Lnet/minecraft/class_10275;method_64629()Z
      official t Lcnw;t()Z
    • method_64631

      public void method_64631(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      named method_64631 Lnet/minecraft/class_10275;method_64631(Z)V
      intermediary method_64631 Lnet/minecraft/class_10275;method_64631(Z)V
      official x Lcnw;x(Z)V
    • method_64630

      public boolean method_64630()
      Mappings:
      Namespace Name Mixin selector
      named method_64630 Lnet/minecraft/class_10275;method_64630()Z
      intermediary method_64630 Lnet/minecraft/class_10275;method_64630()Z
      official x Lcnw;x()Z
    • getPathfindingFavor

      public float getPathfindingFavor(BlockPos pos, WorldView world)
      Overrides:
      getPathfindingFavor in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      named getPathfindingFavor Lnet/minecraft/entity/mob/PathAwareEntity;getPathfindingFavor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/WorldView;)F
      intermediary method_6144 Lnet/minecraft/class_1314;method_6144(Lnet/minecraft/class_2338;Lnet/minecraft/class_4538;)F
      official a Lbwj;a(Ljh;Ldhd;)F