net.minecraft.world.entity.animal.sniffer

public class Sniffer

extends Animal

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Attackable, Targeting

bxd
net.minecraft.world.entity.animal.sniffer.Sniffer
net.minecraft.class_8153
net.minecraft.entity.passive.SnifferEntity
net.minecraft.src.C_271078_
net.minecraft.world.entity.animal.sniffer.Sniffer

Field summary

Modifier and TypeField
private static final int
bZ
DIGGING_PARTICLES_DELAY_TICKS
field_42656
field_42656
f_271109_
private static final int
ca
DIGGING_PARTICLES_DURATION_TICKS
field_42657
field_42657
f_271252_
private static final int
cb
DIGGING_PARTICLES_AMOUNT
field_42658
field_42658
f_271435_
private static final int
cc
DIGGING_DROP_SEED_OFFSET_TICKS
field_42659
field_42659
f_271151_
private static final int
cd
SNIFFER_BABY_AGE_TICKS
field_42661
field_42661
f_271414_
private static final float
ce
DIGGING_BB_HEIGHT_OFFSET
field_44785
field_44785
f_285640_
private static final EntityDimensions
cf
DIGGING_DIMENSIONS
field_44786
field_44786
f_285627_
private static final EntityDataAccessor<Sniffer$State>
cg
DATA_STATE
field_42662
STATE
f_271416_
private static final EntityDataAccessor<Integer>
ch
DATA_DROP_SEED_AT_TICK
field_42663
FINISH_DIG_TIME
f_271498_
public final AnimationState
bT
feelingHappyAnimationState
field_42650
feelingHappyAnimationState
f_271434_
public final AnimationState
bU
scentingAnimationState
field_42651
scentingAnimationState
f_271092_
public final AnimationState
bW
sniffingAnimationState
field_42652
sniffingAnimationState
f_271278_
public final AnimationState
bX
diggingAnimationState
field_42654
diggingAnimationState
f_271472_
public final AnimationState
bY
risingAnimationState
field_42655
risingAnimationState
f_271318_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static AttributeSupplier$Builder
s()
createAttributes()
method_49146()
createSnifferAttributes()
m_271876_()
protected float
b(bjs arg0, bir arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6431_(C_535_ p_273353_, C_510_ arg1)
public void
C()
onPathfindingStart()
method_51504()
onStartPathfinding()
m_284177_()
public void
E()
onPathfindingDone()
method_51503()
onFinishPathfinding()
m_284461_()
public EntityDimensions
a(bjs arg0)
getDimensions(Pose arg0)
method_18377(class_4050 arg0)
getDimensions(EntityPose arg0)
m_6972_(C_535_ arg0)
public boolean
t()
isSearching()
method_51301()
isSearching()
m_280317_()
public boolean
y()
isTempted()
method_51158()
isTempted()
m_278663_()
public boolean
gd()
canSniff()
method_51155()
canTryToDig()
m_278650_()
public boolean
gj()
canPlayDiggingSound()
method_49150()
isDiggingOrSearching()
m_272076_()
private BlockPos
gm()
getHeadBlock()
method_51508()
getDigPos()
m_284345_()
private Vec3
gn()
getHeadPosition()
method_49137()
getDigLocation()
m_284388_()
private Sniffer$State
go()
getState()
method_49138()
getState()
m_271917_()
private Sniffer
b(bxd$a arg0)
setState(Sniffer$State arg0)
method_49133(class_8153$class_8154 arg0)
setState(SnifferEntity$State state)
m_271705_(C_271078_$C_271037_ arg0)
public void
a(aee<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
private void
gp()
resetAnimations()
method_49139()
stopAnimations()
m_271845_()
public Sniffer
a(bxd$a arg0)
transitionTo(Sniffer$State arg0)
method_49132(class_8153$class_8154 arg0)
startState(SnifferEntity$State state)
m_272034_(C_271078_$C_271037_ arg0)
private Sniffer
gq()
onScentingStart()
method_51156()
playScentingSound()
m_278765_()
private Sniffer
gr()
onDiggingStart()
method_49141()
setDigging()
m_271851_()
public Sniffer
w(boolean arg0)
onDiggingComplete(boolean arg0)
method_49149(boolean arg0)
finishDigging(boolean explored)
m_271943_(boolean arg0)
Optional<BlockPos>
gk()
calculateDigPosition()
method_49134()
findSniffingTargetPos()
m_271905_()
boolean
gl()
canDig()
method_49135()
canDig()
m_272270_()
private boolean
i(gw arg0)
canDig(BlockPos arg0)
method_49140(class_2338 arg0)
isDiggable(BlockPos pos)
m_271898_(C_4675_ arg0)
private void
gs()
dropSeed()
method_49142()
dropSeeds()
m_271740_()
private Sniffer
a(bim arg0)
emitDiggingParticles(AnimationState arg0)
method_49131(class_7094 arg0)
spawnDiggingParticles(AnimationState diggingAnimationState)
m_272274_(C_213008_ arg0)
private Sniffer
j(gw arg0)
storeExploredPosition(BlockPos arg0)
method_49145(class_2338 arg0)
addExploredPosition(BlockPos pos)
m_271874_(C_4675_ arg0)
private Stream<GlobalPos>
gt()
getExploredPositions()
method_49143()
getExploredPositions()
m_272217_()
protected void
fa()
jumpFromGround()
method_6043()
jump()
m_6135_()
public void
a(akq arg0, bur arg1)
spawnChildFromBreeding(ServerLevel arg0, Animal arg1)
method_24650(class_3218 arg0, class_1429 arg1)
breed(ServerWorld arg0, AnimalEntity arg1)
m_27563_(C_12_ p_277857_, C_801_ arg1)
public void
a(bho arg0)
die(DamageSource arg0)
method_6078(class_1282 arg0)
onDeath(DamageSource arg0)
m_6667_(C_489_ arg0)
public void
l()
tick()
method_5773()
tick()
m_8119_()
public InteractionResult
b(cbu arg0, bgx arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_272687_, C_470_ arg1)
protected org.joml.Vector3f
a(biq arg0, bir arg1, float arg2)
getPassengerAttachmentPoint(Entity arg0, EntityDimensions arg1, float arg2)
method_52533(class_1297 arg0, class_4048 arg1, float arg2)
getPassengerAttachmentPos(Entity arg0, EntityDimensions arg1, float arg2)
m_292594_(C_507_ p_299943_, C_510_ p_301334_, float arg2)
public float
dh()
getNameTagOffsetY()
method_51152()
getNameLabelHeight()
m_278726_()
private void
gu()
playSearchingSound()
method_49144()
playSearchingSound()
m_272136_()
protected void
b(gw arg0, dfj arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_273729_, C_2064_ arg1)
public SoundEvent
d(cjf arg0)
getEatingSound(ItemStack arg0)
method_18869(class_1799 arg0)
getEatSound(ItemStack arg0)
m_7866_(C_1391_ arg0)
protected SoundEvent
w()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
d(bho arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
l_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
public int
Z()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
m_8085_()
public void
a(boolean arg0)
setBaby(boolean arg0)
method_7217(boolean arg0)
setBaby(boolean arg0)
m_6863_(boolean arg0)
public AgeableMob
a(akq arg0, bil arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_273310_, C_141062_ arg1)
public boolean
a(bur arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
m_7848_(C_801_ arg0)
public AABB
g_()
getBoundingBoxForCulling()
method_5830()
getVisibilityBoundingBox()
m_6921_()
public boolean
m(cjf arg0)
isFood(ItemStack arg0)
method_6481(class_1799 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)
deserializeBrain(com.mojang.serialization.Dynamic<?> arg0)
m_8075_(com.mojang.serialization.Dynamic<?> arg0)
public Brain<Sniffer>
dN()
getBrain()
method_18868()
getBrain()
m_6274_()
protected Brain$Provider<Sniffer>
dO()
brainProvider()
method_28306()
createBrainProfile()
m_5490_()
protected void
X()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
protected void
W()
sendDebugPackets()
method_18409()
sendAiDebugData()
m_8025_()