2017-08-02 04:20:47 +02:00
|
|
|
package de.ellpeck.actuallyadditions.mod.util.crafting;
|
|
|
|
|
|
|
|
import net.minecraft.inventory.InventoryCrafting;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
import net.minecraft.item.crafting.IRecipe;
|
|
|
|
import net.minecraft.world.World;
|
|
|
|
import net.minecraftforge.registries.IForgeRegistryEntry;
|
|
|
|
|
2019-05-02 09:10:29 +02:00
|
|
|
public class BlankRecipe extends IForgeRegistryEntry.Impl<IRecipe> implements IRecipe {
|
2017-08-02 04:20:47 +02:00
|
|
|
|
2019-02-27 19:53:05 +01:00
|
|
|
@Override
|
|
|
|
public boolean matches(InventoryCrafting inv, World worldIn) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public ItemStack getCraftingResult(InventoryCrafting inv) {
|
|
|
|
return ItemStack.EMPTY;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean canFit(int width, int height) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public ItemStack getRecipeOutput() {
|
|
|
|
return ItemStack.EMPTY;
|
|
|
|
}
|
2017-08-02 04:20:47 +02:00
|
|
|
|
|
|
|
}
|