-
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.
- Loading branch information
Showing
22 changed files
with
653 additions
and
559 deletions.
There are no files selected for viewing
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
15 changes: 15 additions & 0 deletions
15
api/src/main/java/org/allaymc/api/block/component/BlockDoubleSlabBaseComponent.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,15 @@ | ||
package org.allaymc.api.block.component; | ||
|
||
import org.allaymc.api.block.type.BlockType; | ||
|
||
/** | ||
* @author daoge_cmd | ||
*/ | ||
public interface BlockDoubleSlabBaseComponent extends BlockBaseComponent { | ||
/** | ||
* Get the single slab block type. | ||
* | ||
* @return the single slab block type. | ||
*/ | ||
BlockType<?> getSingleSlabBlockType(); | ||
} |
15 changes: 15 additions & 0 deletions
15
api/src/main/java/org/allaymc/api/block/component/BlockSlabBaseComponent.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,15 @@ | ||
package org.allaymc.api.block.component; | ||
|
||
import org.allaymc.api.block.type.BlockType; | ||
|
||
/** | ||
* @author daoge_cmd | ||
*/ | ||
public interface BlockSlabBaseComponent extends BlockBaseComponent { | ||
/** | ||
* Get the double slab block type. | ||
* | ||
* @return the double slab block type. | ||
*/ | ||
BlockType<?> getDoubleSlabBlockType(); | ||
} |
6 changes: 6 additions & 0 deletions
6
api/src/main/java/org/allaymc/api/block/interfaces/BlockCopperSlabBehavior.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,6 @@ | ||
package org.allaymc.api.block.interfaces; | ||
|
||
import org.allaymc.api.block.component.BlockOxidationComponent; | ||
|
||
public interface BlockCopperSlabBehavior extends BlockSlabBehavior, BlockOxidationComponent { | ||
} |
6 changes: 6 additions & 0 deletions
6
api/src/main/java/org/allaymc/api/block/interfaces/BlockDoubleCopperSlabBehavior.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,6 @@ | ||
package org.allaymc.api.block.interfaces; | ||
|
||
import org.allaymc.api.block.component.BlockOxidationComponent; | ||
|
||
public interface BlockDoubleCopperSlabBehavior extends BlockDoubleSlabBehavior, BlockOxidationComponent { | ||
} |
7 changes: 7 additions & 0 deletions
7
api/src/main/java/org/allaymc/api/block/interfaces/BlockDoubleSlabBehavior.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,7 @@ | ||
package org.allaymc.api.block.interfaces; | ||
|
||
import org.allaymc.api.block.BlockBehavior; | ||
import org.allaymc.api.block.component.BlockDoubleSlabBaseComponent; | ||
|
||
public interface BlockDoubleSlabBehavior extends BlockBehavior, BlockDoubleSlabBaseComponent { | ||
} |
3 changes: 2 additions & 1 deletion
3
api/src/main/java/org/allaymc/api/block/interfaces/BlockSlabBehavior.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,6 +1,7 @@ | ||
package org.allaymc.api.block.interfaces; | ||
|
||
import org.allaymc.api.block.BlockBehavior; | ||
import org.allaymc.api.block.component.BlockSlabBaseComponent; | ||
|
||
public interface BlockSlabBehavior extends BlockBehavior { | ||
public interface BlockSlabBehavior extends BlockBehavior, BlockSlabBaseComponent { | ||
} |
Oops, something went wrong.