Class SnowGolemEntity

All Implemented Interfaces:
ComponentsAccess, RangedAttackMob, Attackable, DataTracked, EquipmentHolder, Leashable, Shearable, Targeter, ScoreHolder, Nameable, EntityLike, UniquelyIdentifiable, ServerWaypoint, Waypoint

public class SnowGolemEntity extends GolemEntity implements Shearable, RangedAttackMob
Mappings:
Namespace Name
named net/minecraft/entity/passive/SnowGolemEntity
intermediary net/minecraft/class_1473
official cni
  • Field Details

    • SNOW_GOLEM_FLAGS

      private static final TrackedData<Byte> SNOW_GOLEM_FLAGS
      Mappings:
      Namespace Name Mixin selector
      named SNOW_GOLEM_FLAGS Lnet/minecraft/entity/passive/SnowGolemEntity;SNOW_GOLEM_FLAGS:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_6873 Lnet/minecraft/class_1473;field_6873:Lnet/minecraft/class_2940;
      official a Lcni;a:Lalh;
    • HAS_PUMPKIN_FLAG

      private static final byte HAS_PUMPKIN_FLAG
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named HAS_PUMPKIN_FLAG Lnet/minecraft/entity/passive/SnowGolemEntity;HAS_PUMPKIN_FLAG:B
      intermediary field_30373 Lnet/minecraft/class_1473;field_30373:B
      official b Lcni;b:B
    • DEFAULT_HAS_PUMPKIN

      private static final boolean DEFAULT_HAS_PUMPKIN
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_HAS_PUMPKIN Lnet/minecraft/entity/passive/SnowGolemEntity;DEFAULT_HAS_PUMPKIN:Z
      intermediary field_57619 Lnet/minecraft/class_1473;field_57619:Z
      official c Lcni;c:Z
  • Constructor Details

    • SnowGolemEntity

      public SnowGolemEntity(EntityType<? extends SnowGolemEntity> 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> Lbzm;<init>(Lbzv;Ldmu;)V
  • Method Details

    • initGoals

      protected void initGoals()
      Overrides:
      initGoals in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named initGoals Lnet/minecraft/entity/mob/MobEntity;initGoals()V
      intermediary method_5959 Lnet/minecraft/class_1308;method_5959()V
      official H Lcao;H()V
    • createSnowGolemAttributes

      public static DefaultAttributeContainer.Builder createSnowGolemAttributes()
      Mappings:
      Namespace Name Mixin selector
      named createSnowGolemAttributes Lnet/minecraft/entity/passive/SnowGolemEntity;createSnowGolemAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
      intermediary method_26894 Lnet/minecraft/class_1473;method_26894()Lnet/minecraft/class_5132$class_5133;
      official l Lcni;l()Lcbr$a;
    • 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 Lbzm;a(Lall$a;)V
    • writeCustomData

      protected void writeCustomData(WriteView view)
      Overrides:
      writeCustomData in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named writeCustomData Lnet/minecraft/entity/Entity;writeCustomData(Lnet/minecraft/storage/WriteView;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_11372;)V
      official a Lbzm;a(Lfdc;)V
    • readCustomData

      protected void readCustomData(ReadView view)
      Overrides:
      readCustomData in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named readCustomData Lnet/minecraft/entity/Entity;readCustomData(Lnet/minecraft/storage/ReadView;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_11368;)V
      official a Lbzm;a(Lfda;)V
    • hurtByWater

      public boolean hurtByWater()
      Overrides:
      hurtByWater in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named hurtByWater Lnet/minecraft/entity/LivingEntity;hurtByWater()Z
      intermediary method_29503 Lnet/minecraft/class_1309;method_29503()Z
      official fx Lcam;fx()Z
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
      intermediary method_6007 Lnet/minecraft/class_1309;method_6007()V
      official e_ Lcam;e_()V
    • shootAt

      public void shootAt(LivingEntity target, float pullProgress)
      Specified by:
      shootAt in interface RangedAttackMob
      Mappings:
      Namespace Name Mixin selector
      named shootAt Lnet/minecraft/entity/ai/RangedAttackMob;shootAt(Lnet/minecraft/entity/LivingEntity;F)V
      intermediary method_7105 Lnet/minecraft/class_1603;method_7105(Lnet/minecraft/class_1309;F)V
      official a Lcrz;a(Lcam;F)V
    • interactMob

      protected ActionResult interactMob(PlayerEntity player, Hand hand)
      Overrides:
      interactMob in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named interactMob Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
      intermediary method_5992 Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
      official b Lcao;b(Lcut;Lbxi;)Lbxj;
    • sheared

      public void sheared(ServerWorld world, SoundCategory shearedSoundCategory, ItemStack shears)
      Specified by:
      sheared in interface Shearable
      Mappings:
      Namespace Name Mixin selector
      named sheared Lnet/minecraft/entity/Shearable;sheared(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/sound/SoundCategory;Lnet/minecraft/item/ItemStack;)V
      intermediary method_6636 Lnet/minecraft/class_5147;method_6636(Lnet/minecraft/class_3218;Lnet/minecraft/class_3419;Lnet/minecraft/class_1799;)V
      official a Lcbc;a(Laub;Laza;Ldcv;)V
    • isShearable

      public boolean isShearable()
      Specified by:
      isShearable in interface Shearable
      Mappings:
      Namespace Name Mixin selector
      named isShearable Lnet/minecraft/entity/Shearable;isShearable()Z
      intermediary method_27072 Lnet/minecraft/class_5147;method_27072()Z
      official a Lcbc;a()Z
    • hasPumpkin

      public boolean hasPumpkin()
      Mappings:
      Namespace Name Mixin selector
      named hasPumpkin Lnet/minecraft/entity/passive/SnowGolemEntity;hasPumpkin()Z
      intermediary method_6643 Lnet/minecraft/class_1473;method_6643()Z
      official m Lcni;m()Z
    • setHasPumpkin

      public void setHasPumpkin(boolean hasPumpkin)
      Mappings:
      Namespace Name Mixin selector
      named setHasPumpkin Lnet/minecraft/entity/passive/SnowGolemEntity;setHasPumpkin(Z)V
      intermediary method_6642 Lnet/minecraft/class_1473;method_6642(Z)V
      official x Lcni;x(Z)V
    • getAmbientSound

      @Nullable protected @Nullable SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class GolemEntity
      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 p Lcao;p()Layy;
    • getHurtSound

      @Nullable protected @Nullable SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class GolemEntity
      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 Lcam;e(Lbyb;)Layy;
    • getDeathSound

      @Nullable protected @Nullable SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class GolemEntity
      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 f_ Lcam;f_()Layy;
    • getLeashOffset

      public Vec3d getLeashOffset()
      Specified by:
      getLeashOffset in interface Leashable
      Mappings:
      Namespace Name Mixin selector
      named getLeashOffset Lnet/minecraft/entity/Leashable;getLeashOffset()Lnet/minecraft/util/math/Vec3d;
      intermediary method_29919 Lnet/minecraft/class_9817;method_29919()Lnet/minecraft/class_243;
      official F Lcak;F()Lfis;