net.minecraft.world.entity.animal

public class SnowGolem

extends AbstractGolem implements Shearable, RangedAttackMob

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, EquipmentUser, Targeting, Shearable, RangedAttackMob

cgf
net.minecraft.world.entity.animal.SnowGolem
net.minecraft.class_1473
net.minecraft.entity.passive.SnowGolemEntity
net.minecraft.src.C_900_
net.minecraft.world.entity.animal.EntitySnowman

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Byte>
b
DATA_PUMPKIN_ID
field_6873
SNOW_GOLEM_FLAGS
f_29899_
private static final byte
c
PUMPKIN_FLAG
field_30373
HAS_PUMPKIN_FLAG
f_149047_

Constructor summary

ModifierConstructor
public (EntityType<? extends SnowGolem> p_29903_, Level arg1)

Method summary

Modifier and TypeMethod
protected void
z()
registerGoals()
method_5959()
initGoals()
m_8099_()
public static AttributeSupplier$Builder
s()
createAttributes()
method_26894()
createSnowGolemAttributes()
m_29934_()
protected void
a(ako$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public void
b(us arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(us arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public boolean
fp()
isSensitiveToWater()
method_29503()
hurtByWater()
m_6126_()
public void
n_()
aiStep()
method_6007()
tickMovement()
m_8107_()
public void
a(btr arg0, float arg1)
performRangedAttack(LivingEntity arg0, float arg1)
method_7105(class_1309 arg0, float arg1)
shootAt(LivingEntity arg0, float arg1)
m_6504_(C_524_ p_29913_, float arg1)
protected InteractionResult
b(cmz arg0, bqv arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_29921_, C_470_ arg1)
public void
a(awb arg0)
shear(SoundSource arg0)
method_6636(class_3419 arg0)
sheared(SoundCategory arg0)
m_5851_(C_125_ arg0)
public boolean
a()
readyForShearing()
method_27072()
isShearable()
m_6220_()
public boolean
u()
hasPumpkin()
method_6643()
hasPumpkin()
m_29930_()
public void
w(boolean arg0)
setPumpkin(boolean arg0)
method_6642(boolean arg0)
setHasPumpkin(boolean hasPumpkin)
m_29936_(boolean arg0)
protected SoundEvent
v()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
d(brp arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
public Vec3
cM()
getLeashOffset()
method_29919()
getLeashOffset()
m_7939_()