Class InteractWithProcess.PlaceBlock
java.lang.Object
com.zenith.feature.pathfinder.process.InteractWithProcess.PlaceBlock
- All Implemented Interfaces:
InteractWithProcess.InteractTarget,ProcessUtil
- Enclosing class:
InteractWithProcess
public static class InteractWithProcess.PlaceBlock
extends Object
implements InteractWithProcess.InteractTarget
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanbooleanbooleanfutureSucceeded(InputRequestFuture future, InteractWithProcess.PlaceBlock.PlaceTarget placeTarget) intgetX()intgetY()intgetZ()inthashCode()voidinteract(Hand hand, InteractWithProcess.PlaceBlock.PlaceTarget placeTarget, Rotation rotation) booleanrotationStepList(double x, double y, double z, double step, double maxStep) @Nullable RotationbooleanvoidsetSucceeded(boolean succeeded) booleanbooleantoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.zenith.feature.pathfinder.process.ProcessUtil
debug, debug, error, error, info, info, processLogPrefix, warn, warn
-
Constructor Details
-
PlaceBlock
-
-
Method Details
-
interact
public void interact(Hand hand, InteractWithProcess.PlaceBlock.PlaceTarget placeTarget, Rotation rotation) -
pathingCommand
- Specified by:
pathingCommandin interfaceInteractWithProcess.InteractTarget
-
targetValid
public boolean targetValid() -
rotationToPlaceTarget
public @Nullable Rotation rotationToPlaceTarget(InteractWithProcess.PlaceBlock.PlaceTarget placeTarget) -
rotationStepList
-
entityInPlaceTarget
public boolean entityInPlaceTarget() -
selfInPlaceTarget
public boolean selfInPlaceTarget() -
findPlaceTargets
-
succeeded
public boolean succeeded()- Specified by:
succeededin interfaceInteractWithProcess.InteractTarget
-
futureSucceeded
public boolean futureSucceeded(InputRequestFuture future, InteractWithProcess.PlaceBlock.PlaceTarget placeTarget) -
getX
public int getX() -
getY
public int getY() -
getZ
public int getZ() -
getPlaceItem
-
isSucceeded
public boolean isSucceeded() -
setSucceeded
public void setSucceeded(boolean succeeded) -
equals
-
canEqual
-
hashCode
-
toString
-