Class Codecs
java.lang.Object
org.cyclops.integrateddynamics.core.helper.Codecs
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<IAspect> static final com.mojang.serialization.Codec
<net.minecraft.nbt.CompoundTag> static final com.mojang.serialization.Codec
<net.minecraft.world.entity.EntityType<? extends net.minecraft.world.entity.Entity>> static final com.mojang.serialization.Codec
<IOperator> static final com.mojang.serialization.Codec
<IPartType> static final com.mojang.serialization.Codec
<ValuePredicate> static final com.mojang.serialization.Codec
<IValueType> static final com.mojang.serialization.Codec
<VariablePredicate> static final com.mojang.serialization.Codec
<VariableFacadePredicate> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.core.HolderLookup.Provider
static com.mojang.serialization.Codec
<VariablePredicate> static <T> com.mojang.serialization.codecs.RecordCodecBuilder
<T, String> staticTypeField
(String value) static <X,
F extends X, S extends X>
com.mojang.serialization.Codec<X> xorCommon
(com.mojang.serialization.Codec<F> p_144640_, com.mojang.serialization.Codec<S> p_144641_) static <X> com.mojang.serialization.Codec
<X> xorCommonList
(List<com.mojang.serialization.Codec<? extends X>> codecs)
-
Field Details
-
COMPOUND_TAG
public static final com.mojang.serialization.Codec<net.minecraft.nbt.CompoundTag> COMPOUND_TAG -
PART_TYPE
-
ASPECT
-
OPERATOR
-
VALUE_TYPE
-
ENTITY_TYPE
public static final com.mojang.serialization.Codec<net.minecraft.world.entity.EntityType<? extends net.minecraft.world.entity.Entity>> ENTITY_TYPE -
VALUE
-
VARIABLE
-
VARIABLE_FACADE
-
-
Constructor Details
-
Codecs
public Codecs()
-
-
Method Details
-
getHolderLookupProviderDuringWorldLoadHack
public static net.minecraft.core.HolderLookup.Provider getHolderLookupProviderDuringWorldLoadHack() -
getVariableCodec
-
staticTypeField
-
xorCommonList
public static <X> com.mojang.serialization.Codec<X> xorCommonList(List<com.mojang.serialization.Codec<? extends X>> codecs) -
xorCommon
public static <X,F extends X, com.mojang.serialization.Codec<X> xorCommonS extends X> (com.mojang.serialization.Codec<F> p_144640_, com.mojang.serialization.Codec<S> p_144641_)
-