-
-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #388 from mircokroon/minecraft-1.19
Minecraft 1.19
- Loading branch information
Showing
36 changed files
with
664 additions
and
114 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
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
23 changes: 23 additions & 0 deletions
23
src/main/java/game/data/chunk/version/ChunkSection_1_19.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,23 @@ | ||
package game.data.chunk.version; | ||
|
||
import config.Version; | ||
import game.data.chunk.Chunk; | ||
import game.data.chunk.palette.Palette; | ||
import se.llbit.nbt.Tag; | ||
|
||
public class ChunkSection_1_19 extends ChunkSection_1_18 { | ||
public static final Version VERSION = Version.V1_19; | ||
|
||
@Override | ||
public int getDataVersion() { | ||
return VERSION.dataVersion; | ||
} | ||
|
||
public ChunkSection_1_19(byte y, Palette palette, Chunk chunk) { | ||
super(y, palette, chunk); | ||
} | ||
|
||
public ChunkSection_1_19(int sectionY, Tag nbt) { | ||
super(sectionY, nbt); | ||
} | ||
} |
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,28 @@ | ||
package game.data.chunk.version; | ||
|
||
import config.Version; | ||
import game.data.chunk.ChunkSection; | ||
import game.data.chunk.palette.Palette; | ||
import game.data.coordinates.CoordinateDim2D; | ||
import se.llbit.nbt.SpecificTag; | ||
|
||
public class Chunk_1_19 extends Chunk_1_18 { | ||
public static final Version VERSION = Version.V1_19; | ||
|
||
@Override | ||
public int getDataVersion() { return VERSION.dataVersion; } | ||
|
||
public Chunk_1_19(CoordinateDim2D location) { | ||
super(location); | ||
} | ||
|
||
@Override | ||
public ChunkSection createNewChunkSection(byte y, Palette palette) { | ||
return new ChunkSection_1_19(y, palette, this); | ||
} | ||
|
||
@Override | ||
protected ChunkSection parseSection(int sectionY, SpecificTag section) { | ||
return new ChunkSection_1_19(sectionY, section); | ||
} | ||
} |
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
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
Oops, something went wrong.