public class ThermoPlantRecipeImpl extends ThermoPlantRecipe
| Modifier and Type | Class and Description |
|---|---|
static class |
ThermoPlantRecipeImpl.Serializer<T extends ThermoPlantRecipe> |
PneumaticCraftRecipe.DummyIInventory| Constructor and Description |
|---|
ThermoPlantRecipeImpl(net.minecraft.util.ResourceLocation id,
FluidIngredient inputFluid,
net.minecraft.item.crafting.Ingredient inputItem,
net.minecraftforge.fluids.FluidStack outputFluid,
net.minecraft.item.ItemStack outputItem,
TemperatureRange operatingTemperature,
float requiredPressure,
float recipeSpeed,
boolean exothermic) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGroup() |
FluidIngredient |
getInputFluid() |
net.minecraft.item.crafting.Ingredient |
getInputItem() |
TemperatureRange |
getOperatingTemperature()
Get the temperature range required for processing to occur.
|
net.minecraftforge.fluids.FluidStack |
getOutputFluid() |
net.minecraft.item.ItemStack |
getOutputItem() |
double |
getRecipeSpeed() |
float |
getRequiredPressure()
Get the minimum pressure required for processing to occur.
|
net.minecraft.item.crafting.IRecipeSerializer<?> |
getSerializer() |
net.minecraft.item.ItemStack |
getToastSymbol() |
net.minecraft.item.crafting.IRecipeType<?> |
getType() |
boolean |
isExothermic()
Check if this recipe is exothermic, i.e.
|
boolean |
matches(net.minecraftforge.fluids.FluidStack fluidStack,
net.minecraft.item.ItemStack itemStack)
Check if this recipe matches the given input fluid and item.
|
void |
write(net.minecraft.network.PacketBuffer buffer)
Writes this recipe to a PacketBuffer.
|
airUsed, heatUsedassemble, canCraftInDimensions, getId, getResultItem, isSpecial, matchespublic ThermoPlantRecipeImpl(net.minecraft.util.ResourceLocation id,
@Nonnull
FluidIngredient inputFluid,
@Nonnull
net.minecraft.item.crafting.Ingredient inputItem,
net.minecraftforge.fluids.FluidStack outputFluid,
net.minecraft.item.ItemStack outputItem,
TemperatureRange operatingTemperature,
float requiredPressure,
float recipeSpeed,
boolean exothermic)
public boolean matches(net.minecraftforge.fluids.FluidStack fluidStack,
@Nonnull
net.minecraft.item.ItemStack itemStack)
ThermoPlantRecipematches in class ThermoPlantRecipefluidStack - the input fluiditemStack - the input itempublic TemperatureRange getOperatingTemperature()
ThermoPlantRecipegetOperatingTemperature in class ThermoPlantRecipepublic float getRequiredPressure()
ThermoPlantRecipegetRequiredPressure in class ThermoPlantRecipepublic FluidIngredient getInputFluid()
getInputFluid in class ThermoPlantRecipe@Nonnull public net.minecraft.item.crafting.Ingredient getInputItem()
getInputItem in class ThermoPlantRecipepublic net.minecraftforge.fluids.FluidStack getOutputFluid()
getOutputFluid in class ThermoPlantRecipepublic net.minecraft.item.ItemStack getOutputItem()
getOutputItem in class ThermoPlantRecipepublic boolean isExothermic()
ThermoPlantRecipeisExothermic in class ThermoPlantRecipepublic double getRecipeSpeed()
getRecipeSpeed in class ThermoPlantRecipepublic void write(net.minecraft.network.PacketBuffer buffer)
PneumaticCraftRecipewrite in class PneumaticCraftRecipebuffer - The buffer to write to.public net.minecraft.item.crafting.IRecipeSerializer<?> getSerializer()
public net.minecraft.item.crafting.IRecipeType<?> getType()
public java.lang.String getGroup()
public net.minecraft.item.ItemStack getToastSymbol()