Package com.sk89q.worldedit.command
Class SelectionCommands.BlockDistributionResult
java.lang.Object
com.sk89q.worldedit.util.formatting.component.TextComponentProducer
com.sk89q.worldedit.util.formatting.component.MessageBox
com.sk89q.worldedit.util.formatting.component.PaginationBox
com.sk89q.worldedit.command.SelectionCommands.BlockDistributionResult
- Enclosing class:
SelectionCommands
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sk89q.worldedit.util.formatting.component.PaginationBox
PaginationBox.MergedPaginationBox
-
Constructor Summary
ConstructorDescriptionBlockDistributionResult
(List<Countable<BlockState>> distribution, boolean separateStates) BlockDistributionResult
(List<Countable<BlockState>> distribution, boolean separateStates, String pageCommand) -
Method Summary
Modifier and TypeMethodDescriptioncom.sk89q.worldedit.util.formatting.text.Component
create
(int page) void
com.sk89q.worldedit.util.formatting.text.Component
getComponent
(int number) int
Methods inherited from class com.sk89q.worldedit.util.formatting.component.PaginationBox
create, fromComponents, fromStrings, fromStrings, getCurrentPage, setComponentsPerPage
Methods inherited from class com.sk89q.worldedit.util.formatting.component.MessageBox
centerAndBorder, getContents
Methods inherited from class com.sk89q.worldedit.util.formatting.component.TextComponentProducer
append, append, getBuilder, newline, reset
-
Constructor Details
-
BlockDistributionResult
-
BlockDistributionResult
public BlockDistributionResult(List<Countable<BlockState>> distribution, boolean separateStates, String pageCommand)
-
-
Method Details
-
getComponent
public com.sk89q.worldedit.util.formatting.text.Component getComponent(int number) - Specified by:
getComponent
in classPaginationBox
-
getComponentsSize
public int getComponentsSize()- Specified by:
getComponentsSize
in classPaginationBox
-
formatForConsole
public void formatForConsole()- Overrides:
formatForConsole
in classPaginationBox
-
create
public com.sk89q.worldedit.util.formatting.text.Component create(int page) throws InvalidComponentException - Overrides:
create
in classPaginationBox
- Throws:
InvalidComponentException
-