net.minecraft.world.entity.ai.goal

public class RemoveBlockGoal

extends MoveToBlockGoal

aog
net.minecraft.world.entity.ai.goal.RemoveBlockGoal
net.minecraft.class_1382
net.minecraft.entity.ai.goal.StepAndDestroyBlockGoal
net.minecraft.entity.ai.goal.BreakBlockGoal
net.minecraft.server.v1_14_R1.PathfinderGoalRemoveBlock

Field summary

Modifier and TypeField
private final Block
g
blockToRemove
field_6587
targetBlock
field_203117_f
private final Mob
h
removerMob
field_6589
stepAndDestroyMob
field_203118_g
entity
private int
i
ticksSinceReachedGoal
field_6588
counter
field_203119_h

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a()
canUse()
method_6264()
canStart()
func_75250_a()
private boolean
m()
tryFindBlock()
method_20307()
hasAvailableTarget()
func_220729_m()
public void
d()
stop()
method_6270()
stop()
func_75251_c()
public void
c()
start()
method_6269()
start()
func_75249_e()
public void
a(bhs arg0, ew arg1)
playDestroyProgressSound(LevelAccessor arg0, BlockPos arg1)
method_6307(class_1936 arg0, class_2338 arg1)
tickStepping(IWorld world, BlockPos pos)
func_203114_b(IWorld arg0, BlockPos arg1)
public void
a(bhr arg0, ew arg1)
playBreakSound(Level arg0, BlockPos arg1)
method_6309(class_1937 arg0, class_2338 arg1)
onDestroyBlock(World world, BlockPos pos)
func_203116_c(World arg0, BlockPos arg1)
public void
e()
tick()
method_6268()
tick()
func_75246_d()
private BlockPos
a(ew arg0, bhb arg1)
getPosWithBlock(BlockPos arg0, BlockGetter arg1)
method_6308(class_2338 arg0, class_1922 arg1)
tweakToProperPos(BlockPos pos, BlockView view)
func_203115_a(BlockPos arg0, IBlockReader arg1)
protected boolean
a(bhu arg0, ew arg1)
isValidTarget(LevelReader arg0, BlockPos arg1)
method_6296(class_1941 arg0, class_2338 arg1)
isTargetPos(CollisionView arg0, BlockPos arg1)
func_179488_a(IWorldReader arg0, BlockPos arg1)