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.BlockTypegetType()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:
getTypein interfaceBlockInstruction
-
getBlockLimit
- Specified by:
getBlockLimitin interfaceBlockInstruction
-
getCollide
- Specified by:
getCollidein interfaceBlockInstruction
-