mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
27 lines
826 B
Java
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);
|
|
}
|
|
}
|