mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-07-01 00:46:36 +02:00
33 lines
727 B
Java
33 lines
727 B
Java
|
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;
|
||
|
|
||
|
|
||
|
public class BlankRecipe extends IForgeRegistryEntry.Impl<IRecipe> implements IRecipe{
|
||
|
|
||
|
@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;
|
||
|
}
|
||
|
|
||
|
}
|