net.minecraft.world.entity.animal

public class Fox$FoxEatBerriesGoal

extends MoveToBlockGoal

bmr$f
net.minecraft.world.entity.animal.Fox$FoxEatBerriesGoal
net.minecraft.class_4019$class_4025
net.minecraft.entity.passive.FoxEntity$EatSweetBerriesGoal
net.minecraft.src.C_840_
net.minecraft.world.entity.animal.EntityFox$f

Field summary

Modifier and TypeField
private static final int
i
WAIT_TICKS
field_30336
EATING_TIME
f_148925_
protected int
g
ticksWaited
field_17974
timer
f_28671_

Constructor summary

ModifierConstructor
public (Fox p_28675_, double speed, int range, int maxYDifference)

Method summary

Modifier and TypeMethod
public double
i()
acceptedDistance()
method_6291()
getDesiredDistanceToTarget()
m_8052_()
public boolean
l()
shouldRecalculatePath()
method_6294()
shouldResetPath()
m_8064_()
protected boolean
a(cgd arg0, gt arg1)
isValidTarget(LevelReader arg0, BlockPos arg1)
method_6296(class_4538 arg0, class_2338 arg1)
isTargetPos(WorldView arg0, BlockPos arg1)
m_6465_(C_1599_ p_28681_, C_4675_ arg1)
public void
e()
tick()
method_6268()
tick()
m_8037_()
protected void
o()
onReachedTarget()
method_18307()
eatSweetBerry()
m_28686_()
private void
a(cur arg0)
pickGlowBerry(BlockState arg0)
method_33586(class_2680 arg0)
pickGlowBerries(BlockState state)
m_148926_(C_2064_ arg0)
private void
b(cur arg0)
pickSweetBerries(BlockState arg0)
method_33587(class_2680 arg0)
pickSweetBerries(BlockState state)
m_148928_(C_2064_ arg0)
public boolean
a()
canUse()
method_6264()
canStart()
m_8036_()
public void
c()
start()
method_6269()
start()
m_8056_()