Interface FluidAdvancedIngredient
- All Superinterfaces:
IAdvancedIngredient<net.neoforged.neoforge.fluids.FluidStack>,ITypelessAdvancedIngredient<net.neoforged.neoforge.fluids.FluidStack>,Predicate<net.neoforged.neoforge.fluids.FluidStack>
- All Known Implementing Classes:
HolderSetFluidAdvancedIngredient
public interface FluidAdvancedIngredient
extends IAdvancedIngredient<net.neoforged.neoforge.fluids.FluidStack>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<IAdvancedIngredient<? super net.neoforged.neoforge.fluids.FluidStack>> static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, IAdvancedIngredient<? super net.neoforged.neoforge.fluids.FluidStack>> static final com.mojang.serialization.Codec<IAdvancedIngredient<? super net.neoforged.neoforge.fluids.FluidStack>> Useinstead. -
Method Summary
Modifier and TypeMethodDescriptionINamedAdvancedIngredientType<net.neoforged.neoforge.fluids.FluidStack> getType()default net.minecraft.network.chat.Componentdefault net.minecraft.network.chat.ComponenttranslateInverse(Object... translationArgs) Methods inherited from interface com.petrolpark.core.recipe.ingredient.advanced.IAdvancedIngredient
simplifyMethods inherited from interface com.petrolpark.core.recipe.ingredient.advanced.ITypelessAdvancedIngredient
addToCounterDescription, addToDescription, checkedCast, modifyCounterExamples, modifyExamples, streamCounterExamples, streamExamples
-
Field Details
-
TYPED_CODEC
static final com.mojang.serialization.Codec<IAdvancedIngredient<? super net.neoforged.neoforge.fluids.FluidStack>> TYPED_CODECUseinstead. -
CODEC
static final com.mojang.serialization.Codec<IAdvancedIngredient<? super net.neoforged.neoforge.fluids.FluidStack>> CODEC -
STREAM_CODEC
static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,IAdvancedIngredient<? super net.neoforged.neoforge.fluids.FluidStack>> STREAM_CODEC
-
-
Method Details
-
translate
-
translateInverse
-
getType
INamedAdvancedIngredientType<net.neoforged.neoforge.fluids.FluidStack> getType()- Specified by:
getTypein interfaceIAdvancedIngredient<net.neoforged.neoforge.fluids.FluidStack>
-