net.minecraft.world.entity.animal

public class Wolf

extends TamableAnimal implements NeutralMob, VariantHolder<Holder<WolfVariant>>

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, EquipmentUser, Targeting, OwnableEntity, NeutralMob, VariantHolder

cgk
net.minecraft.world.entity.animal.Wolf
net.minecraft.class_1493
net.minecraft.entity.passive.WolfEntity
net.minecraft.src.C_922_
net.minecraft.world.entity.animal.EntityWolf

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
cc
DATA_INTERESTED_ID
field_6946
BEGGING
f_30358_
private static final EntityDataAccessor<Integer>
cd
DATA_COLLAR_COLOR
field_6950
COLLAR_COLOR
f_30359_
private static final EntityDataAccessor<Integer>
ce
DATA_REMAINING_ANGER_TIME
field_25373
ANGER_TIME
f_30360_
private static final EntityDataAccessor<Holder<WolfVariant>>
cf
DATA_VARIANT_ID
field_49722
VARIANT
f_315779_
public static final Predicate<LivingEntity>
cb
PREY_SELECTOR
field_18004
FOLLOW_TAMED_PREDICATE
f_30357_
private static final float
cg
START_HEALTH
field_30386
WILD_MAX_HEALTH
f_149082_
private static final float
ch
TAME_HEALTH
field_30387
TAMED_MAX_HEALTH
f_149083_
private static final float
ci
ARMOR_REPAIR_UNIT
field_49237
field_49237
f_314667_
private float
cj
interestedAngle
field_6952
begAnimationProgress
f_30361_
private float
ck
interestedAngleO
field_6949
lastBegAnimationProgress
f_30362_
private boolean
cl
isWet
field_6944
furWet
f_30363_
private boolean
cm
isShaking
field_6951
canShakeWaterOff
f_30364_
private float
cn
shakeAnim
field_6947
shakeProgress
f_30365_
private float
co
shakeAnimO
field_6945
lastShakeProgress
f_30366_
private static final UniformInt
cp
PERSISTENT_ANGER_TIME
field_25371
ANGER_TIME_RANGE
f_30355_
private UUID
cq
persistentAngerTarget
field_25372
angryAt
f_30356_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
z()
registerGoals()
method_5959()
initGoals()
m_8099_()
public ResourceLocation
gw()
getTexture()
method_58061()
getTextureId()
m_322344_()
public Holder<WolfVariant>
gx()
getVariant()
method_58062()
getVariant()
m_28554_()
public void
i(ji<cgl> arg0)
setVariant(Holder<WolfVariant> arg0)
method_58063(class_6880<class_9346> arg0)
setVariant(RegistryEntry<WolfVariant> arg0)
m_28464_(C_203228_<C_313327_> arg0)
public static AttributeSupplier$Builder
gy()
createAttributes()
method_26897()
createWolfAttributes()
m_30425_()
protected void
a(ako$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
protected void
b(iz arg0, dse arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_30416_, C_2064_ arg1)
public void
b(us arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(us arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public SpawnGroupData
a(dcp arg0, bqu arg1, btv arg2, buk arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType 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)
m_6518_(C_1618_ p_329109_, C_469_ p_334609_, C_529_ p_328496_, C_542_ arg3)
protected SoundEvent
v()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
d(brp arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected float
fe()
getSoundVolume()
method_6107()
getSoundVolume()
m_6121_()
public void
n_()
aiStep()
method_6007()
tickMovement()
m_8107_()
public void
l()
tick()
method_5773()
tick()
m_8119_()
private void
gE()
cancelShake()
method_31167()
resetShake()
m_30430_()
public void
a(brp arg0)
die(DamageSource arg0)
method_6078(class_1282 arg0)
onDeath(DamageSource arg0)
m_6667_(C_489_ arg0)
public boolean
gz()
isWet()
method_6711()
isFurWet()
m_30426_()
public float
G(float arg0)
getWetShade(float arg0)
method_6707(float arg0)
getFurWetBrightnessMultiplier(float tickDelta)
m_30446_(float arg0)
public float
f(float arg0, float arg1)
getBodyRollAngle(float arg0, float arg1)
method_6715(float arg0, float arg1)
getShakeAnimationProgress(float tickDelta, float arg1)
m_30432_(float p_30434_, float arg1)
public float
H(float arg0)
getHeadRollAngle(float arg0)
method_6719(float arg0)
getBegAnimationProgress(float tickDelta)
m_30448_(float arg0)
public int
aa()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
m_8132_()
public boolean
a(brp arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_30387_, float arg1)
protected void
f(brp arg0, float arg1)
actuallyHurt(DamageSource arg0, float arg1)
method_6074(class_1282 arg0, float arg1)
applyDamage(DamageSource arg0, float arg1)
m_6475_(C_489_ p_334536_, float arg1)
private boolean
h(brp arg0)
canArmorAbsorb(DamageSource arg0)
method_57304(class_1282 arg0)
shouldArmorAbsorbDamage(DamageSource source)
m_324962_(C_489_ arg0)
public boolean
C(bsw arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
m_7327_(C_507_ arg0)
protected void
u()
applyTamingSideEffects()
method_56996()
updateAttributesForTamed()
m_5849_()
protected void
b(brp arg0, float arg1)
hurtArmor(DamageSource arg0, float arg1)
method_6105(class_1282 arg0, float arg1)
damageArmor(DamageSource arg0, float arg1)
m_6472_(C_489_ p_331430_, float arg1)
public InteractionResult
b(cmz arg0, bqv arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_30413_, C_470_ arg1)
private void
h(cmz arg0)
tryToTame(Player arg0)
method_58169(class_1657 arg0)
tryTame(PlayerEntity player)
m_318612_(C_1141_ arg0)
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
public float
gA()
getTailAngle()
method_6714()
getTailAngle()
m_30427_()
public boolean
o(cur arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
public int
fQ()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
m_5792_()
public int
a()
getRemainingPersistentAngerTime()
method_29507()
getAngerTime()
m_6784_()
public void
a(int arg0)
setRemainingPersistentAngerTime(int arg0)
method_29514(int arg0)
setAngerTime(int arg0)
m_7870_(int arg0)
public void
c()
startPersistentAngerTimer()
method_29509()
chooseRandomAngerTime()
m_6825_()
public UUID
b()
getPersistentAngerTarget()
method_29508()
getAngryAt()
m_6120_()
public void
a(UUID arg0)
setPersistentAngerTarget(UUID arg0)
method_29513(UUID arg0)
setAngryAt(UUID arg0)
m_6925_(UUID arg0)
public DyeColor
gB()
getCollarColor()
method_6713()
getCollarColor()
m_30428_()
public boolean
gC()
hasArmor()
method_55710()
hasArmor()
m_324194_()
private void
a(ctk arg0)
setCollarColor(DyeColor arg0)
method_6708(class_1767 arg0)
setCollarColor(DyeColor color)
m_30397_(C_1353_ arg0)
public Wolf
b(arf arg0, bsq arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_6717(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_149089_, C_141062_ arg1)
public void
z(boolean arg0)
setIsInterested(boolean arg0)
method_6712(boolean arg0)
setBegging(boolean begging)
m_30444_(boolean arg0)
public boolean
a(cfh arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
m_7848_(C_801_ arg0)
public boolean
gD()
isInterested()
method_6710()
isBegging()
m_30429_()
public boolean
a(btr arg0, btr arg1)
wantsToAttack(LivingEntity arg0, LivingEntity arg1)
method_6178(class_1309 arg0, class_1309 arg1)
canAttackWithOwner(LivingEntity arg0, LivingEntity arg1)
m_7757_(C_524_ p_30390_, C_524_ arg1)
public boolean
a(cmz arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
canBeLeashedBy(PlayerEntity arg0)
m_6573_(C_1141_ arg0)
public Vec3
cM()
getLeashOffset()
method_29919()
getLeashOffset()
m_7939_()
public static boolean
c(btc<cgk> arg0, dcb arg1, btv arg2, iz arg3, azh arg4)
checkWolfSpawnRules(EntityType<Wolf> arg0, LevelAccessor arg1, MobSpawnType 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)
m_218291_(C_513_<C_922_> p_218292_, C_1598_ p_218293_, C_529_ p_218294_, C_4675_ p_218295_, C_212974_ p_218296_)