Uses of Interface
baritone.api.selection.ISelection
Packages that use ISelection
-
Uses of ISelection in baritone.api.selection
Methods in baritone.api.selection that return ISelectionModifier and TypeMethodDescriptionISelectionManager.addSelection(ISelection selection) Adds a new selection.ISelectionManager.addSelection(BetterBlockPos pos1, BetterBlockPos pos2) Adds a newISelectionconstructed from the given block positions.ISelection.contract(net.minecraft.core.Direction direction, int blocks) Returns a newISelectioncontracted in the specified direction by the specified number of blocks.ISelectionManager.contract(ISelection selection, net.minecraft.core.Direction direction, int blocks) Replaces the specifiedISelectionwith one contracted in the specified direction by the specified number of blocks.ISelection.expand(net.minecraft.core.Direction direction, int blocks) Returns a newISelectionexpanded in the specified direction by the specified number of blocks.ISelectionManager.expand(ISelection selection, net.minecraft.core.Direction direction, int blocks) Replaces the specifiedISelectionwith one expanded in the specified direction by the specified number of blocks.ISelectionManager.getLastSelection()This method will always return the last selection.ISelectionManager.getOnlySelection()For anything expecting only one selection, this method is provided.ISelectionManager.getSelections()ISelectionManager.removeAllSelections()Removes all selections.ISelectionManager.removeSelection(ISelection selection) Removes the selection from the current selections.ISelection.shift(net.minecraft.core.Direction direction, int blocks) Returns a newISelectionshifted in the specified direction by the specified number of blocks.ISelectionManager.shift(ISelection selection, net.minecraft.core.Direction direction, int blocks) Replaces the specifiedISelectionwith one shifted in the specified direction by the specified number of blocks.Methods in baritone.api.selection with parameters of type ISelectionModifier and TypeMethodDescriptionISelectionManager.addSelection(ISelection selection) Adds a new selection.ISelectionManager.contract(ISelection selection, net.minecraft.core.Direction direction, int blocks) Replaces the specifiedISelectionwith one contracted in the specified direction by the specified number of blocks.ISelectionManager.expand(ISelection selection, net.minecraft.core.Direction direction, int blocks) Replaces the specifiedISelectionwith one expanded in the specified direction by the specified number of blocks.ISelectionManager.removeSelection(ISelection selection) Removes the selection from the current selections.ISelectionManager.shift(ISelection selection, net.minecraft.core.Direction direction, int blocks) Replaces the specifiedISelectionwith one shifted in the specified direction by the specified number of blocks.