net.minecraft.world.entity.ai.goal

public class RemoveBlockGoal

extends MoveToBlockGoal

awv
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_16_R2.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
n()
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(brv arg0, fx arg1)
playDestroyProgressSound(LevelAccessor arg0, BlockPos arg1)
method_6307(class_1936 arg0, class_2338 arg1)
tickStepping(WorldAccess world, BlockPos pos)
func_203114_b(IWorld arg0, BlockPos arg1)
public void
a(bru arg0, fx 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(fx arg0, bqz arg1)
getPosWithBlock(BlockPos arg0, BlockGetter arg1)
method_6308(class_2338 arg0, class_1922 arg1)
tweakToProperPos(BlockPos pos, BlockView world)
func_203115_a(BlockPos arg0, IBlockReader arg1)
protected boolean
a(brw arg0, fx arg1)
isValidTarget(LevelReader arg0, BlockPos arg1)
method_6296(class_4538 arg0, class_2338 arg1)
isTargetPos(WorldView arg0, BlockPos arg1)
func_179488_a(IWorldReader arg0, BlockPos arg1)