public static class FluidIngredient.FluidStackIngredient extends FluidIngredient
FluidIngredient.FluidStackIngredient, FluidIngredient.FluidTagIngredient| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.fluid.Fluid |
fluid |
protected net.minecraft.nbt.CompoundNBT |
tagToMatch |
amountRequired, EMPTY, matchingFluidStacks| Constructor and Description |
|---|
FluidStackIngredient() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<net.minecraftforge.fluids.FluidStack> |
determineMatchingFluidStacks() |
protected void |
readInternal(com.google.gson.JsonObject json) |
protected void |
readInternal(net.minecraft.network.PacketBuffer buffer) |
protected boolean |
testInternal(net.minecraftforge.fluids.FluidStack t) |
protected void |
writeInternal(com.google.gson.JsonObject json) |
protected void |
writeInternal(net.minecraft.network.PacketBuffer buffer) |
deserialize, fromFluid, fromFluidStack, fromTag, getMatchingFluidStacks, getRequiredAmount, isFluidIngredient, read, serialize, test, writeprotected net.minecraft.fluid.Fluid fluid
protected net.minecraft.nbt.CompoundNBT tagToMatch
protected boolean testInternal(net.minecraftforge.fluids.FluidStack t)
testInternal in class FluidIngredientprotected void readInternal(net.minecraft.network.PacketBuffer buffer)
readInternal in class FluidIngredientprotected void writeInternal(net.minecraft.network.PacketBuffer buffer)
writeInternal in class FluidIngredientprotected void readInternal(com.google.gson.JsonObject json)
readInternal in class FluidIngredientprotected void writeInternal(com.google.gson.JsonObject json)
writeInternal in class FluidIngredientprotected java.util.List<net.minecraftforge.fluids.FluidStack> determineMatchingFluidStacks()
determineMatchingFluidStacks in class FluidIngredient