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
ConstructorsConstructorDescriptionBlockDistributionResult(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.Componentcreate(int page) voidcom.sk89q.worldedit.util.formatting.text.ComponentgetComponent(int number) intMethods inherited from class com.sk89q.worldedit.util.formatting.component.PaginationBox
create, fromComponents, fromStrings, fromStrings, getCurrentPage, setComponentsPerPageMethods inherited from class com.sk89q.worldedit.util.formatting.component.MessageBox
centerAndBorder, getContentsMethods 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:
getComponentin classPaginationBox
-
getComponentsSize
public int getComponentsSize()- Specified by:
getComponentsSizein classPaginationBox
-
formatForConsole
public void formatForConsole()- Overrides:
formatForConsolein classPaginationBox
-
create
public com.sk89q.worldedit.util.formatting.text.Component create(int page) throws InvalidComponentException - Overrides:
createin classPaginationBox- Throws:
InvalidComponentException
-