geforkt von Mirrors/FastAsyncWorldEdit
Save some RAM.
Vanilla only needs 12k~ states right now, 32k is unnecessary.
Dieser Commit ist enthalten in:
Ursprung
0aa0dbfd11
Commit
61fd44fa8c
@ -51,7 +51,7 @@ public final class BlockStateIdAccess {
|
|||||||
return id < blockStates.length ? blockStates[id] : null;
|
return id < blockStates.length ? blockStates[id] : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static BlockState[] blockStates = new BlockState[2 << 14];
|
private static BlockState[] blockStates = new BlockState[2 << 13];
|
||||||
|
|
||||||
public static void register(BlockState blockState) {
|
public static void register(BlockState blockState) {
|
||||||
OptionalInt id = getBlockStateId(blockState);
|
OptionalInt id = getBlockStateId(blockState);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren