mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-27 23:45:57 +00:00
Reorganize
This commit is contained in:
1 parent
d498b7cd2e
commit
ae356abcfe
2 files changed
+9
-4
No files matched your search
@@ -25,12 +25,17 @@ import vazkii.botania.api.subtile.SubTileEntity;
|
||||
|
||||
public class RecipePureDaisy {
|
||||
|
||||
public static final int DEFAULT_TIME = 150;
|
||||
private static final Map<String, List<ItemStack>> oreMap = new HashMap<>();
|
||||
|
||||
private final Object input;
|
||||
private final IBlockState outputState;
|
||||
private final int time;
|
||||
|
||||
public RecipePureDaisy(Object input, IBlockState state) {
|
||||
this(input, state, DEFAULT_TIME);
|
||||
}
|
||||
|
||||
public RecipePureDaisy(Object input, IBlockState state, int time) {
|
||||
Preconditions.checkArgument(time >= 0, "Time must be nonnegative");
|
||||
this.input = input;
|
||||
@@ -38,7 +43,6 @@ public class RecipePureDaisy {
|
||||
this.time = time;
|
||||
if(input != null && !(input instanceof String || input instanceof Block))
|
||||
throw new IllegalArgumentException("input must be an oredict String or a Block.");
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user