net.minecraft.world.entity.animal.wolf

public class Wolf

extends TamableAnimal implements NeutralMob

All mapped superinterfaces:

SyncedDataHolder, DebugValueSource, Nameable, ItemOwner, SlotProvider, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable, WaypointTransmitter, Waypoint, EquipmentUser, Leashable, Targeting, OwnableEntity, NeutralMob

cxa
net.minecraft.world.entity.animal.wolf.Wolf
net.minecraft.class_1493
net.minecraft.entity.passive.WolfEntity

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
cB
DATA_INTERESTED_ID
field_6946
BEGGING
private static final EntityDataAccessor<Integer>
cC
DATA_COLLAR_COLOR
field_6950
COLLAR_COLOR
private static final EntityDataAccessor<Long>
cD
DATA_ANGER_END_TIME
field_63374
ANGER_END_TIME
private static final EntityDataAccessor<Holder<WolfVariant>>
cE
DATA_VARIANT_ID
field_49722
VARIANT
private static final EntityDataAccessor<Holder<WolfSoundVariant>>
cF
DATA_SOUND_VARIANT_ID
field_57075
SOUND_VARIANT
public static final TargetingConditions$Selector
cz
PREY_SELECTOR
field_18004
FOLLOW_TAMED_PREDICATE
private static final float
cG
START_HEALTH
field_30386
WILD_MAX_HEALTH
private static final float
cH
TAME_HEALTH
field_30387
TAMED_MAX_HEALTH
private static final float
cI
ARMOR_REPAIR_UNIT
field_49237
field_49237
public static final float
cA
DEFAULT_TAIL_ANGLE
field_52477
field_52477
private static final DyeColor
cJ
DEFAULT_COLLAR_COLOR
field_56658
DEFAULT_COLLAR_COLOR
private float
cK
interestedAngle
field_6952
begAnimationProgress
private float
cL
interestedAngleO
field_6949
lastBegAnimationProgress
private boolean
cM
isWet
field_6944
furWet
private boolean
cN
isShaking
field_6951
canShakeWaterOff
private float
cO
shakeAnim
field_6947
shakeProgress
private float
cP
shakeAnimO
field_6945
lastShakeProgress
private static final UniformInt
cQ
PERSISTENT_ANGER_TIME
field_25371
ANGER_TIME_RANGE
private EntityReference<LivingEntity>
cR
persistentAngerTarget
field_25372
angryAt

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
H()
registerGoals()
method_5959()
initGoals()
public Identifier
hc()
getTexture()
method_58061()
getTextureId()
private Holder<WolfVariant>
hh()
getVariant()
method_58062()
getVariant()
private void
b(jd<cxd> arg0)
setVariant(Holder<WolfVariant> arg0)
method_58063(class_6880<class_9346> arg0)
setVariant(RegistryEntry<WolfVariant> variant)
private Holder<WolfSoundVariant>
hi()
getSoundVariant()
method_68131()
getSoundVariant()
private void
k(jd<cxb> arg0)
setSoundVariant(Holder<WolfSoundVariant> arg0)
method_68132(class_6880<class_10823> arg0)
setSoundVariant(RegistryEntry<WolfSoundVariant> soundVariant)
public <T> T
a(kh<? extends T> arg0)
get(DataComponentType<? extends T> arg0)
method_58694(class_9331<? extends T> arg0)
get(ComponentType<? extends T> arg0)
protected void
a(kd arg0)
applyImplicitComponents(DataComponentGetter arg0)
method_66649(class_9473 arg0)
copyComponentsFrom(ComponentsAccess arg0)
protected <T> boolean
b(kh<T> arg0, T arg1)
applyImplicitComponent(DataComponentType<T> arg0, T arg1)
method_66654(class_9331<T> arg0, T arg1)
setApplicableComponent(ComponentType<T> arg0, T arg1)
public static AttributeSupplier$Builder
hd()
createAttributes()
method_26897()
createWolfAttributes()
protected void
a(ama$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
protected void
b(is arg0, emz arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
protected void
a(fmk arg0)
addAdditionalSaveData(ValueOutput arg0)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
protected void
a(fmi arg0)
readAdditionalSaveData(ValueInput arg0)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
public SpawnGroupData
a(dvx arg0, ccy arg1, cgr arg2, cid arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
protected SoundEvent
p()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(cev arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
e_()
getDeathSound()
method_6002()
getDeathSound()
protected float
fy()
getSoundVolume()
method_6107()
getSoundVolume()
public void
d_()
aiStep()
method_6007()
tickMovement()
public void
g()
tick()
method_5773()
tick()
private void
hj()
cancelShake()
method_31167()
resetShake()
public void
a(cev arg0)
die(DamageSource arg0)
method_6078(class_1282 arg0)
onDeath(DamageSource arg0)
public float
L(float arg0)
getWetShade(float arg0)
method_6707(float arg0)
getFurWetBrightnessMultiplier(float tickProgress)
public float
M(float arg0)
getShakeAnim(float arg0)
method_61477(float arg0)
getShakeProgress(float tickProgress)
public float
N(float arg0)
getHeadRollAngle(float arg0)
method_6719(float arg0)
getBegAnimationProgress(float tickProgress)
public int
ai()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
public boolean
a(axf arg0, cev arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
protected void
c(axf arg0, cev arg1, float arg2)
actuallyHurt(ServerLevel arg0, DamageSource arg1, float arg2)
method_6074(class_3218 arg0, class_1282 arg1, float arg2)
applyDamage(ServerWorld arg0, DamageSource arg1, float arg2)
private boolean
i(cev arg0)
canArmorAbsorb(DamageSource arg0)
method_57304(class_1282 arg0)
shouldArmorAbsorbDamage(DamageSource source)
protected void
n()
applyTamingSideEffects()
method_56996()
updateAttributesForTamed()
protected void
c(cev arg0, float arg1)
hurtArmor(DamageSource arg0, float arg1)
method_6105(class_1282 arg0, float arg1)
damageArmor(DamageSource arg0, float arg1)
protected boolean
a(dcm arg0)
canShearEquipment(Player arg0)
method_71768(class_1657 arg0)
canRemoveSaddle(PlayerEntity arg0)
public InteractionResult
b(dcm arg0, ccz arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
private void
i(dcm arg0)
tryToTame(Player arg0)
method_58169(class_1657 arg0)
tryTame(PlayerEntity player)
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
public float
he()
getTailAngle()
method_6714()
getTailAngle()
public boolean
i(dkm arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
public int
am()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
public long
a()
getPersistentAngerEndTime()
method_75130()
getAngerEndTime()
public void
b(long arg0)
setPersistentAngerEndTime(long arg0)
method_75132(long arg0)
setAngerEndTime(long arg0)
public void
c()
startPersistentAngerTimer()
method_29509()
chooseRandomAngerTime()
public EntityReference<LivingEntity>
b()
getPersistentAngerTarget()
method_29508()
getAngryAt()
public void
a(cgp<chk> arg0)
setPersistentAngerTarget(EntityReference<LivingEntity> arg0)
method_29513(class_10583<class_1309> arg0)
setAngryAt(LazyEntityReference<LivingEntity> arg0)
public DyeColor
hf()
getCollarColor()
method_6713()
getCollarColor()
private void
a(djk arg0)
setCollarColor(DyeColor arg0)
method_6708(class_1767 arg0)
setCollarColor(DyeColor color)
public Wolf
b(axf arg0, cfw arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_6717(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
public void
A(boolean arg0)
setIsInterested(boolean arg0)
method_6712(boolean arg0)
setBegging(boolean begging)
public boolean
a(cth arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
public boolean
hg()
isInterested()
method_6710()
isBegging()
public boolean
a(chk arg0, chk arg1)
wantsToAttack(LivingEntity arg0, LivingEntity arg1)
method_6178(class_1309 arg0, class_1309 arg1)
canAttackWithOwner(LivingEntity arg0, LivingEntity arg1)
public boolean
v()
canBeLeashed()
method_5931()
canBeLeashed()
public Vec3
F()
getLeashOffset()
method_29919()
getLeashOffset()
public static boolean
c(cgs<cxa> arg0, dvh arg1, cgr arg2, is arg3, bgq arg4)
checkWolfSpawnRules(EntityType<Wolf> arg0, LevelAccessor arg1, EntitySpawnReason arg2, BlockPos arg3, RandomSource arg4)
method_39450(class_1299<class_1493> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
canSpawn(EntityType<WolfEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)