1.16+ Terrain and Movement support (#1353)

* First implementation
* Improve chunk reading performance
* Fix indentation
* Remove debug information
* Update MultiBlockChange packet
* Move skip varint to a method
* Fix crash when not using block palette
* Fix DataTypes.cs not compiling on .NET 4.0
Binary (0b) values not handled so converted to Hexadecimal (0x)
* Use the 1.16 chunk parsing code for 1.15 too
Document the differences in padding and factor the code
Co-authored-by: ORelio <ORelio@users.noreply.github.com>
This commit is contained in:
ReinforceZwei 2020-11-29 03:48:35 +08:00 committed by GitHub
parent 9b5fde0689
commit 53bd56100f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 1505 additions and 44 deletions

View file

@ -48,6 +48,7 @@
GoldOre,
IronOre,
CoalOre,
NetherGoldOre,
OakLog,
SpruceLog,
BirchLog,
@ -157,6 +158,7 @@
Torch,
WallTorch,
Fire,
SoulFire,
Spawner,
OakStairs,
Chest,
@ -207,6 +209,11 @@
Pumpkin,
Netherrack,
SoulSand,
SoulSoil,
Basalt,
PolishedBasalt,
SoulTorch,
SoulWallTorch,
Glowstone,
NetherPortal,
CarvedPumpkin,
@ -249,6 +256,7 @@
RedMushroomBlock,
MushroomStem,
IronBars,
Chain,
GlassPane,
Melon,
AttachedPumpkinStem,
@ -685,14 +693,89 @@
Stonecutter,
Bell,
Lantern,
SoulLantern,
Campfire,
SoulCampfire,
SweetBerryBush,
WarpedStem,
StrippedWarpedStem,
WarpedHyphae,
StrippedWarpedHyphae,
WarpedNylium,
WarpedFungus,
WarpedWartBlock,
WarpedRoots,
NetherSprouts,
CrimsonStem,
StrippedCrimsonStem,
CrimsonHyphae,
StrippedCrimsonHyphae,
CrimsonNylium,
CrimsonFungus,
Shroomlight,
WeepingVines,
WeepingVinesPlant,
TwistingVines,
TwistingVinesPlant,
CrimsonRoots,
CrimsonPlanks,
WarpedPlanks,
CrimsonSlab,
WarpedSlab,
CrimsonPressurePlate,
WarpedPressurePlate,
CrimsonFence,
WarpedFence,
CrimsonTrapdoor,
WarpedTrapdoor,
CrimsonFenceGate,
WarpedFenceGate,
CrimsonStairs,
WarpedStairs,
CrimsonButton,
WarpedButton,
CrimsonDoor,
WarpedDoor,
CrimsonSign,
WarpedSign,
CrimsonWallSign,
WarpedWallSign,
StructureBlock,
Jigsaw,
Composter,
Target,
BeeNest,
Beehive,
HoneyBlock,
HoneycombBlock,
NetheriteBlock,
AncientDebris,
CryingObsidian,
RespawnAnchor,
PottedCrimsonFungus,
PottedWarpedFungus,
PottedCrimsonRoots,
PottedWarpedRoots,
Lodestone,
Blackstone,
BlackstoneStairs,
BlackstoneWall,
BlackstoneSlab,
PolishedBlackstone,
PolishedBlackstoneBricks,
CrackedPolishedBlackstoneBricks,
ChiseledPolishedBlackstone,
PolishedBlackstoneBrickSlab,
PolishedBlackstoneBrickStairs,
PolishedBlackstoneBrickWall,
GildedBlackstone,
PolishedBlackstoneStairs,
PolishedBlackstoneSlab,
PolishedBlackstonePressurePlate,
PolishedBlackstoneButton,
PolishedBlackstoneWall,
ChiseledNetherBricks,
CrackedNetherBricks,
QuartzBricks,
}
}