-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: portal placer block rotate tool
- Loading branch information
Showing
7 changed files
with
67 additions
and
33 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
7 changes: 4 additions & 3 deletions
7
core/src/main/java/com/sekwah/advancedportals/core/connector/containers/WorldContainer.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,14 +1,15 @@ | ||
package com.sekwah.advancedportals.core.connector.containers; | ||
|
||
import com.sekwah.advancedportals.core.connector.data.BlockAxis; | ||
import com.sekwah.advancedportals.core.data.BlockLocation; | ||
|
||
public interface WorldContainer { | ||
|
||
void setBlock(BlockLocation location, String material); | ||
|
||
void setBlockData(BlockLocation location, byte data); | ||
|
||
String getBlock(BlockLocation location); | ||
|
||
byte getBlockData(BlockLocation location); | ||
BlockAxis getBlockAxis(BlockLocation location); | ||
|
||
void setBlockAxis(BlockLocation location, BlockAxis axis); | ||
} |
7 changes: 7 additions & 0 deletions
7
core/src/main/java/com/sekwah/advancedportals/core/connector/data/BlockAxis.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 com.sekwah.advancedportals.core.connector.data; | ||
|
||
public enum BlockAxis { | ||
X, | ||
Y, | ||
Z | ||
} |
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