Class ModifiableBlockInstruction
java.lang.Object
org.ships.config.blocks.instruction.ModifiableBlockInstruction
- All Implemented Interfaces:
BlockInstruction
-
Constructor Summary
ConstructorsConstructorDescriptionModifiableBlockInstruction
(@NotNull org.core.world.position.block.BlockType type) ModifiableBlockInstruction
(@NotNull org.core.world.position.block.BlockType type, @NotNull CollideType collide, @Nullable Integer value) -
Method Summary
Modifier and TypeMethodDescription@NotNull CollideType
@NotNull org.core.world.position.block.BlockType
getType()
setBlockLimit
(@Nullable Integer value) setCollide
(@NotNull CollideType type)
-
Constructor Details
-
ModifiableBlockInstruction
public ModifiableBlockInstruction(@NotNull @NotNull org.core.world.position.block.BlockType type) -
ModifiableBlockInstruction
public ModifiableBlockInstruction(@NotNull @NotNull org.core.world.position.block.BlockType type, @NotNull @NotNull CollideType collide, @Nullable @Nullable Integer value)
-
-
Method Details
-
setCollide
-
removeBlockLimit
-
setBlockLimit
-
getType
@NotNull public @NotNull org.core.world.position.block.BlockType getType()- Specified by:
getType
in interfaceBlockInstruction
-
getBlockLimit
- Specified by:
getBlockLimit
in interfaceBlockInstruction
-
getCollide
- Specified by:
getCollide
in interfaceBlockInstruction
-