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

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

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
E()
registerGoals()
method_5959()
initGoals()
public ResourceLocation
gE()
getTexture()
method_58061()
getTextureId()
public Holder<WolfVariant>
gF()
getVariant()
method_58062()
getVariant()
public void
j(jr<cid> arg0)
setVariant(Holder<WolfVariant> arg0)
method_58063(class_6880<class_9346> arg0)
setVariant(RegistryEntry<WolfVariant> arg0)
public static AttributeSupplier$Builder
gG()
createAttributes()
method_26897()
createWolfAttributes()
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
protected void
b(ji arg0, dwy arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public SpawnGroupData
a(dha arg0, bsj arg1, bus arg2, bwb 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(btc 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
gK()
cancelShake()
method_31167()
resetShake()
public void
a(btc 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
ad()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
public boolean
a(ard arg0, btc 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(buu arg0)
canUseSlot(EquipmentSlot arg0)
method_56991(class_1304 arg0)
canUseSlot(EquipmentSlot arg0)
protected void
b(ard arg0, btc 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
j(btc arg0)
canArmorAbsorb(DamageSource arg0)
method_57304(class_1282 arg0)
shouldArmorAbsorbDamage(DamageSource source)
protected void
t()
applyTamingSideEffects()
method_56996()
updateAttributesForTamed()
protected void
c(btc arg0, float arg1)
hurtArmor(DamageSource arg0, float arg1)
method_6105(class_1282 arg0, float arg1)
damageArmor(DamageSource arg0, float arg1)
public InteractionResult
b(coy arg0, bsk arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
private void
g(coy 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
gH()
getTailAngle()
method_6714()
getTailAngle()
public boolean
j(cwq arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
public int
aj()
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
gI()
getCollarColor()
method_6713()
getCollarColor()
private void
a(cvn arg0)
setCollarColor(DyeColor arg0)
method_6708(class_1767 arg0)
setCollarColor(DyeColor color)
public Wolf
b(ard arg0, bud 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(cgz arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
public boolean
gJ()
isInterested()
method_6710()
isBegging()
public boolean
a(bvi arg0, bvi 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(but<cic> arg0, dgk arg1, bus arg2, ji arg3, azh 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)