Made item storage disks and blocks capacity a power of two (1k now means 1024 items instead of 1000, etc).

This commit is contained in:
raoulvdberge
2018-06-02 23:42:45 +02:00
parent 1ef924f800
commit fd7a4d7def
2 changed files with 5 additions and 4 deletions

View File

@@ -16,6 +16,7 @@
- The Crafting Monitor is now resizable and its size can be configured (stretched, small, medium, large) (raoulvdberge)
- Removed the Wrench (raoulvdberge)
- Made all IO blocks have a blacklist instead of a whitelist by default (raoulvdberge)
- Made item storage disks and blocks capacity a power of two (1k now means 1024 items instead of 1000, etc) (raoulvdberge)
- An empty blacklist now means: accept any item. An empty whitelist now means: don't accept any item (an empty whitelist USED to mean: accept any item) (raoulvdberge)
- Updated Russian translation (kellixon)

View File

@@ -3,10 +3,10 @@ package com.raoulvdberge.refinedstorage.block;
import net.minecraft.util.IStringSerializable;
public enum ItemStorageType implements IStringSerializable {
TYPE_1K(0, 1000, "1k"),
TYPE_4K(1, 4000, "4k"),
TYPE_16K(2, 16000, "16k"),
TYPE_64K(3, 64000, "64k"),
TYPE_1K(0, 1024, "1k"),
TYPE_4K(1, 4096, "4k"),
TYPE_16K(2, 16_384, "16k"),
TYPE_64K(3, 65_536, "64k"),
TYPE_CREATIVE(4, -1, "creative");
private int id;