Package io.github.apfelcreme.Pipes.Pipe
Class ChunkLoader
java.lang.Object
io.github.apfelcreme.Pipes.Pipe.AbstractPipePart
io.github.apfelcreme.Pipes.Pipe.ChunkLoader
-
Nested Class Summary
Nested classes/interfaces inherited from class io.github.apfelcreme.Pipes.Pipe.AbstractPipePart
AbstractPipePart.Option<T>, AbstractPipePart.OptionsList, AbstractPipePart.Value<T>
-
Field Summary
Fields inherited from class io.github.apfelcreme.Pipes.Pipe.AbstractPipePart
OPTIONS_KEY, STORED_TYPE_KEY, TYPE_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
String[]
Get the setup of the GUI with the character 'i' for the block's inventory, 's' and 'z' for settings, 'c' for the copy bookprotected AbstractPipePart.Option<?>[]
Get all possible optionsvoid
showGui
(org.bukkit.entity.Player player) Show the parts GUI if it has onetoString()
Methods inherited from class io.github.apfelcreme.Pipes.Pipe.AbstractPipePart
applyBook, getAvailableOption, getHolder, getLocation, getOption, getOption, getOptionsString, getType, getValue, getValue, hashCode, setOption, setOption
-
Field Details
-
GUI_SETUP
-
-
Constructor Details
-
ChunkLoader
public ChunkLoader(org.bukkit.block.BlockState state)
-
-
Method Details
-
showGui
public void showGui(org.bukkit.entity.Player player) Description copied from class:AbstractPipePart
Show the parts GUI if it has one- Overrides:
showGui
in classAbstractPipePart
- Parameters:
player
- The player to show the GUI to
-
getGuiSetup
Description copied from class:AbstractPipePart
Get the setup of the GUI with the character 'i' for the block's inventory, 's' and 'z' for settings, 'c' for the copy book- Specified by:
getGuiSetup
in classAbstractPipePart
- Returns:
- The setup for the GUI
-
getOptions
Description copied from class:AbstractPipePart
Get all possible options- Specified by:
getOptions
in classAbstractPipePart
- Returns:
- All possible options of this part
-
equals
- Overrides:
equals
in classAbstractPipePart
-
toString
- Overrides:
toString
in classAbstractPipePart
-