net.minecraft.world.entity.ai.goal

public class BreakDoorGoal

extends DoorInteractGoal

cco
net.minecraft.world.entity.ai.goal.BreakDoorGoal
net.minecraft.class_1339
net.minecraft.entity.ai.goal.BreakDoorGoal
net.minecraft.world.entity.ai.goal.PathfinderGoalBreakDoor

Field summary

Modifier and TypeField
private static final int
g
DEFAULT_DOOR_BREAK_TIME
field_30202
MIN_MAX_PROGRESS
private final Predicate<Difficulty>
h
validDifficulties
field_19003
difficultySufficientPredicate
protected int
a
breakTime
field_6398
breakProgress
protected int
b
lastBreakProgress
field_6397
prevBreakProgress
protected int
c
doorBreakTime
field_16596
maxProgress

Constructor summary

ModifierConstructor
public (Mob mob, Predicate<Difficulty> difficultySufficientPredicate)
public (Mob mob, int maxProgress, Predicate<Difficulty> difficultySufficientPredicate)

Method summary

Modifier and TypeMethod
protected int
f()
getDoorBreakTime()
method_16462()
getMaxProgress()
public boolean
b()
canUse()
method_6264()
canStart()
public void
d()
start()
method_6269()
start()
public boolean
c()
canContinueToUse()
method_6266()
shouldContinue()
public void
e()
stop()
method_6270()
stop()
public void
a()
tick()
method_6268()
tick()
private boolean
a(btg arg0)
isValidDifficulty(Difficulty arg0)
method_19994(class_1267 arg0)
isDifficultySufficient(Difficulty difficulty)