net.minecraft.world.entity.animal

public class SnowGolem

extends AbstractGolem implements Shearable, RangedAttackMob

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Shearable, RangedAttackMob

bet
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
field_30374
f_149048_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
v()
registerGoals()
method_5959()
initGoals()
m_8099_()
initPathfinder()
public static AttributeSupplier$Builder
n()
createAttributes()
method_26894()
createSnowGolemAttributes()
m_29934_()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
initDatawatcher()
public void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
public void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
public boolean
ew()
isSensitiveToWater()
method_29503()
hurtByWater()
m_6126_()
public void
u_()
aiStep()
method_6007()
tickMovement()
m_8107_()
movementTick()
public void
a(att 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(auf arg0, atg 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(bkd arg0, arz 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(aff arg0)
shear(SoundSource arg0)
method_6636(class_3419 arg0)
sheared(SoundCategory arg0)
m_5851_(C_125_ arg0)
shear(SoundCategory arg0)
public boolean
a()
readyForShearing()
method_27072()
isShearable()
m_6220_()
canShear()
public boolean
p()
hasPumpkin()
method_6643()
hasPumpkin()
m_29930_()
hasPumpkin()
public void
v(boolean arg0)
setPumpkin(boolean arg0)
method_6642(boolean arg0)
setHasPumpkin(boolean hasPumpkin)
m_29936_(boolean arg0)
setHasPumpkin(boolean arg0)
protected SoundEvent
q()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
getSoundAmbient()
protected SoundEvent
c(asp arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
v_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
getSoundDeath()
public Vec3
cu()
getLeashOffset()
method_29919()
getLeashOffset()
m_7939_()