IDE assisted Nullable annotations for RecipeHandler

This commit is contained in:
Thiakil committed 2019-04-26 19:33:26 +08:00
1 parent c1832d812e
commit 10a7be5f12
2 files changed
+51 -27

No files matched your search

@@ -159,6 +159,7 @@ public interface IFactory {
return getRecipe(new InfusionInput(storage, input));
}
@Nullable
public MachineRecipe getAnyRecipe(ItemStack slotStack, ItemStack extraStack, Gas gasType,
InfuseStorage infuse) {
if (fuelType == MachineFuelType.ADVANCED) {
@@ -183,6 +184,7 @@ public interface IFactory {
return getRecipe(slotStack);
}
@Nullable
public GasStack getItemGas(ItemStack itemstack) {
if (fuelType == MachineFuelType.ADVANCED) {
return getTile().getItemGas(itemstack);