restyle code

This commit is contained in:
FalsePattern committed 2022-07-02 20:21:50 +02:00
1 parent 413a113a4c
commit 7de5788013
58 files changed
+567 -480

No files matched your search

@@ -13,9 +13,8 @@ public class ExtendedConstants {
//BlockItemIDs
public static final int nibblesPerID = bitsPerID / 4;
public static final int nibblesPerMetadata = bitsPerMetadata / 4;
public static final int bytesPerID = (nibblesPerID + 1) / 2;
public static final int nibblesPerMetadata = bitsPerMetadata / 4;
public static final int bytesPerIDPlusMetadata = (nibblesPerID + nibblesPerMetadata + 1) / 2;
public static final int blockIDMask = (1 << bitsPerID) - 1;
@@ -32,12 +31,10 @@ public class ExtendedConstants {
public static final int biomeIDMask = biomeIDCount - 1;
public static final int biomeIDNull = biomeIDMask;
public static final int bytesPerBiome = (bitsPerBiome + 7) / 8;
//Chunk
public static final int bytesPerChunk = bytesPerBiome * 256 + bytesPerEBS * 16;
//DataWatcher
public static final int watchableCount = 1 << watchableBits;
public static final int maxWatchableID = watchableCount - 1;
public static final int watchableMask = (0x7 << watchableBits) | maxWatchableID;
//Chunk
public static final int bytesPerChunk = bytesPerBiome * 256 + bytesPerEBS * 16;
}