Class SnowGolemEntity

All Implemented Interfaces:
RangedAttackMob, EntityLike, Shearable, CommandOutput, Nameable

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

    • SNOW_GOLEM_FLAGS

      private static final TrackedData<Byte> SNOW_GOLEM_FLAGS
      Mappings:
      Namespace Name Mixin selector
      official b Lbcf;b:Lvk;
      intermediary field_6873 Lnet/minecraft/class_1473;field_6873:Lnet/minecraft/class_2940;
      named SNOW_GOLEM_FLAGS Lnet/minecraft/entity/passive/SnowGolemEntity;SNOW_GOLEM_FLAGS:Lnet/minecraft/entity/data/TrackedData;
  • Constructor Details

    • SnowGolemEntity

      public SnowGolemEntity​(EntityType<? extends SnowGolemEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laqv;<init>(Laqz;Lbtv;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
  • Method Details

    • initGoals

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

      public static DefaultAttributeContainer.Builder createSnowGolemAttributes()
      Mappings:
      Namespace Name Mixin selector
      official m Lbcf;m()Lash$a;
      intermediary method_26894 Lnet/minecraft/class_1473;method_26894()Lnet/minecraft/class_5132$class_5133;
      named createSnowGolemAttributes Lnet/minecraft/entity/passive/SnowGolemEntity;createSnowGolemAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official e Laqv;e()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • writeCustomDataToTag

      public void writeCustomDataToTag​(CompoundTag tag)
      Overrides:
      writeCustomDataToTag in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Laqv;b(Lmq;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      named writeCustomDataToTag Lnet/minecraft/entity/Entity;writeCustomDataToTag(Lnet/minecraft/nbt/CompoundTag;)V
    • readCustomDataFromTag

      public void readCustomDataFromTag​(CompoundTag tag)
      Overrides:
      readCustomDataFromTag in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(Lmq;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      named readCustomDataFromTag Lnet/minecraft/entity/Entity;readCustomDataFromTag(Lnet/minecraft/nbt/CompoundTag;)V
    • hurtByWater

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

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

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

      protected float getActiveEyeHeight​(EntityPose pose, EntityDimensions dimensions)
      Overrides:
      getActiveEyeHeight in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lari;b(Lart;Laqw;)F
      intermediary method_18394 Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)F
      named getActiveEyeHeight Lnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
    • interactMob

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

      public void sheared​(SoundCategory shearedSoundCategory)
      Specified by:
      sheared in interface Shearable
      Mappings:
      Namespace Name Mixin selector
      official a Larx;a(Laeh;)V
      intermediary method_6636 Lnet/minecraft/class_5147;method_6636(Lnet/minecraft/class_3419;)V
      named sheared Lnet/minecraft/entity/Shearable;sheared(Lnet/minecraft/sound/SoundCategory;)V
    • isShearable

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

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

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

      @Nullable protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class GolemEntity
      Mappings:
      Namespace Name Mixin selector
      official p Larj;p()Laef;
      intermediary method_5994 Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
    • getHurtSound

      @Nullable protected SoundEvent getHurtSound​(DamageSource source)
      Overrides:
      getHurtSound in class GolemEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lari;c(Laqf;)Laef;
      intermediary method_6011 Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
    • getDeathSound

      @Nullable protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class GolemEntity
      Mappings:
      Namespace Name Mixin selector
      official q Lari;q()Laef;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
    • method_29919

      @Environment(CLIENT) public Vec3d method_29919()
      Overrides:
      method_29919 in class Entity
      Mappings:
      Namespace Name Mixin selector
      official cp Laqv;cp()Ldiu;
      intermediary method_29919 Lnet/minecraft/class_1297;method_29919()Lnet/minecraft/class_243;
      named method_29919 Lnet/minecraft/entity/Entity;method_29919()Lnet/minecraft/util/math/Vec3d;