net.minecraft.world.entity.animal.sniffer

public class Sniffer

extends Animal

All mapped superinterfaces:

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

clk
net.minecraft.world.entity.animal.sniffer.Sniffer
net.minecraft.class_8153
net.minecraft.entity.passive.SnifferEntity

Field summary

Modifier and TypeField
private static final int
bL
DIGGING_PARTICLES_DELAY_TICKS
field_42656
field_42656
private static final int
bM
DIGGING_PARTICLES_DURATION_TICKS
field_42657
field_42657
private static final int
bN
DIGGING_PARTICLES_AMOUNT
field_42658
field_42658
private static final int
bO
DIGGING_DROP_SEED_OFFSET_TICKS
field_42659
field_42659
private static final int
bP
SNIFFER_BABY_AGE_TICKS
field_42661
field_42661
private static final float
bQ
DIGGING_BB_HEIGHT_OFFSET
field_44785
field_44785
private static final EntityDimensions
bR
DIGGING_DIMENSIONS
field_44786
DIMENSIONS
private static final EntityDataAccessor<Sniffer$State>
bS
DATA_STATE
field_42662
STATE
private static final EntityDataAccessor<Integer>
bT
DATA_DROP_SEED_AT_TICK
field_42663
FINISH_DIG_TIME
public final AnimationState
bF
feelingHappyAnimationState
field_42650
feelingHappyAnimationState
public final AnimationState
bG
scentingAnimationState
field_42651
scentingAnimationState
public final AnimationState
bH
sniffingAnimationState
field_42652
sniffingAnimationState
public final AnimationState
bJ
diggingAnimationState
field_42654
diggingAnimationState
public final AnimationState
bK
risingAnimationState
field_42655
risingAnimationState

Constructor summary

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

Method summary

Modifier and TypeMethod
public static AttributeSupplier$Builder
q()
createAttributes()
method_49146()
createSnifferAttributes()
protected void
a(akl$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
G()
onPathfindingStart()
method_51504()
onStartPathfinding()
public void
H()
onPathfindingDone()
method_51503()
onFinishPathfinding()
public EntityDimensions
e(bxl arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
public boolean
t()
isSearching()
method_51301()
isSearching()
public boolean
x()
isTempted()
method_51158()
isTempted()
public boolean
gq()
canSniff()
method_51155()
canTryToDig()
public boolean
gr()
canPlayDiggingSound()
method_49150()
isDiggingOrSearching()
private BlockPos
gu()
getHeadBlock()
method_51508()
getDigPos()
private Vec3
gC()
getHeadPosition()
method_49137()
getDigLocation()
private Sniffer$State
gD()
getState()
method_49138()
getState()
private Sniffer
b(clk$a arg0)
setState(Sniffer$State arg0)
method_49133(class_8153$class_8154 arg0)
setState(SnifferEntity$State state)
public void
a(akh<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
private void
gE()
resetAnimations()
method_49139()
stopAnimations()
public Sniffer
a(clk$a arg0)
transitionTo(Sniffer$State arg0)
method_49132(class_8153$class_8154 arg0)
startState(SnifferEntity$State state)
private Sniffer
gF()
onScentingStart()
method_51156()
playScentingSound()
private Sniffer
gG()
onDiggingStart()
method_49141()
setDigging()
public Sniffer
w(boolean arg0)
onDiggingComplete(boolean arg0)
method_49149(boolean arg0)
finishDigging(boolean explored)
Optional<BlockPos>
gs()
calculateDigPosition()
method_49134()
findSniffingTargetPos()
boolean
gt()
canDig()
method_49135()
canDig()
private boolean
h(iu arg0)
canDig(BlockPos arg0)
method_49140(class_2338 arg0)
isDiggable(BlockPos pos)
private void
gH()
dropSeed()
method_49142()
dropSeeds()
private Sniffer
a(bvr arg0)
emitDiggingParticles(AnimationState arg0)
method_49131(class_7094 arg0)
spawnDiggingParticles(AnimationState diggingAnimationState)
private Sniffer
i(iu arg0)
storeExploredPosition(BlockPos arg0)
method_49145(class_2338 arg0)
addExploredPosition(BlockPos pos)
private Stream<GlobalPos>
gI()
getExploredPositions()
method_49143()
getExploredPositions()
public void
s()
jumpFromGround()
method_6043()
jump()
public void
a(aro arg0, cio arg1)
spawnChildFromBreeding(ServerLevel arg0, Animal arg1)
method_24650(class_3218 arg0, class_1429 arg1)
breed(ServerWorld arg0, AnimalEntity arg1)
public void
a(bup arg0)
die(DamageSource arg0)
method_6078(class_1282 arg0)
onDeath(DamageSource arg0)
public void
h()
tick()
method_5773()
tick()
public InteractionResult
b(cqs arg0, btx arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
protected void
gw()
playEatingSound()
method_61458()
playEatSound()
private void
gJ()
playSearchingSound()
method_49144()
playSearchingSound()
protected void
b(iu arg0, dzo arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(bup arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
l_()
getDeathSound()
method_6002()
getDeathSound()
public int
ad()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
public void
a(boolean arg0)
setBaby(boolean arg0)
method_7217(boolean arg0)
setBaby(boolean arg0)
public AgeableMob
a(aro arg0, bvq arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
public boolean
a(cio arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
public boolean
k(cys arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack 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)
public Brain<Sniffer>
eb()
getBrain()
method_18868()
getBrain()
protected Brain$Provider<Sniffer>
ec()
brainProvider()
method_28306()
createBrainProfile()
protected void
a(aro arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
protected void
ab()
sendDebugPackets()
method_18409()
sendAiDebugData()