Interface DoughIngredient
- All Superinterfaces:
IAdvancedIngredient<DoughData>,ITypelessAdvancedIngredient<DoughData>,Predicate<DoughData>
- All Known Implementing Classes:
DoughTypeIngredient,PlayerMadeDoughIngredient,ThicknessDoughIngredient,ToppingDoughIngredient
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<IAdvancedIngredient<? super DoughData>> static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, IAdvancedIngredient<? super DoughData>> static final com.mojang.serialization.Codec<IAdvancedIngredient<DoughData>> static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, IAdvancedIngredient<DoughData>> static final com.mojang.serialization.Codec<IAdvancedIngredient<? super DoughData>> Useinstead. -
Method Summary
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.DataResult<IAdvancedIngredient<DoughData>> cast(IAdvancedIngredient<? super DoughData> ingredient) getType()default net.minecraft.network.chat.Componentdefault net.minecraft.network.chat.ComponenttranslateInverse(Object... translationArgs) default net.minecraft.network.chat.ComponenttranslateSimple(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
@Internal static final com.mojang.serialization.Codec<IAdvancedIngredient<? super DoughData>> TYPED_CODECUseinstead. -
CODEC
-
STRICT_CODEC
-
STREAM_CODEC
static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,IAdvancedIngredient<? super DoughData>> STREAM_CODEC -
STRICT_STREAM_CODEC
static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,IAdvancedIngredient<DoughData>> STRICT_STREAM_CODEC
-
-
Method Details
-
translate
-
translateSimple
-
translateInverse
-
getType
INamedAdvancedIngredientType<DoughData> getType()- Specified by:
getTypein interfaceIAdvancedIngredient<DoughData>
-
cast
static com.mojang.serialization.DataResult<IAdvancedIngredient<DoughData>> cast(IAdvancedIngredient<? super DoughData> ingredient)
-