Class GuardianEntity

All Implemented Interfaces:
class_3893, EntityCategoryProvider, Monster, Nameable
Direct Known Subclasses:
ElderGuardianEntity

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

    • field_15549

      private static final TrackedData<Boolean> field_15549
      Mappings:
      Namespace Name Mixin selector
      official bF Lanc;bF:Lor;
      intermediary field_15549 Lnet/minecraft/class_2648;field_15549:Lnet/minecraft/class_2921;
      named field_15549 Lnet/minecraft/entity/mob/GuardianEntity;field_15549:Lnet/minecraft/entity/data/TrackedData;
    • field_14756

      private static final TrackedData<Integer> field_14756
      Mappings:
      Namespace Name Mixin selector
      official bG Lanc;bG:Lor;
      intermediary field_14756 Lnet/minecraft/class_2648;field_14756:Lnet/minecraft/class_2921;
      named field_14756 Lnet/minecraft/entity/mob/GuardianEntity;field_14756:Lnet/minecraft/entity/data/TrackedData;
    • spikesExtension

      protected float spikesExtension
      Mappings:
      Namespace Name Mixin selector
      official a Lanc;a:F
      intermediary field_12072 Lnet/minecraft/class_2648;field_12072:F
      named spikesExtension Lnet/minecraft/entity/mob/GuardianEntity;spikesExtension:F
    • prevSpikesExtension

      protected float prevSpikesExtension
      Mappings:
      Namespace Name Mixin selector
      official b Lanc;b:F
      intermediary field_12073 Lnet/minecraft/class_2648;field_12073:F
      named prevSpikesExtension Lnet/minecraft/entity/mob/GuardianEntity;prevSpikesExtension:F
    • spikesExtensionRate

      protected float spikesExtensionRate
      Mappings:
      Namespace Name Mixin selector
      official c Lanc;c:F
      intermediary field_12080 Lnet/minecraft/class_2648;field_12080:F
      named spikesExtensionRate Lnet/minecraft/entity/mob/GuardianEntity;spikesExtensionRate:F
    • tailAngle

      protected float tailAngle
      Mappings:
      Namespace Name Mixin selector
      official bC Lanc;bC:F
      intermediary field_12074 Lnet/minecraft/class_2648;field_12074:F
      named tailAngle Lnet/minecraft/entity/mob/GuardianEntity;tailAngle:F
    • prevTailAngle

      protected float prevTailAngle
      Mappings:
      Namespace Name Mixin selector
      official bD Lanc;bD:F
      intermediary field_12075 Lnet/minecraft/class_2648;field_12075:F
      named prevTailAngle Lnet/minecraft/entity/mob/GuardianEntity;prevTailAngle:F
    • cachedBeamTarget

      private LivingEntity cachedBeamTarget
      Mappings:
      Namespace Name Mixin selector
      official bH Lanc;bH:Lafa;
      intermediary field_12076 Lnet/minecraft/class_2648;field_12076:Lnet/minecraft/class_1699;
      named cachedBeamTarget Lnet/minecraft/entity/mob/GuardianEntity;cachedBeamTarget:Lnet/minecraft/entity/LivingEntity;
    • beamTicks

      private int beamTicks
      Mappings:
      Namespace Name Mixin selector
      official bI Lanc;bI:I
      intermediary field_12077 Lnet/minecraft/class_2648;field_12077:I
      named beamTicks Lnet/minecraft/entity/mob/GuardianEntity;beamTicks:I
    • flopping

      private boolean flopping
      Mappings:
      Namespace Name Mixin selector
      official bJ Lanc;bJ:Z
      intermediary field_12078 Lnet/minecraft/class_2648;field_12078:Z
      named flopping Lnet/minecraft/entity/mob/GuardianEntity;flopping:Z
    • wanderAroundGoal

      protected WanderAroundGoal wanderAroundGoal
      Mappings:
      Namespace Name Mixin selector
      official bE Lanc;bE:Lahr;
      intermediary field_12079 Lnet/minecraft/class_2648;field_12079:Lnet/minecraft/class_917;
      named wanderAroundGoal Lnet/minecraft/entity/mob/GuardianEntity;wanderAroundGoal:Lnet/minecraft/entity/ai/goal/WanderAroundGoal;
  • Constructor Details

    • GuardianEntity

      protected GuardianEntity(EntityType<?> entityType, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laer;<init>(Laev;Laxy;)V
      intermediary <init> Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_3460;Lnet/minecraft/class_1150;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
    • GuardianEntity

      public GuardianEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laer;<init>(Laxy;)V
      intermediary <init> Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
  • Method Details

    • initGoals

      protected void initGoals()
      Overrides:
      initGoals in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official n Lafb;n()V
      intermediary method_13087 Lnet/minecraft/class_871;method_13087()V
      named initGoals Lnet/minecraft/entity/mob/MobEntity;initGoals()V
    • initializeAttributes

      protected void initializeAttributes()
      Overrides:
      initializeAttributes in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official bZ Lafa;bZ()V
      intermediary method_6129 Lnet/minecraft/class_1699;method_6129()V
      named initializeAttributes Lnet/minecraft/entity/LivingEntity;initializeAttributes()V
    • createNavigation

      protected EntityNavigation createNavigation(World world)
      Overrides:
      createNavigation in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lafb;b(Laxy;)Laiw;
      intermediary method_10986 Lnet/minecraft/class_871;method_10986(Lnet/minecraft/class_1150;)Lnet/minecraft/class_934;
      named createNavigation Lnet/minecraft/entity/mob/MobEntity;createNavigation(Lnet/minecraft/world/World;)Lnet/minecraft/entity/ai/pathing/EntityNavigation;
    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official x_ Laer;x_()V
      intermediary method_2484 Lnet/minecraft/class_864;method_2484()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • method_2607

      public boolean method_2607()
      Overrides:
      method_2607 in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official ca Lafa;ca()Z
      intermediary method_2607 Lnet/minecraft/class_1699;method_2607()Z
      named method_2607 Lnet/minecraft/entity/LivingEntity;method_2607()Z
    • method_2647

      public class_3462 method_2647()
      Overrides:
      method_2647 in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official cA Lafa;cA()Lafd;
      intermediary method_2647 Lnet/minecraft/class_1699;method_2647()Lnet/minecraft/class_3462;
      named method_2647 Lnet/minecraft/entity/LivingEntity;method_2647()Lnet/minecraft/class_3462;
    • areSpikesRetracted

      public boolean areSpikesRetracted()
      Mappings:
      Namespace Name Mixin selector
      official dB Lanc;dB()Z
      intermediary method_11205 Lnet/minecraft/class_2648;method_11205()Z
      named areSpikesRetracted Lnet/minecraft/entity/mob/GuardianEntity;areSpikesRetracted()Z
    • setSpikesRetracted

      private void setSpikesRetracted(boolean retracted)
      Mappings:
      Namespace Name Mixin selector
      official a Lanc;a(Z)V
      intermediary method_11204 Lnet/minecraft/class_2648;method_11204(Z)V
      named setSpikesRetracted Lnet/minecraft/entity/mob/GuardianEntity;setSpikesRetracted(Z)V
    • getWarmupTime

      public int getWarmupTime()
      Mappings:
      Namespace Name Mixin selector
      official l Lanc;l()I
      intermediary method_11199 Lnet/minecraft/class_2648;method_11199()I
      named getWarmupTime Lnet/minecraft/entity/mob/GuardianEntity;getWarmupTime()I
    • setBeamTarget

      private void setBeamTarget(int progress)
      Mappings:
      Namespace Name Mixin selector
      official a Lanc;a(I)V
      intermediary method_11198 Lnet/minecraft/class_2648;method_11198(I)V
      named setBeamTarget Lnet/minecraft/entity/mob/GuardianEntity;setBeamTarget(I)V
    • hasBeamTarget

      public boolean hasBeamTarget()
      Mappings:
      Namespace Name Mixin selector
      official dC Lanc;dC()Z
      intermediary method_11202 Lnet/minecraft/class_2648;method_11202()Z
      named hasBeamTarget Lnet/minecraft/entity/mob/GuardianEntity;hasBeamTarget()Z
    • getBeamTarget

      @Nullable public LivingEntity getBeamTarget()
      Mappings:
      Namespace Name Mixin selector
      official dD Lanc;dD()Lafa;
      intermediary method_11203 Lnet/minecraft/class_2648;method_11203()Lnet/minecraft/class_1699;
      named getBeamTarget Lnet/minecraft/entity/mob/GuardianEntity;getBeamTarget()Lnet/minecraft/entity/LivingEntity;
    • onTrackedDataSet

      public void onTrackedDataSet(TrackedData<?> data)
      Overrides:
      onTrackedDataSet in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laer;a(Lor;)V
      intermediary method_12974 Lnet/minecraft/class_864;method_12974(Lnet/minecraft/class_2921;)V
      named onTrackedDataSet Lnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
    • getMinAmbientSoundDelay

      public int getMinAmbientSoundDelay()
      Overrides:
      getMinAmbientSoundDelay in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official z Lafb;z()I
      intermediary method_2594 Lnet/minecraft/class_871;method_2594()I
      named getMinAmbientSoundDelay Lnet/minecraft/entity/mob/MobEntity;getMinAmbientSoundDelay()I
    • ambientSound

      protected SoundEvent ambientSound()
      Overrides:
      ambientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official D Lafb;D()Lwi;
      intermediary method_2603 Lnet/minecraft/class_871;method_2603()Lnet/minecraft/class_2926;
      named ambientSound Lnet/minecraft/entity/mob/MobEntity;ambientSound()Lnet/minecraft/client/sound/SoundEvent;
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource damageSource)
      Overrides:
      getHurtSound in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official d Lafa;d(Laea;)Lwi;
      intermediary method_15060 Lnet/minecraft/class_1699;method_15060(Lnet/minecraft/class_856;)Lnet/minecraft/class_2926;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/client/sound/SoundEvent;
    • deathSound

      protected SoundEvent deathSound()
      Overrides:
      deathSound in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official cs Lafa;cs()Lwi;
      intermediary method_13049 Lnet/minecraft/class_1699;method_13049()Lnet/minecraft/class_2926;
      named deathSound Lnet/minecraft/entity/LivingEntity;deathSound()Lnet/minecraft/client/sound/SoundEvent;
    • canClimb

      protected boolean canClimb()
      Overrides:
      canClimb in class Entity
      Mappings:
      Namespace Name Mixin selector
      official ak Laer;ak()Z
      intermediary method_2549 Lnet/minecraft/class_864;method_2549()Z
      named canClimb Lnet/minecraft/entity/Entity;canClimb()Z
    • getEyeHeight

      public float getEyeHeight()
      Overrides:
      getEyeHeight in class Entity
      Mappings:
      Namespace Name Mixin selector
      official bF Laer;bF()F
      intermediary method_2544 Lnet/minecraft/class_864;method_2544()F
      named getEyeHeight Lnet/minecraft/entity/Entity;getEyeHeight()F
    • method_15657

      public float method_15657(BlockPos blockPos, RenderBlockView renderBlockView)
      Overrides:
      method_15657 in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lafg;a(Lel;Layc;)F
      intermediary method_15657 Lnet/minecraft/class_877;method_15657(Lnet/minecraft/class_2552;Lnet/minecraft/class_3599;)F
      named method_15657 Lnet/minecraft/entity/PathAwareEntity;method_15657(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/RenderBlockView;)F
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official k Lafa;k()V
      intermediary method_2651 Lnet/minecraft/class_1699;method_2651()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • method_14091

      protected SoundEvent method_14091()
      Mappings:
      Namespace Name Mixin selector
      official dA Lanc;dA()Lwi;
      intermediary method_14091 Lnet/minecraft/class_2648;method_14091()Lnet/minecraft/class_2926;
      named method_14091 Lnet/minecraft/entity/mob/GuardianEntity;method_14091()Lnet/minecraft/client/sound/SoundEvent;
    • getSpikesExtension

      @Environment(CLIENT) public float getSpikesExtension(float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official a Lanc;a(F)F
      intermediary method_11191 Lnet/minecraft/class_2648;method_11191(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 v Lanc;v(F)F
      intermediary method_11206 Lnet/minecraft/class_2648;method_11206(F)F
      named getTailAngle Lnet/minecraft/entity/mob/GuardianEntity;getTailAngle(F)F
    • getBeamProgress

      public float getBeamProgress(float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official w Lanc;w(F)F
      intermediary method_11207 Lnet/minecraft/class_2648;method_11207(F)F
      named getBeamProgress Lnet/minecraft/entity/mob/GuardianEntity;getBeamProgress(F)F
    • getLootTableId

      @Nullable protected Identifier getLootTableId()
      Overrides:
      getLootTableId in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official G Lafb;G()Lpc;
      intermediary method_13074 Lnet/minecraft/class_871;method_13074()Lnet/minecraft/class_1653;
      named getLootTableId Lnet/minecraft/entity/mob/MobEntity;getLootTableId()Lnet/minecraft/util/Identifier;
    • method_3087

      protected boolean method_3087()
      Overrides:
      method_3087 in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official K_ Lang;K_()Z
      intermediary method_3087 Lnet/minecraft/class_975;method_3087()Z
      named method_3087 Lnet/minecraft/entity/mob/HostileEntity;method_3087()Z
    • method_15653

      public boolean method_15653(RenderBlockView renderBlockView)
      Overrides:
      method_15653 in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lafb;a(Layc;)Z
      intermediary method_15653 Lnet/minecraft/class_871;method_15653(Lnet/minecraft/class_3599;)Z
      named method_15653 Lnet/minecraft/entity/mob/MobEntity;method_15653(Lnet/minecraft/world/RenderBlockView;)Z
    • method_15652

      public boolean method_15652(IWorld iWorld, boolean bool)
      Overrides:
      method_15652 in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lafb;a(Laxz;Z)Z
      intermediary method_15652 Lnet/minecraft/class_871;method_15652(Lnet/minecraft/class_3598;Z)Z
      named method_15652 Lnet/minecraft/entity/mob/MobEntity;method_15652(Lnet/minecraft/world/IWorld;Z)Z
    • damage

      public boolean damage(DamageSource source, float amount)
      Overrides:
      damage in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laer;a(Laea;F)Z
      intermediary method_2499 Lnet/minecraft/class_864;method_2499(Lnet/minecraft/class_856;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 K Lafb;K()I
      intermediary method_2636 Lnet/minecraft/class_871;method_2636()I
      named getLookPitchSpeed Lnet/minecraft/entity/mob/MobEntity;getLookPitchSpeed()I
    • method_2657

      public void method_2657(float float2, float float3, float float4)
      Overrides:
      method_2657 in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lafa;a(FFF)V
      intermediary method_2657 Lnet/minecraft/class_1699;method_2657(FFF)V
      named method_2657 Lnet/minecraft/entity/LivingEntity;method_2657(FFF)V