Class ConditionCodec
java.lang.Object
net.minecraftforge.common.crafting.conditions.ConditionCodec
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final record
private static final record
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec
<T> checkingDecode
(com.mojang.serialization.Codec<T> normal, Supplier<T> _default) static <T> com.mojang.serialization.Codec
<T> checkingDecode
(com.mojang.serialization.Codec<T> normal, Supplier<T> _default, String key) static <T> ICondition.IContext
getContext
(com.mojang.serialization.DynamicOps<T> ops) static <T> com.mojang.serialization.Decoder
<Optional<T>> wrap
(com.mojang.serialization.Decoder<T> normal) static <T> com.mojang.serialization.Decoder
<Optional<T>>
-
Constructor Details
-
ConditionCodec
public ConditionCodec()
-
-
Method Details