public class FuelQualityRecipeImpl extends FuelQualityRecipe
| Modifier and Type | Class and Description |
|---|---|
static class |
FuelQualityRecipeImpl.Serializer<T extends FuelQualityRecipe> |
PneumaticCraftRecipe.DummyIInventory| Constructor and Description |
|---|
FuelQualityRecipeImpl(net.minecraft.util.ResourceLocation id,
FluidIngredient fuel,
int airPerBucket,
float burnRate) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAirPerBucket()
Get the amount of compressed air (in mL) produced by burning 1000mB of this fuel in a liquid compressor,
with no speed upgrades.
|
float |
getBurnRate()
Get the burn rate for this fuel.
|
FluidIngredient |
getFuel()
Get the fuel for this recipe
|
net.minecraft.item.crafting.IRecipeSerializer<?> |
getSerializer() |
net.minecraft.item.crafting.IRecipeType<?> |
getType() |
boolean |
matchesFluid(net.minecraft.fluid.Fluid inputFluid)
Does the given fluid match this recipe?
|
void |
write(net.minecraft.network.PacketBuffer buffer)
Writes this recipe to a PacketBuffer.
|
assemble, canCraftInDimensions, getId, getResultItem, isSpecial, matchespublic FuelQualityRecipeImpl(net.minecraft.util.ResourceLocation id,
FluidIngredient fuel,
int airPerBucket,
float burnRate)
public boolean matchesFluid(net.minecraft.fluid.Fluid inputFluid)
FuelQualityRecipematchesFluid in class FuelQualityRecipeinputFluid - the fluid to testpublic FluidIngredient getFuel()
FuelQualityRecipegetFuel in class FuelQualityRecipepublic int getAirPerBucket()
FuelQualityRecipegetAirPerBucket in class FuelQualityRecipepublic float getBurnRate()
FuelQualityRecipegetBurnRate in class FuelQualityRecipepublic 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()