Class PowerBlockInspector
java.lang.Object
nl.pim16aap2.animatedarchitecture.core.tooluser.ToolUser
nl.pim16aap2.animatedarchitecture.core.tooluser.PowerBlockInspector
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe factory interface for creatingPowerBlockInspectorinstances.Nested classes/interfaces inherited from class ToolUser
ToolUser.Context -
Field Summary
Fields inherited from class ToolUser
animatedArchitectureToolUtil, localizer, protectionHookManager, stepFactory, toolUserManager -
Constructor Summary
ConstructorsConstructorDescriptionPowerBlockInspector(ToolUser.Context context, PowerBlockManager powerBlockManager, IPlayer player, boolean bypassPermission) -
Method Summary
Modifier and TypeMethodDescriptionGenerates the list ofSteps that together will make up theToolUser.procedure.protected booleaninspectLoc(ILocation loc) @NonNull StringtoString()Methods inherited from class ToolUser
abort, assertLockHeld, cleanUpProcess, getAllSteps, getCurrentStep, getCurrentStepMessage, getPlayer, giveTool, goToNextStep, handleInput, handleInputWithLock, init, insertStep, isActive, playerHasAccessToCuboid, playerHasAccessToLocation, playerHasTool, prepareCurrentStep, removeTool, runWithLock, sendMessage, sendMessage, setPlayerHasTool, skipToStep, toMinimalString
-
Constructor Details
-
PowerBlockInspector
@AssistedInject public PowerBlockInspector(ToolUser.Context context, PowerBlockManager powerBlockManager, @Assisted IPlayer player, @Assisted boolean bypassPermission)
-
-
Method Details
-
inspectLoc
-
generateSteps
Description copied from class:ToolUserGenerates the list ofSteps that together will make up theToolUser.procedure.- Specified by:
generateStepsin classToolUser- Returns:
- The list of
Steps that together will make up theToolUser.procedure. - Throws:
InstantiationException- When a step's factory is incomplete or otherwise invalid.
-
toString
-