mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-06-07 16:13:38 +02:00
f2b24c3318
There dad u got ur thingy also who put these null itemstacks here bad
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;
|
|
}
|
|
|
|
}
|