mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-28 15:46:01 +00:00
Cardboard Box blacklist
This commit is contained in:
1 parent
733bdd5691
commit
30782caa8b
7 files changed
+191
-12
No files matched your search
@@ -3,6 +3,7 @@ package mekanism.api;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import net.minecraftforge.event.Event;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
|
||||
public class MekanismAPI
|
||||
@@ -33,7 +34,12 @@ public class MekanismAPI
|
||||
cardboardBoxIgnore.remove(new BlockInfo(id, meta));
|
||||
}
|
||||
|
||||
private static class BlockInfo
|
||||
public static Set<BlockInfo> getBoxIgnore()
|
||||
{
|
||||
return cardboardBoxIgnore;
|
||||
}
|
||||
|
||||
public static class BlockInfo
|
||||
{
|
||||
public int id;
|
||||
public int meta;
|
||||
@@ -61,4 +67,6 @@ public class MekanismAPI
|
||||
return code;
|
||||
}
|
||||
}
|
||||
|
||||
public static class BoxBlacklistEvent extends Event {}
|
||||
}
|
||||
Reference in new issue
Block a user