Package adris.altoclef.tasks
Class InteractWithBlockTask
java.lang.Object
adris.altoclef.tasksystem.Task
adris.altoclef.tasks.InteractWithBlockTask
Left or Right click on a block on a particular (or any) side of the block.
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionInteractWithBlockTask
(ItemTarget toUse, net.minecraft.util.math.BlockPos target) InteractWithBlockTask
(ItemTarget toUse, net.minecraft.util.math.BlockPos target, boolean walkInto) InteractWithBlockTask
(ItemTarget toUse, net.minecraft.util.math.BlockPos target, boolean walkInto, net.minecraft.util.math.Vec3i interactOffset) InteractWithBlockTask
(ItemTarget toUse, net.minecraft.util.math.Direction direction, net.minecraft.util.math.BlockPos target, boolean walkInto) InteractWithBlockTask
(ItemTarget toUse, net.minecraft.util.math.Direction direction, net.minecraft.util.math.BlockPos target, baritone.api.utils.input.Input interactInput, boolean walkInto, boolean shiftClick) InteractWithBlockTask
(ItemTarget toUse, net.minecraft.util.math.Direction direction, net.minecraft.util.math.BlockPos target, baritone.api.utils.input.Input interactInput, boolean walkInto, net.minecraft.util.math.Vec3i interactOffset, boolean shiftClick) InteractWithBlockTask
(net.minecraft.item.Item toUse, net.minecraft.util.math.BlockPos target) InteractWithBlockTask
(net.minecraft.item.Item toUse, net.minecraft.util.math.BlockPos target, boolean walkInto) InteractWithBlockTask
(net.minecraft.item.Item toUse, net.minecraft.util.math.BlockPos target, boolean walkInto, net.minecraft.util.math.Vec3i interactOffset) InteractWithBlockTask
(net.minecraft.item.Item toUse, net.minecraft.util.math.Direction direction, net.minecraft.util.math.BlockPos target, boolean walkInto) InteractWithBlockTask
(net.minecraft.item.Item toUse, net.minecraft.util.math.Direction direction, net.minecraft.util.math.BlockPos target, baritone.api.utils.input.Input interactInput, boolean walkInto, boolean shiftClick) InteractWithBlockTask
(net.minecraft.item.Item toUse, net.minecraft.util.math.Direction direction, net.minecraft.util.math.BlockPos target, baritone.api.utils.input.Input interactInput, boolean walkInto, net.minecraft.util.math.Vec3i interactOffset, boolean shiftClick) InteractWithBlockTask
(net.minecraft.util.math.BlockPos target) -
Method Summary
Modifier and TypeMethodDescriptionOptional<baritone.api.utils.Rotation>
protected boolean
boolean
isFinished
(AltoClef mod) protected void
protected void
protected Task
protected String
Methods inherited from class adris.altoclef.tasksystem.Task
equals, interrupt, isActive, reset, setDebugState, stop, stop, stopped, thisOrChildAreTimedOut, thisOrChildSatisfies, tick, toString
-
Constructor Details
-
InteractWithBlockTask
public InteractWithBlockTask(ItemTarget toUse, net.minecraft.util.math.Direction direction, net.minecraft.util.math.BlockPos target, baritone.api.utils.input.Input interactInput, boolean walkInto, net.minecraft.util.math.Vec3i interactOffset, boolean shiftClick) -
InteractWithBlockTask
public InteractWithBlockTask(ItemTarget toUse, net.minecraft.util.math.Direction direction, net.minecraft.util.math.BlockPos target, baritone.api.utils.input.Input interactInput, boolean walkInto, boolean shiftClick) -
InteractWithBlockTask
public InteractWithBlockTask(ItemTarget toUse, net.minecraft.util.math.Direction direction, net.minecraft.util.math.BlockPos target, boolean walkInto) -
InteractWithBlockTask
public InteractWithBlockTask(ItemTarget toUse, net.minecraft.util.math.BlockPos target, boolean walkInto, net.minecraft.util.math.Vec3i interactOffset) -
InteractWithBlockTask
public InteractWithBlockTask(ItemTarget toUse, net.minecraft.util.math.BlockPos target, boolean walkInto) -
InteractWithBlockTask
-
InteractWithBlockTask
public InteractWithBlockTask(net.minecraft.item.Item toUse, net.minecraft.util.math.Direction direction, net.minecraft.util.math.BlockPos target, baritone.api.utils.input.Input interactInput, boolean walkInto, net.minecraft.util.math.Vec3i interactOffset, boolean shiftClick) -
InteractWithBlockTask
public InteractWithBlockTask(net.minecraft.item.Item toUse, net.minecraft.util.math.Direction direction, net.minecraft.util.math.BlockPos target, baritone.api.utils.input.Input interactInput, boolean walkInto, boolean shiftClick) -
InteractWithBlockTask
public InteractWithBlockTask(net.minecraft.item.Item toUse, net.minecraft.util.math.Direction direction, net.minecraft.util.math.BlockPos target, boolean walkInto) -
InteractWithBlockTask
public InteractWithBlockTask(net.minecraft.item.Item toUse, net.minecraft.util.math.BlockPos target, boolean walkInto, net.minecraft.util.math.Vec3i interactOffset) -
InteractWithBlockTask
public InteractWithBlockTask(net.minecraft.item.Item toUse, net.minecraft.util.math.BlockPos target, boolean walkInto) -
InteractWithBlockTask
public InteractWithBlockTask(net.minecraft.item.Item toUse, net.minecraft.util.math.BlockPos target) -
InteractWithBlockTask
public InteractWithBlockTask(net.minecraft.util.math.BlockPos target)
-
-
Method Details
-
onStart
-
onTick
-
onStop
-
isFinished
- Overrides:
isFinished
in classTask
-
isEqual
-
toDebugString
- Specified by:
toDebugString
in classTask
-
getClickStatus
-
getCurrentReach
-