Skip to content

AID-LEARNING/SymplyPlugin

Repository files navigation

SymplyPlugin

Config

blockNetworkIdsAreHashes is true

you need to modify in the ChunkSerializer in pmmp

here is the line to modify

public static function serializeSubChunk(SubChunk $subChunk, BlockTranslator $blockTranslator, PacketSerializer $stream, bool $persistentBlockStates) : void{
                 ...
                 foreach($palette as $p){
-                        $stream->put(Binary::writeUnsignedVarIntVarInt($blockTranslator->internalIdToNetworkId($p) << 1));
+                        $stream->put(Binary::writeVarInt($blockTranslator->internalIdToNetworkId($p)));
                 }
 }

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages