net.minecraft.world.entity.animal

public class SnowGolem

extends AbstractGolem implements Shearable, RangedAttackMob

All mapped superinterfaces:

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

chx
net.minecraft.world.entity.animal.SnowGolem
net.minecraft.class_1473
net.minecraft.entity.passive.SnowGolemEntity
net.minecraft.world.entity.animal.EntitySnowman

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
E()
registerGoals()
method_5959()
initGoals()
public static AttributeSupplier$Builder
m()
createAttributes()
method_26894()
createSnowGolemAttributes()
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public boolean
fr()
isSensitiveToWater()
method_29503()
hurtByWater()
public void
d_()
aiStep()
method_6007()
tickMovement()
public void
a(bvi arg0, float arg1)
performRangedAttack(LivingEntity arg0, float arg1)
method_7105(class_1309 arg0, float arg1)
shootAt(LivingEntity arg0, float arg1)
protected InteractionResult
b(coy arg0, bsk arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
public void
a(ard arg0, awb arg1, cwq arg2)
shear(ServerLevel arg0, SoundSource arg1, ItemStack arg2)
method_6636(class_3218 arg0, class_3419 arg1, class_1799 arg2)
sheared(ServerWorld arg0, SoundCategory arg1, ItemStack arg2)
public boolean
a()
readyForShearing()
method_27072()
isShearable()
public boolean
p()
hasPumpkin()
method_6643()
hasPumpkin()
public void
x(boolean arg0)
setPumpkin(boolean arg0)
method_6642(boolean arg0)
setHasPumpkin(boolean hasPumpkin)
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(btc arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
public Vec3
cT()
getLeashOffset()
method_29919()
getLeashOffset()