Package org.ships.config.blocks
Interface BlockList
- All Superinterfaces:
Config
- All Known Implementing Classes:
DefaultBlockList
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ships.config.Config
Config.KnownNodes
-
Method Summary
Modifier and TypeMethodDescriptiondefault BlockInstruction
getBlockInstruction
(@NotNull org.core.world.position.block.BlockType type) static Optional<ModifiableBlockInstruction>
getBlockInstruction
(BlockList list, org.core.world.position.block.BlockType type, String... extraNodes) replaceBlockInstruction
(BlockInstruction blockInstruction) Methods inherited from interface org.ships.config.Config
getFile, recreateFile
-
Method Details
-
getBlockInstruction
static Optional<ModifiableBlockInstruction> getBlockInstruction(BlockList list, org.core.world.position.block.BlockType type, String... extraNodes) -
getBlockList
Collection<BlockInstruction> getBlockList() -
reloadBlockList
Collection<BlockInstruction> reloadBlockList() -
replaceBlockInstruction
-
saveChanges
BlockList saveChanges() -
getBlockInstruction
default BlockInstruction getBlockInstruction(@NotNull @NotNull org.core.world.position.block.BlockType type)
-