net.minecraft.world.entity.animal

public class Wolf

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

All mapped superinterfaces:

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

cja
net.minecraft.world.entity.animal.Wolf
net.minecraft.class_1493
net.minecraft.entity.passive.WolfEntity
net.minecraft.world.entity.animal.EntityWolf

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
cf
DATA_INTERESTED_ID
field_6946
BEGGING
private static final EntityDataAccessor<Integer>
cg
DATA_COLLAR_COLOR
field_6950
COLLAR_COLOR
private static final EntityDataAccessor<Integer>
ch
DATA_REMAINING_ANGER_TIME
field_25373
ANGER_TIME
private static final EntityDataAccessor<Holder<WolfVariant>>
ci
DATA_VARIANT_ID
field_49722
VARIANT
public static final TargetingConditions$Selector
cd
PREY_SELECTOR
field_18004
FOLLOW_TAMED_PREDICATE
private static final float
cj
START_HEALTH
field_30386
WILD_MAX_HEALTH
private static final float
ck
TAME_HEALTH
field_30387
TAMED_MAX_HEALTH
private static final float
cl
ARMOR_REPAIR_UNIT
field_49237
field_49237
public static final float
ce
DEFAULT_TAIL_ANGLE
field_52477
field_52477
private float
cm
interestedAngle
field_6952
begAnimationProgress
private float
cn
interestedAngleO
field_6949
lastBegAnimationProgress
private boolean
co
isWet
field_6944
furWet
private boolean
cp
isShaking
field_6951
canShakeWaterOff
private float
cq
shakeAnim
field_6947
shakeProgress
private float
cr
shakeAnimO
field_6945
lastShakeProgress
private static final UniformInt
cs
PERSISTENT_ANGER_TIME
field_25371
ANGER_TIME_RANGE
private UUID
ct
persistentAngerTarget
field_25372
angryAt

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
B()
registerGoals()
method_5959()
initGoals()
public ResourceLocation
gA()
getTexture()
method_58061()
getTextureId()
public Holder<WolfVariant>
gB()
getVariant()
method_58062()
getVariant()
public void
j(jq<cjb> arg0)
setVariant(Holder<WolfVariant> arg0)
method_58063(class_6880<class_9346> arg0)
setVariant(RegistryEntry<WolfVariant> arg0)
public static AttributeSupplier$Builder
gC()
createAttributes()
method_26897()
createWolfAttributes()
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
protected void
b(jh arg0, dxv arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public SpawnGroupData
a(dhz arg0, bth arg1, bvq arg2, bwz 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
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(bua arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
protected float
fg()
getSoundVolume()
method_6107()
getSoundVolume()
public void
d_()
aiStep()
method_6007()
tickMovement()
public void
h()
tick()
method_5773()
tick()
private void
gG()
cancelShake()
method_31167()
resetShake()
public void
a(bua arg0)
die(DamageSource arg0)
method_6078(class_1282 arg0)
onDeath(DamageSource arg0)
public float
J(float arg0)
getWetShade(float arg0)
method_6707(float arg0)
getFurWetBrightnessMultiplier(float tickDelta)
public float
K(float arg0)
getShakeAnim(float arg0)
method_61477(float arg0)
getShakeProgress(float tickDelta)
public float
L(float arg0)
getHeadRollAngle(float arg0)
method_6719(float arg0)
getBegAnimationProgress(float tickDelta)
public int
Z()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
public boolean
a(ash arg0, bua 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)
public boolean
e(bvs arg0)
canUseSlot(EquipmentSlot arg0)
method_56991(class_1304 arg0)
canUseSlot(EquipmentSlot arg0)
protected void
b(ash arg0, bua 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
h(bua arg0)
canArmorAbsorb(DamageSource arg0)
method_57304(class_1282 arg0)
shouldArmorAbsorbDamage(DamageSource source)
protected void
t()
applyTamingSideEffects()
method_56996()
updateAttributesForTamed()
protected void
c(bua arg0, float arg1)
hurtArmor(DamageSource arg0, float arg1)
method_6105(class_1282 arg0, float arg1)
damageArmor(DamageSource arg0, float arg1)
public InteractionResult
b(cpx arg0, bti arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
private void
g(cpx 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
gD()
getTailAngle()
method_6714()
getTailAngle()
public boolean
j(cxp arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
public int
ad()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
public int
a()
getRemainingPersistentAngerTime()
method_29507()
getAngerTime()
public void
a(int arg0)
setRemainingPersistentAngerTime(int arg0)
method_29514(int arg0)
setAngerTime(int arg0)
public void
c()
startPersistentAngerTimer()
method_29509()
chooseRandomAngerTime()
public UUID
b()
getPersistentAngerTarget()
method_29508()
getAngryAt()
public void
a(UUID arg0)
setPersistentAngerTarget(UUID arg0)
method_29513(UUID arg0)
setAngryAt(UUID arg0)
public DyeColor
gE()
getCollarColor()
method_6713()
getCollarColor()
private void
a(cwm arg0)
setCollarColor(DyeColor arg0)
method_6708(class_1767 arg0)
setCollarColor(DyeColor color)
public Wolf
b(ash arg0, bvb 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(chx arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
public boolean
gF()
isInterested()
method_6710()
isBegging()
public boolean
a(bwg arg0, bwg arg1)
wantsToAttack(LivingEntity arg0, LivingEntity arg1)
method_6178(class_1309 arg0, class_1309 arg1)
canAttackWithOwner(LivingEntity arg0, LivingEntity arg1)
public boolean
y()
canBeLeashed()
method_5931()
canBeLeashed()
public Vec3
cT()
getLeashOffset()
method_29919()
getLeashOffset()
public static boolean
c(bvr<cja> arg0, dhj arg1, bvq arg2, jh arg3, bam 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)