-
Notifications
You must be signed in to change notification settings - Fork 0
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
11 changed files
with
103 additions
and
54 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
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
29 changes: 29 additions & 0 deletions
29
src/main/java/monkey/unlimitedtrade/utils/chunkdebug/BaseChunkData.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,29 @@ | ||
package monkey.unlimitedtrade.utils.chunkdebug; | ||
|
||
import net.minecraft.server.world.ChunkLevelType; | ||
import net.minecraft.util.Identifier; | ||
import net.minecraft.util.math.ChunkPos; | ||
|
||
public class BaseChunkData { | ||
private final ChunkPos chunkPos; | ||
private final ChunkLevelType levelType; | ||
private final Identifier serverWorld; | ||
|
||
public BaseChunkData(ChunkPos chunkPos, ChunkLevelType levelType, Identifier serverWorld) { | ||
this.chunkPos = chunkPos; | ||
this.levelType = levelType; | ||
this.serverWorld = serverWorld; | ||
} | ||
|
||
public ChunkPos getChunkPos() { | ||
return chunkPos; | ||
} | ||
|
||
public ChunkLevelType getLevelType() { | ||
return levelType; | ||
} | ||
|
||
public Identifier getServerWorld() { | ||
return serverWorld; | ||
} | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,6 @@ public interface IChunkData { | |
int getPosX(); | ||
|
||
int getPosZ(); | ||
|
||
IChunkType getChunkType(); | ||
} |
5 changes: 5 additions & 0 deletions
5
src/main/java/monkey/unlimitedtrade/utils/chunkdebug/essential/IChunkTypeEnum.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,5 @@ | ||
package monkey.unlimitedtrade.utils.chunkdebug.essential; | ||
|
||
public interface IChunkTypeEnum { | ||
IChunkTypeEnum[] values(); | ||
} |