9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-27 19:19:07 +00:00
This commit is contained in:
cyberpwn
2021-08-28 19:54:41 -04:00
parent dd5f55f4fc
commit 376d7a8878
3 changed files with 15 additions and 3 deletions

View File

@@ -150,6 +150,10 @@ public class B {
IntSet b = new IntOpenHashSet();
Arrays.stream(new Material[]{
GLOWSTONE,
AMETHYST_CLUSTER,
SMALL_AMETHYST_BUD,
MEDIUM_AMETHYST_BUD,
LARGE_AMETHYST_BUD,
END_ROD,
SOUL_SAND,
TORCH,
@@ -211,6 +215,10 @@ public class B {
return IntSets.unmodifiable(b);
}
public static boolean isOre(BlockData blockData) {
return blockData.getMaterial().name().endsWith("_ORE");
}
private static IntSet buildStorageChestCache() {
IntSet b = new IntOpenHashSet(storageCache);
b.remove(SMOKER.ordinal());