mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
IDE assisted Nullable annotations for RecipeHandler
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user