-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: introduce BlockLiquidComponent
- Loading branch information
Showing
8 changed files
with
39 additions
and
23 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
Allay-API/src/main/java/org/allaymc/api/block/component/common/BlockLiquidComponent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package org.allaymc.api.block.component.common; | ||
|
||
import org.allaymc.api.block.component.BlockComponent; | ||
|
||
/** | ||
* Allay Project 2024/6/9 | ||
* | ||
* @author daoge_cmd | ||
*/ | ||
public interface BlockLiquidComponent extends BlockComponent { | ||
} |
3 changes: 2 additions & 1 deletion
3
...y-API/src/main/java/org/allaymc/api/block/interfaces/liquid/BlockFlowingLavaBehavior.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
package org.allaymc.api.block.interfaces.liquid; | ||
|
||
import org.allaymc.api.block.BlockBehavior; | ||
import org.allaymc.api.block.component.common.BlockLiquidComponent; | ||
|
||
/** | ||
* @author daoge_cmd <br> | ||
* Allay Project <br> | ||
*/ | ||
public interface BlockFlowingLavaBehavior extends BlockBehavior { | ||
public interface BlockFlowingLavaBehavior extends BlockBehavior, BlockLiquidComponent { | ||
} |
3 changes: 2 additions & 1 deletion
3
...-API/src/main/java/org/allaymc/api/block/interfaces/liquid/BlockFlowingWaterBehavior.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
package org.allaymc.api.block.interfaces.liquid; | ||
|
||
import org.allaymc.api.block.BlockBehavior; | ||
import org.allaymc.api.block.component.common.BlockLiquidComponent; | ||
|
||
/** | ||
* @author daoge_cmd <br> | ||
* Allay Project <br> | ||
*/ | ||
public interface BlockFlowingWaterBehavior extends BlockBehavior { | ||
public interface BlockFlowingWaterBehavior extends BlockBehavior, BlockLiquidComponent { | ||
} |
3 changes: 2 additions & 1 deletion
3
Allay-API/src/main/java/org/allaymc/api/block/interfaces/liquid/BlockLavaBehavior.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
package org.allaymc.api.block.interfaces.liquid; | ||
|
||
import org.allaymc.api.block.BlockBehavior; | ||
import org.allaymc.api.block.component.common.BlockLiquidComponent; | ||
|
||
/** | ||
* @author daoge_cmd <br> | ||
* Allay Project <br> | ||
*/ | ||
public interface BlockLavaBehavior extends BlockBehavior { | ||
public interface BlockLavaBehavior extends BlockBehavior, BlockLiquidComponent { | ||
} |
3 changes: 2 additions & 1 deletion
3
Allay-API/src/main/java/org/allaymc/api/block/interfaces/liquid/BlockWaterBehavior.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
package org.allaymc.api.block.interfaces.liquid; | ||
|
||
import org.allaymc.api.block.BlockBehavior; | ||
import org.allaymc.api.block.component.common.BlockLiquidComponent; | ||
|
||
/** | ||
* @author daoge_cmd <br> | ||
* Allay Project <br> | ||
*/ | ||
public interface BlockWaterBehavior extends BlockBehavior { | ||
public interface BlockWaterBehavior extends BlockBehavior, BlockLiquidComponent { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters