public abstract class HeatPropertiesRecipe extends PneumaticCraftRecipe
PneumaticCraftRecipe.DummyIInventory| Modifier | Constructor and Description |
|---|---|
protected |
HeatPropertiesRecipe(net.minecraft.util.ResourceLocation id) |
| Modifier and Type | Method and Description |
|---|---|
abstract net.minecraft.block.Block |
getBlock()
Get the block, which is effectively the input for this recipe
|
abstract net.minecraft.block.BlockState |
getBlockState()
Get the blockstate for this entry.
|
abstract java.util.Map<java.lang.String,java.lang.String> |
getBlockStatePredicates()
Get the blockstate predicates for this recipe.
|
abstract java.lang.String |
getDescriptionKey()
Get a translation key for a player-friendly description of this recipe.
|
abstract int |
getHeatCapacity()
Get the heat capacity for this block.
|
net.minecraft.util.text.ITextComponent |
getInputDisplayName()
Get a player-friendly display name for the input block, for use in recipe display systems like JEI.
|
abstract IHeatExchangerLogic |
getLogic()
Get a heat exchanger logic object for this recipe.
|
abstract int |
getTemperature()
The block's temperature.
|
abstract double |
getThermalResistance()
The block's thermal resistance, which defines how quickly heat is added or lost.
|
abstract net.minecraft.block.BlockState |
getTransformCold()
Get the blockstate which the input will transform to if too much heat is removed from it.
|
abstract net.minecraft.block.BlockState |
getTransformColdFlowing()
Same as
getTransformCold() but for flowing variants of the input block, when it is a fluid. |
abstract net.minecraft.block.BlockState |
getTransformHot()
Get the blockstate which the input will transform to if too much heat is added to it.
|
abstract net.minecraft.block.BlockState |
getTransformHotFlowing()
Same as
getTransformHot() but for flowing variants of the input block, when it is a fluid. |
abstract boolean |
matchState(net.minecraft.block.BlockState state)
Check if this recipe's input matches the supplied blockstate.
|
assemble, canCraftInDimensions, getId, getResultItem, isSpecial, matches, writeprotected HeatPropertiesRecipe(net.minecraft.util.ResourceLocation id)
public abstract net.minecraft.block.Block getBlock()
public abstract net.minecraft.block.BlockState getBlockState()
public abstract int getHeatCapacity()
public abstract int getTemperature()
public abstract double getThermalResistance()
public abstract net.minecraft.block.BlockState getTransformHot()
public abstract net.minecraft.block.BlockState getTransformCold()
public abstract net.minecraft.block.BlockState getTransformHotFlowing()
getTransformHot() but for flowing variants of the input block, when it is a fluid.public abstract net.minecraft.block.BlockState getTransformColdFlowing()
getTransformCold() but for flowing variants of the input block, when it is a fluid.public abstract IHeatExchangerLogic getLogic()
public abstract boolean matchState(net.minecraft.block.BlockState state)
getBlockStatePredicates().state - the blockstate to test againstpublic abstract java.util.Map<java.lang.String,java.lang.String> getBlockStatePredicates()
matchState(BlockState)
to succeed.
E.g. for a lit campfire, this map would be { "lit" = "true" }public abstract java.lang.String getDescriptionKey()
getInputDisplayName().public net.minecraft.util.text.ITextComponent getInputDisplayName()