mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-09-27 19:31:05 +02:00
1954da6edb
Actually added a feature for once! (Enchanted book splitting) Added a transformHook in LensConversionRecipe Made the booklet have max stack size of 1 Moved the text over a bit on reconstructor recipe pages
34 lines
1.2 KiB
Java
34 lines
1.2 KiB
Java
/*
|
|
* This file ("LensConversionRecipe.java") is part of the Actually Additions mod for Minecraft.
|
|
* It is created and owned by Ellpeck and distributed
|
|
* under the Actually Additions License to be found at
|
|
* http://ellpeck.de/actaddlicense
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
*
|
|
* © 2015-2017 Ellpeck
|
|
*/
|
|
|
|
package de.ellpeck.actuallyadditions.api.recipe;
|
|
|
|
import de.ellpeck.actuallyadditions.api.internal.IAtomicReconstructor;
|
|
import de.ellpeck.actuallyadditions.api.lens.LensConversion;
|
|
import net.minecraft.block.state.IBlockState;
|
|
import net.minecraft.item.ItemStack;
|
|
import net.minecraft.util.math.BlockPos;
|
|
|
|
public class LensConversionRecipe{
|
|
|
|
public final int energyUse;
|
|
public final LensConversion type;
|
|
public ItemStack inputStack;
|
|
public ItemStack outputStack;
|
|
|
|
public LensConversionRecipe(ItemStack input, ItemStack output, int energyUse, LensConversion type){
|
|
this.inputStack = input;
|
|
this.outputStack = output;
|
|
this.energyUse = energyUse;
|
|
this.type = type;
|
|
}
|
|
|
|
public void transformHook(ItemStack stack, IBlockState state, BlockPos pos, IAtomicReconstructor tile) {}
|
|
}
|