MC 1.14 Terrain support (#703)

Minecraft 1.14 is now fully supported.

- Implement NBT parsing to skip NBT field in chunk data
- Update lighting data format in Chunk Data parsing
- Move Chunk Data parsing into Protocol18Terrain.cs
- Improve PaletteGenerator to greatly reduce palette files sizes
- Re-Generate Palette113.cs to reduce its size (378 Kib -> 50 Kib)
- Generate Palette114.cs (57 Kib instead of 516 Kib with prev format)
- Update Material.cs and MaterialExtensions.cs for new block types
This commit is contained in:
ORelio 2019-05-01 15:23:30 +02:00
parent d2cbc9f1c3
commit 0d58fb9063
11 changed files with 2703 additions and 8900 deletions

View file

@ -142,6 +142,9 @@
WhiteTulip,
PinkTulip,
OxeyeDaisy,
Cornflower,
WitherRose,
LilyOfTheValley,
BrownMushroom,
RedMushroom,
GoldBlock,
@ -164,12 +167,22 @@
Wheat,
Farmland,
Furnace,
Sign,
OakSign,
SpruceSign,
BirchSign,
AcaciaSign,
JungleSign,
DarkOakSign,
OakDoor,
Ladder,
Rail,
CobblestoneStairs,
WallSign,
OakWallSign,
SpruceWallSign,
BirchWallSign,
AcaciaWallSign,
JungleWallSign,
DarkOakWallSign,
Lever,
StonePressurePlate,
IronDoor,
@ -222,16 +235,16 @@
JungleTrapdoor,
AcaciaTrapdoor,
DarkOakTrapdoor,
StoneBricks,
MossyStoneBricks,
CrackedStoneBricks,
ChiseledStoneBricks,
InfestedStone,
InfestedCobblestone,
InfestedStoneBricks,
InfestedMossyStoneBricks,
InfestedCrackedStoneBricks,
InfestedChiseledStoneBricks,
StoneBricks,
MossyStoneBricks,
CrackedStoneBricks,
ChiseledStoneBricks,
BrownMushroomBlock,
RedMushroomBlock,
MushroomStem,
@ -292,6 +305,9 @@
PottedWhiteTulip,
PottedPinkTulip,
PottedOxeyeDaisy,
PottedCornflower,
PottedLilyOfTheValley,
PottedWitherRose,
PottedRedMushroom,
PottedBrownMushroom,
PottedDeadBush,
@ -304,18 +320,18 @@
JungleButton,
AcaciaButton,
DarkOakButton,
SkeletonWallSkull,
SkeletonSkull,
WitherSkeletonWallSkull,
SkeletonWallSkull,
WitherSkeletonSkull,
ZombieWallHead,
WitherSkeletonWallSkull,
ZombieHead,
PlayerWallHead,
ZombieWallHead,
PlayerHead,
CreeperWallHead,
PlayerWallHead,
CreeperHead,
DragonWallHead,
CreeperWallHead,
DragonHead,
DragonWallHead,
Anvil,
ChippedAnvil,
DamagedAnvil,
@ -449,7 +465,9 @@
AcaciaSlab,
DarkOakSlab,
StoneSlab,
SmoothStoneSlab,
SandstoneSlab,
CutSandstoneSlab,
PetrifiedOakSlab,
CobblestoneSlab,
BrickSlab,
@ -457,6 +475,7 @@
NetherBrickSlab,
QuartzSlab,
RedSandstoneSlab,
CutRedSandstoneSlab,
PurpurSlab,
SmoothStone,
SmoothSandstone,
@ -585,16 +604,6 @@
BubbleCoral,
FireCoral,
HornCoral,
DeadTubeCoralWallFan,
DeadBrainCoralWallFan,
DeadBubbleCoralWallFan,
DeadFireCoralWallFan,
DeadHornCoralWallFan,
TubeCoralWallFan,
BrainCoralWallFan,
BubbleCoralWallFan,
FireCoralWallFan,
HornCoralWallFan,
DeadTubeCoralFan,
DeadBrainCoralFan,
DeadBubbleCoralFan,
@ -605,12 +614,81 @@
BubbleCoralFan,
FireCoralFan,
HornCoralFan,
DeadTubeCoralWallFan,
DeadBrainCoralWallFan,
DeadBubbleCoralWallFan,
DeadFireCoralWallFan,
DeadHornCoralWallFan,
TubeCoralWallFan,
BrainCoralWallFan,
BubbleCoralWallFan,
FireCoralWallFan,
HornCoralWallFan,
SeaPickle,
BlueIce,
Conduit,
BambooSapling,
Bamboo,
PottedBamboo,
VoidAir,
CaveAir,
BubbleColumn,
PolishedGraniteStairs,
SmoothRedSandstoneStairs,
MossyStoneBrickStairs,
PolishedDioriteStairs,
MossyCobblestoneStairs,
EndStoneBrickStairs,
StoneStairs,
SmoothSandstoneStairs,
SmoothQuartzStairs,
GraniteStairs,
AndesiteStairs,
RedNetherBrickStairs,
PolishedAndesiteStairs,
DioriteStairs,
PolishedGraniteSlab,
SmoothRedSandstoneSlab,
MossyStoneBrickSlab,
PolishedDioriteSlab,
MossyCobblestoneSlab,
EndStoneBrickSlab,
SmoothSandstoneSlab,
SmoothQuartzSlab,
GraniteSlab,
AndesiteSlab,
RedNetherBrickSlab,
PolishedAndesiteSlab,
DioriteSlab,
BrickWall,
PrismarineWall,
RedSandstoneWall,
MossyStoneBrickWall,
GraniteWall,
StoneBrickWall,
NetherBrickWall,
AndesiteWall,
RedNetherBrickWall,
SandstoneWall,
EndStoneBrickWall,
DioriteWall,
Scaffolding,
Loom,
Barrel,
Smoker,
BlastFurnace,
CartographyTable,
FletchingTable,
Grindstone,
Lectern,
SmithingTable,
Stonecutter,
Bell,
Lantern,
Campfire,
SweetBerryBush,
StructureBlock,
Jigsaw,
Composter,
}
}