Class PassIngredientModifier
java.lang.Object
com.petrolpark.core.recipe.ingredient.modifier.PassIngredientModifier
- All Implemented Interfaces:
IIngredientModifier<Object>,ITypelessIngredientModifier<Object>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<PassIngredientModifier> static final PassIngredientModifierstatic final net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf, PassIngredientModifier> static final IIngredientModifierType<Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToCounterDescription(List<net.minecraft.network.chat.Component> description) voidaddToDescription(List<net.minecraft.network.chat.Component> description) IIngredientModifierType<? super Object> getType()voidmodifyCounterExamples(List<? extends Object> counterExampleStacks) voidmodifyExamples(List<? extends Object> exampleStacks) boolean
-
Field Details
-
INSTANCE
-
CODEC
-
STREAM_CODEC
public static final net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf,PassIngredientModifier> STREAM_CODEC -
TYPE
-
-
Constructor Details
-
PassIngredientModifier
public PassIngredientModifier()
-
-
Method Details
-
test
- Specified by:
testin interfaceITypelessIngredientModifier<Object>
-
modifyExamples
- Specified by:
modifyExamplesin interfaceITypelessIngredientModifier<Object>
-
modifyCounterExamples
- Specified by:
modifyCounterExamplesin interfaceITypelessIngredientModifier<Object>
-
addToDescription
- Specified by:
addToDescriptionin interfaceITypelessIngredientModifier<Object>
-
addToCounterDescription
- Specified by:
addToCounterDescriptionin interfaceITypelessIngredientModifier<Object>
-
getType
- Specified by:
getTypein interfaceIIngredientModifier<Object>
-