net.minecraft.world.entity.animal

public class SnowGolem

extends AbstractGolem implements Shearable, RangedAttackMob

All mapped superinterfaces:

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

cjo
net.minecraft.world.entity.animal.SnowGolem
net.minecraft.class_1473
net.minecraft.entity.passive.SnowGolemEntity

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
D()
registerGoals()
method_5959()
initGoals()
public static AttributeSupplier$Builder
j()
createAttributes()
method_26894()
createSnowGolemAttributes()
protected void
a(akl$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
b(tx arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tx arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public boolean
fq()
isSensitiveToWater()
method_29503()
hurtByWater()
public void
k_()
aiStep()
method_6007()
tickMovement()
public void
a(bwz arg0, float arg1)
performRangedAttack(LivingEntity arg0, float arg1)
method_7105(class_1309 arg0, float arg1)
shootAt(LivingEntity arg0, float arg1)
protected InteractionResult
b(cqs arg0, btx arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
public void
a(aro arg0, awm arg1, cys 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
m()
hasPumpkin()
method_6643()
hasPumpkin()
public void
w(boolean arg0)
setPumpkin(boolean arg0)
method_6642(boolean arg0)
setHasPumpkin(boolean hasPumpkin)
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(bup arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
l_()
getDeathSound()
method_6002()
getDeathSound()
public Vec3
cT()
getLeashOffset()
method_29919()
getLeashOffset()