Class GuardianEntity

All Implemented Interfaces:
CommandSource, EntityCategoryProvider, Monster

public class GuardianEntity
extends HostileEntity
Mappings:
Namespace Name
official vt
intermediary net/minecraft/class_1922
named net/minecraft/entity/mob/GuardianEntity
  • Field Details

    • spikesExtension

      private float spikesExtension
      Mappings:
      Namespace Name Mixin selector
      official a Lvt;a:F
      intermediary field_8212 Lnet/minecraft/class_1922;field_8212:F
      named spikesExtension Lnet/minecraft/entity/mob/GuardianEntity;spikesExtension:F
    • prevSpikesExtension

      private float prevSpikesExtension
      Mappings:
      Namespace Name Mixin selector
      official b Lvt;b:F
      intermediary field_8213 Lnet/minecraft/class_1922;field_8213:F
      named prevSpikesExtension Lnet/minecraft/entity/mob/GuardianEntity;prevSpikesExtension:F
    • spikesExtensionRate

      private float spikesExtensionRate
      Mappings:
      Namespace Name Mixin selector
      official c Lvt;c:F
      intermediary field_8220 Lnet/minecraft/class_1922;field_8220:F
      named spikesExtensionRate Lnet/minecraft/entity/mob/GuardianEntity;spikesExtensionRate:F
    • tailAngle

      private float tailAngle
      Mappings:
      Namespace Name Mixin selector
      official bm Lvt;bm:F
      intermediary field_8214 Lnet/minecraft/class_1922;field_8214:F
      named tailAngle Lnet/minecraft/entity/mob/GuardianEntity;tailAngle:F
    • prevTailAngle

      private float prevTailAngle
      Mappings:
      Namespace Name Mixin selector
      official bn Lvt;bn:F
      intermediary field_8215 Lnet/minecraft/class_1922;field_8215:F
      named prevTailAngle Lnet/minecraft/entity/mob/GuardianEntity;prevTailAngle:F
    • field_8216

      private LivingEntity field_8216
      Mappings:
      Namespace Name Mixin selector
      official bo Lvt;bo:Lpr;
      intermediary field_8216 Lnet/minecraft/class_1922;field_8216:Lnet/minecraft/class_1752;
      named field_8216 Lnet/minecraft/entity/mob/GuardianEntity;field_8216:Lnet/minecraft/entity/LivingEntity;
    • beamTicks

      private int beamTicks
      Mappings:
      Namespace Name Mixin selector
      official bp Lvt;bp:I
      intermediary field_8217 Lnet/minecraft/class_1922;field_8217:I
      named beamTicks Lnet/minecraft/entity/mob/GuardianEntity;beamTicks:I
    • flopping

      private boolean flopping
      Mappings:
      Namespace Name Mixin selector
      official bq Lvt;bq:Z
      intermediary field_8218 Lnet/minecraft/class_1922;field_8218:Z
      named flopping Lnet/minecraft/entity/mob/GuardianEntity;flopping:Z
    • field_8219

      private WanderAroundGoal field_8219
      Mappings:
      Namespace Name Mixin selector
      official br Lvt;br:Lrz;
      intermediary field_8219 Lnet/minecraft/class_1922;field_8219:Lnet/minecraft/class_1811;
      named field_8219 Lnet/minecraft/entity/mob/GuardianEntity;field_8219:Lnet/minecraft/entity/ai/goal/WanderAroundGoal;
  • Constructor Details

    • GuardianEntity

      public GuardianEntity​(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lpk;<init>(Ladm;)V
      intermediary <init> Lnet/minecraft/class_1745;<init>(Lnet/minecraft/class_99;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
  • Method Details

    • initializeAttributes

      protected void initializeAttributes()
      Overrides:
      initializeAttributes in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official aX Lpr;aX()V
      intermediary method_7097 Lnet/minecraft/class_1752;method_7097()V
      named initializeAttributes Lnet/minecraft/entity/LivingEntity;initializeAttributes()V
    • deserialize

      public void deserialize​(CompoundTag tag)
      Overrides:
      deserialize in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lpk;a(Ldn;)V
      intermediary method_6933 Lnet/minecraft/class_1745;method_6933(Lnet/minecraft/class_1405;)V
      named deserialize Lnet/minecraft/entity/Entity;deserialize(Lnet/minecraft/nbt/CompoundTag;)V
    • serialize

      public void serialize​(CompoundTag tag)
      Overrides:
      serialize in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lpk;b(Ldn;)V
      intermediary method_7003 Lnet/minecraft/class_1745;method_7003(Lnet/minecraft/class_1405;)V
      named serialize Lnet/minecraft/entity/Entity;serialize(Lnet/minecraft/nbt/CompoundTag;)V
    • newNavigation

      protected Type newNavigation​(World world)
      Overrides:
      newNavigation in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lps;b(Ladm;)Lsw;
      intermediary method_7199 Lnet/minecraft/class_1753;method_7199(Lnet/minecraft/class_99;)Lnet/minecraft/class_1834;
      named newNavigation Lnet/minecraft/entity/mob/MobEntity;newNavigation(Lnet/minecraft/world/World;)Lnet/minecraft/entity/ai/path/Type;
    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official h Lpk;h()V
      intermediary method_7043 Lnet/minecraft/class_1745;method_7043()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • method_7852

      private boolean method_7852​(int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lvt;a(I)Z
      intermediary method_7852 Lnet/minecraft/class_1922;method_7852(I)Z
      named method_7852 Lnet/minecraft/entity/mob/GuardianEntity;method_7852(I)Z
    • method_7853

      private void method_7853​(int int2, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lvt;a(IZ)V
      intermediary method_7853 Lnet/minecraft/class_1922;method_7853(IZ)V
      named method_7853 Lnet/minecraft/entity/mob/GuardianEntity;method_7853(IZ)V
    • areSpikesRetracted

      public boolean areSpikesRetracted()
      Mappings:
      Namespace Name Mixin selector
      official n Lvt;n()Z
      intermediary method_7865 Lnet/minecraft/class_1922;method_7865()Z
      named areSpikesRetracted Lnet/minecraft/entity/mob/GuardianEntity;areSpikesRetracted()Z
    • setSpikesRetracted

      private void setSpikesRetracted​(boolean retracted)
      Mappings:
      Namespace Name Mixin selector
      official l Lvt;l(Z)V
      intermediary method_7864 Lnet/minecraft/class_1922;method_7864(Z)V
      named setSpikesRetracted Lnet/minecraft/entity/mob/GuardianEntity;setSpikesRetracted(Z)V
    • getWarmupTime

      public int getWarmupTime()
      Mappings:
      Namespace Name Mixin selector
      official cm Lvt;cm()I
      intermediary method_7859 Lnet/minecraft/class_1922;method_7859()I
      named getWarmupTime Lnet/minecraft/entity/mob/GuardianEntity;getWarmupTime()I
    • isElder

      public boolean isElder()
      Mappings:
      Namespace Name Mixin selector
      official cn Lvt;cn()Z
      intermediary method_7860 Lnet/minecraft/class_1922;method_7860()Z
      named isElder Lnet/minecraft/entity/mob/GuardianEntity;isElder()Z
    • setElder

      public void setElder​(boolean elder)
      Mappings:
      Namespace Name Mixin selector
      official a Lvt;a(Z)V
      intermediary method_7857 Lnet/minecraft/class_1922;method_7857(Z)V
      named setElder Lnet/minecraft/entity/mob/GuardianEntity;setElder(Z)V
    • method_7861

      @Environment(CLIENT) public void method_7861()
      Mappings:
      Namespace Name Mixin selector
      official co Lvt;co()V
      intermediary method_7861 Lnet/minecraft/class_1922;method_7861()V
      named method_7861 Lnet/minecraft/entity/mob/GuardianEntity;method_7861()V
    • setBeamTarget

      private void setBeamTarget​(int progress)
      Mappings:
      Namespace Name Mixin selector
      official b Lvt;b(I)V
      intermediary method_7858 Lnet/minecraft/class_1922;method_7858(I)V
      named setBeamTarget Lnet/minecraft/entity/mob/GuardianEntity;setBeamTarget(I)V
    • hasBeamTarget

      public boolean hasBeamTarget()
      Mappings:
      Namespace Name Mixin selector
      official cp Lvt;cp()Z
      intermediary method_7862 Lnet/minecraft/class_1922;method_7862()Z
      named hasBeamTarget Lnet/minecraft/entity/mob/GuardianEntity;hasBeamTarget()Z
    • method_7863

      public LivingEntity method_7863()
      Mappings:
      Namespace Name Mixin selector
      official cq Lvt;cq()Lpr;
      intermediary method_7863 Lnet/minecraft/class_1922;method_7863()Lnet/minecraft/class_1752;
      named method_7863 Lnet/minecraft/entity/mob/GuardianEntity;method_7863()Lnet/minecraft/entity/LivingEntity;
    • method_7049

      public void method_7049​(int int2)
      Overrides:
      method_7049 in class Entity
      Mappings:
      Namespace Name Mixin selector
      official i Lpk;i(I)V
      intermediary method_7049 Lnet/minecraft/class_1745;method_7049(I)V
      named method_7049 Lnet/minecraft/entity/Entity;method_7049(I)V
    • getMinAmbientSoundDelay

      public int getMinAmbientSoundDelay()
      Overrides:
      getMinAmbientSoundDelay in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official w Lps;w()I
      intermediary method_7228 Lnet/minecraft/class_1753;method_7228()I
      named getMinAmbientSoundDelay Lnet/minecraft/entity/mob/MobEntity;getMinAmbientSoundDelay()I
    • getAmbientSound

      protected String getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official z Lps;z()Ljava/lang/String;
      intermediary method_7231 Lnet/minecraft/class_1753;method_7231()Ljava/lang/String;
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Ljava/lang/String;
    • getHurtSound

      protected String getHurtSound()
      Overrides:
      getHurtSound in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official bo Lpr;bo()Ljava/lang/String;
      intermediary method_7137 Lnet/minecraft/class_1752;method_7137()Ljava/lang/String;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
    • getDeathSound

      protected String getDeathSound()
      Overrides:
      getDeathSound in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official bp Lpr;bp()Ljava/lang/String;
      intermediary method_7138 Lnet/minecraft/class_1752;method_7138()Ljava/lang/String;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
    • canClimb

      protected boolean canClimb()
      Overrides:
      canClimb in class Entity
      Mappings:
      Namespace Name Mixin selector
      official s_ Lpk;s_()Z
      intermediary method_7059 Lnet/minecraft/class_1745;method_7059()Z
      named canClimb Lnet/minecraft/entity/Entity;canClimb()Z
    • getEyeHeight

      public float getEyeHeight()
      Overrides:
      getEyeHeight in class Entity
      Mappings:
      Namespace Name Mixin selector
      official aS Lpk;aS()F
      intermediary method_6965 Lnet/minecraft/class_1745;method_6965()F
      named getEyeHeight Lnet/minecraft/entity/Entity;getEyeHeight()F
    • method_7239

      public float method_7239​(BlockPos blockPos)
      Overrides:
      method_7239 in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lpy;a(Lcj;)F
      intermediary method_7239 Lnet/minecraft/class_1760;method_7239(Lnet/minecraft/class_1372;)F
      named method_7239 Lnet/minecraft/entity/PassivePathFindingEntity;method_7239(Lnet/minecraft/util/math/BlockPos;)F
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official m Lpr;m()V
      intermediary method_7169 Lnet/minecraft/class_1752;method_7169()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • getSpikesExtension

      @Environment(CLIENT) public float getSpikesExtension​(float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official a Lvt;a(F)F
      intermediary method_7851 Lnet/minecraft/class_1922;method_7851(F)F
      named getSpikesExtension Lnet/minecraft/entity/mob/GuardianEntity;getSpikesExtension(F)F
    • getTailAngle

      @Environment(CLIENT) public float getTailAngle​(float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official p Lvt;p(F)F
      intermediary method_7866 Lnet/minecraft/class_1922;method_7866(F)F
      named getTailAngle Lnet/minecraft/entity/mob/GuardianEntity;getTailAngle(F)F
    • getBeamProgress

      public float getBeamProgress​(float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official q Lvt;q(F)F
      intermediary method_7867 Lnet/minecraft/class_1922;method_7867(F)F
      named getBeamProgress Lnet/minecraft/entity/mob/GuardianEntity;getBeamProgress(F)F
    • mobTick

      protected void mobTick()
      Overrides:
      mobTick in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official E Lps;E()V
      intermediary method_7186 Lnet/minecraft/class_1753;method_7186()V
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick()V
    • method_7106

      protected void method_7106​(boolean bool, int int2)
      Overrides:
      method_7106 in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lpr;b(ZI)V
      intermediary method_7106 Lnet/minecraft/class_1752;method_7106(ZI)V
      named method_7106 Lnet/minecraft/entity/LivingEntity;method_7106(ZI)V
    • method_7139

      protected void method_7139()
      Overrides:
      method_7139 in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bq Lpr;bq()V
      intermediary method_7139 Lnet/minecraft/class_1752;method_7139()V
      named method_7139 Lnet/minecraft/entity/LivingEntity;method_7139()V
    • method_7870

      protected boolean method_7870()
      Overrides:
      method_7870 in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official n_ Lvv;n_()Z
      intermediary method_7870 Lnet/minecraft/class_1927;method_7870()Z
      named method_7870 Lnet/minecraft/entity/mob/HostileEntity;method_7870()Z
    • method_7203

      public boolean method_7203()
      Overrides:
      method_7203 in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official bS Lps;bS()Z
      intermediary method_7203 Lnet/minecraft/class_1753;method_7203()Z
      named method_7203 Lnet/minecraft/entity/mob/MobEntity;method_7203()Z
    • method_7202

      public boolean method_7202()
      Overrides:
      method_7202 in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official bR Lps;bR()Z
      intermediary method_7202 Lnet/minecraft/class_1753;method_7202()Z
      named method_7202 Lnet/minecraft/entity/mob/MobEntity;method_7202()Z
    • damage

      public boolean damage​(DamageSource source, float amount)
      Overrides:
      damage in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lpk;a(Low;F)Z
      intermediary method_6937 Lnet/minecraft/class_1745;method_6937(Lnet/minecraft/class_1733;F)Z
      named damage Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
    • getLookPitchSpeed

      public int getLookPitchSpeed()
      Overrides:
      getLookPitchSpeed in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official bQ Lps;bQ()I
      intermediary method_7201 Lnet/minecraft/class_1753;method_7201()I
      named getLookPitchSpeed Lnet/minecraft/entity/mob/MobEntity;getLookPitchSpeed()I
    • method_7154

      public void method_7154​(float float2, float float3)
      Overrides:
      method_7154 in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official g Lpr;g(FF)V
      intermediary method_7154 Lnet/minecraft/class_1752;method_7154(FF)V
      named method_7154 Lnet/minecraft/entity/LivingEntity;method_7154(FF)V