Test fixes / Building module presence saving

This commit is contained in:
Anuken
2021-11-17 10:58:36 -05:00
parent 29f8ebddb9
commit 4567ee9a13
8 changed files with 54 additions and 19 deletions

View File

@@ -39,7 +39,7 @@ public class GenericCrafter extends Block{
public DrawBlock drawer = new DrawBlock();
/** If set, the icon is overridden to be these strings, in order. Each string is a suffix. */
public String[] iconOverride = null;
public @Nullable String[] iconOverride = null;
public GenericCrafter(String name){
super(name);

View File

@@ -62,6 +62,10 @@ public class Consumers{
return add(new ConsumeLiquid(liquid, amount));
}
public ConsumeLiquids liquids(LiquidStack... stacks){
return add(new ConsumeLiquids(stacks));
}
/**
* Creates a consumer which directly uses power without buffering it.
* @param powerPerTick The amount of power which is required each tick for 100% efficiency.