Add blockUsedForObfuscation

This commit is contained in:
2026-05-21 20:57:59 +02:00
parent 108aa2af9a
commit 9240bcfd5f
@@ -56,10 +56,10 @@ public abstract class ChunkHider {
private final byte BITS_PER_LONG = 64; private final byte BITS_PER_LONG = 64;
private final int blockIdUsedForHiding = 315; private final int blockIdUsedForHiding;
public ChunkHider(Block blockUsedForObfuscation) { public ChunkHider(Block blockUsedForObfuscation) {
// blockIdUsedForHiding = Block.BLOCK_STATE_REGISTRY.getId(blockUsedForObfuscation.defaultBlockState()); blockIdUsedForHiding = Block.BLOCK_STATE_REGISTRY.getId(blockUsedForObfuscation.defaultBlockState());
} }
private int getLongsRequiredToEncodeEntries(int bitsPerEntry, int entryCount) { private int getLongsRequiredToEncodeEntries(int bitsPerEntry, int entryCount) {