net.minecraft.world.entity.animal.sniffer

public class Sniffer

extends Animal

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting

ckn
net.minecraft.world.entity.animal.sniffer.Sniffer
net.minecraft.class_8153
net.minecraft.unmapped.C_frelvdpe
net.minecraft.entity.passive.SnifferEntity
net.minecraft.entity.passive.SnifferEntity
net.minecraft.src.C_271078_

Field summary

Modifier and TypeField
private static final int
cf
DIGGING_PARTICLES_DELAY_TICKS
field_42656
f_tjypbezl
field_42656
DIGGING_PARTICLE_DELAY_TICKS
f_271109_
private static final int
cg
DIGGING_PARTICLES_DURATION_TICKS
field_42657
f_blwhlami
field_42657
DIGGING_PARTICLE_DURATION_TICKS
f_271252_
private static final int
ch
DIGGING_PARTICLES_AMOUNT
field_42658
f_kqvcpqxr
field_42658
DIGGING_PARTICLE_AMOUNT
f_271435_
private static final int
ci
DIGGING_DROP_SEED_OFFSET_TICKS
field_42659
f_jzatmnca
field_42659
DIGGING_SEED_DROP_OFFSET_TICKS
f_271151_
private static final int
cj
SNIFFER_BABY_AGE_TICKS
field_42661
f_gmhfuhhd
field_42661
MAXIMUM_BABY_AGE
f_271414_
private static final float
ck
DIGGING_BB_HEIGHT_OFFSET
field_44785
f_zzyumlgm
field_44785
DIGGING_HITBOX_HEIGHT_OFFSET
f_285640_
private static final EntityDimensions
cl
DIGGING_DIMENSIONS
field_44786
f_vkiukhqv
DIMENSIONS
DIGGING_DIMENSIONS
f_285627_
private static final EntityDataAccessor<Sniffer$State>
cm
DATA_STATE
field_42662
f_iphoblce
STATE
STATE
f_271416_
private static final EntityDataAccessor<Integer>
cn
DATA_DROP_SEED_AT_TICK
field_42663
f_djaefjjj
FINISH_DIG_TIME
DROP_SEED_AT_TICK
f_271498_
public final AnimationState
bZ
feelingHappyAnimationState
field_42650
f_ylpzfanu
feelingHappyAnimationState
happyAnimationState
f_271434_
public final AnimationState
ca
scentingAnimationState
field_42651
f_njkxkonj
scentingAnimationState
scentingAnimationState
f_271092_
public final AnimationState
cb
sniffingAnimationState
field_42652
f_qfuiywxb
sniffingAnimationState
sniffingAnimationState
f_271278_
public final AnimationState
cd
diggingAnimationState
field_42654
f_umjtltfk
diggingAnimationState
diggingAnimationState
f_271472_
public final AnimationState
ce
risingAnimationState
field_42655
f_mgyiooox
risingAnimationState
risingAnimationState
f_271318_

Constructor summary

ModifierConstructor
public (EntityType<? extends Animal> p_273562_, Level world)

Method summary

Modifier and TypeMethod
public static AttributeSupplier$Builder
p()
createAttributes()
method_49146()
m_zedtqxzx()
createSnifferAttributes()
createAttributes()
m_271876_()
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public void
E()
onPathfindingStart()
method_51504()
m_jrjjwiqr()
onStartPathfinding()
onStartPathfinding()
m_284177_()
public void
F()
onPathfindingDone()
method_51503()
m_qpqhxbmg()
onFinishPathfinding()
onFinishPathfinding()
m_284461_()
public EntityDimensions
e(bwr arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
m_qukpzlyx(C_ufdjspmk arg0)
getBaseDimensions(EntityPose arg0)
getDefaultDimensions(EntityPose arg0)
m_31586_(C_535_ arg0)
public boolean
t()
isSearching()
method_51301()
m_ibvekfzg()
isSearching()
isSearching()
m_280317_()
public boolean
x()
isTempted()
method_51158()
m_fdqfcdad()
isTempted()
isTempted()
m_278663_()
public boolean
go()
canSniff()
method_51155()
m_metigshp()
canTryToDig()
canSniff()
m_278650_()
public boolean
gp()
canPlayDiggingSound()
method_49150()
m_wxatdcid()
isDiggingOrSearching()
isDiggingSoundPlayable()
m_272076_()
private BlockPos
gs()
getHeadBlock()
method_51508()
m_mqhnexss()
getDigPos()
getHeadBlock()
m_284345_()
private Vec3
gA()
getHeadPosition()
method_49137()
m_utjunwfo()
getDigLocation()
getHeadPosition()
m_284388_()
private Sniffer$State
gB()
getState()
method_49138()
m_eddwijyy()
getState()
getState()
m_271917_()
private Sniffer
b(ckn$a arg0)
setState(Sniffer$State arg0)
method_49133(class_8153$class_8154 arg0)
m_zzpkctat(C_frelvdpe$C_ekatpfyn arg0)
setState(SnifferEntity$State state)
setState(SnifferEntity$State snifferState)
m_271705_(C_271078_$C_271037_ arg0)
public void
a(alc<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
m_efnedaed(C_rinmcaxy<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
private void
gC()
resetAnimations()
method_49139()
m_tpcomtgk()
stopAnimations()
stopAnimations()
m_271845_()
public Sniffer
a(ckn$a arg0)
transitionTo(Sniffer$State arg0)
method_49132(class_8153$class_8154 arg0)
m_nqjhhsoe(C_frelvdpe$C_ekatpfyn arg0)
startState(SnifferEntity$State state)
updateState(SnifferEntity$State snifferState)
m_272034_(C_271078_$C_271037_ arg0)
private Sniffer
gD()
onScentingStart()
method_51156()
m_dcrkykvw()
playScentingSound()
onScentingStart()
m_278765_()
private Sniffer
gE()
onDiggingStart()
method_49141()
m_nqoicoxq()
setDigging()
onDiggingStart()
m_271851_()
public Sniffer
x(boolean arg0)
onDiggingComplete(boolean arg0)
method_49149(boolean arg0)
m_rwbiemvz(boolean arg0)
finishDigging(boolean explored)
onDiggingComplete(boolean rememberExploredPosition)
m_271943_(boolean arg0)
Optional<BlockPos>
gq()
calculateDigPosition()
method_49134()
m_dfkptpop()
findSniffingTargetPos()
calculateDigPosition()
m_271905_()
boolean
gr()
canDig()
method_49135()
m_fgsgshva()
canDig()
canDig()
m_272270_()
private boolean
h(jh arg0)
canDig(BlockPos arg0)
method_49140(class_2338 arg0)
m_wzcnuzsn(C_hynzadkk arg0)
isDiggable(BlockPos pos)
canDig(BlockPos pos)
m_271898_(C_4675_ arg0)
private void
gF()
dropSeed()
method_49142()
m_yxzbqwhw()
dropSeeds()
dropSeed()
m_271740_()
private Sniffer
a(bvb arg0)
emitDiggingParticles(AnimationState arg0)
method_49131(class_7094 arg0)
m_krkklgkl(C_kxntavoz arg0)
spawnDiggingParticles(AnimationState diggingAnimationState)
spawnDiggingParticles(AnimationState animationState)
m_272274_(C_213008_ arg0)
private Sniffer
i(jh arg0)
storeExploredPosition(BlockPos arg0)
method_49145(class_2338 arg0)
m_mfpydzkn(C_hynzadkk arg0)
addExploredPosition(BlockPos pos)
rememberExploredPosition(BlockPos pos)
m_271874_(C_4675_ arg0)
private Stream<GlobalPos>
gG()
getExploredPositions()
method_49143()
m_olijcupv()
getExploredPositions()
getExploredPositions()
m_272217_()
public void
s()
jumpFromGround()
method_6043()
m_cnzsqyai()
jump()
jump()
m_6135_()
public void
a(ash arg0, chw arg1)
spawnChildFromBreeding(ServerLevel arg0, Animal arg1)
method_24650(class_3218 arg0, class_1429 arg1)
m_kgvkegms(C_bdwnwhiu arg0, C_tprvtfff arg1)
breed(ServerWorld arg0, AnimalEntity arg1)
breed(ServerWorld arg0, AnimalEntity arg1)
m_27563_(C_12_ p_277857_, C_801_ arg1)
public void
a(btz arg0)
die(DamageSource arg0)
method_6078(class_1282 arg0)
m_tflzijcx(C_sbxfkpyv arg0)
onDeath(DamageSource arg0)
onDeath(DamageSource arg0)
m_6667_(C_489_ arg0)
public void
h()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
m_8119_()
public InteractionResult
b(cpw arg0, bth arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
m_kuhfocmh(C_jzrpycqo arg0, C_laxmzoqs arg1)
interactMob(PlayerEntity arg0, Hand arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_272687_, C_470_ arg1)
protected void
gu()
playEatingSound()
method_61458()
m_crfaarku()
playEatSound()
playEatSound()
m_351932_()
private void
gH()
playSearchingSound()
method_49144()
m_yehkxrqm()
playSearchingSound()
tryPlaySearchingSound()
m_272136_()
protected void
b(jh arg0, dxu arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
m_rnleirmb(C_hynzadkk arg0, C_txtbiemp arg1)
playStepSound(BlockPos arg0, BlockState arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_273729_, C_2064_ arg1)
protected SoundEvent
u()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
getAmbientSound()
m_7515_()
protected SoundEvent
e(btz arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
m_5592_()
public int
aa()
getMaxHeadYRot()
method_5986()
m_lqlfsnxj()
getMaxHeadRotation()
getBodyYawSpeed()
m_8085_()
public void
a(boolean arg0)
setBaby(boolean arg0)
method_7217(boolean arg0)
m_wuplhywr(boolean arg0)
setBaby(boolean arg0)
setBaby(boolean arg0)
m_6863_(boolean arg0)
public AgeableMob
a(ash arg0, bva arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
m_hftuejnb(C_bdwnwhiu arg0, C_jvojbnla arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_273310_, C_141062_ arg1)
public boolean
a(chw arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
m_rgotkmam(C_tprvtfff arg0)
canBreedWith(AnimalEntity arg0)
canBreedWith(AnimalEntity arg0)
m_7848_(C_801_ arg0)
public boolean
j(cxo arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
m_njyokwrm(C_sddaxwyk arg0)
isBreedingItem(ItemStack arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
protected Brain<?>
a(com.mojang.serialization.Dynamic<?> arg0)
makeBrain(com.mojang.serialization.Dynamic<?> arg0)
method_18867(com.mojang.serialization.Dynamic<?> arg0)
m_epkzhkqg(com.mojang.serialization.Dynamic<?> arg0)
deserializeBrain(com.mojang.serialization.Dynamic<?> arg0)
deserializeBrain(com.mojang.serialization.Dynamic<?> arg0)
m_8075_(com.mojang.serialization.Dynamic<?> arg0)
public Brain<Sniffer>
ec()
getBrain()
method_18868()
m_hobjxuks()
getBrain()
getBrain()
m_6274_()
protected Brain$Provider<Sniffer>
ed()
brainProvider()
method_28306()
m_pusvfpox()
createBrainProfile()
createBrainProfile()
m_5490_()
protected void
a(ash arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
m_wbeiezxn(C_bdwnwhiu arg0)
mobTick(ServerWorld arg0)
mobTick(ServerWorld arg0)
m_8024_(C_12_ arg0)
protected void
Y()
sendDebugPackets()
method_18409()
m_xozpkuaw()
sendAiDebugData()
sendAiDebugData()
m_8025_()