net.minecraft.entity.passive

public class SnowGolemEntity

extends GolemEntity implements RangedAttackMob, Shearable

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, EntryConvertible, Attackable, ServerWaypoint, Waypoint, Targeter, EquipmentHolder, Leashable, RangedAttackMob, Shearable

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

Field summary

Modifier and TypeField
private static final TrackedData<Byte>
DATA_PUMPKIN_ID
field_6873
SNOW_GOLEM_FLAGS
private static final byte
PUMPKIN_FLAG
field_30373
HAS_PUMPKIN_FLAG
private static final boolean
DEFAULT_PUMPKIN
field_57619
DEFAULT_HAS_PUMPKIN

Constructor summary

ModifierConstructor
public (EntityType<? extends SnowGolemEntity> type, World level)

Method summary

Modifier and TypeMethod
protected void
registerGoals()
method_5959()
initGoals()
public static DefaultAttributeContainer$Builder
createAttributes()
method_26894()
createSnowGolemAttributes()
protected void
defineSynchedData(SynchedEntityData$Builder entityData)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
protected void
addAdditionalSaveData(ValueOutput output)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
protected void
readAdditionalSaveData(ValueInput input)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
public boolean
isSensitiveToWater()
method_29503()
hurtByWater()
public void
aiStep()
method_6007()
tickMovement()
public void
performRangedAttack(LivingEntity target, float power)
method_7105(class_1309 arg0, float arg1)
shootAt(LivingEntity arg0, float arg1)
protected ActionResult
mobInteract(Player player, InteractionHand hand)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
public void
shear(ServerLevel level, SoundSource soundSource, ItemStack tool)
method_6636(class_3218 arg0, class_3419 arg1, class_1799 arg2)
sheared(ServerWorld arg0, SoundCategory arg1, ItemStack arg2)
public boolean
readyForShearing()
method_27072()
isShearable()
public boolean
hasPumpkin()
method_6643()
hasPumpkin()
public void
setPumpkin(boolean pumpkin)
method_6642(boolean arg0)
setHasPumpkin(boolean hasPumpkin)
protected SoundEvent
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
getHurtSound(DamageSource source)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
getDeathSound()
method_6002()
getDeathSound()
public Vec3d
getLeashOffset()
method_29919()
getLeashOffset()
private void
lambda$shear$0(ServerLevel arg0, ItemStack arg1)
method_61476(class_3218 arg0, class_1799 arg1)
method_61476(ServerWorld arg0, ItemStack arg1)
private static void
lambda$performRangedAttack$0(double arg0, double arg1, double arg2, double arg3, Snowball arg4)
method_63010(double arg0, double arg1, double arg2, double arg3, class_1680 arg4)
method_63010(double arg0, double arg1, double arg2, double arg3, SnowballEntity entity)
private static boolean
lambda$registerGoals$0(LivingEntity arg0, ServerLevel arg1)
method_18443(class_1309 arg0, class_3218 arg1)
method_18443(LivingEntity entity, ServerWorld arg1)