diff --git a/src/main/java/dev/crmodders/flux/api/block/IFunctionalBlock.java b/src/main/java/dev/crmodders/flux/api/block/IFunctionalBlock.java new file mode 100644 index 0000000..a959786 --- /dev/null +++ b/src/main/java/dev/crmodders/flux/api/block/IFunctionalBlock.java @@ -0,0 +1,14 @@ +package dev.crmodders.flux.api.block; + +import finalforeach.cosmicreach.blocks.BlockPosition; +import finalforeach.cosmicreach.blocks.BlockState; +import finalforeach.cosmicreach.entities.Player; +import finalforeach.cosmicreach.world.Zone; + +public interface IFunctionalBlock extends IModBlock { + + default void onInteract(Zone zone, Player player, BlockState blockState, BlockPosition position) {} + default void onPlace(Zone zone, Player player, BlockState blockState, BlockPosition position) {} + default void onBreak(Zone zone, Player player, BlockState blockState, BlockPosition position) {} + +}