net.minecraft.world.entity.ai.goal

public class RemoveBlockGoal

extends MoveToBlockGoal

bit
net.minecraft.world.entity.ai.goal.RemoveBlockGoal
net.minecraft.class_1382
net.minecraft.unmapped.C_xmrhxrza
net.minecraft.entity.ai.goal.StepAndDestroyBlockGoal
net.minecraft.entity.ai.goal.StepAndDestroyBlockGoal
net.minecraft.src.C_721_
net.minecraft.world.entity.ai.goal.PathfinderGoalRemoveBlock

Field summary

Modifier and TypeField
private final Block
g
blockToRemove
field_6587
f_htrrulnv
targetBlock
targetBlock
f_25836_
private final Mob
h
removerMob
field_6589
f_bpsyyibj
stepAndDestroyMob
stepAndDestroyMob
f_25837_
private int
i
ticksSinceReachedGoal
field_6588
f_lrqfurrl
counter
counter
f_25838_
private static final int
j
WAIT_AFTER_BLOCK_FOUND
field_30227
f_yexgyjci
MAX_COOLDOWN
MAX_COOLDOWN
f_148135_

Constructor summary

ModifierConstructor
public (Block targetBlock, PathfinderMob mob, double speed, int maxYDifference)

Method summary

Modifier and TypeMethod
public boolean
a()
canUse()
method_6264()
m_njsjilur()
canStart()
canStart()
m_8036_()
private boolean
o()
tryFindBlock()
method_20307()
m_ehhpiold()
hasAvailableTarget()
hasAvailableTarget()
m_25858_()
public void
d()
stop()
method_6270()
m_vtbcctlg()
stop()
stop()
m_8041_()
public void
c()
start()
method_6269()
m_koalcxuy()
start()
start()
m_8056_()
public void
a(cgb arg0, gt arg1)
playDestroyProgressSound(LevelAccessor arg0, BlockPos arg1)
method_6307(class_1936 arg0, class_2338 arg1)
m_hmqfaroz(C_vdvbsyle arg0, C_hynzadkk arg1)
tickStepping(WorldAccess world, BlockPos pos)
tickStepping(WorldAccess world, BlockPos pos)
m_7659_(C_1598_ p_25848_, C_4675_ arg1)
public void
a(cga arg0, gt arg1)
playBreakSound(Level arg0, BlockPos arg1)
method_6309(class_1937 arg0, class_2338 arg1)
m_qsupxxtw(C_cdctfzbn arg0, C_hynzadkk arg1)
onDestroyBlock(World world, BlockPos pos)
onDestroyBlock(World world, BlockPos pos)
m_5777_(C_1596_ p_25846_, C_4675_ arg1)
public void
e()
tick()
method_6268()
m_nfnryldq()
tick()
tick()
m_8037_()
private BlockPos
a(gt arg0, cfg arg1)
getPosWithBlock(BlockPos arg0, BlockGetter arg1)
method_6308(class_2338 arg0, class_1922 arg1)
m_uzxtfdbl(C_hynzadkk arg0, C_peaveboq arg1)
tweakToProperPos(BlockPos pos, BlockView world)
tweakToProperPos(BlockPos pos, BlockView world)
m_25852_(C_4675_ p_25854_, C_1559_ arg1)
protected boolean
a(cgd arg0, gt arg1)
isValidTarget(LevelReader arg0, BlockPos arg1)
method_6296(class_4538 arg0, class_2338 arg1)
m_hmtgecbg(C_eemzphbi arg0, C_hynzadkk arg1)
isTargetPos(WorldView arg0, BlockPos arg1)
isTargetPos(WorldView arg0, BlockPos arg1)
m_6465_(C_1599_ p_25851_, C_4675_ arg1)