net.minecraft.world.entity.animal

public class SnowGolem

extends AbstractGolem implements Shearable, RangedAttackMob

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Shearable, RangedAttackMob

boc
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_
private static final float
d
EYE_HEIGHT
field_30374
EYE_HEIGHT
f_149048_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
u()
registerGoals()
method_5959()
initGoals()
m_8099_()
public static AttributeSupplier$Builder
n()
createAttributes()
method_26894()
createSnowGolemAttributes()
m_29934_()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public void
b(pj arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(pj arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public boolean
eL()
isSensitiveToWater()
method_29503()
hurtByWater()
m_6126_()
public void
w_()
aiStep()
method_6007()
tickMovement()
m_8107_()
public void
a(bcc arg0, float arg1)
performRangedAttack(LivingEntity arg0, float arg1)
method_7105(class_1309 arg0, float arg1)
attack(LivingEntity arg0, float arg1)
m_6504_(C_524_ p_29913_, float arg1)
protected float
b(bco arg0, bbo arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6431_(C_535_ p_29918_, C_510_ arg1)
protected InteractionResult
b(buc arg0, bai 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(ajx 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
q()
hasPumpkin()
method_6643()
hasPumpkin()
m_29930_()
public void
v(boolean arg0)
setPumpkin(boolean arg0)
method_6642(boolean arg0)
setHasPumpkin(boolean hasPumpkin)
m_29936_(boolean arg0)
protected SoundEvent
r()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
c(baw arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
x_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
public Vec3
cB()
getLeashOffset()
method_29919()
getLeashOffset()
m_7939_()