java.lang.Object
org.cyclops.integrateddynamics.core.helper.Codecs

public class Codecs extends Object
  • Field Details

    • COMPOUND_TAG

      public static final com.mojang.serialization.Codec<net.minecraft.nbt.CompoundTag> COMPOUND_TAG
    • PART_TYPE

      public static final com.mojang.serialization.Codec<IPartType> PART_TYPE
    • ASPECT

      public static final com.mojang.serialization.Codec<IAspect> ASPECT
    • OPERATOR

      public static final com.mojang.serialization.Codec<IOperator> OPERATOR
    • VALUE_TYPE

      public static final com.mojang.serialization.Codec<IValueType> 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

      public static final com.mojang.serialization.Codec<ValuePredicate> VALUE
    • VARIABLE

      public static final com.mojang.serialization.Codec<VariablePredicate> VARIABLE
    • VARIABLE_FACADE

      public static final com.mojang.serialization.Codec<VariableFacadePredicate> VARIABLE_FACADE
  • Constructor Details

    • Codecs

      public Codecs()
  • Method Details

    • getHolderLookupProviderDuringWorldLoadHack

      public static net.minecraft.core.HolderLookup.Provider getHolderLookupProviderDuringWorldLoadHack()
    • getVariableCodec

      public static com.mojang.serialization.Codec<VariablePredicate> getVariableCodec()
    • staticTypeField

      public static <T> com.mojang.serialization.codecs.RecordCodecBuilder<T,String> staticTypeField(String value)
    • 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, S extends X> com.mojang.serialization.Codec<X> xorCommon(com.mojang.serialization.Codec<F> p_144640_, com.mojang.serialization.Codec<S> p_144641_)