Files
TinkersConstruct/src/main/java/tconstruct/smeltery/logic/CastingBasinLogic.java
T
2023-09-24 22:57:55 +02:00

27 lines
826 B
Java

package tconstruct.smeltery.logic;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fluids.FluidStack;
import tconstruct.library.TConstructRegistry;
import tconstruct.library.crafting.CastingRecipe;
import tconstruct.library.event.SmelteryCastEvent;
import tconstruct.library.event.SmelteryCastedEvent;
public class CastingBasinLogic extends CastingBlockLogic {
public CastingBasinLogic() {
super(TConstructRegistry.getBasinCasting());
}
@Override
public SmelteryCastEvent getCastingEvent(CastingRecipe recipe, FluidStack metal) {
return new SmelteryCastEvent.CastingBasin(recipe, metal);
}
@Override
public SmelteryCastedEvent getCastedEvent(CastingRecipe recipe, ItemStack result) {
return new SmelteryCastedEvent.CastingBasin(recipe, result);
}
}