Uses of Interface
com.mojang.serialization.Codec
Packages that use Codec
Package
Description
-
Uses of Codec in com.mojang.datafixers.types
Fields in com.mojang.datafixers.types declared as CodecMethods in com.mojang.datafixers.types that return Codec -
Uses of Codec in com.mojang.datafixers.types.constant
Methods in com.mojang.datafixers.types.constant that return Codec -
Uses of Codec in com.mojang.datafixers.types.templates
Fields in com.mojang.datafixers.types.templates declared as CodecMethods in com.mojang.datafixers.types.templates that return CodecModifier and TypeMethodDescriptionCheck.CheckType.buildCodec()CompoundList.CompoundListType.buildCodec()Const.PrimitiveType.buildCodec()Hook.HookType.buildCodec()List.ListType.buildCodec()Named.NamedType.buildCodec()Product.ProductType.buildCodec()RecursivePoint.RecursivePointType.buildCodec()needs to be lazySum.SumType.buildCodec()Tag.TagType.buildCodec()TaggedChoice.TaggedChoiceType.buildCodec()Constructors in com.mojang.datafixers.types.templates with parameters of type Codec -
Uses of Codec in com.mojang.math
Fields in com.mojang.math declared as CodecModifier and TypeFieldDescriptionQuadrant.CODECstatic final Codec<Transformation> Transformation.CODECstatic final Codec<Transformation> Transformation.EXTENDED_CODEC -
Uses of Codec in com.mojang.serialization
Classes in com.mojang.serialization that implement CodecModifier and TypeClassDescriptionstatic classstatic final recordFields in com.mojang.serialization declared as CodecFields in com.mojang.serialization with type parameters of type CodecMethods in com.mojang.serialization that return CodecModifier and TypeMethodDescriptionMapCodec.codec()default <S> Codec<S> Codec.comapFlatMap(Function<? super A, ? extends DataResult<? extends S>> to, Function<? super S, ? extends A> from) Codec.compoundList(Codec<K> keyCodec, Codec<V> elementCodec) Codec.deprecated(int since) default <E> Codec<E> Codec.dispatch(String typeKey, Function<? super E, ? extends A> type, Function<? super A, ? extends MapCodec<? extends E>> codec) default <E> Codec<E> Codec.dispatch(Function<? super E, ? extends A> type, Function<? super A, ? extends MapCodec<? extends E>> codec) <E> Codec<E> MapCodec.dispatch(Function<? super E, ? extends A> type, Function<? super A, ? extends MapCodec<? extends E>> codec) Codec.dispatchedMap(Codec<K> keyCodec, Function<K, Codec<? extends V>> valueCodecFunction) default <E> Codec<E> Codec.dispatchStable(Function<? super E, ? extends A> type, Function<? super A, ? extends MapCodec<? extends E>> codec) <E> Codec<E> MapCodec.dispatchStable(Function<? super E, ? extends A> type, Function<? super A, ? extends MapCodec<? extends E>> codec) Codec.doubleRange(double minInclusive, double maxInclusive) default <S> Codec<S> Codec.flatComapMap(Function<? super A, ? extends S> to, Function<? super S, ? extends DataResult<? extends A>> from) default <S> Codec<S> Codec.flatXmap(Function<? super A, ? extends DataResult<? extends S>> to, Function<? super S, ? extends DataResult<? extends A>> from) Codec.floatRange(float minInclusive, float maxInclusive) Codec.intRange(int minInclusive, int maxInclusive) static <A> Codec<A> Codec.lazyInitialized(Supplier<Codec<A>> delegate) Codec.listOf()Codec.listOf(int minSize, int maxSize) Codec.mapResult(Codec.ResultFunction<A> function) static <A> Codec<A> static <A> Codec<A> Codec.orElse(UnaryOperator<String> onError, A value) Codec.orElseGet(UnaryOperator<String> onError, Supplier<? extends A> value) default <E> Codec<E> Codec.partialDispatch(String typeKey, Function<? super E, ? extends DataResult<? extends A>> type, Function<? super A, ? extends DataResult<? extends MapCodec<? extends E>>> codec) <E> Codec<E> MapCodec.partialDispatch(Function<? super E, ? extends DataResult<? extends A>> type, Function<? super A, ? extends DataResult<? extends MapCodec<? extends E>>> codec) Codec.promotePartial(Consumer<String> onError) static <A> Codec<A> Codec.sizeLimitedListOf(int maxSize) Codec.sizeLimitedString(int maxSize) Codec.stable()Codec.string(int minSize, int maxSize) static <E> Codec<E> Codec.stringResolver(Function<E, String> toString, Function<String, E> fromString) static <A> Codec<A> MapCodec.unitCodec(A value) static <A> Codec<A> Replacement forMapCodec.MapCodecCodecthat does not allocate new builder, but otherwise has same effect of containing structure.Codec.validate(Function<A, DataResult<A>> checker) Codec.withAlternative(Codec<? extends A> alternative) static <T> Codec<T> Codec.withAlternative(Codec<T> primary, Codec<? extends T> alternative) static <T,U> Codec <T> Codec.withAlternative(Codec<T> primary, Codec<U> alternative, Function<U, T> converter) Codec.withAlternative(Codec<U> alternative, Function<U, A> converter) Codec.withLifecycle(Lifecycle lifecycle) default <S> Codec<S> Methods in com.mojang.serialization with parameters of type CodecModifier and TypeMethodDescriptionstatic <A> MapCodec<A> MapCodec.assumeMapUnsafe(Codec<A> codec) Codec.compoundList(Codec<K> keyCodec, Codec<V> elementCodec) Codec.dispatchedMap(Codec<K> keyCodec, Function<K, Codec<? extends V>> valueCodecFunction) Codec.optionalField(String name, Codec<F> elementCodec, boolean lenient) static <K,V> SimpleMapCodec <K, V> static <K,V> UnboundedMapCodec <K, V> Codec.unboundedMap(Codec<K> keyCodec, Codec<V> elementCodec) Codec.withAlternative(Codec<? extends A> alternative) static <T> Codec<T> Codec.withAlternative(Codec<T> primary, Codec<? extends T> alternative) static <T,U> Codec <T> Codec.withAlternative(Codec<T> primary, Codec<U> alternative, Function<U, T> converter) Codec.withAlternative(Codec<U> alternative, Function<U, A> converter) Method parameters in com.mojang.serialization with type arguments of type CodecModifier and TypeMethodDescriptionCodec.dispatchedMap(Codec<K> keyCodec, Function<K, Codec<? extends V>> valueCodecFunction) static <A> Codec<A> Codec.lazyInitialized(Supplier<Codec<A>> delegate) static <A> Codec<A> static <A> Codec<A> static <A> MapCodec<A> Constructor parameters in com.mojang.serialization with type arguments of type Codec -
Uses of Codec in com.mojang.serialization.codecs
Subinterfaces of Codec in com.mojang.serialization.codecsClasses in com.mojang.serialization.codecs that implement CodecModifier and TypeClassDescriptionfinal classCompoundListCodec<K,V> final recordDispatchedMapCodec<K,V> final recordEitherCodec<F,S> final recordListCodec<E>final classPairCodec<F,S> final recordUnboundedMapCodec<K,V> Key and value decoded independently, unknown set of keysfinal recordXorCodec<F,S> Fields in com.mojang.serialization.codecs declared as CodecModifier and TypeFieldDescriptionCompoundListCodec.elementCodecListCodec.elementCodecThe field for theelementCodecrecord component.OptionalFieldCodec.elementCodecSimpleMapCodec.elementCodecUnboundedMapCodec.elementCodecThe field for theelementCodecrecord component.EitherCodec.firstThe field for thefirstrecord component.PairCodec.firstXorCodec.firstThe field for thefirstrecord component.CompoundListCodec.keyCodecDispatchedMapCodec.keyCodecThe field for thekeyCodecrecord component.SimpleMapCodec.keyCodecUnboundedMapCodec.keyCodecThe field for thekeyCodecrecord component.EitherCodec.secondThe field for thesecondrecord component.PairCodec.secondXorCodec.secondThe field for thesecondrecord component.Fields in com.mojang.serialization.codecs with type parameters of type CodecModifier and TypeFieldDescriptionDispatchedMapCodec.valueCodecFunctionThe field for thevalueCodecFunctionrecord component.Methods in com.mojang.serialization.codecs that return CodecModifier and TypeMethodDescriptionstatic <O> Codec<O> RecordCodecBuilder.create(Function<RecordCodecBuilder.Instance<O>, ? extends App<RecordCodecBuilder.Mu<O>, O>> builder) BaseMapCodec.elementCodec()ListCodec.elementCodec()Returns the value of theelementCodecrecord component.SimpleMapCodec.elementCodec()UnboundedMapCodec.elementCodec()Returns the value of theelementCodecrecord component.EitherCodec.first()Returns the value of thefirstrecord component.XorCodec.first()Returns the value of thefirstrecord component.BaseMapCodec.keyCodec()DispatchedMapCodec.keyCodec()Returns the value of thekeyCodecrecord component.SimpleMapCodec.keyCodec()UnboundedMapCodec.keyCodec()Returns the value of thekeyCodecrecord component.EitherCodec.second()Returns the value of thesecondrecord component.XorCodec.second()Returns the value of thesecondrecord component.Methods in com.mojang.serialization.codecs that return types with arguments of type CodecModifier and TypeMethodDescriptionDispatchedMapCodec.valueCodecFunction()Returns the value of thevalueCodecFunctionrecord component.Methods in com.mojang.serialization.codecs with parameters of type CodecModifier and TypeMethodDescriptionprivate <T, V2 extends V>
DataResult<T> DispatchedMapCodec.encodeValue(Codec<V2> codec, V input, DynamicOps<T> ops) static <O,F> RecordCodecBuilder <O, F> Constructors in com.mojang.serialization.codecs with parameters of type CodecModifierConstructorDescriptionCompoundListCodec(Codec<K> keyCodec, Codec<V> elementCodec) Creates an instance of aDispatchedMapCodecrecord class.EitherCodec(Codec<F> first, Codec<S> second) Creates an instance of aEitherCodecrecord class.Creates an instance of aListCodecrecord class.OptionalFieldCodec(String name, Codec<A> elementCodec, boolean lenient) UnboundedMapCodec(Codec<K> keyCodec, Codec<V> elementCodec) Creates an instance of aUnboundedMapCodecrecord class.Creates an instance of aXorCodecrecord class.Constructor parameters in com.mojang.serialization.codecs with type arguments of type Codec -
Uses of Codec in net.minecraft
Fields in net.minecraft declared as CodecModifier and TypeFieldDescriptionstatic final Codec<ChatFormatting> ChatFormatting.CODECstatic final Codec<ChatFormatting> ChatFormatting.COLOR_CODEC -
Uses of Codec in net.minecraft.advancements
Fields in net.minecraft.advancements declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Advancement> Advancement.CODECstatic final Codec<AdvancementProgress> AdvancementProgress.CODECstatic final Codec<AdvancementRequirements> AdvancementRequirements.CODECstatic final Codec<AdvancementRewards> AdvancementRewards.CODECstatic final Codec<AdvancementType> AdvancementType.CODECstatic final Codec<CriterionTrigger<?>> CriteriaTriggers.CODECCriterion.CODECstatic final Codec<DisplayInfo> DisplayInfo.CODECstatic final Codec<Optional<WithConditions<Advancement>>> Advancement.CONDITIONAL_CODECAdvancement.CRITERIA_CODECprivate static final Codec<Map<String, CriterionProgress>> AdvancementProgress.CRITERIA_CODECAdvancementProgress.OBTAINED_TIME_CODECMethods in net.minecraft.advancements that return CodecModifier and TypeMethodDescriptionCriterionTrigger.codec()private static <T extends CriterionTriggerInstance>
Codec<Criterion<T>> Criterion.criterionCodec(CriterionTrigger<T> trigger) -
Uses of Codec in net.minecraft.advancements.criterion
Fields in net.minecraft.advancements.criterion declared as CodecModifier and TypeFieldDescriptionstatic final Codec<ContextAwarePredicate> EntityPredicate.ADVANCEMENT_CODECstatic final Codec<AnyBlockInteractionTrigger.TriggerInstance> AnyBlockInteractionTrigger.TriggerInstance.CODECstatic final Codec<BeeNestDestroyedTrigger.TriggerInstance> BeeNestDestroyedTrigger.TriggerInstance.CODECstatic final Codec<BlockPredicate> BlockPredicate.CODECstatic final Codec<BredAnimalsTrigger.TriggerInstance> BredAnimalsTrigger.TriggerInstance.CODECstatic final Codec<BrewedPotionTrigger.TriggerInstance> BrewedPotionTrigger.TriggerInstance.CODECstatic final Codec<ChangeDimensionTrigger.TriggerInstance> ChangeDimensionTrigger.TriggerInstance.CODECstatic final Codec<ChanneledLightningTrigger.TriggerInstance> ChanneledLightningTrigger.TriggerInstance.CODECstatic final Codec<ConstructBeaconTrigger.TriggerInstance> ConstructBeaconTrigger.TriggerInstance.CODECstatic final Codec<ConsumeItemTrigger.TriggerInstance> ConsumeItemTrigger.TriggerInstance.CODECstatic final Codec<ContextAwarePredicate> ContextAwarePredicate.CODECstatic final Codec<CuredZombieVillagerTrigger.TriggerInstance> CuredZombieVillagerTrigger.TriggerInstance.CODECstatic final Codec<DamagePredicate> DamagePredicate.CODECstatic final Codec<DamageSourcePredicate> DamageSourcePredicate.CODECstatic final Codec<DefaultBlockInteractionTrigger.TriggerInstance> DefaultBlockInteractionTrigger.TriggerInstance.CODECstatic final Codec<DistancePredicate> DistancePredicate.CODECstatic final Codec<DistanceTrigger.TriggerInstance> DistanceTrigger.TriggerInstance.CODECstatic final Codec<EffectsChangedTrigger.TriggerInstance> EffectsChangedTrigger.TriggerInstance.CODECstatic final Codec<EnchantedItemTrigger.TriggerInstance> EnchantedItemTrigger.TriggerInstance.CODECstatic final Codec<EnchantmentPredicate> EnchantmentPredicate.CODECstatic final Codec<EnterBlockTrigger.TriggerInstance> EnterBlockTrigger.TriggerInstance.CODECstatic final Codec<EntityEquipmentPredicate> EntityEquipmentPredicate.CODECstatic final Codec<EntityFlagsPredicate> EntityFlagsPredicate.CODECstatic final Codec<EntityHurtPlayerTrigger.TriggerInstance> EntityHurtPlayerTrigger.TriggerInstance.CODECstatic final Codec<EntityPredicate> EntityPredicate.CODECstatic final Codec<EntitySubPredicate> EntitySubPredicate.CODECstatic final Codec<EntityTypePredicate> EntityTypePredicate.CODECstatic final Codec<FallAfterExplosionTrigger.TriggerInstance> FallAfterExplosionTrigger.TriggerInstance.CODECstatic final Codec<FilledBucketTrigger.TriggerInstance> FilledBucketTrigger.TriggerInstance.CODECstatic final Codec<FishingRodHookedTrigger.TriggerInstance> FishingRodHookedTrigger.TriggerInstance.CODECstatic final Codec<FluidPredicate> FluidPredicate.CODECstatic final Codec<FoodPredicate> FoodPredicate.CODECstatic final Codec<GameTypePredicate> GameTypePredicate.CODECstatic final Codec<ImpossibleTrigger.TriggerInstance> ImpossibleTrigger.TriggerInstance.CODECstatic final Codec<InputPredicate> InputPredicate.CODECstatic final Codec<InventoryChangeTrigger.TriggerInstance> InventoryChangeTrigger.TriggerInstance.CODECstatic final Codec<InventoryChangeTrigger.TriggerInstance.Slots> InventoryChangeTrigger.TriggerInstance.Slots.CODECstatic final Codec<ItemDurabilityTrigger.TriggerInstance> ItemDurabilityTrigger.TriggerInstance.CODECstatic final Codec<ItemPredicate> ItemPredicate.CODECstatic final Codec<ItemUsedOnLocationTrigger.TriggerInstance> ItemUsedOnLocationTrigger.TriggerInstance.CODECstatic final Codec<KilledByArrowTrigger.TriggerInstance> KilledByArrowTrigger.TriggerInstance.CODECstatic final Codec<KilledTrigger.TriggerInstance> KilledTrigger.TriggerInstance.CODECstatic final Codec<LevitationTrigger.TriggerInstance> LevitationTrigger.TriggerInstance.CODECstatic final Codec<LightningStrikeTrigger.TriggerInstance> LightningStrikeTrigger.TriggerInstance.CODECstatic final Codec<LightPredicate> LightPredicate.CODECstatic final Codec<LocationPredicate> LocationPredicate.CODECstatic final Codec<LocationPredicate.PositionPredicate> LocationPredicate.PositionPredicate.CODECstatic final Codec<LootTableTrigger.TriggerInstance> LootTableTrigger.TriggerInstance.CODECstatic final Codec<MinMaxBounds.Doubles> MinMaxBounds.Doubles.CODECstatic final Codec<MinMaxBounds.FloatDegrees> MinMaxBounds.FloatDegrees.CODECstatic final Codec<MinMaxBounds.Ints> MinMaxBounds.Ints.CODECstatic final Codec<MobEffectsPredicate> MobEffectsPredicate.CODECstatic final Codec<MobEffectsPredicate.MobEffectInstancePredicate> MobEffectsPredicate.MobEffectInstancePredicate.CODECstatic final Codec<MovementPredicate> MovementPredicate.CODECstatic final Codec<NbtPredicate> NbtPredicate.CODECstatic final Codec<PickedUpItemTrigger.TriggerInstance> PickedUpItemTrigger.TriggerInstance.CODECstatic final Codec<PlayerHurtEntityTrigger.TriggerInstance> PlayerHurtEntityTrigger.TriggerInstance.CODECstatic final Codec<PlayerInteractTrigger.TriggerInstance> PlayerInteractTrigger.TriggerInstance.CODECstatic final Codec<PlayerPredicate.AdvancementCriterionsPredicate> PlayerPredicate.AdvancementCriterionsPredicate.CODECstatic final Codec<PlayerPredicate.AdvancementDonePredicate> PlayerPredicate.AdvancementDonePredicate.CODECstatic final Codec<PlayerPredicate.AdvancementPredicate> PlayerPredicate.AdvancementPredicate.CODECstatic final Codec<PlayerPredicate.StatMatcher<?>> PlayerPredicate.StatMatcher.CODECstatic final Codec<PlayerTrigger.TriggerInstance> PlayerTrigger.TriggerInstance.CODECstatic final Codec<RecipeCraftedTrigger.TriggerInstance> RecipeCraftedTrigger.TriggerInstance.CODECstatic final Codec<RecipeUnlockedTrigger.TriggerInstance> RecipeUnlockedTrigger.TriggerInstance.CODECstatic final Codec<ShotCrossbowTrigger.TriggerInstance> ShotCrossbowTrigger.TriggerInstance.CODECstatic final Codec<SlideDownBlockTrigger.TriggerInstance> SlideDownBlockTrigger.TriggerInstance.CODECstatic final Codec<SlotsPredicate> SlotsPredicate.CODECstatic final Codec<SpearMobsTrigger.TriggerInstance> SpearMobsTrigger.TriggerInstance.CODECstatic final Codec<StartRidingTrigger.TriggerInstance> StartRidingTrigger.TriggerInstance.CODECstatic final Codec<StatePropertiesPredicate> StatePropertiesPredicate.CODECstatic final Codec<StatePropertiesPredicate.ExactMatcher> StatePropertiesPredicate.ExactMatcher.CODECstatic final Codec<StatePropertiesPredicate.RangedMatcher> StatePropertiesPredicate.RangedMatcher.CODECstatic final Codec<StatePropertiesPredicate.ValueMatcher> StatePropertiesPredicate.ValueMatcher.CODECstatic final Codec<SummonedEntityTrigger.TriggerInstance> SummonedEntityTrigger.TriggerInstance.CODECstatic final Codec<TameAnimalTrigger.TriggerInstance> TameAnimalTrigger.TriggerInstance.CODECstatic final Codec<TargetBlockTrigger.TriggerInstance> TargetBlockTrigger.TriggerInstance.CODECstatic final Codec<TradeTrigger.TriggerInstance> TradeTrigger.TriggerInstance.CODECstatic final Codec<UsedEnderEyeTrigger.TriggerInstance> UsedEnderEyeTrigger.TriggerInstance.CODECstatic final Codec<UsedTotemTrigger.TriggerInstance> UsedTotemTrigger.TriggerInstance.CODECstatic final Codec<UsingItemTrigger.TriggerInstance> UsingItemTrigger.TriggerInstance.CODECprivate static final Codec<List<StatePropertiesPredicate.PropertyMatcher>> StatePropertiesPredicate.PROPERTIES_CODECMethods in net.minecraft.advancements.criterion that return CodecModifier and TypeMethodDescriptionAnyBlockInteractionTrigger.codec()BeeNestDestroyedTrigger.codec()BredAnimalsTrigger.codec()BrewedPotionTrigger.codec()ChangeDimensionTrigger.codec()ChanneledLightningTrigger.codec()static <T, P extends Predicate<T>>
Codec<CollectionContentsPredicate<T, P>> static <T, P extends Predicate<T>>
Codec<CollectionCountsPredicate<T, P>> static <T, P extends Predicate<T>>
Codec<CollectionCountsPredicate.Entry<T, P>> static <T, P extends Predicate<T>>
Codec<CollectionPredicate<T, P>> ConstructBeaconTrigger.codec()ConsumeItemTrigger.codec()CuredZombieVillagerTrigger.codec()DefaultBlockInteractionTrigger.codec()DistanceTrigger.codec()EffectsChangedTrigger.codec()EnchantedItemTrigger.codec()EnterBlockTrigger.codec()EntityHurtPlayerTrigger.codec()FallAfterExplosionTrigger.codec()FilledBucketTrigger.codec()FishingRodHookedTrigger.codec()ImpossibleTrigger.codec()InventoryChangeTrigger.codec()ItemDurabilityTrigger.codec()ItemUsedOnLocationTrigger.codec()KilledByArrowTrigger.codec()KilledTrigger.codec()LevitationTrigger.codec()LightningStrikeTrigger.codec()LootTableTrigger.codec()PickedUpItemTrigger.codec()PlayerHurtEntityTrigger.codec()PlayerInteractTrigger.codec()PlayerTrigger.codec()RecipeCraftedTrigger.codec()RecipeUnlockedTrigger.codec()ShotCrossbowTrigger.codec()SlideDownBlockTrigger.codec()SpearMobsTrigger.codec()StartRidingTrigger.codec()SummonedEntityTrigger.codec()static <T> Codec<TagPredicate<T>> TagPredicate.codec(ResourceKey<? extends Registry<T>> registryKey) TameAnimalTrigger.codec()TargetBlockTrigger.codec()TradeTrigger.codec()UsedEnderEyeTrigger.codec()UsedTotemTrigger.codec()UsingItemTrigger.codec()(package private) static <T extends Number & Comparable<T>>
Codec<MinMaxBounds.Bounds<T>> MinMaxBounds.Bounds.createCodec(Codec<T> numberCodec) Methods in net.minecraft.advancements.criterion with parameters of type CodecModifier and TypeMethodDescriptionstatic <T, P extends Predicate<T>>
Codec<CollectionContentsPredicate<T, P>> static <T, P extends Predicate<T>>
Codec<CollectionCountsPredicate<T, P>> static <T, P extends Predicate<T>>
Codec<CollectionCountsPredicate.Entry<T, P>> static <T, P extends Predicate<T>>
Codec<CollectionPredicate<T, P>> (package private) static <T extends Number & Comparable<T>>
Codec<MinMaxBounds.Bounds<T>> MinMaxBounds.Bounds.createCodec(Codec<T> numberCodec) -
Uses of Codec in net.minecraft.client
Fields in net.minecraft.client declared as CodecModifier and TypeFieldDescriptionOptionInstance.AltEnum.codecThe field for thecodecrecord component.OptionInstance.codecOptionInstance.Enum.codecThe field for thecodecrecord component.OptionInstance.LazyEnum.codecThe field for thecodecrecord component.OptionInstance.SliderableEnum.codecThe field for thecodecrecord component.static final Codec<CloudStatus> CloudStatus.CODECstatic final Codec<GraphicsPreset> GraphicsPreset.CODECstatic final Codec<InactivityFpsLimit> InactivityFpsLimit.CODECstatic final Codec<MusicToastDisplayState> MusicToastDisplayState.CODECprivate static final Codec<Map<String, List<PeriodicNotificationManager.Notification>>> PeriodicNotificationManager.CODECstatic final Codec<AttackIndicatorStatus> AttackIndicatorStatus.LEGACY_CODECstatic final Codec<NarratorStatus> NarratorStatus.LEGACY_CODECstatic final Codec<PrioritizeChunkUpdates> PrioritizeChunkUpdates.LEGACY_CODECstatic final Codec<TextureFilteringMethod> TextureFilteringMethod.LEGACY_CODECMethods in net.minecraft.client that return CodecModifier and TypeMethodDescriptionOptionInstance.AltEnum.codec()Returns the value of thecodecrecord component.OptionInstance.ClampingLazyMaxIntRange.codec()OptionInstance.codec()OptionInstance.Enum.codec()Returns the value of thecodecrecord component.OptionInstance.IntRange.codec()OptionInstance.LazyEnum.codec()Returns the value of thecodecrecord component.OptionInstance.SliderableEnum.codec()Returns the value of thecodecrecord component.OptionInstance.UnitDouble.codec()OptionInstance.ValueSet.codec()Constructors in net.minecraft.client with parameters of type CodecModifierConstructorDescriptionAltEnum(List<T> values, List<T> altValues, BooleanSupplier altCondition, OptionInstance.CycleableValueSet.ValueSetter<T> valueSetter, Codec<T> codec) Creates an instance of aAltEnumrecord class.Creates an instance of aEnumrecord class.Creates an instance of aLazyEnumrecord class.OptionInstance(String captionId, OptionInstance.TooltipSupplier<T> tooltip, OptionInstance.CaptionBasedToString<T> toString, OptionInstance.ValueSet<T> values, Codec<T> codec, T initialValue, Consumer<T> onValueUpdate) SliderableEnum(List<T> values, Codec<T> codec) Creates an instance of aSliderableEnumrecord class. -
Uses of Codec in net.minecraft.client.color.item
Fields in net.minecraft.client.color.item declared as Codec -
Uses of Codec in net.minecraft.client.gui.components.debug
Fields in net.minecraft.client.gui.components.debug declared as CodecModifier and TypeFieldDescriptionprivate final Codec<DebugScreenEntryList.SerializedOptions> DebugScreenEntryList.codecstatic final Codec<DebugScreenEntryList.SerializedOptions> DebugScreenEntryList.SerializedOptions.CODECstatic final Codec<DebugScreenEntryStatus> DebugScreenEntryStatus.CODECprivate static final Codec<Map<Identifier, DebugScreenEntryStatus>> DebugScreenEntryList.SerializedOptions.CUSTOM_ENTRIES_CODEC -
Uses of Codec in net.minecraft.client.gui.font
Fields in net.minecraft.client.gui.font declared as CodecModifier and TypeFieldDescriptionstatic final Codec<FontManager.FontDefinitionFile> FontManager.FontDefinitionFile.CODECstatic final Codec<FontOption> FontOption.CODECstatic final Codec<FontOption.Filter> FontOption.Filter.CODEC -
Uses of Codec in net.minecraft.client.gui.font.providers
Fields in net.minecraft.client.gui.font.providers declared as CodecModifier and TypeFieldDescriptionstatic final Codec<GlyphProviderDefinition.Conditional> GlyphProviderDefinition.Conditional.CODECstatic final Codec<GlyphProviderType> GlyphProviderType.CODECstatic final Codec<TrueTypeGlyphProviderDefinition.Shift> TrueTypeGlyphProviderDefinition.Shift.CODECstatic final Codec<UnihexProvider.Dimensions> UnihexProvider.Dimensions.CODECstatic final Codec<UnihexProvider.OverrideRange> UnihexProvider.OverrideRange.CODECprivate static final Codec<int[][]> BitmapProvider.Definition.CODEPOINT_GRID_CODECprivate static final Codec<UnihexProvider.OverrideRange> UnihexProvider.OverrideRange.RAW_CODECTrueTypeGlyphProviderDefinition.SKIP_LIST_CODEC -
Uses of Codec in net.minecraft.client.multiplayer.chat
Fields in net.minecraft.client.multiplayer.chat declared as CodecModifier and TypeFieldDescriptionstatic final Codec<ChatTrustLevel> ChatTrustLevel.CODECstatic final Codec<LoggedChatEvent> LoggedChatEvent.CODECMethods in net.minecraft.client.multiplayer.chat that return Codec -
Uses of Codec in net.minecraft.client.player.inventory
Fields in net.minecraft.client.player.inventory declared as Codec -
Uses of Codec in net.minecraft.client.quickplay
Fields in net.minecraft.client.quickplay declared as CodecModifier and TypeFieldDescriptionstatic final Codec<QuickPlayLog.QuickPlayEntry> QuickPlayLog.QuickPlayEntry.CODECprivate static final Codec<QuickPlayLog.Type> QuickPlayLog.Type.CODEC -
Uses of Codec in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as CodecModifier and TypeFieldDescriptionstatic final Codec<PostChainConfig> PostChainConfig.CODECstatic final Codec<PostChainConfig.Input> PostChainConfig.Input.CODECstatic final Codec<PostChainConfig.InternalTarget> PostChainConfig.InternalTarget.CODECstatic final Codec<PostChainConfig.Pass> PostChainConfig.Pass.CODECstatic final Codec<PostChainConfig.TargetInput> PostChainConfig.TargetInput.CODECstatic final Codec<PostChainConfig.TextureInput> PostChainConfig.TextureInput.CODECstatic final Codec<ShaderDefines> ShaderDefines.CODECstatic final Codec<UniformValue> UniformValue.CODECstatic final Codec<UniformValue.FloatUniform> UniformValue.FloatUniform.CODECstatic final Codec<UniformValue.IntUniform> UniformValue.IntUniform.CODECstatic final Codec<UniformValue.IVec3Uniform> UniformValue.IVec3Uniform.CODECstatic final Codec<UniformValue.Matrix4x4Uniform> UniformValue.Matrix4x4Uniform.CODECstatic final Codec<UniformValue.Type> UniformValue.Type.CODECstatic final Codec<UniformValue.Vec2Uniform> UniformValue.Vec2Uniform.CODECstatic final Codec<UniformValue.Vec3Uniform> UniformValue.Vec3Uniform.CODECstatic final Codec<UniformValue.Vec4Uniform> UniformValue.Vec4Uniform.CODECprivate static final Codec<List<PostChainConfig.Input>> PostChainConfig.Pass.INPUTS_CODECprivate static final Codec<Map<String, List<UniformValue>>> PostChainConfig.Pass.UNIFORM_BLOCKS_CODECConstructors in net.minecraft.client.renderer with parameters of type CodecModifierConstructorDescriptionprivateType(String name, Codec<? extends UniformValue> valueCodec) -
Uses of Codec in net.minecraft.client.renderer.block.dispatch
Fields in net.minecraft.client.renderer.block.dispatch declared as CodecModifier and TypeFieldDescriptionstatic final Codec<BlockStateModel.Unbaked> BlockStateModel.Unbaked.CODECstatic final Codec<BlockStateModelDispatcher> BlockStateModelDispatcher.CODECstatic final Codec<BlockStateModelDispatcher.MultiPartDefinition> BlockStateModelDispatcher.MultiPartDefinition.CODECstatic final Codec<BlockStateModelDispatcher.SimpleModelSelectors> BlockStateModelDispatcher.SimpleModelSelectors.CODECstatic final Codec<SingleVariant.Unbaked> SingleVariant.Unbaked.CODECVariant.CODECBlockStateModel.Unbaked.ELEMENT_CODECstatic final Codec<WeightedVariants.Unbaked> BlockStateModel.Unbaked.HARDCODED_WEIGHTED_CODECstatic final Codec<Either<CustomUnbakedBlockStateModel, SingleVariant.Unbaked>> BlockStateModel.Unbaked.SINGLE_MODEL_CODECstatic final Codec<Weighted<Either<CustomUnbakedBlockStateModel, SingleVariant.Unbaked>>> BlockStateModel.Unbaked.WEIGHTED_MODEL_CODEC -
Uses of Codec in net.minecraft.client.renderer.block.dispatch.multipart
Fields in net.minecraft.client.renderer.block.dispatch.multipart declared as CodecModifier and TypeFieldDescriptionstatic final Codec<CombinedCondition.Operation> CombinedCondition.Operation.CODECCondition.CODECstatic final Codec<KeyValueCondition> KeyValueCondition.CODECstatic final Codec<KeyValueCondition.Terms> KeyValueCondition.Terms.CODECSelector.CODECKeyValueCondition.Terms.LEGACY_REPRESENTATION_CODEC -
Uses of Codec in net.minecraft.client.renderer.item
Fields in net.minecraft.client.renderer.item declared as CodecModifier and TypeFieldDescriptionstatic final Codec<ClientItem> ClientItem.CODECstatic final Codec<ItemModel.Unbaked> ItemModels.CODECstatic final Codec<RangeSelectItemModel.Entry> RangeSelectItemModel.Entry.CODECMethods in net.minecraft.client.renderer.item that return CodecMethods in net.minecraft.client.renderer.item with parameters of type Codec -
Uses of Codec in net.minecraft.client.renderer.item.properties.conditional
Fields in net.minecraft.client.renderer.item.properties.conditional declared as CodecModifier and TypeFieldDescriptionprivate static final Codec<KeyMapping> IsKeybindDown.KEYBIND_CODEC -
Uses of Codec in net.minecraft.client.renderer.item.properties.numeric
Fields in net.minecraft.client.renderer.item.properties.numeric declared as CodecModifier and TypeFieldDescriptionstatic final Codec<CompassAngleState.CompassTarget> CompassAngleState.CompassTarget.CODECstatic final Codec<Time.TimeSource> Time.TimeSource.CODEC -
Uses of Codec in net.minecraft.client.renderer.item.properties.select
Fields in net.minecraft.client.renderer.item.properties.select declared as CodecModifier and TypeFieldDescriptionstatic final Codec<SelectItemModelProperty.Type<?, ?>> SelectItemModelProperties.CODECprivate static final Codec<com.ibm.icu.util.TimeZone> LocalTime.TIME_ZONE_CODECstatic final Codec<CrossbowItem.ChargeType> Charge.VALUE_CODECstatic final Codec<ResourceKey<Level>> ContextDimension.VALUE_CODECstatic final Codec<ResourceKey<EntityType<?>>> ContextEntityType.VALUE_CODECstatic final Codec<ItemDisplayContext> DisplayContext.VALUE_CODECLocalTime.VALUE_CODECstatic final Codec<HumanoidArm> MainHand.VALUE_CODECstatic final Codec<ResourceKey<TrimMaterial>> TrimMaterialProperty.VALUE_CODECMethods in net.minecraft.client.renderer.item.properties.select that return CodecModifier and TypeMethodDescriptionCharge.valueCodec()ComponentContents.valueCodec()ContextDimension.valueCodec()Codec<ResourceKey<EntityType<?>>> ContextEntityType.valueCodec()CustomModelDataProperty.valueCodec()DisplayContext.valueCodec()ItemBlockState.valueCodec()LocalTime.valueCodec()MainHand.valueCodec()SelectItemModelProperty.valueCodec()TrimMaterialProperty.valueCodec()Methods in net.minecraft.client.renderer.item.properties.select with parameters of type CodecModifier and TypeMethodDescriptionstatic <P extends SelectItemModelProperty<T>, T>
SelectItemModelProperty.Type<P, T> static <T> MapCodec<List<SelectItemModel.SwitchCase<T>>> SelectItemModelProperty.Type.createCasesFieldCodec(Codec<T> valueCodec) -
Uses of Codec in net.minecraft.client.renderer.special
Fields in net.minecraft.client.renderer.special declared as CodecModifier and TypeFieldDescriptionstatic final Codec<EndCubeSpecialRenderer.Type> EndCubeSpecialRenderer.Type.CODECstatic final Codec<SpecialModelRenderer.Unbaked<?>> SpecialModelRenderers.CODEC -
Uses of Codec in net.minecraft.client.renderer.texture
Fields in net.minecraft.client.renderer.texture declared as Codec -
Uses of Codec in net.minecraft.client.renderer.texture.atlas
Fields in net.minecraft.client.renderer.texture.atlas declared as CodecModifier and TypeFieldDescriptionstatic final Codec<SpriteSource> SpriteSources.CODECstatic final Codec<List<SpriteSource>> SpriteSources.FILE_CODEC -
Uses of Codec in net.minecraft.client.renderer.texture.atlas.sources
Fields in net.minecraft.client.renderer.texture.atlas.sources declared as Codec -
Uses of Codec in net.minecraft.client.resources
Fields in net.minecraft.client.resources declared as CodecModifier and TypeFieldDescriptionstatic final Codec<WaypointStyle> WaypointStyle.CODECWaypointStyle.DISTANCE_CODEC -
Uses of Codec in net.minecraft.client.resources.language
Fields in net.minecraft.client.resources.language declared as Codec -
Uses of Codec in net.minecraft.client.resources.metadata.animation
Fields in net.minecraft.client.resources.metadata.animation declared as CodecModifier and TypeFieldDescriptionstatic final Codec<AnimationFrame> AnimationFrame.CODECstatic final Codec<AnimationMetadataSection> AnimationMetadataSection.CODECstatic final Codec<VillagerMetadataSection> VillagerMetadataSection.CODECstatic final Codec<VillagerMetadataSection.Hat> VillagerMetadataSection.Hat.CODECstatic final Codec<AnimationFrame> AnimationFrame.FULL_CODEC -
Uses of Codec in net.minecraft.client.resources.metadata.gui
Fields in net.minecraft.client.resources.metadata.gui declared as CodecModifier and TypeFieldDescriptionstatic final Codec<GuiMetadataSection> GuiMetadataSection.CODECstatic final Codec<GuiSpriteScaling> GuiSpriteScaling.CODECprivate static final Codec<GuiSpriteScaling.NineSlice.Border> GuiSpriteScaling.NineSlice.Border.CODECstatic final Codec<GuiSpriteScaling.Type> GuiSpriteScaling.Type.CODECprivate static final Codec<GuiSpriteScaling.NineSlice.Border> GuiSpriteScaling.NineSlice.Border.RECORD_CODECprivate static final Codec<GuiSpriteScaling.NineSlice.Border> GuiSpriteScaling.NineSlice.Border.VALUE_CODEC -
Uses of Codec in net.minecraft.client.resources.metadata.language
Fields in net.minecraft.client.resources.metadata.language declared as CodecModifier and TypeFieldDescriptionstatic final Codec<LanguageMetadataSection> LanguageMetadataSection.CODECLanguageMetadataSection.LANGUAGE_CODE_CODEC -
Uses of Codec in net.minecraft.client.resources.metadata.texture
Fields in net.minecraft.client.resources.metadata.texture declared as CodecModifier and TypeFieldDescriptionstatic final Codec<TextureMetadataSection> TextureMetadataSection.CODEC -
Uses of Codec in net.minecraft.client.resources.model
Fields in net.minecraft.client.resources.model declared as CodecModifier and TypeFieldDescriptionstatic final Codec<EquipmentClientInfo> EquipmentClientInfo.CODECstatic final Codec<EquipmentClientInfo.Dyeable> EquipmentClientInfo.Dyeable.CODECstatic final Codec<EquipmentClientInfo.Layer> EquipmentClientInfo.Layer.CODECstatic final Codec<EquipmentClientInfo.LayerType> EquipmentClientInfo.LayerType.CODECprivate static final Codec<List<EquipmentClientInfo.Layer>> EquipmentClientInfo.LAYER_LIST_CODEC -
Uses of Codec in net.minecraft.client.resources.model.sprite
Fields in net.minecraft.client.resources.model.sprite declared as Codec -
Uses of Codec in net.minecraft.client.sounds
Fields in net.minecraft.client.sounds declared as CodecModifier and TypeFieldDescriptionstatic final Codec<MusicManager.MusicFrequency> MusicManager.MusicFrequency.CODEC -
Uses of Codec in net.minecraft.client.telemetry
Fields in net.minecraft.client.telemetry declared as CodecModifier and TypeFieldDescriptionTelemetryProperty.codecThe field for thecodecrecord component.static final Codec<TelemetryEventInstance> TelemetryEventInstance.CODECstatic final Codec<TelemetryEventType> TelemetryEventType.CODECstatic final Codec<TelemetryProperty.GameMode> TelemetryProperty.GameMode.CODECstatic final Codec<TelemetryProperty.ServerType> TelemetryProperty.ServerType.CODECMethods in net.minecraft.client.telemetry that return CodecModifier and TypeMethodDescriptionTelemetryProperty.codec()Returns the value of thecodecrecord component.Methods in net.minecraft.client.telemetry with parameters of type CodecModifier and TypeMethodDescriptionstatic <T> TelemetryProperty<T> TelemetryProperty.create(String id, String exportKey, Codec<T> codec, TelemetryProperty.Exporter<T> exporter) Constructors in net.minecraft.client.telemetry with parameters of type CodecModifierConstructorDescriptionTelemetryProperty(String id, String exportKey, Codec<T> codec, TelemetryProperty.Exporter<T> exporter) Creates an instance of aTelemetryPropertyrecord class. -
Uses of Codec in net.minecraft.client.telemetry.events
Fields in net.minecraft.client.telemetry.events declared as CodecModifier and TypeFieldDescriptionstatic final Codec<GameLoadTimesEvent.Measurement> GameLoadTimesEvent.Measurement.CODEC -
Uses of Codec in net.minecraft.commands
Fields in net.minecraft.commands declared as Codec -
Uses of Codec in net.minecraft.commands.arguments
Fields in net.minecraft.commands.arguments declared as CodecModifier and TypeFieldDescriptionResourceOrIdArgument.codecStringRepresentableArgument.codecstatic final Codec<NbtPathArgument.NbtPath> NbtPathArgument.NbtPath.CODECprivate static final Codec<Heightmap.Types> HeightmapTypeArgument.LOWER_CASE_CODECMethods in net.minecraft.commands.arguments with parameters of type CodecModifier and TypeMethodDescriptionResourceOrIdArgument.InlineResult.parse(ImmutableStringReader reader, HolderLookup.Provider lookup, DynamicOps<O> ops, Codec<T> codec, HolderLookup.RegistryLookup<T> elementLookup) ResourceOrIdArgument.ReferenceResult.parse(ImmutableStringReader reader, HolderLookup.Provider lookup, DynamicOps<O> ops, Codec<T> codec, HolderLookup.RegistryLookup<T> elementLookup) ResourceOrIdArgument.Result.parse(ImmutableStringReader reader, HolderLookup.Provider lookup, DynamicOps<O> ops, Codec<T> codec, HolderLookup.RegistryLookup<T> elementLookup) Constructors in net.minecraft.commands.arguments with parameters of type CodecModifierConstructorDescriptionprotectedResourceOrIdArgument(CommandBuildContext context, ResourceKey<? extends Registry<T>> registryKey, Codec<T> codec) protectedStringRepresentableArgument(Codec<T> codec, Supplier<T[]> values) -
Uses of Codec in net.minecraft.commands.arguments.selector
Fields in net.minecraft.commands.arguments.selector declared as CodecModifier and TypeFieldDescriptionstatic final Codec<CompilableString<EntitySelector>> EntitySelector.COMPILABLE_CODEC -
Uses of Codec in net.minecraft.core
Fields in net.minecraft.core declared as CodecModifier and TypeFieldDescriptionUUIDUtil.AUTHLIB_CODECBlockPos.CODECstatic final Codec<ClientAsset.ResourceTexture> ClientAsset.ResourceTexture.CODECGlobalPos.CODECRotations.CODECUUIDUtil.CODECVec3i.CODECUUIDUtil.CODEC_LINKED_SETUUIDUtil.CODEC_SETCloner.directCodecDirection.LEGACY_ID_CODECDeprecated.Direction.LEGACY_ID_CODEC_2DDeprecated.UUIDUtil.LENIENT_CODECUUIDUtil.STRING_CODECDirection.VERTICAL_CODECMethods in net.minecraft.core that return CodecModifier and TypeMethodDescriptionRegistry.byNameCodec()static <E> Codec<NonNullList<E>> Neo: utility method to construct a Codec for a NonNullListRegistry.holderByNameCodec()RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> registryKey) RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> registryKey, boolean alwaysUseList) RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> registryKey, Codec<E> elementCodec) RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> registryKey, Codec<E> elementCodec, boolean alwaysUseList) Vec3i.offsetCodec(int maxOffsetPerAxis) private Codec<Holder.Reference<T>> Registry.referenceHolderWithLifecycle()Methods in net.minecraft.core with parameters of type CodecModifier and TypeMethodDescription<T> Cloner.FactoryCloner.Factory.addCodec(ResourceKey<? extends Registry<? extends T>> key, Codec<T> codec) static <E> Codec<NonNullList<E>> Neo: utility method to construct a Codec for a NonNullListRegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> registryKey, Codec<E> elementCodec) RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> registryKey, Codec<E> elementCodec, boolean alwaysUseList) Constructors in net.minecraft.core with parameters of type Codec -
Uses of Codec in net.minecraft.core.cauldron
Fields in net.minecraft.core.cauldron declared as CodecModifier and TypeFieldDescriptionstatic final Codec<CauldronInteraction.Dispatcher> CauldronInteractions.CODEC -
Uses of Codec in net.minecraft.core.component
Fields in net.minecraft.core.component declared as CodecModifier and TypeFieldDescriptionDataComponentType.Builder.codecDataComponentType.Builder.SimpleType.codecstatic final Codec<DataComponentExactPredicate> DataComponentExactPredicate.CODECstatic final Codec<DataComponentMap> DataComponentMap.CODECstatic final Codec<DataComponentPatch> DataComponentPatch.CODECstatic final Codec<DataComponentPatch.PatchKey> DataComponentPatch.PatchKey.CODECstatic final Codec<DataComponentType<?>> DataComponentType.CODECstatic final Codec<DataComponentType<?>> DataComponentType.PERSISTENT_CODECstatic final Codec<Map<DataComponentType<?>, Object>> DataComponentType.VALUE_MAP_CODECMethods in net.minecraft.core.component that return CodecModifier and TypeMethodDescriptionDataComponentType.Builder.SimpleType.codec()DataComponentType.codec()DataComponentType.codecOrThrow()static Codec<DataComponentMap> DataComponentMap.makeCodec(Codec<DataComponentType<?>> componentTypeCodec) static Codec<DataComponentMap> DataComponentMap.makeCodecFromMap(Codec<Map<DataComponentType<?>, Object>> mapCodec) Codec<?> DataComponentPatch.PatchKey.valueCodec()Methods in net.minecraft.core.component with parameters of type CodecModifier and TypeMethodDescriptionstatic Codec<DataComponentMap> DataComponentMap.makeCodec(Codec<DataComponentType<?>> componentTypeCodec) static Codec<DataComponentMap> DataComponentMap.makeCodecFromMap(Codec<Map<DataComponentType<?>, Object>> mapCodec) DataComponentType.Builder.persistent(Codec<T> codec) Constructors in net.minecraft.core.component with parameters of type CodecModifierConstructorDescriptionprivateSimpleType(@Nullable Codec<T> codec, StreamCodec<? super RegistryFriendlyByteBuf, T> streamCodec, boolean ignoreSwapAnimation) -
Uses of Codec in net.minecraft.core.component.predicates
Fields in net.minecraft.core.component.predicates declared as CodecModifier and TypeFieldDescriptionDataComponentPredicate.TypeBase.codecstatic final Codec<AttributeModifiersPredicate> AttributeModifiersPredicate.CODECstatic final Codec<AttributeModifiersPredicate.EntryPredicate> AttributeModifiersPredicate.EntryPredicate.CODECstatic final Codec<BundlePredicate> BundlePredicate.CODECstatic final Codec<ContainerPredicate> ContainerPredicate.CODECstatic final Codec<CustomDataPredicate> CustomDataPredicate.CODECstatic final Codec<DamagePredicate> DamagePredicate.CODECstatic final Codec<Map<DataComponentPredicate.Type<?>, DataComponentPredicate>> DataComponentPredicate.CODECstatic final Codec<DataComponentPredicate.Type<?>> DataComponentPredicate.Type.CODECstatic final Codec<EnchantmentsPredicate.Enchantments> EnchantmentsPredicate.Enchantments.CODECstatic final Codec<EnchantmentsPredicate.StoredEnchantments> EnchantmentsPredicate.StoredEnchantments.CODECstatic final Codec<FireworkExplosionPredicate> FireworkExplosionPredicate.CODECstatic final Codec<FireworkExplosionPredicate.FireworkPredicate> FireworkExplosionPredicate.FireworkPredicate.CODECstatic final Codec<FireworksPredicate> FireworksPredicate.CODECstatic final Codec<JukeboxPlayablePredicate> JukeboxPlayablePredicate.CODECstatic final Codec<PotionsPredicate> PotionsPredicate.CODECstatic final Codec<TrimPredicate> TrimPredicate.CODECstatic final Codec<VillagerTypePredicate> VillagerTypePredicate.CODECstatic final Codec<WritableBookPredicate> WritableBookPredicate.CODECstatic final Codec<WritableBookPredicate.PagePredicate> WritableBookPredicate.PagePredicate.CODECstatic final Codec<WrittenBookPredicate> WrittenBookPredicate.CODECstatic final Codec<WrittenBookPredicate.PagePredicate> WrittenBookPredicate.PagePredicate.CODECMethods in net.minecraft.core.component.predicates that return CodecModifier and TypeMethodDescriptionDataComponentPredicate.Type.codec()DataComponentPredicate.TypeBase.codec()static <T extends EnchantmentsPredicate>
Codec<T> EnchantmentsPredicate.codec(Function<List<EnchantmentPredicate>, T> constructor) Methods in net.minecraft.core.component.predicates with parameters of type CodecModifier and TypeMethodDescriptionprivate static <T extends DataComponentPredicate>
DataComponentPredicate.Type<T> private static <T extends DataComponentPredicate>
MapCodec<DataComponentPredicate.Single<T>> DataComponentPredicate.Single.wrapCodec(DataComponentPredicate.Type<T> type, Codec<T> codec) Constructors in net.minecraft.core.component.predicates with parameters of type Codec -
Uses of Codec in net.minecraft.core.particles
Fields in net.minecraft.core.particles declared as CodecModifier and TypeFieldDescriptionprivate static final Codec<BlockState> BlockParticleOption.BLOCK_STATE_CODECstatic final Codec<ParticleOptions> ParticleTypes.CODECprivate static final Codec<PositionSource> VibrationParticleOption.SAFE_POSITION_SOURCE_CODECScalableParticleOptionsBase.SCALE -
Uses of Codec in net.minecraft.data
Methods in net.minecraft.data with parameters of type CodecModifier and TypeMethodDescriptionstatic <T,E> CompletableFuture <?> DataProvider.saveAll(CachedOutput cache, Codec<E> codec, Function<T, Path> pathGetter, Map<T, E> contents) static <T> CompletableFuture<?> DataProvider.saveAll(CachedOutput cache, Codec<T> codec, PackOutput.PathProvider pathProvider, Map<Identifier, T> entries) static <T> CompletableFuture<?> DataProvider.saveStable(CachedOutput cache, Codec<T> codec, T value, Path path) private static <T> CompletableFuture<?> DataProvider.saveStable(CachedOutput cache, DynamicOps<com.google.gson.JsonElement> ops, Codec<T> codec, T value, Path path) static <T> CompletableFuture<?> DataProvider.saveStable(CachedOutput cache, HolderLookup.Provider registries, Codec<T> codec, T value, Path path) -
Uses of Codec in net.minecraft.data.info
Fields in net.minecraft.data.info declared as CodecModifier and TypeFieldDescriptionprivate static final Codec<Climate.ParameterList<ResourceKey<Biome>>> BiomeParametersDumpReport.CODECstatic final Codec<DatapackStructureReport.CustomPackEntry> DatapackStructureReport.CustomPackEntry.CODECstatic final Codec<DatapackStructureReport.Entry> DatapackStructureReport.Entry.CODECstatic final Codec<DatapackStructureReport.Format> DatapackStructureReport.Format.CODECstatic final Codec<DatapackStructureReport.Report> DatapackStructureReport.Report.CODECprivate static final Codec<ResourceKey<? extends Registry<?>>> DatapackStructureReport.REGISTRY_KEY_CODEC -
Uses of Codec in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Holder<TestEnvironmentDefinition<?>>> TestEnvironmentDefinition.CODECstatic final Codec<TestEnvironmentDefinition.Weather.Type> TestEnvironmentDefinition.Weather.Type.CODECstatic final Codec<GameTestInstance> GameTestInstance.DIRECT_CODECstatic final Codec<TestEnvironmentDefinition<?>> TestEnvironmentDefinition.DIRECT_CODEC -
Uses of Codec in net.minecraft.locale
Fields in net.minecraft.locale declared as CodecModifier and TypeFieldDescriptionstatic final Codec<DeprecatedTranslationsInfo> DeprecatedTranslationsInfo.CODEC -
Uses of Codec in net.minecraft.nbt
Fields in net.minecraft.nbt declared as CodecModifier and TypeFieldDescriptionprivate static final Codec<ResourceKey<Block>> NbtUtils.BLOCK_NAME_CODECstatic final Codec<CompoundTag> CompoundTag.CODECstatic final Codec<CompoundTag> TagParser.FLATTENED_CODECstatic final Codec<CompoundTag> TagParser.LENIENT_CODECMethods in net.minecraft.nbt with parameters of type CodecModifier and TypeMethodDescription<T> Optional<T> <T> Optional<T> CompoundTag.read(String name, Codec<T> codec, DynamicOps<Tag> ops) <T> voidCompoundTag.store(String name, Codec<T> codec, DynamicOps<Tag> ops, T value) <T> void<T> voidCompoundTag.storeNullable(String name, Codec<T> codec, @Nullable T value) <T> voidCompoundTag.storeNullable(String name, Codec<T> codec, DynamicOps<Tag> ops, @Nullable T value) -
Uses of Codec in net.minecraft.network
Methods in net.minecraft.network with parameters of type CodecModifier and TypeMethodDescription<T> TFriendlyByteBuf.readLenientJsonWithCodec(Codec<T> codec) <T> TFriendlyByteBuf.readWithCodec(DynamicOps<Tag> ops, Codec<T> codec, NbtAccounter accounter) Deprecated.<T> TFriendlyByteBuf.readWithCodecTrusted(DynamicOps<Tag> ops, Codec<T> codec) Deprecated.<T> voidFriendlyByteBuf.writeJsonWithCodec(Codec<T> codec, T value) <T> FriendlyByteBufFriendlyByteBuf.writeWithCodec(DynamicOps<Tag> ops, Codec<T> codec, T value) Deprecated. -
Uses of Codec in net.minecraft.network.chat
Fields in net.minecraft.network.chat declared as CodecModifier and TypeFieldDescriptionstatic final Codec<ChatTypeDecoration> ChatTypeDecoration.CODECstatic final Codec<ChatTypeDecoration.Parameter> ChatTypeDecoration.Parameter.CODECstatic final Codec<ClickEvent.Action> ClickEvent.Action.CODECstatic final Codec<ClickEvent> ClickEvent.CODECComponentSerialization.CODECstatic final Codec<FilterMask> FilterMask.CODECstatic final Codec<FontDescription> FontDescription.CODECstatic final Codec<HoverEvent.Action> HoverEvent.Action.CODECstatic final Codec<HoverEvent> HoverEvent.CODECstatic final Codec<LastSeenMessages> LastSeenMessages.CODECstatic final Codec<MessageSignature> MessageSignature.CODECstatic final Codec<SignedMessageLink> SignedMessageLink.CODECStyle.Serializer.CODECTextColor.CODECChatType.DIRECT_CODECstatic final Codec<ClickEvent.Action> ClickEvent.Action.UNSAFE_CODECstatic final Codec<HoverEvent.Action> HoverEvent.Action.UNSAFE_CODECMethods in net.minecraft.network.chat that return CodecModifier and TypeMethodDescriptionComponentSerialization.createCodec(Codec<Component> topSerializer) ComponentSerialization.flatRestrictedCodec(int maxFlatSize) Methods in net.minecraft.network.chat with parameters of type CodecModifier and TypeMethodDescriptionComponentSerialization.createCodec(Codec<Component> topSerializer) -
Uses of Codec in net.minecraft.network.chat.contents
Fields in net.minecraft.network.chat.contents declared as CodecModifier and TypeFieldDescriptionTranslatableContents.ARG_CODECstatic final Codec<CompilableString<NbtPathArgument.NbtPath>> NbtContents.NBT_PATH_CODECTranslatableContents.PRIMITIVE_ARG_CODEC -
Uses of Codec in net.minecraft.network.chat.contents.data
Fields in net.minecraft.network.chat.contents.data declared as CodecModifier and TypeFieldDescriptionstatic final Codec<CompilableString<Coordinates>> BlockDataSource.BLOCK_POS_CODEC -
Uses of Codec in net.minecraft.network.chat.numbers
Fields in net.minecraft.network.chat.numbers declared as Codec -
Uses of Codec in net.minecraft.network.codec
Methods in net.minecraft.network.codec with parameters of type CodecModifier and TypeMethodDescriptionstatic <T> StreamCodec<io.netty.buffer.ByteBuf, T> static <T> StreamCodec<io.netty.buffer.ByteBuf, T> ByteBufCodecs.fromCodec(Codec<T> codec, Supplier<NbtAccounter> accounter) static <T, B extends io.netty.buffer.ByteBuf, V>
StreamCodec.CodecOperation<B, T, V> ByteBufCodecs.fromCodec(DynamicOps<T> ops, Codec<V> codec) static <T> StreamCodec<io.netty.buffer.ByteBuf, T> ByteBufCodecs.fromCodecTrusted(Codec<T> codec) static <T> StreamCodec<RegistryFriendlyByteBuf, T> ByteBufCodecs.fromCodecWithRegistries(Codec<T> codec) static <T> StreamCodec<RegistryFriendlyByteBuf, T> ByteBufCodecs.fromCodecWithRegistries(Codec<T> codec, Supplier<NbtAccounter> accounter) static <T> StreamCodec<RegistryFriendlyByteBuf, T> ByteBufCodecs.fromCodecWithRegistriesTrusted(Codec<T> codec) -
Uses of Codec in net.minecraft.network.protocol.status
Fields in net.minecraft.network.protocol.status declared as CodecModifier and TypeFieldDescriptionstatic final Codec<ServerStatus> ServerStatus.CODECstatic final Codec<ServerStatus.Favicon> ServerStatus.Favicon.CODECstatic final Codec<ServerStatus.Players> ServerStatus.Players.CODECstatic final Codec<ServerStatus.Version> ServerStatus.Version.CODEC -
Uses of Codec in net.minecraft.resources
Classes in net.minecraft.resources that implement CodecModifier and TypeClassDescriptionclassfinal classfinal classFields in net.minecraft.resources declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Identifier> Identifier.CODECHolderSetCodec.combinedCodecHolderSetCodec.elementCodecRegistryDataLoader.RegistryData.elementCodecThe field for theelementCodecrecord component.RegistryFileCodec.elementCodecprivate final Codec<ICustomHolderSet<E>> HolderSetCodec.forgeDispatchCodecHolderSetCodec.homogenousListCodecHolderSetCodec.registryAwareCodecMethods in net.minecraft.resources that return CodecModifier and TypeMethodDescriptionstatic <T> Codec<ResourceKey<T>> ResourceKey.codec(ResourceKey<? extends Registry<T>> registryName) HolderSetCodec.create(ResourceKey<? extends Registry<E>> registryKey, Codec<Holder<E>> elementCodec, boolean alwaysUseList) RegistryDataLoader.RegistryData.elementCodec()Returns the value of theelementCodecrecord component.HolderSetCodec.homogenousList(Codec<Holder<E>> elementCodec, boolean alwaysUseList) Methods in net.minecraft.resources with parameters of type CodecModifier and TypeMethodDescriptionHolderSetCodec.create(ResourceKey<? extends Registry<E>> registryKey, Codec<Holder<E>> elementCodec, boolean alwaysUseList) static <E> RegistryFileCodec<E> RegistryFileCodec.create(ResourceKey<? extends Registry<E>> registryKey, Codec<E> elementCodec) static <E> RegistryFileCodec<E> RegistryFileCodec.create(ResourceKey<? extends Registry<E>> registryKey, Codec<E> elementCodec, boolean allowInline) HolderSetCodec.homogenousList(Codec<Holder<E>> elementCodec, boolean alwaysUseList) Method parameters in net.minecraft.resources with type arguments of type CodecModifier and TypeMethodDescriptionvoidRegistryDataLoader.RegistryData.runWithArguments(BiConsumer<ResourceKey<? extends Registry<T>>, Codec<T>> output) Constructors in net.minecraft.resources with parameters of type CodecModifierConstructorDescriptionprivateHolderSetCodec(ResourceKey<? extends Registry<E>> registryKey, Codec<Holder<E>> elementCodec, boolean alwaysUseList) privateRegistryData(ResourceKey<? extends Registry<T>> key, Codec<T> elementCodec) RegistryData(ResourceKey<? extends Registry<T>> key, Codec<T> elementCodec, RegistryValidator<T> validator) RegistryData(ResourceKey<? extends Registry<T>> key, Codec<T> elementCodec, RegistryValidator<T> validator, Consumer<RegistryBuilder<T>> registryBuilderConsumer) Creates an instance of aRegistryDatarecord class.privateRegistryFileCodec(ResourceKey<? extends Registry<E>> registryKey, Codec<E> elementCodec, boolean allowInline) -
Uses of Codec in net.minecraft.server
Fields in net.minecraft.server declared as CodecModifier and TypeFieldDescriptionprivate final Codec<PlayerAdvancements.Data> PlayerAdvancements.codecstatic final Codec<PlayerAdvancements.Data> PlayerAdvancements.Data.CODEC -
Uses of Codec in net.minecraft.server.bossevents
Fields in net.minecraft.server.bossevents declared as CodecModifier and TypeFieldDescriptionstatic final Codec<CustomBossEvent.Packed> CustomBossEvent.Packed.CODECprivate static final Codec<CustomBossEvents> CustomBossEvents.CODECprivate static final Codec<Map<Identifier, CustomBossEvent.Packed>> CustomBossEvents.EVENTS_CODEC -
Uses of Codec in net.minecraft.server.dialog
Fields in net.minecraft.server.dialog declared as CodecModifier and TypeFieldDescriptionstatic final Codec<ActionButton> ActionButton.CODECDialog.CODECstatic final Codec<DialogAction> DialogAction.CODECInput.CODECDialog.DIRECT_CODECDialog.LIST_CODECDialog.WIDTH_CODEC -
Uses of Codec in net.minecraft.server.dialog.action
Fields in net.minecraft.server.dialog.action declared as CodecModifier and TypeFieldDescriptionAction.CODECstatic final Codec<ParsedTemplate> ParsedTemplate.CODECParsedTemplate.VARIABLE_CODEC -
Uses of Codec in net.minecraft.server.dialog.body
Fields in net.minecraft.server.dialog.body declared as CodecModifier and TypeFieldDescriptionstatic final Codec<PlainMessage> PlainMessage.CODECstatic final Codec<List<DialogBody>> DialogBody.COMPACT_LIST_CODECstatic final Codec<DialogBody> DialogBody.DIALOG_BODY_CODEC -
Uses of Codec in net.minecraft.server.dialog.input
Fields in net.minecraft.server.dialog.input declared as CodecModifier and TypeFieldDescriptionstatic final Codec<SingleOptionInput.Entry> SingleOptionInput.Entry.CODECstatic final Codec<TextInput.MultilineOptions> TextInput.MultilineOptions.CODECstatic final Codec<SingleOptionInput.Entry> SingleOptionInput.Entry.FULL_CODEC -
Uses of Codec in net.minecraft.server.jsonrpc.api
Fields in net.minecraft.server.jsonrpc.api declared as CodecModifier and TypeFieldDescriptionSchema.codecThe field for thecodecrecord component.static final Codec<MethodInfo.Named<?, ?>> MethodInfo.Named.CODECSchema.CODECReferenceUtil.REFERENCE_CODECMethods in net.minecraft.server.jsonrpc.api that return CodecModifier and TypeMethodDescriptionSchema.codec()Returns the value of thecodecrecord component.MethodInfo.paramsTypedCodec()static <Params,Result>
Codec<MethodInfo.Named<Params, Result>> MethodInfo.Named.typedCodec()static <Result> Codec<ResultInfo<Result>> ResultInfo.typedCodec()Schema.typedCodec()Methods in net.minecraft.server.jsonrpc.api with parameters of type CodecModifier and TypeMethodDescriptionstatic <E extends Enum<E> & StringRepresentable>
Schema<E> static <T> Schema<T> static <T> Schema<T> static <T> Schema<T> static <T> Schema<T> static <T> Schema<T> private static <T> Schema<T> Constructors in net.minecraft.server.jsonrpc.api with parameters of type Codec -
Uses of Codec in net.minecraft.server.jsonrpc.methods
Fields in net.minecraft.server.jsonrpc.methods declared as CodecModifier and TypeFieldDescriptionstatic final Codec<GameRulesService.GameRuleUpdate<?>> GameRulesService.GameRuleUpdate.CODECMessage.CODECstatic final Codec<ServerStateService.ServerState> ServerStateService.ServerState.CODECstatic final Codec<ServerStateService.SystemMessage> ServerStateService.SystemMessage.CODECstatic final Codec<GameRulesService.GameRuleUpdate<?>> GameRulesService.GameRuleUpdate.TYPED_CODEC -
Uses of Codec in net.minecraft.server.level
Fields in net.minecraft.server.level declared as CodecModifier and TypeFieldDescriptionstatic final Codec<ServerPlayer.RespawnConfig> ServerPlayer.RespawnConfig.CODECstatic final Codec<ParticleStatus> ParticleStatus.LEGACY_CODEC -
Uses of Codec in net.minecraft.server.network
Methods in net.minecraft.server.network that return CodecMethods in net.minecraft.server.network with parameters of type Codec -
Uses of Codec in net.minecraft.server.packs
Fields in net.minecraft.server.packs declared as CodecModifier and TypeFieldDescriptionstatic final Codec<DownloadQueue.FileInfoEntry> DownloadQueue.FileInfoEntry.CODECstatic final Codec<DownloadQueue.LogEntry> DownloadQueue.LogEntry.CODECprivate static final Codec<FeatureFlagsMetadataSection> FeatureFlagsMetadataSection.CODECstatic final Codec<OverlayMetadataSection.OverlayEntry.IntermediateEntry> OverlayMetadataSection.OverlayEntry.IntermediateEntry.CODECMethods in net.minecraft.server.packs that return CodecModifier and TypeMethodDescriptionstatic Codec<OverlayMetadataSection> OverlayMetadataSection.codecForPackType(PackType packType) private static Codec<List<OverlayMetadataSection.OverlayEntry>> OverlayMetadataSection.OverlayEntry.listCodecForPackType(PackType packType) -
Uses of Codec in net.minecraft.server.packs.metadata
Fields in net.minecraft.server.packs.metadata declared as CodecModifier and TypeFieldDescriptionMetadataSectionType.codecThe field for thecodecrecord component.Methods in net.minecraft.server.packs.metadata that return CodecModifier and TypeMethodDescriptionMetadataSectionType.codec()Returns the value of thecodecrecord component.Constructors in net.minecraft.server.packs.metadata with parameters of type CodecModifierConstructorDescriptionMetadataSectionType(String name, Codec<T> codec) Creates an instance of aMetadataSectionTyperecord class. -
Uses of Codec in net.minecraft.server.packs.metadata.pack
Fields in net.minecraft.server.packs.metadata.pack declared as CodecModifier and TypeFieldDescriptionstatic final Codec<PackFormat> PackFormat.BOTTOM_CODECprivate static final Codec<PackMetadataSection> PackMetadataSection.FALLBACK_CODECstatic final Codec<PackFormat> PackFormat.TOP_CODECMethods in net.minecraft.server.packs.metadata.pack that return CodecModifier and TypeMethodDescriptionprivate static Codec<PackMetadataSection> PackMetadataSection.codecForPackType(PackType packType) private static Codec<PackFormat> PackFormat.fullCodec(int defaultMinor) -
Uses of Codec in net.minecraft.server.packs.resources
Fields in net.minecraft.server.packs.resources declared as CodecModifier and TypeFieldDescriptionSimpleJsonResourceReloadListener.codecprivate static final Codec<ResourceFilterSection> ResourceFilterSection.CODECMethods in net.minecraft.server.packs.resources with parameters of type CodecModifier and TypeMethodDescriptionstatic <T> voidSimpleJsonResourceReloadListener.scanDirectory(ResourceManager manager, FileToIdConverter lister, DynamicOps<com.google.gson.JsonElement> ops, Codec<T> codec, Map<Identifier, T> result) static <T> voidSimpleJsonResourceReloadListener.scanDirectory(ResourceManager manager, ResourceKey<? extends Registry<T>> registryKey, DynamicOps<com.google.gson.JsonElement> ops, Codec<T> codec, Map<Identifier, T> result) static <T> voidSimpleJsonResourceReloadListener.scanDirectoryWithOptionalValues(ResourceManager manager, ResourceKey<? extends Registry<T>> registryKey, DynamicOps<com.google.gson.JsonElement> ops, Codec<Optional<T>> codec, Map<Identifier, Optional<T>> result) Constructors in net.minecraft.server.packs.resources with parameters of type CodecModifierConstructorDescriptionprotectedSimpleJsonResourceReloadListener(Codec<T> codec, FileToIdConverter lister) privateSimpleJsonResourceReloadListener(DynamicOps<com.google.gson.JsonElement> ops, Codec<T> codec, FileToIdConverter lister) protectedSimpleJsonResourceReloadListener(HolderLookup.Provider registries, Codec<T> codec, ResourceKey<? extends Registry<T>> registryKey) -
Uses of Codec in net.minecraft.server.permissions
Fields in net.minecraft.server.permissions declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Permission> Permission.CODECstatic final Codec<PermissionCheck> PermissionCheck.CODECstatic final Codec<PermissionLevel> PermissionLevel.CODECstatic final Codec<Permission> Permission.FULL_CODECstatic final Codec<PermissionLevel> PermissionLevel.INT_CODEC -
Uses of Codec in net.minecraft.server.players
Fields in net.minecraft.server.players declared as Codec -
Uses of Codec in net.minecraft.sounds
Fields in net.minecraft.sounds declared as CodecModifier and TypeFieldDescriptionMusic.CODECstatic final Codec<Holder<SoundEvent>> SoundEvent.CODECstatic final Codec<SoundEvent> SoundEvent.DIRECT_CODEC -
Uses of Codec in net.minecraft.stats
Fields in net.minecraft.stats declared as CodecModifier and TypeFieldDescriptionstatic final Codec<ServerRecipeBook.Packed> ServerRecipeBook.Packed.CODECServerStatsCounter.STATS_CODECMethods in net.minecraft.stats that return Codec -
Uses of Codec in net.minecraft.tags
Fields in net.minecraft.tags declared as CodecMethods in net.minecraft.tags that return CodecModifier and TypeMethodDescriptionTagKey.codec(ResourceKey<? extends Registry<T>> registryName) TagKey.hashedCodec(ResourceKey<? extends Registry<T>> registryName) -
Uses of Codec in net.minecraft.util
Classes in net.minecraft.util that implement CodecModifier and TypeClassDescriptionstatic final recordstatic classStringRepresentable.EnumCodec<E extends Enum<E> & StringRepresentable>static classFields in net.minecraft.util declared as CodecModifier and TypeFieldDescriptionExtraCodecs.ARGB_COLOR_CODECstatic final Codec<GameProfile> ExtraCodecs.AUTHLIB_GAME_PROFILEstatic final Codec<org.joml.AxisAngle4f> ExtraCodecs.AXISANGLE4Fstatic final Codec<byte[]> ExtraCodecs.BASE64_STRINGExtraCodecs.BIT_SETExtraCodecs.CHAT_STRINGEncoderCache.Key.codecThe field for thecodecrecord component.StringRepresentable.StringRepresentableCodec.codecstatic final Codec<Brightness> Brightness.CODECColorRGBA.CODECstatic final Codec<EasingType> EasingType.CODECstatic final Codec<EasingType.CubicBezier> EasingType.CubicBezier.CODECstatic final Codec<EasingType.CubicBezierControls> EasingType.CubicBezierControls.CODECstatic final Codec<IdentifierPattern> IdentifierPattern.CODECTriState.CODECUnit.CODECExtraCodecs.CODEPOINTExtraCodecs.StrictUnboundedMapCodec.elementCodecThe field for theelementCodecrecord component.ExtraCodecs.ESCAPED_STRINGExtraCodecs.INSTANT_ISO8601static final Codec<InclusiveRange<Integer>> InclusiveRange.INTExtraCodecs.JAVAstatic final Codec<com.google.gson.JsonElement> ExtraCodecs.JSONExtraCodecs.StrictUnboundedMapCodec.keyCodecThe field for thekeyCodecrecord component.Brightness.LIGHT_VALUE_CODECstatic final Codec<org.joml.Matrix4fc> ExtraCodecs.MATRIX4FExtraCodecs.NBTExtraCodecs.NON_EMPTY_STRINGExtraCodecs.NON_NEGATIVE_FLOATExtraCodecs.NON_NEGATIVE_INTExtraCodecs.NON_NEGATIVE_LONGExtraCodecs.PATTERNExtraCodecs.PLAYER_NAMEExtraCodecs.POSITIVE_FLOATExtraCodecs.POSITIVE_INTExtraCodecs.POSITIVE_LONGstatic final Codec<PrivateKey> Crypt.PRIVATE_KEY_CODECExtraCodecs.PROPERTYstatic final Codec<PropertyMap> ExtraCodecs.PROPERTY_MAPCrypt.PUBLIC_KEY_CODECstatic final Codec<org.joml.Quaternionfc> ExtraCodecs.QUATERNIONFstatic final Codec<org.joml.Quaternionfc> ExtraCodecs.QUATERNIONF_COMPONENTSExtraCodecs.RESOURCE_PATH_CODECExtraCodecs.RGB_COLOR_CODECExtraCodecs.STRING_ARGB_COLORExtraCodecs.STRING_RGB_COLORstatic final Codec<ExtraCodecs.TagOrElementLocation> ExtraCodecs.TAG_OR_ELEMENT_IDExtraCodecs.UNSIGNED_BYTEExtraCodecs.UNTRUSTED_URIstatic final Codec<org.joml.Vector2fc> ExtraCodecs.VECTOR2Fstatic final Codec<org.joml.Vector3fc> ExtraCodecs.VECTOR3Fstatic final Codec<org.joml.Vector3ic> ExtraCodecs.VECTOR3Istatic final Codec<org.joml.Vector4fc> ExtraCodecs.VECTOR4FMethods in net.minecraft.util that return CodecModifier and TypeMethodDescriptionstatic <A> Codec<A> ExtraCodecs.catchDecoderException(Codec<A> codec) static <T> Codec<CompilableString<T>> CompilableString.codec(Function<String, DataResult<T>> compiler) static <C, I extends BoundedFloatFunction<C>>
Codec<CubicSpline<C, I>> EncoderCache.Key.codec()Returns the value of thecodecrecord component.static <T extends Comparable<T>>
Codec<InclusiveRange<T>> static <T extends Comparable<T>>
Codec<InclusiveRange<T>> ExtraCodecs.compactListCodec(Codec<E> elementCodec) ExtraCodecs.compactListCodec(Codec<E> elementCodec, Codec<List<E>> listCodec) static <T> Codec<T> ExtraCodecs.converter(DynamicOps<T> ops) ExtraCodecs.StrictUnboundedMapCodec.elementCodec()Returns the value of theelementCodecrecord component.ExtraCodecs.floatRange(float minInclusive, float maxInclusive) ExtraCodecs.floatRangeMinExclusiveWithMessage(float minExclusive, float maxInclusive, Function<Float, String> error) ExtraCodecs.floatRangeMinInclusiveWithMessage(float minInclusive, float maxInclusive, Function<Float, String> error) static <T extends StringRepresentable>
Codec<T> StringRepresentable.fromValues(Supplier<T[]> values) ExtraCodecs.guardedPathCodec(Path baseFolder) ExtraCodecs.hexColor(int expectedDigits) static <I,E> Codec <E> ExtraCodecs.idResolverCodec(Codec<I> value, Function<I, @Nullable E> fromId, Function<E, @Nullable I> toId) static <E> Codec<E> ExtraCodecs.idResolverCodec(ToIntFunction<E> toInt, IntFunction<@Nullable E> fromInt, int unknownId) static <P,I> Codec <I> ExtraCodecs.intervalCodec(Codec<P> pointCodec, String lowerBoundName, String upperBoundName, BiFunction<P, P, DataResult<I>> makeInterval, Function<I, P> getMin, Function<I, P> getMax) ExtraCodecs.intRange(int minInclusive, int maxInclusive) ExtraCodecs.intRangeWithMessage(int minInclusive, int maxInclusive, Function<Integer, String> error) ExtraCodecs.StrictUnboundedMapCodec.keyCodec()Returns the value of thekeyCodecrecord component.ExtraCodecs.legacyEnum(Function<String, E> valueOf) Deprecated.ExtraCodecs.longRange(int minInclusive, int maxInclusive) ExtraCodecs.longRangeWithMessage(long minInclusive, long maxInclusive, Function<Long, String> error) ExtraCodecs.nonEmptyHolderSet(Codec<HolderSet<T>> listCodec) ExtraCodecs.nonEmptyList(Codec<List<T>> listCodec) ExtraCodecs.nonEmptyMap(Codec<M> mapCodec) static <T> Codec<it.unimi.dsi.fastutil.objects.Object2BooleanMap<T>> ExtraCodecs.object2BooleanMap(Codec<T> keyCodec) ExtraCodecs.optionalEmptyMap(Codec<A> codec) static <E> Codec<E> ExtraCodecs.orCompressed(Codec<E> normal, Codec<E> compressed) static <E> Codec<E> ExtraCodecs.overrideLifecycle(Codec<E> codec, Function<E, Lifecycle> lifecycleGetter) static <E> Codec<E> ExtraCodecs.overrideLifecycle(Codec<E> codec, Function<E, Lifecycle> decodeLifecycle, Function<E, Lifecycle> encodeLifecycle) ExtraCodecs.relaiveNormalizedSubPathCodec(Function<String, Path> pathFactory) ExtraCodecs.sizeLimitedMap(Codec<Map<K, V>> codec, int maxSizeInclusive) static Codec<TemporalAccessor> ExtraCodecs.temporalCodec(DateTimeFormatter formatter) <A> Codec<A> Methods in net.minecraft.util with parameters of type CodecModifier and TypeMethodDescriptionstatic <A> Codec<A> ExtraCodecs.catchDecoderException(Codec<A> codec) static <C, I extends BoundedFloatFunction<C>>
Codec<CubicSpline<C, I>> static <T extends Comparable<T>>
Codec<InclusiveRange<T>> static <T extends Comparable<T>>
Codec<InclusiveRange<T>> ExtraCodecs.compactListCodec(Codec<E> elementCodec) ExtraCodecs.compactListCodec(Codec<E> elementCodec, Codec<List<E>> listCodec) static <K,V> MapCodec <V> ExtraCodecs.dispatchOptionalValue(String typeKey, String valueKey, Codec<K> typeCodec, Function<? super V, ? extends K> typeGetter, Function<? super K, ? extends Codec<? extends V>> valueCodec) Deprecated.private static MapCodec<GameProfile> ExtraCodecs.gameProfileCodec(Codec<UUID> uuidCodec) static <I,E> Codec <E> ExtraCodecs.idResolverCodec(Codec<I> value, Function<I, @Nullable E> fromId, Function<E, @Nullable I> toId) static <P,I> Codec <I> ExtraCodecs.intervalCodec(Codec<P> pointCodec, String lowerBoundName, String upperBoundName, BiFunction<P, P, DataResult<I>> makeInterval, Function<I, P> getMin, Function<I, P> getMax) static <T> MapCodec<KeyframeTrack<T>> ExtraCodecs.nonEmptyHolderSet(Codec<HolderSet<T>> listCodec) ExtraCodecs.nonEmptyList(Codec<List<T>> listCodec) ExtraCodecs.nonEmptyMap(Codec<M> mapCodec) static <T> Codec<it.unimi.dsi.fastutil.objects.Object2BooleanMap<T>> ExtraCodecs.object2BooleanMap(Codec<T> keyCodec) ExtraCodecs.optionalEmptyMap(Codec<A> codec) static <E> Codec<E> ExtraCodecs.orCompressed(Codec<E> normal, Codec<E> compressed) static <E> Codec<E> ExtraCodecs.overrideLifecycle(Codec<E> codec, Function<E, Lifecycle> lifecycleGetter) static <E> Codec<E> ExtraCodecs.overrideLifecycle(Codec<E> codec, Function<E, Lifecycle> decodeLifecycle, Function<E, Lifecycle> encodeLifecycle) ExtraCodecs.sizeLimitedMap(Codec<Map<K, V>> codec, int maxSizeInclusive) static <K,V> ExtraCodecs.StrictUnboundedMapCodec <K, V> ExtraCodecs.strictUnboundedMap(Codec<K> keyCodec, Codec<V> elementCodec) <T> DataResult<T> RegistryContextSwapper.swapTo(Codec<T> codec, T value, HolderLookup.Provider newContext) <A> Codec<A> Constructors in net.minecraft.util with parameters of type Codec -
Uses of Codec in net.minecraft.util.datafix
Methods in net.minecraft.util.datafix that return CodecMethods in net.minecraft.util.datafix with parameters of type Codec -
Uses of Codec in net.minecraft.util.datafix.fixes
Fields in net.minecraft.util.datafix.fixes declared as CodecModifier and TypeFieldDescriptionstatic final Codec<WorldGenSettingsFix.StructureFeatureConfiguration> WorldGenSettingsFix.StructureFeatureConfiguration.CODECEntityRedundantChanceTagsFix.FLOAT_LIST_CODEC -
Uses of Codec in net.minecraft.util.eventlog
Fields in net.minecraft.util.eventlog declared as CodecMethods in net.minecraft.util.eventlog with parameters of type CodecConstructors in net.minecraft.util.eventlog with parameters of type Codec -
Uses of Codec in net.minecraft.util.filefix
Methods in net.minecraft.util.filefix that return CodecModifier and TypeMethodDescription -
Uses of Codec in net.minecraft.util.filefix.virtualfilesystem
Methods in net.minecraft.util.filefix.virtualfilesystem that return Codec -
Uses of Codec in net.minecraft.util.parsing.packrat.commands
Methods in net.minecraft.util.parsing.packrat.commands with parameters of type CodecModifier and TypeMethodDescriptiondefault <T,O> CommandArgumentParser <T> CommandArgumentParser.withCodec(DynamicOps<O> ops, CommandArgumentParser<O> valueParser, Codec<T> codec, DynamicCommandExceptionType exceptionType) -
Uses of Codec in net.minecraft.util.random
Methods in net.minecraft.util.random that return CodecModifier and TypeMethodDescriptionstatic <E> Codec<WeightedList<E>> static <E> Codec<WeightedList<E>> private static <E> Codec<WeightedList<E>> WeightedList.entryToListCodec(Codec<Weighted<E>> weightedElementCodec) private static <E> Codec<WeightedList<E>> WeightedList.entryToNonEmptyListCodec(Codec<Weighted<E>> weightedElementCodec) static <E> Codec<WeightedList<E>> WeightedList.nonEmptyCodec(Codec<E> elementCodec) static <E> Codec<WeightedList<E>> WeightedList.nonEmptyCodec(MapCodec<E> elementCodec) Methods in net.minecraft.util.random with parameters of type CodecModifier and TypeMethodDescriptionstatic <E> Codec<WeightedList<E>> private static <E> Codec<WeightedList<E>> WeightedList.entryToListCodec(Codec<Weighted<E>> weightedElementCodec) private static <E> Codec<WeightedList<E>> WeightedList.entryToNonEmptyListCodec(Codec<Weighted<E>> weightedElementCodec) static <E> Codec<WeightedList<E>> WeightedList.nonEmptyCodec(Codec<E> elementCodec) -
Uses of Codec in net.minecraft.util.valueproviders
Fields in net.minecraft.util.valueproviders declared as CodecModifier and TypeFieldDescriptionstatic final Codec<FloatProvider> FloatProviders.CODECstatic final Codec<IntProvider> IntProviders.CODECprivate static final Codec<Either<Float, FloatProvider>> FloatProviders.CONSTANT_OR_DISPATCH_CODECprivate static final Codec<Either<Integer, IntProvider>> IntProviders.CONSTANT_OR_DISPATCH_CODECstatic final Codec<IntProvider> IntProviders.NON_NEGATIVE_CODECstatic final Codec<IntProvider> IntProviders.POSITIVE_CODECMethods in net.minecraft.util.valueproviders that return CodecModifier and TypeMethodDescriptionstatic Codec<FloatProvider> FloatProviders.codec(float minValue, float maxValue) static Codec<IntProvider> IntProviders.codec(int minValue, int maxValue) static <T extends IntProvider>
Codec<T> IntProviders.validateCodec(int minValue, int maxValue, Codec<T> codec) Methods in net.minecraft.util.valueproviders with parameters of type CodecModifier and TypeMethodDescriptionstatic <T extends IntProvider>
Codec<T> IntProviders.validateCodec(int minValue, int maxValue, Codec<T> codec) -
Uses of Codec in net.minecraft.world
Fields in net.minecraft.world declared as CodecModifier and TypeFieldDescriptionstatic final Codec<BossEvent.BossBarColor> BossEvent.BossBarColor.CODECstatic final Codec<BossEvent.BossBarOverlay> BossEvent.BossBarOverlay.CODECstatic final Codec<ItemStackWithSlot> ItemStackWithSlot.CODECLockCode.CODECstatic final Codec<RandomSequence> RandomSequence.CODECstatic final Codec<RandomSequences> RandomSequences.CODECprivate static final Codec<Stopwatches> Stopwatches.CODEC -
Uses of Codec in net.minecraft.world.attribute
Fields in net.minecraft.world.attribute declared as CodecModifier and TypeFieldDescriptionstatic final Codec<AmbientAdditionsSettings> AmbientAdditionsSettings.CODECstatic final Codec<AmbientMoodSettings> AmbientMoodSettings.CODECstatic final Codec<AmbientParticle> AmbientParticle.CODECstatic final Codec<AmbientSounds> AmbientSounds.CODECstatic final Codec<AttributeType<?>> AttributeTypes.CODECstatic final Codec<BackgroundMusic> BackgroundMusic.CODECBedRule.CODECstatic final Codec<BedRule.Rule> BedRule.Rule.CODECstatic final Codec<EnvironmentAttributeMap> EnvironmentAttributeMap.CODECstatic final Codec<EnvironmentAttribute<?>> EnvironmentAttributes.CODECstatic final Codec<EnvironmentAttributeMap> EnvironmentAttributeMap.CODEC_ONLY_POSITIONALprivate final Codec<AttributeModifier<Value, ?>> AttributeType.modifierCodecThe field for themodifierCodecrecord component.static final Codec<EnvironmentAttributeMap> EnvironmentAttributeMap.NETWORK_CODECAttributeType.valueCodecThe field for thevalueCodecrecord component.Methods in net.minecraft.world.attribute that return CodecModifier and TypeMethodDescriptionprivate static <Value> Codec<EnvironmentAttributeMap.Entry<Value, ?>> EnvironmentAttributeMap.Entry.createCodec(EnvironmentAttribute<Value> attribute) private static <Value> Codec<AttributeModifier<Value, ?>> AttributeType.createModifierCodec(Map<AttributeModifier.OperationId, AttributeModifier<Value, ?>> modifiers) AttributeType.modifierCodec()Returns the value of themodifierCodecrecord component.AttributeType.valueCodec()Returns the value of thevalueCodecrecord component.EnvironmentAttribute.valueCodec()Methods in net.minecraft.world.attribute with parameters of type CodecModifier and TypeMethodDescriptionstatic <Value> AttributeType<Value> AttributeType.ofInterpolated(Codec<Value> valueCodec, Map<AttributeModifier.OperationId, AttributeModifier<Value, ?>> modifierLibrary, LerpFunction<Value> lerp) static <Value> AttributeType<Value> AttributeType.ofInterpolated(Codec<Value> valueCodec, Map<AttributeModifier.OperationId, AttributeModifier<Value, ?>> modifierLibrary, LerpFunction<Value> lerp, LerpFunction<Value> partialTickLerp, @Nullable ToFloatFunction<Value> toFloat) static <Value> AttributeType<Value> AttributeType.ofNotInterpolated(Codec<Value> valueCodec) static <Value> AttributeType<Value> AttributeType.ofNotInterpolated(Codec<Value> valueCodec, Map<AttributeModifier.OperationId, AttributeModifier<Value, ?>> modifierLibrary) Constructors in net.minecraft.world.attribute with parameters of type CodecModifierConstructorDescriptionAttributeType(Codec<Value> valueCodec, Map<AttributeModifier.OperationId, AttributeModifier<Value, ?>> modifierLibrary, Codec<AttributeModifier<Value, ?>> modifierCodec, LerpFunction<Value> keyframeLerp, LerpFunction<Value> stateChangeLerp, LerpFunction<Value> spatialLerp, LerpFunction<Value> partialTickLerp, @Nullable ToFloatFunction<Value> toFloat) Creates an instance of aAttributeTyperecord class. -
Uses of Codec in net.minecraft.world.attribute.modifier
Fields in net.minecraft.world.attribute.modifier declared as CodecModifier and TypeFieldDescriptionstatic final Codec<AttributeModifier.OperationId> AttributeModifier.OperationId.CODECstatic final Codec<ColorModifier.BlendToGray> ColorModifier.BlendToGray.CODECstatic final Codec<FloatWithAlpha> FloatWithAlpha.CODECprivate static final Codec<FloatWithAlpha> FloatWithAlpha.FULL_CODECMethods in net.minecraft.world.attribute.modifier that return CodecModifier and TypeMethodDescriptionAttributeModifier.argumentCodec(EnvironmentAttribute<Subject> attribute) AttributeModifier.OverrideModifier.argumentCodec(EnvironmentAttribute<Value> attribute) BooleanModifier.argumentCodec(EnvironmentAttribute<Boolean> type) ColorModifier.ArgbModifier.argumentCodec(EnvironmentAttribute<Integer> type) ColorModifier.RgbModifier.argumentCodec(EnvironmentAttribute<Integer> type) FloatModifier.Simple.argumentCodec(EnvironmentAttribute<Float> type) IntegerModifier.Simple.argumentCodec(EnvironmentAttribute<Integer> type) -
Uses of Codec in net.minecraft.world.clock
Fields in net.minecraft.world.clock declared as CodecModifier and TypeFieldDescriptionstatic final Codec<ClockState> ClockState.CODECstatic final Codec<PackedClockStates> PackedClockStates.CODECstatic final Codec<Holder<WorldClock>> WorldClock.CODECstatic final Codec<WorldClock> WorldClock.DIRECT_CODECstatic final Codec<ResourceKey<ClockTimeMarker>> ClockTimeMarker.KEY_CODEC -
Uses of Codec in net.minecraft.world.damagesource
Fields in net.minecraft.world.damagesource declared as CodecModifier and TypeFieldDescriptionstatic final Codec<DamageEffects> DamageEffects.CODECstatic final Codec<DamageScaling> DamageScaling.CODECstatic final Codec<Holder<DamageType>> DamageType.CODECstatic final Codec<DeathMessageType> DeathMessageType.CODECstatic final Codec<DamageType> DamageType.DIRECT_CODEC -
Uses of Codec in net.minecraft.world.effect
Fields in net.minecraft.world.effect declared as Codec -
Uses of Codec in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Display.BillboardConstraints> Display.BillboardConstraints.CODECstatic final Codec<Display.TextDisplay.Align> Display.TextDisplay.Align.CODECstatic final Codec<DropChances> DropChances.CODECstatic final Codec<EntityEquipment> EntityEquipment.CODECprivate static final Codec<? extends EntityReference<?>> EntityReference.CODECstatic final Codec<EntityType<?>> EntityType.CODECstatic final Codec<EquipmentSlotGroup> EquipmentSlotGroup.CODECstatic final Codec<EquipmentTable> EquipmentTable.CODECstatic final Codec<HumanoidArm> HumanoidArm.CODECstatic final Codec<Interaction.PlayerAction> Interaction.PlayerAction.CODECstatic final Codec<Leashable.LeashData> Leashable.LeashData.CODECstatic final Codec<MobCategory> MobCategory.CODECPose.CODECstatic final Codec<Map<EquipmentSlot, Float>> EquipmentTable.DROP_CHANCES_CODECEntity.TAG_LIST_CODECMethods in net.minecraft.world.entity that return CodecModifier and TypeMethodDescriptionstatic <Type extends UniquelyIdentifyable>
Codec<EntityReference<Type>> EntityReference.codec() -
Uses of Codec in net.minecraft.world.entity.ai
Fields in net.minecraft.world.entity.ai declared as Codec -
Uses of Codec in net.minecraft.world.entity.ai.attributes
Fields in net.minecraft.world.entity.ai.attributes declared as CodecModifier and TypeFieldDescriptionAttribute.CODECstatic final Codec<AttributeInstance.Packed> AttributeInstance.Packed.CODECstatic final Codec<AttributeModifier> AttributeModifier.CODECstatic final Codec<AttributeModifier.Operation> AttributeModifier.Operation.CODECstatic final Codec<List<AttributeInstance.Packed>> AttributeInstance.Packed.LIST_CODEC -
Uses of Codec in net.minecraft.world.entity.ai.behavior
Methods in net.minecraft.world.entity.ai.behavior that return CodecModifier and TypeMethodDescriptionstatic <U> Codec<ShufflingList<U>> static <E> Codec<ShufflingList.WeightedEntry<E>> Methods in net.minecraft.world.entity.ai.behavior with parameters of type CodecModifier and TypeMethodDescriptionstatic <U> Codec<ShufflingList<U>> static <E> Codec<ShufflingList.WeightedEntry<E>> -
Uses of Codec in net.minecraft.world.entity.ai.gossip
Fields in net.minecraft.world.entity.ai.gossip declared as CodecModifier and TypeFieldDescriptionstatic final Codec<GossipContainer> GossipContainer.CODECstatic final Codec<GossipContainer.GossipEntry> GossipContainer.GossipEntry.CODECstatic final Codec<GossipType> GossipType.CODEC -
Uses of Codec in net.minecraft.world.entity.ai.memory
Fields in net.minecraft.world.entity.ai.memory declared as CodecModifier and TypeFieldDescriptionMemoryMap.CODECprivate static final Codec<MemoryModuleType<?>> MemoryMap.SERIALIZABLE_MEMORY_MODULE_CODECFields in net.minecraft.world.entity.ai.memory with type parameters of type CodecModifier and TypeFieldDescriptionprivate final Optional<Codec<ExpirableValue<U>>> MemoryModuleType.codecMethods in net.minecraft.world.entity.ai.memory that return CodecMethods in net.minecraft.world.entity.ai.memory that return types with arguments of type CodecMethods in net.minecraft.world.entity.ai.memory with parameters of type CodecModifier and TypeMethodDescriptionstatic <T> Codec<ExpirableValue<T>> private static <U> MemoryModuleType<U> Constructor parameters in net.minecraft.world.entity.ai.memory with type arguments of type Codec -
Uses of Codec in net.minecraft.world.entity.ai.village.poi
Fields in net.minecraft.world.entity.ai.village.poi declared as CodecModifier and TypeFieldDescriptionstatic final Codec<PoiRecord.Packed> PoiRecord.Packed.CODECstatic final Codec<PoiSection.Packed> PoiSection.Packed.CODEC -
Uses of Codec in net.minecraft.world.entity.animal.armadillo
Fields in net.minecraft.world.entity.animal.armadillo declared as CodecModifier and TypeFieldDescriptionprivate static final Codec<Armadillo.ArmadilloState> Armadillo.ArmadilloState.CODEC -
Uses of Codec in net.minecraft.world.entity.animal.axolotl
Fields in net.minecraft.world.entity.animal.axolotl declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Axolotl.Variant> Axolotl.Variant.CODECstatic final Codec<Axolotl.Variant> Axolotl.Variant.LEGACY_CODECDeprecated. -
Uses of Codec in net.minecraft.world.entity.animal.chicken
Fields in net.minecraft.world.entity.animal.chicken declared as CodecModifier and TypeFieldDescriptionprivate static Codec<ChickenSoundVariant.ChickenSoundSet> ChickenSoundVariant.ChickenSoundSet.CODECstatic final Codec<Holder<ChickenSoundVariant>> ChickenSoundVariant.CODECstatic final Codec<Holder<ChickenVariant>> ChickenVariant.CODECstatic final Codec<ChickenVariant.ModelType> ChickenVariant.ModelType.CODECstatic final Codec<ChickenSoundVariant> ChickenSoundVariant.DIRECT_CODECstatic final Codec<ChickenVariant> ChickenVariant.DIRECT_CODECstatic final Codec<ChickenSoundVariant> ChickenSoundVariant.NETWORK_CODECstatic final Codec<ChickenVariant> ChickenVariant.NETWORK_CODECMethods in net.minecraft.world.entity.animal.chicken that return CodecModifier and TypeMethodDescriptionprivate static Codec<ChickenSoundVariant> ChickenSoundVariant.codec() -
Uses of Codec in net.minecraft.world.entity.animal.cow
Fields in net.minecraft.world.entity.animal.cow declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Holder<CowSoundVariant>> CowSoundVariant.CODECstatic final Codec<Holder<CowVariant>> CowVariant.CODECstatic final Codec<CowVariant.ModelType> CowVariant.ModelType.CODECstatic final Codec<MushroomCow.Variant> MushroomCow.Variant.CODECstatic final Codec<CowSoundVariant> CowSoundVariant.DIRECT_CODECstatic final Codec<CowVariant> CowVariant.DIRECT_CODECstatic final Codec<CowSoundVariant> CowSoundVariant.NETWORK_CODECstatic final Codec<CowVariant> CowVariant.NETWORK_CODECMethods in net.minecraft.world.entity.animal.cow that return Codec -
Uses of Codec in net.minecraft.world.entity.animal.equine
Fields in net.minecraft.world.entity.animal.equine declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Llama.Variant> Llama.Variant.CODECVariant.CODECstatic final Codec<Llama.Variant> Llama.Variant.LEGACY_CODECDeprecated. -
Uses of Codec in net.minecraft.world.entity.animal.feline
Fields in net.minecraft.world.entity.animal.feline declared as CodecModifier and TypeFieldDescriptionprivate static Codec<CatSoundVariant.CatSoundSet> CatSoundVariant.CatSoundSet.CODECstatic final Codec<Holder<CatSoundVariant>> CatSoundVariant.CODECstatic final Codec<Holder<CatVariant>> CatVariant.CODECstatic final Codec<CatSoundVariant> CatSoundVariant.DIRECT_CODECstatic final Codec<CatVariant> CatVariant.DIRECT_CODECstatic final Codec<CatSoundVariant> CatSoundVariant.NETWORK_CODECstatic final Codec<CatVariant> CatVariant.NETWORK_CODECMethods in net.minecraft.world.entity.animal.feline that return Codec -
Uses of Codec in net.minecraft.world.entity.animal.fish
Fields in net.minecraft.world.entity.animal.fish declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Salmon.Variant> Salmon.Variant.CODECstatic final Codec<TropicalFish.Pattern> TropicalFish.Pattern.CODECstatic final Codec<TropicalFish.Variant> TropicalFish.Variant.CODEC -
Uses of Codec in net.minecraft.world.entity.animal.fox
Fields in net.minecraft.world.entity.animal.fox declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Fox.Variant> Fox.Variant.CODECprivate static final Codec<List<EntityReference<LivingEntity>>> -
Uses of Codec in net.minecraft.world.entity.animal.frog
Fields in net.minecraft.world.entity.animal.frog declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Holder<FrogVariant>> FrogVariant.CODECstatic final Codec<FrogVariant> FrogVariant.DIRECT_CODECstatic final Codec<FrogVariant> FrogVariant.NETWORK_CODEC -
Uses of Codec in net.minecraft.world.entity.animal.golem
Fields in net.minecraft.world.entity.animal.golem declared as Codec -
Uses of Codec in net.minecraft.world.entity.animal.nautilus
Fields in net.minecraft.world.entity.animal.nautilus declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Holder<ZombieNautilusVariant>> ZombieNautilusVariant.CODECstatic final Codec<ZombieNautilusVariant.ModelType> ZombieNautilusVariant.ModelType.CODECstatic final Codec<ZombieNautilusVariant> ZombieNautilusVariant.DIRECT_CODECstatic final Codec<ZombieNautilusVariant> ZombieNautilusVariant.NETWORK_CODEC -
Uses of Codec in net.minecraft.world.entity.animal.panda
Fields in net.minecraft.world.entity.animal.panda declared as Codec -
Uses of Codec in net.minecraft.world.entity.animal.parrot
Fields in net.minecraft.world.entity.animal.parrot declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Parrot.Variant> Parrot.Variant.CODECstatic final Codec<Parrot.Variant> Parrot.Variant.LEGACY_CODECDeprecated. -
Uses of Codec in net.minecraft.world.entity.animal.pig
Fields in net.minecraft.world.entity.animal.pig declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Holder<PigSoundVariant>> PigSoundVariant.CODECstatic final Codec<PigSoundVariant.PigSoundSet> PigSoundVariant.PigSoundSet.CODECstatic final Codec<Holder<PigVariant>> PigVariant.CODECstatic final Codec<PigVariant.ModelType> PigVariant.ModelType.CODECstatic final Codec<PigSoundVariant> PigSoundVariant.DIRECT_CODECstatic final Codec<PigVariant> PigVariant.DIRECT_CODECstatic final Codec<PigSoundVariant> PigSoundVariant.NETWORK_CODECstatic final Codec<PigVariant> PigVariant.NETWORK_CODECMethods in net.minecraft.world.entity.animal.pig that return Codec -
Uses of Codec in net.minecraft.world.entity.animal.rabbit
Fields in net.minecraft.world.entity.animal.rabbit declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Rabbit.Variant> Rabbit.Variant.CODECstatic final Codec<Rabbit.Variant> Rabbit.Variant.LEGACY_CODECDeprecated. -
Uses of Codec in net.minecraft.world.entity.animal.wolf
Fields in net.minecraft.world.entity.animal.wolf declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Holder<WolfSoundVariant>> WolfSoundVariant.CODECstatic final Codec<WolfSoundVariant.WolfSoundSet> WolfSoundVariant.WolfSoundSet.CODECstatic final Codec<WolfVariant.AssetInfo> WolfVariant.AssetInfo.CODECstatic final Codec<Holder<WolfVariant>> WolfVariant.CODECstatic final Codec<WolfSoundVariant> WolfSoundVariant.DIRECT_CODECstatic final Codec<WolfVariant> WolfVariant.DIRECT_CODECstatic final Codec<WolfSoundVariant> WolfSoundVariant.NETWORK_CODECstatic final Codec<WolfVariant> WolfVariant.NETWORK_CODECMethods in net.minecraft.world.entity.animal.wolf that return CodecModifier and TypeMethodDescriptionprivate static Codec<WolfSoundVariant> WolfSoundVariant.getWolfSoundVariantCodec() -
Uses of Codec in net.minecraft.world.entity.decoration
Fields in net.minecraft.world.entity.decoration declared as CodecModifier and TypeFieldDescriptionstatic final Codec<ArmorStand.ArmorStandPose> ArmorStand.ArmorStandPose.CODECMannequin.LAYERS_CODECMannequin.POSE_CODEC -
Uses of Codec in net.minecraft.world.entity.decoration.painting
Fields in net.minecraft.world.entity.decoration.painting declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Holder<PaintingVariant>> PaintingVariant.CODECstatic final Codec<PaintingVariant> PaintingVariant.DIRECT_CODEC -
Uses of Codec in net.minecraft.world.entity.monster.warden
Fields in net.minecraft.world.entity.monster.warden declared as CodecModifier and TypeFieldDescriptionstatic final Codec<WardenSpawnTracker> WardenSpawnTracker.CODECAngerManagement.SUSPECT_ANGER_PAIRMethods in net.minecraft.world.entity.monster.warden that return Codec -
Uses of Codec in net.minecraft.world.entity.npc.villager
Fields in net.minecraft.world.entity.npc.villager declared as CodecModifier and TypeFieldDescriptionstatic final Codec<VillagerData> VillagerData.CODECstatic final Codec<Holder<VillagerType>> VillagerType.CODEC -
Uses of Codec in net.minecraft.world.entity.player
Fields in net.minecraft.world.entity.player declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Abilities.Packed> Abilities.Packed.CODECstatic final Codec<PlayerModelPart> PlayerModelPart.CODECstatic final Codec<PlayerModelType> PlayerModelType.CODECstatic final Codec<ProfileKeyPair> ProfileKeyPair.CODECstatic final Codec<ProfilePublicKey.Data> ProfilePublicKey.Data.CODECstatic final Codec<ChatVisiblity> ChatVisiblity.LEGACY_CODECstatic final Codec<ProfilePublicKey> ProfilePublicKey.TRUSTED_CODEC -
Uses of Codec in net.minecraft.world.entity.projectile.arrow
Fields in net.minecraft.world.entity.projectile.arrow declared as CodecModifier and TypeFieldDescriptionstatic final Codec<AbstractArrow.Pickup> AbstractArrow.Pickup.LEGACY_CODEC -
Uses of Codec in net.minecraft.world.entity.raid
Fields in net.minecraft.world.entity.raid declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Raid.RaidStatus> Raid.RaidStatus.CODECRaids.CODECstatic final Codec<Raids.RaidWithId> Raids.RaidWithId.CODEC -
Uses of Codec in net.minecraft.world.entity.variant
Fields in net.minecraft.world.entity.variant declared as CodecModifier and TypeFieldDescriptionstatic final Codec<SpawnCondition> SpawnCondition.CODECstatic final Codec<SpawnPrioritySelectors> SpawnPrioritySelectors.CODECMethods in net.minecraft.world.entity.variant that return CodecModifier and TypeMethodDescriptionstatic <Context, Condition extends PriorityProvider.SelectorCondition<Context>>
Codec<PriorityProvider.Selector<Context, Condition>> Methods in net.minecraft.world.entity.variant with parameters of type CodecModifier and TypeMethodDescriptionstatic <T> MapCodec<ModelAndTexture<T>> static <Context, Condition extends PriorityProvider.SelectorCondition<Context>>
Codec<PriorityProvider.Selector<Context, Condition>> -
Uses of Codec in net.minecraft.world.flag
Fields in net.minecraft.world.flag declared as CodecMethods in net.minecraft.world.flag that return Codec -
Uses of Codec in net.minecraft.world.food
Fields in net.minecraft.world.food declared as Codec -
Uses of Codec in net.minecraft.world.inventory
Fields in net.minecraft.world.inventory declared as Codec -
Uses of Codec in net.minecraft.world.item
Fields in net.minecraft.world.item declared as CodecModifier and TypeFieldDescriptionstatic final Codec<AdventureModePredicate> AdventureModePredicate.CODECstatic final Codec<CrossbowItem.ChargeType> CrossbowItem.ChargeType.CODECstatic final Codec<CrossbowItem.ChargingSounds> CrossbowItem.ChargingSounds.CODECstatic final Codec<Holder<Instrument>> Instrument.CODECItem.CODECstatic final Codec<ItemDisplayContext> ItemDisplayContext.CODECItemStack.CODECstatic final Codec<ItemStackTemplate> ItemStackTemplate.CODECstatic final Codec<ItemUseAnimation> ItemUseAnimation.CODECstatic final Codec<JukeboxPlayable> JukeboxPlayable.CODECstatic final Codec<Holder<JukeboxSong>> JukeboxSong.CODECRarity.CODECstatic final Codec<SwingAnimationType> SwingAnimationType.CODECstatic final Codec<Instrument> Instrument.DIRECT_CODECstatic final Codec<JukeboxSong> JukeboxSong.DIRECT_CODECDyeColor.LEGACY_ID_CODECDeprecated.ItemStack.OPTIONAL_CODEC -
Uses of Codec in net.minecraft.world.item.alchemy
Fields in net.minecraft.world.item.alchemy declared as CodecModifier and TypeFieldDescriptionPotion.CODECstatic final Codec<PotionContents> PotionContents.CODECprivate static final Codec<PotionContents> PotionContents.FULL_CODEC -
Uses of Codec in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component declared as CodecModifier and TypeFieldDescriptionstatic final Codec<AttackRange> AttackRange.CODECBees.CODECstatic final Codec<BlockItemStateProperties> BlockItemStateProperties.CODECstatic final Codec<BlocksAttacks> BlocksAttacks.CODECstatic final Codec<BlocksAttacks.DamageReduction> BlocksAttacks.DamageReduction.CODECstatic final Codec<BlocksAttacks.ItemDamageFunction> BlocksAttacks.ItemDamageFunction.CODECstatic final Codec<BundleContents> BundleContents.CODECstatic final Codec<ChargedProjectiles> ChargedProjectiles.CODECstatic final Codec<Consumable> Consumable.CODECstatic final Codec<CustomData> CustomData.CODECstatic final Codec<CustomModelData> CustomModelData.CODECstatic final Codec<DamageResistant> DamageResistant.CODECstatic final Codec<DeathProtection> DeathProtection.CODECstatic final Codec<DebugStickState> DebugStickState.CODECstatic final Codec<DyedItemColor> DyedItemColor.CODECstatic final Codec<FireworkExplosion> FireworkExplosion.CODECstatic final Codec<FireworkExplosion.Shape> FireworkExplosion.Shape.CODECFireworks.CODECstatic final Codec<InstrumentComponent> InstrumentComponent.CODECstatic final Codec<ItemAttributeModifiers> ItemAttributeModifiers.CODECstatic final Codec<ItemAttributeModifiers.Display> ItemAttributeModifiers.Display.CODECprivate static final Codec<ItemAttributeModifiers.Display.Type> ItemAttributeModifiers.Display.Type.CODECstatic final Codec<ItemAttributeModifiers.Entry> ItemAttributeModifiers.Entry.CODECstatic final Codec<ItemContainerContents> ItemContainerContents.CODECstatic final Codec<ItemContainerContents.Slot> ItemContainerContents.Slot.CODECItemLore.CODECstatic final Codec<KineticWeapon> KineticWeapon.CODECstatic final Codec<KineticWeapon.Condition> KineticWeapon.Condition.CODECstatic final Codec<LodestoneTracker> LodestoneTracker.CODECstatic final Codec<MapDecorations> MapDecorations.CODECstatic final Codec<MapDecorations.Entry> MapDecorations.Entry.CODECstatic final Codec<MapItemColor> MapItemColor.CODECstatic final Codec<OminousBottleAmplifier> OminousBottleAmplifier.CODECstatic final Codec<PiercingWeapon> PiercingWeapon.CODECstatic final Codec<ProvidesTrimMaterial> ProvidesTrimMaterial.CODECstatic final Codec<ResolvableProfile> ResolvableProfile.CODECstatic final Codec<SeededContainerLoot> SeededContainerLoot.CODECstatic final Codec<SuspiciousStewEffects> SuspiciousStewEffects.CODECstatic final Codec<SuspiciousStewEffects.Entry> SuspiciousStewEffects.Entry.CODECstatic final Codec<SwingAnimation> SwingAnimation.CODECTool.CODECTool.Rule.CODECstatic final Codec<TooltipDisplay> TooltipDisplay.CODECstatic final Codec<UseCooldown> UseCooldown.CODECstatic final Codec<UseEffects> UseEffects.CODECstatic final Codec<UseRemainder> UseRemainder.CODECWeapon.CODECstatic final Codec<WritableBookContent> WritableBookContent.CODECstatic final Codec<WrittenBookContent> WrittenBookContent.CODECstatic final Codec<it.unimi.dsi.fastutil.ints.IntList> FireworkExplosion.COLOR_LIST_CODECprivate static final Codec<SequencedSet<DataComponentType<?>>> TooltipDisplay.COMPONENT_SET_CODECstatic final Codec<CompoundTag> CustomData.COMPOUND_TAG_CODECWrittenBookContent.CONTENT_CODECprivate static final Codec<ResolvableProfile> ResolvableProfile.FULL_CODECprivate static final Codec<Filterable<String>> WritableBookContent.PAGE_CODECstatic final Codec<List<Filterable<String>>> WritableBookContent.PAGES_CODECstatic final Codec<List<Filterable<Component>>> WrittenBookContent.PAGES_CODECMethods in net.minecraft.world.item.component that return CodecModifier and TypeMethodDescriptionstatic <T> Codec<TypedEntityData<T>> private static Codec<Filterable<Component>> static Codec<List<Filterable<Component>>> WrittenBookContent.pagesCodec(Codec<Component> contentCodec) Methods in net.minecraft.world.item.component with parameters of type CodecModifier and TypeMethodDescriptionstatic <T> Codec<TypedEntityData<T>> private static Codec<Filterable<Component>> static Codec<List<Filterable<Component>>> WrittenBookContent.pagesCodec(Codec<Component> contentCodec) -
Uses of Codec in net.minecraft.world.item.consume_effects
Fields in net.minecraft.world.item.consume_effects declared as Codec -
Uses of Codec in net.minecraft.world.item.crafting
Fields in net.minecraft.world.item.crafting declared as CodecModifier and TypeFieldDescriptionprivate static final Codec<MinMaxBounds.Ints> BookCloningRecipe.ALLOWED_GENERATION_CODECstatic final Codec<CookingBookCategory> CookingBookCategory.CODECstatic final Codec<CraftingBookCategory> CraftingBookCategory.CODECstatic final Codec<Ingredient> Ingredient.CODECRecipe.CODECstatic final Codec<Optional<WithConditions<Recipe<?>>>> Recipe.CONDITIONAL_CODECstatic final Codec<ResourceKey<Recipe<?>>> Recipe.KEY_CODECstatic final Codec<MinMaxBounds.Ints> TransmuteRecipe.MATERIAL_COUNT_BOUNDSIngredient.NON_AIR_HOLDER_SET_CODECShapedRecipePattern.Data.PATTERN_CODECShapedRecipePattern.Data.SYMBOL_CODECMethods in net.minecraft.world.item.crafting with parameters of type CodecModifier and TypeMethodDescriptionstatic <CategoryType, SelfType extends Recipe.BookInfo<CategoryType>>
MapCodec<SelfType> Recipe.BookInfo.mapCodec(Codec<CategoryType> categoryCodec, CategoryType defaultCategory, Recipe.BookInfo.Constructor<CategoryType, SelfType> constructor) -
Uses of Codec in net.minecraft.world.item.crafting.display
Fields in net.minecraft.world.item.crafting.display declared as CodecModifier and TypeFieldDescriptionstatic final Codec<RecipeDisplay> RecipeDisplay.CODECstatic final Codec<SlotDisplay> SlotDisplay.CODEC -
Uses of Codec in net.minecraft.world.item.enchantment
Fields in net.minecraft.world.item.enchantment declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Enchantable> Enchantable.CODECstatic final Codec<Holder<Enchantment>> Enchantment.CODECstatic final Codec<Enchantment.Cost> Enchantment.Cost.CODECstatic final Codec<DataComponentMap> EnchantmentEffectComponents.CODECstatic final Codec<EnchantmentTarget> EnchantmentTarget.CODECstatic final Codec<ItemEnchantments> ItemEnchantments.CODECstatic final Codec<LevelBasedValue> LevelBasedValue.CODECstatic final Codec<LevelBasedValue.Constant> LevelBasedValue.Constant.CODECstatic final Codec<Repairable> Repairable.CODECstatic final Codec<DataComponentType<?>> EnchantmentEffectComponents.COMPONENT_CODECstatic final Codec<Enchantment> Enchantment.DIRECT_CODECstatic final Codec<LevelBasedValue> LevelBasedValue.DISPATCH_CODECItemEnchantments.LEVEL_CODECstatic final Codec<EnchantmentTarget> EnchantmentTarget.NON_DAMAGE_CODECMethods in net.minecraft.world.item.enchantment that return CodecModifier and TypeMethodDescriptionstatic <T> Codec<ConditionalEffect<T>> static <S> Codec<TargetedConditionalEffect<S>> static <S> Codec<TargetedConditionalEffect<S>> TargetedConditionalEffect.equipmentDropsCodec(Codec<S> effectCodec) private static <T extends Validatable>
Codec<List<T>> EnchantmentEffectComponents.validatedListCodec(Codec<T> elementCodec, ContextKeySet paramSet) Methods in net.minecraft.world.item.enchantment with parameters of type CodecModifier and TypeMethodDescriptionstatic <T> Codec<ConditionalEffect<T>> static <S> Codec<TargetedConditionalEffect<S>> static <S> Codec<TargetedConditionalEffect<S>> TargetedConditionalEffect.equipmentDropsCodec(Codec<S> effectCodec) private static <T extends Validatable>
Codec<List<T>> EnchantmentEffectComponents.validatedListCodec(Codec<T> elementCodec, ContextKeySet paramSet) -
Uses of Codec in net.minecraft.world.item.enchantment.effects
Fields in net.minecraft.world.item.enchantment.effects declared as CodecModifier and TypeFieldDescriptionstatic final Codec<DamageImmunity> DamageImmunity.CODECstatic final Codec<EnchantmentEntityEffect> EnchantmentEntityEffect.CODECstatic final Codec<EnchantmentLocationBasedEffect> EnchantmentLocationBasedEffect.CODECstatic final Codec<EnchantmentValueEffect> EnchantmentValueEffect.CODECstatic final Codec<SpawnParticlesEffect.PositionSourceType> SpawnParticlesEffect.PositionSourceType.CODECMethods in net.minecraft.world.item.enchantment.effects with parameters of type Codec -
Uses of Codec in net.minecraft.world.item.enchantment.providers
Fields in net.minecraft.world.item.enchantment.providers declared as CodecModifier and TypeFieldDescriptionstatic final Codec<EnchantmentProvider> EnchantmentProvider.DIRECT_CODEC -
Uses of Codec in net.minecraft.world.item.equipment
Fields in net.minecraft.world.item.equipment declared as Codec -
Uses of Codec in net.minecraft.world.item.equipment.trim
Fields in net.minecraft.world.item.equipment.trim declared as CodecModifier and TypeFieldDescriptionArmorTrim.CODECstatic final Codec<MaterialAssetGroup.AssetInfo> MaterialAssetGroup.AssetInfo.CODECstatic final Codec<Holder<TrimMaterial>> TrimMaterial.CODECstatic final Codec<Holder<TrimPattern>> TrimPattern.CODECstatic final Codec<TrimMaterial> TrimMaterial.DIRECT_CODECstatic final Codec<TrimPattern> TrimPattern.DIRECT_CODEC -
Uses of Codec in net.minecraft.world.item.slot
Fields in net.minecraft.world.item.slot declared as CodecModifier and TypeFieldDescriptionstatic final Codec<SlotSource> SlotSources.CODECstatic final Codec<GroupSlotSource> GroupSlotSource.INLINE_CODECstatic final Codec<SlotSource> SlotSources.TYPED_CODECMethods in net.minecraft.world.item.slot that return CodecModifier and TypeMethodDescriptionprotected static <T extends CompositeSlotSource>
Codec<T> CompositeSlotSource.createInlineCodec(Function<List<SlotSource>, T> factory) -
Uses of Codec in net.minecraft.world.item.trading
Fields in net.minecraft.world.item.trading declared as CodecModifier and TypeFieldDescriptionItemCost.CODECstatic final Codec<MerchantOffer> MerchantOffer.CODECstatic final Codec<MerchantOffers> MerchantOffers.CODECTradeCost.CODECTradeSet.CODECstatic final Codec<VillagerTrade> VillagerTrade.CODEC -
Uses of Codec in net.minecraft.world.level
Fields in net.minecraft.world.level declared as CodecModifier and TypeFieldDescriptionstatic final Codec<CardinalLighting.Type> CardinalLighting.Type.CODECChunkPos.CODECstatic final Codec<DataPackConfig> DataPackConfig.CODECstatic final Codec<Level.ExplosionInteraction> Level.ExplosionInteraction.CODECstatic final Codec<LevelSettings.DifficultySettings> LevelSettings.DifficultySettings.CODECMoonPhase.CODECSpawnData.CODECstatic final Codec<SpawnData.CustomSpawnRules> SpawnData.CustomSpawnRules.CODECstatic final Codec<TicketStorage> TicketStorage.CODECstatic final Codec<WorldDataConfiguration> WorldDataConfiguration.CODECGameType.LEGACY_ID_CODECDeprecated.static final Codec<WeightedList<SpawnData>> SpawnData.LIST_CODECstatic final Codec<ResourceKey<Level>> Level.RESOURCE_KEY_CODECTicketStorage.TICKET_ENTRY -
Uses of Codec in net.minecraft.world.level.biome
Fields in net.minecraft.world.level.biome declared as CodecModifier and TypeFieldDescriptionBiome.CODECstatic final Codec<Biome.Precipitation> Biome.Precipitation.CODECstatic final Codec<Biome.TemperatureModifier> Biome.TemperatureModifier.CODECstatic final Codec<BiomeSource> BiomeSource.CODECstatic final Codec<BiomeSpecialEffects> BiomeSpecialEffects.CODECstatic final Codec<BiomeSpecialEffects.GrassColorModifier> BiomeSpecialEffects.GrassColorModifier.CODECstatic final Codec<Climate.Parameter> Climate.Parameter.CODECstatic final Codec<Climate.ParameterPoint> Climate.ParameterPoint.CODECstatic final Codec<MobSpawnSettings.MobSpawnCost> MobSpawnSettings.MobSpawnCost.CODECstatic final Codec<Holder<MultiNoiseBiomeSourceParameterList>> MultiNoiseBiomeSourceParameterList.CODECstatic final Codec<MultiNoiseBiomeSourceParameterList.Preset> MultiNoiseBiomeSourceParameterList.Preset.CODECBiome.DIRECT_CODECstatic final Codec<MultiNoiseBiomeSourceParameterList> MultiNoiseBiomeSourceParameterList.DIRECT_CODECBiome.LIST_CODECBiome.NETWORK_CODECMethods in net.minecraft.world.level.biome that return Codec -
Uses of Codec in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as CodecModifier and TypeFieldDescriptionstatic final Codec<BannerBlock.AttachmentType> BannerBlock.AttachmentType.CODECstatic final Codec<CopperGolemStatueBlock.Pose> CopperGolemStatueBlock.Pose.CODECstatic final Codec<HangingSignBlock.Attachment> HangingSignBlock.Attachment.CODECMirror.CODECstatic final Codec<PlainSignBlock.Attachment> PlainSignBlock.Attachment.CODECRotation.CODECstatic final Codec<SculkSpreader.ChargeCursor> SculkSpreader.ChargeCursor.CODECstatic final Codec<SkullBlock.Type> SkullBlock.Type.CODECstatic final Codec<WeatheringCopper.WeatherState> WeatheringCopper.WeatherState.CODECSculkSpreader.ChargeCursor.DIRECTION_SETprivate static final Codec<FlowingFluid> LiquidBlock.FLOWING_FLUIDMirror.LEGACY_CODECDeprecated.Rotation.LEGACY_CODECDeprecated. -
Uses of Codec in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Holder<BannerPattern>> BannerPattern.CODECstatic final Codec<BannerPatternLayers> BannerPatternLayers.CODECstatic final Codec<BannerPatternLayers.Layer> BannerPatternLayers.Layer.CODECstatic final Codec<BeehiveBlockEntity.Occupant> BeehiveBlockEntity.Occupant.CODECstatic final Codec<PotDecorations> PotDecorations.CODECstatic final Codec<TestInstanceBlockEntity.Data> TestInstanceBlockEntity.Data.CODECstatic final Codec<TestInstanceBlockEntity.ErrorMarker> TestInstanceBlockEntity.ErrorMarker.CODECstatic final Codec<TestInstanceBlockEntity.Status> TestInstanceBlockEntity.Status.CODECstatic final Codec<BannerPattern> BannerPattern.DIRECT_CODECSignText.DIRECT_CODECSignText.LINES_CODECstatic final Codec<List<BeehiveBlockEntity.Occupant>> BeehiveBlockEntity.Occupant.LIST_CODECstatic final Codec<List<TestInstanceBlockEntity.ErrorMarker>> TestInstanceBlockEntity.ErrorMarker.LIST_CODECstatic final Codec<ResourceKey<StructureTemplatePool>> JigsawBlockEntity.POOL_CODECprivate static final Codec<Map<ResourceKey<Recipe<?>>, Integer>> AbstractFurnaceBlockEntity.RECIPES_USED_CODECprivate static final Codec<BlockEntityType<?>> BlockEntity.TYPE_CODEC -
Uses of Codec in net.minecraft.world.level.block.entity.trialspawner
Fields in net.minecraft.world.level.block.entity.trialspawner declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Holder<TrialSpawnerConfig>> TrialSpawnerConfig.CODECstatic final Codec<TrialSpawnerConfig> TrialSpawnerConfig.DIRECT_CODEC -
Uses of Codec in net.minecraft.world.level.block.entity.vault
Fields in net.minecraft.world.level.block.entity.vault declared as CodecModifier and TypeFieldDescription(package private) static final Codec<VaultConfig> VaultConfig.CODEC(package private) static final Codec<VaultServerData> VaultServerData.CODEC(package private) static final Codec<VaultSharedData> VaultSharedData.CODEC -
Uses of Codec in net.minecraft.world.level.block.grower
Fields in net.minecraft.world.level.block.grower declared as Codec -
Uses of Codec in net.minecraft.world.level.block.state
Fields in net.minecraft.world.level.block.state declared as CodecModifier and TypeFieldDescriptionstatic final Codec<BlockBehaviour.Properties> BlockBehaviour.Properties.CODECstatic final Codec<BlockState> BlockState.CODECMethods in net.minecraft.world.level.block.state that return CodecModifier and TypeMethodDescriptionprotected static <O, S extends StateHolder<O,S>>
Codec<S> StateHolder.codec(Codec<O> ownerCodec, Function<O, S> defaultState, Function<O, StateDefinition<O, S>> stateDefinition) Methods in net.minecraft.world.level.block.state with parameters of type CodecModifier and TypeMethodDescriptionprotected static <O, S extends StateHolder<O,S>>
Codec<S> StateHolder.codec(Codec<O> ownerCodec, Function<O, S> defaultState, Function<O, StateDefinition<O, S>> stateDefinition) -
Uses of Codec in net.minecraft.world.level.block.state.properties
Fields in net.minecraft.world.level.block.state.properties declared as CodecModifier and TypeFieldDescriptionProperty.codecBedPart.CODECstatic final Codec<BlockSetType> BlockSetType.CODECChestType.CODECstatic final Codec<TestBlockMode> TestBlockMode.CODECWoodType.CODECstatic final Codec<StructureMode> StructureMode.LEGACY_CODECDeprecated.private final Codec<Property.Value<T>> Property.valueCodecMethods in net.minecraft.world.level.block.state.properties that return Codec -
Uses of Codec in net.minecraft.world.level.border
Fields in net.minecraft.world.level.border declared as CodecModifier and TypeFieldDescriptionstatic final Codec<WorldBorder> WorldBorder.CODECstatic final Codec<WorldBorder.Settings> WorldBorder.Settings.CODEC -
Uses of Codec in net.minecraft.world.level.chunk
Fields in net.minecraft.world.level.chunk declared as CodecModifier and TypeFieldDescriptionprivate final Codec<PalettedContainerRO<Holder<Biome>>> PalettedContainerFactory.biomeContainerCodecThe field for thebiomeContainerCodecrecord component.UpgradeData.BLOCK_TICKS_CODECprivate final Codec<PalettedContainer<BlockState>> PalettedContainerFactory.blockStatesContainerCodecThe field for theblockStatesContainerCodecrecord component.static final Codec<ChunkGenerator> ChunkGenerator.CODECUpgradeData.FLUID_TICKS_CODECMethods in net.minecraft.world.level.chunk that return CodecModifier and TypeMethodDescriptionPalettedContainerFactory.biomeContainerCodec()Returns the value of thebiomeContainerCodecrecord component.PalettedContainerFactory.blockStatesContainerCodec()Returns the value of theblockStatesContainerCodecrecord component.private static <T, C extends PalettedContainerRO<T>>
Codec<C> PalettedContainer.codec(Codec<T> elementCodec, Strategy<T> strategy, T defaultValue, PalettedContainerRO.Unpacker<T, C> unpacker) static <T> Codec<PalettedContainerRO<T>> static <T> Codec<PalettedContainer<T>> Methods in net.minecraft.world.level.chunk with parameters of type CodecModifier and TypeMethodDescriptionprivate static <T, C extends PalettedContainerRO<T>>
Codec<C> PalettedContainer.codec(Codec<T> elementCodec, Strategy<T> strategy, T defaultValue, PalettedContainerRO.Unpacker<T, C> unpacker) static <T> Codec<PalettedContainerRO<T>> static <T> Codec<PalettedContainer<T>> Constructors in net.minecraft.world.level.chunk with parameters of type CodecModifierConstructorDescriptionPalettedContainerFactory(Strategy<BlockState> blockStatesStrategy, BlockState defaultBlockState, Codec<PalettedContainer<BlockState>> blockStatesContainerCodec, Strategy<Holder<Biome>> biomeStrategy, Holder<Biome> defaultBiome, Codec<PalettedContainerRO<Holder<Biome>>> biomeContainerCodec) Creates an instance of aPalettedContainerFactoryrecord class. -
Uses of Codec in net.minecraft.world.level.chunk.status
Fields in net.minecraft.world.level.chunk.status declared as Codec -
Uses of Codec in net.minecraft.world.level.chunk.storage
Fields in net.minecraft.world.level.chunk.storage declared as CodecModifier and TypeFieldDescriptionSerializableChunkData.BLOCK_TICKS_CODECSectionStorage.codecSerializableChunkData.FLUID_TICKS_CODECMethods in net.minecraft.world.level.chunk.storage with parameters of type CodecModifier and TypeMethodDescriptionstatic <T> SectionStorage.PackedChunk<T> SectionStorage.PackedChunk.parse(Codec<T> codec, DynamicOps<Tag> ops, Tag tag, SimpleRegionStorage simpleRegionStorage, LevelHeightAccessor levelHeightAccessor) Constructors in net.minecraft.world.level.chunk.storage with parameters of type CodecModifierConstructorDescriptionSectionStorage(SimpleRegionStorage simpleRegionStorage, Codec<P> codec, Function<R, P> packer, BiFunction<P, Runnable, R> unpacker, Function<Runnable, R> factory, RegistryAccess registryAccess, ChunkIOErrorReporter errorReporter, LevelHeightAccessor levelHeightAccessor) -
Uses of Codec in net.minecraft.world.level.dimension
Fields in net.minecraft.world.level.dimension declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Holder<DimensionType>> DimensionType.CODECstatic final Codec<DimensionType.Skybox> DimensionType.Skybox.CODECLevelStem.CODECstatic final Codec<DimensionType> DimensionType.DIRECT_CODECstatic final Codec<DimensionType> DimensionType.NETWORK_CODECMethods in net.minecraft.world.level.dimension that return CodecModifier and TypeMethodDescriptionprivate static Codec<DimensionType> DimensionType.createDirectCodec(Codec<EnvironmentAttributeMap> attributeMapCodec) Methods in net.minecraft.world.level.dimension with parameters of type CodecModifier and TypeMethodDescriptionprivate static Codec<DimensionType> DimensionType.createDirectCodec(Codec<EnvironmentAttributeMap> attributeMapCodec) -
Uses of Codec in net.minecraft.world.level.dimension.end
Fields in net.minecraft.world.level.dimension.end declared as CodecModifier and TypeFieldDescriptionstatic final Codec<DragonRespawnStage> DragonRespawnStage.CODECstatic final Codec<EnderDragonFight> EnderDragonFight.CODEC -
Uses of Codec in net.minecraft.world.level.gameevent
Fields in net.minecraft.world.level.gameevent declared as Codec -
Uses of Codec in net.minecraft.world.level.gameevent.vibrations
Fields in net.minecraft.world.level.gameevent.vibrations declared as CodecModifier and TypeFieldDescriptionstatic final Codec<VibrationInfo> VibrationInfo.CODECstatic final Codec<VibrationSelector> VibrationSelector.CODECstatic final Codec<VibrationSystem.Data> VibrationSystem.Data.CODEC -
Uses of Codec in net.minecraft.world.level.gamerules
Fields in net.minecraft.world.level.gamerules declared as CodecModifier and TypeFieldDescriptionstatic final Codec<GameRuleMap> GameRuleMap.CODECGameRule.valueCodecMethods in net.minecraft.world.level.gamerules that return CodecModifier and TypeMethodDescriptionGameRules.codec(FeatureFlagSet enabledFeatures) GameRule.valueCodec()Methods in net.minecraft.world.level.gamerules with parameters of type CodecModifier and TypeMethodDescriptionstatic <T> GameRule<T> GameRules.register(String id, GameRuleCategory category, GameRuleType typeHint, ArgumentType<T> argumentType, Codec<T> codec, T defaultValue, FeatureFlagSet requiredFeatures, GameRules.VisitorCaller<T> visitorCaller, ToIntFunction<T> commandResultFunction) Constructors in net.minecraft.world.level.gamerules with parameters of type CodecModifierConstructorDescriptionGameRule(GameRuleCategory category, GameRuleType gameRuleType, ArgumentType<T> argument, GameRules.VisitorCaller<T> visitorCaller, Codec<T> valueCodec, ToIntFunction<T> commandResultFunction, T defaultValue, FeatureFlagSet requiredFeatures) -
Uses of Codec in net.minecraft.world.level.levelgen
Fields in net.minecraft.world.level.levelgen declared as CodecModifier and TypeFieldDescriptionBelowZeroRetrogen.BITSET_CODECstatic final Codec<BelowZeroRetrogen> BelowZeroRetrogen.CODECstatic final Codec<Holder<DensityFunction>> DensityFunction.CODECstatic final Codec<DensityFunction.NoiseHolder> DensityFunction.NoiseHolder.CODECprivate static final Codec<DensityFunction> DensityFunctions.CODECstatic final Codec<DensityFunctions.Spline.Coordinate> DensityFunctions.Spline.Coordinate.CODECstatic final Codec<DensityFunctions.WeirdScaledSampler.RarityValueMapper> DensityFunctions.WeirdScaledSampler.RarityValueMapper.CODECstatic final Codec<GenerationStep.Decoration> GenerationStep.Decoration.CODECstatic final Codec<GeodeBlockSettings> GeodeBlockSettings.CODECstatic final Codec<GeodeCrackSettings> GeodeCrackSettings.CODECstatic final Codec<GeodeLayerSettings> GeodeLayerSettings.CODECstatic final Codec<Heightmap.Types> Heightmap.Types.CODECstatic final Codec<Holder<NoiseGeneratorSettings>> NoiseGeneratorSettings.CODECstatic final Codec<NoiseRouter> NoiseRouter.CODECstatic final Codec<NoiseSettings> NoiseSettings.CODECstatic final Codec<SurfaceRules.ConditionSource> SurfaceRules.ConditionSource.CODECstatic final Codec<SurfaceRules.RuleSource> SurfaceRules.RuleSource.CODECstatic final Codec<VerticalAnchor.AboveBottom> VerticalAnchor.AboveBottom.CODECstatic final Codec<VerticalAnchor.Absolute> VerticalAnchor.Absolute.CODECstatic final Codec<VerticalAnchor.BelowTop> VerticalAnchor.BelowTop.CODECstatic final Codec<VerticalAnchor> VerticalAnchor.CODECstatic final Codec<WorldGenSettings> WorldGenSettings.CODECstatic final Codec<Xoroshiro128PlusPlus> Xoroshiro128PlusPlus.CODECstatic final Codec<XoroshiroRandomSource> XoroshiroRandomSource.CODECstatic final Codec<DensityFunction> DensityFunction.DIRECT_CODECstatic final Codec<DensityFunction> DensityFunctions.DIRECT_CODECstatic final Codec<NoiseGeneratorSettings> NoiseGeneratorSettings.DIRECT_CODECstatic final Codec<DensityFunction> DensityFunction.HOLDER_HELPER_CODECGeodeLayerSettings.LAYER_RANGEDensityFunctions.NOISE_VALUE_CODECprivate static final Codec<ChunkStatus> BelowZeroRetrogen.NON_EMPTY_CHUNK_STATUSprivate static final Codec<CubicSpline<DensityFunctions.Spline.Point, DensityFunctions.Spline.Coordinate>> DensityFunctions.Spline.SPLINE_CODECMethods in net.minecraft.world.level.levelgen with parameters of type CodecModifier and TypeMethodDescriptionprivate static <A,O> KeyDispatchDataCodec <O> DensityFunctions.singleArgumentCodec(Codec<A> argumentCodec, Function<A, O> constructor, Function<O, A> getter) -
Uses of Codec in net.minecraft.world.level.levelgen.blending
Fields in net.minecraft.world.level.levelgen.blending declared as CodecModifier and TypeFieldDescriptionstatic final Codec<BlendingData.Packed> BlendingData.Packed.CODECprivate static final Codec<double[]> BlendingData.Packed.DOUBLE_ARRAY_CODEC -
Uses of Codec in net.minecraft.world.level.levelgen.blockpredicates
Fields in net.minecraft.world.level.levelgen.blockpredicates declared as Codec -
Uses of Codec in net.minecraft.world.level.levelgen.carver
Fields in net.minecraft.world.level.levelgen.carver declared as CodecModifier and TypeFieldDescriptionstatic final Codec<CanyonCarverConfiguration.CanyonShapeConfiguration> CanyonCarverConfiguration.CanyonShapeConfiguration.CODECstatic final Codec<CanyonCarverConfiguration> CanyonCarverConfiguration.CODECstatic final Codec<CarverDebugSettings> CarverDebugSettings.CODECstatic final Codec<CaveCarverConfiguration> CaveCarverConfiguration.CODECstatic final Codec<Holder<ConfiguredWorldCarver<?>>> ConfiguredWorldCarver.CODECstatic final Codec<ConfiguredWorldCarver<?>> ConfiguredWorldCarver.DIRECT_CODECstatic final Codec<HolderSet<ConfiguredWorldCarver<?>>> ConfiguredWorldCarver.LIST_CODECConstructors in net.minecraft.world.level.levelgen.carver with parameters of type CodecModifierConstructorDescriptionCanyonWorldCarver(Codec<CanyonCarverConfiguration> configurationFactory) CaveWorldCarver(Codec<CaveCarverConfiguration> configurationFactory) NetherWorldCarver(Codec<CaveCarverConfiguration> configurationFactory) WorldCarver(Codec<C> codec) -
Uses of Codec in net.minecraft.world.level.levelgen.feature
Fields in net.minecraft.world.level.levelgen.feature declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Holder<ConfiguredFeature<?, ?>>> ConfiguredFeature.CODECstatic final Codec<EndSpikeFeature.EndSpike> EndSpikeFeature.EndSpike.CODECstatic final Codec<FossilFeatureConfiguration> FossilFeatureConfiguration.CODECstatic final Codec<HugeFungusConfiguration> HugeFungusConfiguration.CODECstatic final Codec<LakeFeature.Configuration> LakeFeature.Configuration.CODECstatic final Codec<WeightedPlacedFeature> WeightedPlacedFeature.CODECstatic final Codec<ConfiguredFeature<?, ?>> ConfiguredFeature.DIRECT_CODECstatic final Codec<HolderSet<ConfiguredFeature<?, ?>>> ConfiguredFeature.LIST_CODECConstructors in net.minecraft.world.level.levelgen.feature with parameters of type CodecModifierConstructorDescriptionDiskFeature(Codec<DiskConfiguration> codec) FillLayerFeature(Codec<LayerConfiguration> codec) GeodeFeature(Codec<GeodeConfiguration> codec) KelpFeature(Codec<NoneFeatureConfiguration> codec) Deprecated.NoOpFeature(Codec<NoneFeatureConfiguration> codec) OreFeature(Codec<OreConfiguration> codec) (package private)ScatteredOreFeature(Codec<OreConfiguration> codec) SeaPickleFeature(Codec<CountConfiguration> codec) SpikeFeature(Codec<SpikeConfiguration> codec) SpringFeature(Codec<SpringConfiguration> codec) TreeFeature(Codec<TreeConfiguration> codec) -
Uses of Codec in net.minecraft.world.level.levelgen.feature.configurations
Fields in net.minecraft.world.level.levelgen.feature.configurations declared as CodecModifier and TypeFieldDescriptionGeodeConfiguration.CHANCE_RANGEstatic final Codec<BlockBlobConfiguration> BlockBlobConfiguration.CODECstatic final Codec<BlockColumnConfiguration> BlockColumnConfiguration.CODECstatic final Codec<BlockColumnConfiguration.Layer> BlockColumnConfiguration.Layer.CODECstatic final Codec<BlockPileConfiguration> BlockPileConfiguration.CODECstatic final Codec<BlockStateConfiguration> BlockStateConfiguration.CODECstatic final Codec<ColumnFeatureConfiguration> ColumnFeatureConfiguration.CODECstatic final Codec<CountConfiguration> CountConfiguration.CODECstatic final Codec<DeltaFeatureConfiguration> DeltaFeatureConfiguration.CODECstatic final Codec<DiskConfiguration> DiskConfiguration.CODECstatic final Codec<DripstoneClusterConfiguration> DripstoneClusterConfiguration.CODECstatic final Codec<EndGatewayConfiguration> EndGatewayConfiguration.CODECstatic final Codec<EndSpikeConfiguration> EndSpikeConfiguration.CODECstatic final Codec<FallenTreeConfiguration> FallenTreeConfiguration.CODECstatic final Codec<GeodeConfiguration> GeodeConfiguration.CODECstatic final Codec<HugeMushroomFeatureConfiguration> HugeMushroomFeatureConfiguration.CODECstatic final Codec<LargeDripstoneConfiguration> LargeDripstoneConfiguration.CODECstatic final Codec<LayerConfiguration> LayerConfiguration.CODECstatic final Codec<MultifaceGrowthConfiguration> MultifaceGrowthConfiguration.CODECstatic final Codec<NetherForestVegetationConfig> NetherForestVegetationConfig.CODECstatic final Codec<NoneFeatureConfiguration> NoneFeatureConfiguration.CODECstatic final Codec<OreConfiguration> OreConfiguration.CODECstatic final Codec<OreConfiguration.TargetBlockState> OreConfiguration.TargetBlockState.CODECstatic final Codec<PointedDripstoneConfiguration> PointedDripstoneConfiguration.CODECstatic final Codec<ProbabilityFeatureConfiguration> ProbabilityFeatureConfiguration.CODECstatic final Codec<RandomBooleanFeatureConfiguration> RandomBooleanFeatureConfiguration.CODECstatic final Codec<RandomFeatureConfiguration> RandomFeatureConfiguration.CODECstatic final Codec<ReplaceBlockConfiguration> ReplaceBlockConfiguration.CODECstatic final Codec<ReplaceSphereConfiguration> ReplaceSphereConfiguration.CODECstatic final Codec<RootSystemConfiguration> RootSystemConfiguration.CODECstatic final Codec<SculkPatchConfiguration> SculkPatchConfiguration.CODECstatic final Codec<SimpleBlockConfiguration> SimpleBlockConfiguration.CODECstatic final Codec<SimpleRandomFeatureConfiguration> SimpleRandomFeatureConfiguration.CODECstatic final Codec<SpikeConfiguration> SpikeConfiguration.CODECstatic final Codec<SpringConfiguration> SpringConfiguration.CODECstatic final Codec<TreeConfiguration> TreeConfiguration.CODECstatic final Codec<TwistingVinesConfig> TwistingVinesConfig.CODECstatic final Codec<UnderwaterMagmaConfiguration> UnderwaterMagmaConfiguration.CODECstatic final Codec<VegetationPatchConfiguration> VegetationPatchConfiguration.CODEC -
Uses of Codec in net.minecraft.world.level.levelgen.feature.featuresize
Fields in net.minecraft.world.level.levelgen.feature.featuresize declared as Codec -
Uses of Codec in net.minecraft.world.level.levelgen.feature.foliageplacers
Fields in net.minecraft.world.level.levelgen.feature.foliageplacers declared as Codec -
Uses of Codec in net.minecraft.world.level.levelgen.feature.rootplacers
Fields in net.minecraft.world.level.levelgen.feature.rootplacers declared as CodecModifier and TypeFieldDescriptionstatic final Codec<AboveRootPlacement> AboveRootPlacement.CODECstatic final Codec<MangroveRootPlacement> MangroveRootPlacement.CODECstatic final Codec<RootPlacer> RootPlacer.CODEC -
Uses of Codec in net.minecraft.world.level.levelgen.feature.stateproviders
Fields in net.minecraft.world.level.levelgen.feature.stateproviders declared as CodecModifier and TypeFieldDescriptionstatic final Codec<BlockStateProvider> BlockStateProvider.CODECstatic final Codec<RuleBasedStateProvider.Rule> RuleBasedStateProvider.Rule.CODEC -
Uses of Codec in net.minecraft.world.level.levelgen.feature.treedecorators
Fields in net.minecraft.world.level.levelgen.feature.treedecorators declared as Codec -
Uses of Codec in net.minecraft.world.level.levelgen.feature.trunkplacers
Fields in net.minecraft.world.level.levelgen.feature.trunkplacers declared as CodecModifier and TypeFieldDescriptionprivate static final Codec<UniformInt> CherryTrunkPlacer.BRANCH_START_CODECstatic final Codec<TrunkPlacer> TrunkPlacer.CODEC -
Uses of Codec in net.minecraft.world.level.levelgen.flat
Fields in net.minecraft.world.level.levelgen.flat declared as CodecModifier and TypeFieldDescriptionstatic final Codec<FlatLayerInfo> FlatLayerInfo.CODECstatic final Codec<Holder<FlatLevelGeneratorPreset>> FlatLevelGeneratorPreset.CODECstatic final Codec<FlatLevelGeneratorSettings> FlatLevelGeneratorSettings.CODECstatic final Codec<FlatLevelGeneratorPreset> FlatLevelGeneratorPreset.DIRECT_CODEC -
Uses of Codec in net.minecraft.world.level.levelgen.heightproviders
Fields in net.minecraft.world.level.levelgen.heightproviders declared as CodecModifier and TypeFieldDescriptionstatic final Codec<HeightProvider> HeightProvider.CODECprivate static final Codec<Either<VerticalAnchor, HeightProvider>> HeightProvider.CONSTANT_OR_DISPATCH_CODEC -
Uses of Codec in net.minecraft.world.level.levelgen.placement
Fields in net.minecraft.world.level.levelgen.placement declared as CodecModifier and TypeFieldDescriptionstatic final Codec<CaveSurface> CaveSurface.CODECstatic final Codec<Holder<PlacedFeature>> PlacedFeature.CODECstatic final Codec<PlacementModifier> PlacementModifier.CODECstatic final Codec<PlacedFeature> PlacedFeature.DIRECT_CODECstatic final Codec<HolderSet<PlacedFeature>> PlacedFeature.LIST_CODECstatic final Codec<List<HolderSet<PlacedFeature>>> PlacedFeature.LIST_OF_LISTS_CODEC -
Uses of Codec in net.minecraft.world.level.levelgen.presets
Fields in net.minecraft.world.level.levelgen.presets declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Holder<WorldPreset>> WorldPreset.CODECstatic final Codec<WorldPreset> WorldPreset.DIRECT_CODEC -
Uses of Codec in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as CodecModifier and TypeFieldDescriptionstatic final Codec<BoundingBox> BoundingBox.CODECStructure.CODECstatic final Codec<Holder<StructureSet>> StructureSet.CODECstatic final Codec<StructureSet.StructureSelectionEntry> StructureSet.StructureSelectionEntry.CODECstatic final Codec<StructureSpawnOverride.BoundingBoxType> StructureSpawnOverride.BoundingBoxType.CODECstatic final Codec<StructureSpawnOverride> StructureSpawnOverride.CODECstatic final Codec<TerrainAdjustment> TerrainAdjustment.CODECStructure.DIRECT_CODECstatic final Codec<StructureSet> StructureSet.DIRECT_CODEC -
Uses of Codec in net.minecraft.world.level.levelgen.structure.placement
Fields in net.minecraft.world.level.levelgen.structure.placement declared as CodecModifier and TypeFieldDescriptionstatic final Codec<RandomSpreadType> RandomSpreadType.CODECstatic final Codec<StructurePlacement> StructurePlacement.CODECstatic final Codec<StructurePlacement.ExclusionZone> StructurePlacement.ExclusionZone.CODECDeprecated.static final Codec<StructurePlacement.FrequencyReductionMethod> StructurePlacement.FrequencyReductionMethod.CODEC -
Uses of Codec in net.minecraft.world.level.levelgen.structure.pools
Fields in net.minecraft.world.level.levelgen.structure.pools declared as CodecModifier and TypeFieldDescriptionstatic final Codec<DimensionPadding> DimensionPadding.CODECstatic final Codec<StructurePoolElement> StructurePoolElement.CODECstatic final Codec<Holder<StructureTemplatePool>> StructureTemplatePool.CODECstatic final Codec<StructureTemplatePool> StructureTemplatePool.DIRECT_CODECprivate static final Codec<DimensionPadding> DimensionPadding.RECORD_CODECprivate static final Codec<Either<Identifier, StructureTemplate>> SinglePoolElement.TEMPLATE_CODECFields in net.minecraft.world.level.levelgen.structure.pools with type parameters of type CodecModifier and TypeFieldDescriptionprivate static final org.apache.commons.lang3.mutable.MutableObject<Codec<Holder<StructureTemplatePool>>> StructureTemplatePool.CODEC_REFERENCE -
Uses of Codec in net.minecraft.world.level.levelgen.structure.pools.alias
Fields in net.minecraft.world.level.levelgen.structure.pools.alias declared as Codec -
Uses of Codec in net.minecraft.world.level.levelgen.structure.structures
Fields in net.minecraft.world.level.levelgen.structure.structures declared as CodecModifier and TypeFieldDescriptionstatic final Codec<JigsawStructure.MaxDistance> JigsawStructure.MaxDistance.CODECstatic final Codec<MineshaftStructure.Type> MineshaftStructure.Type.CODECstatic final Codec<OceanRuinStructure.Type> OceanRuinStructure.Type.CODECstatic final Codec<RuinedPortalPiece.Properties> RuinedPortalPiece.Properties.CODECstatic final Codec<RuinedPortalPiece.VerticalPlacement> RuinedPortalPiece.VerticalPlacement.CODECstatic final Codec<RuinedPortalStructure.Setup> RuinedPortalStructure.Setup.CODECprivate static final Codec<JigsawStructure.MaxDistance> JigsawStructure.MaxDistance.FULL_CODECJigsawStructure.MaxDistance.HORIZONTAL_VALUE_CODECstatic final Codec<OceanRuinStructure.Type> OceanRuinStructure.Type.LEGACY_CODECDeprecated.static final Codec<StrongholdPieces.StrongholdPiece.SmallDoorType> StrongholdPieces.StrongholdPiece.SmallDoorType.LEGACY_CODECDeprecated. -
Uses of Codec in net.minecraft.world.level.levelgen.structure.templatesystem
Fields in net.minecraft.world.level.levelgen.structure.templatesystem declared as CodecModifier and TypeFieldDescriptionstatic final Codec<LiquidSettings> LiquidSettings.CODECstatic final Codec<PosRuleTest> PosRuleTest.CODECstatic final Codec<ProcessorRule> ProcessorRule.CODECRuleTest.CODECstatic final Codec<StructureProcessorList> StructureProcessorType.DIRECT_CODECstatic final Codec<Holder<StructureProcessorList>> StructureProcessorType.LIST_CODECstatic final Codec<StructureProcessorList> StructureProcessorType.LIST_OBJECT_CODECstatic final Codec<StructureProcessor> StructureProcessorType.SINGLE_CODEC -
Uses of Codec in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity
Fields in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity declared as CodecModifier and TypeFieldDescriptionstatic final Codec<RuleBlockEntityModifier> RuleBlockEntityModifier.CODEC -
Uses of Codec in net.minecraft.world.level.levelgen.synth
Fields in net.minecraft.world.level.levelgen.synth declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Holder<NormalNoise.NoiseParameters>> NormalNoise.NoiseParameters.CODECstatic final Codec<NormalNoise.NoiseParameters> NormalNoise.NoiseParameters.DIRECT_CODECBlendedNoise.SCALE_RANGE -
Uses of Codec in net.minecraft.world.level.material
Fields in net.minecraft.world.level.material declared as Codec -
Uses of Codec in net.minecraft.world.level.saveddata
Fields in net.minecraft.world.level.saveddata declared as CodecModifier and TypeFieldDescriptionstatic final Codec<WanderingTraderData> WanderingTraderData.CODECstatic final Codec<WeatherData> WeatherData.CODECFields in net.minecraft.world.level.saveddata with type parameters of type CodecModifier and TypeFieldDescriptionprivate final SavedDataType.Factory<Codec<T>> SavedDataType.codecFactoryThe field for thecodecFactoryrecord component.Methods in net.minecraft.world.level.saveddata that return CodecMethods in net.minecraft.world.level.saveddata that return types with arguments of type CodecModifier and TypeMethodDescriptionSavedDataType.codecFactory()Returns the value of thecodecFactoryrecord component.Constructors in net.minecraft.world.level.saveddata with parameters of type CodecModifierConstructorDescriptionSavedDataType(Identifier id, Supplier<T> constructor, Codec<T> codec) SavedDataType(Identifier id, Supplier<T> constructor, Codec<T> codec, @Nullable DataFixTypes dataFixType) -
Uses of Codec in net.minecraft.world.level.saveddata.maps
Fields in net.minecraft.world.level.saveddata.maps declared as Codec -
Uses of Codec in net.minecraft.world.level.storage
Fields in net.minecraft.world.level.storage declared as CodecModifier and TypeFieldDescriptionTagValueInput.TypedListWrapper.codecTagValueOutput.TypedListWrapper.codecstatic final Codec<CommandStorage.Container> CommandStorage.Container.CODECstatic final Codec<LevelData.RespawnData> LevelData.RespawnData.CODECMethods in net.minecraft.world.level.storage with parameters of type CodecModifier and TypeMethodDescription<T> Optional<ValueInput.TypedInputList<T>> <T> ValueOutput.TypedOutputList<T> <T> Optional<ValueInput.TypedInputList<T>> <T> ValueOutput.TypedOutputList<T> <T> ValueInput.TypedInputList<T> TagValueInput.listOrEmpty(String name, Codec<T> codec) <T> ValueInput.TypedInputList<T> ValueInput.listOrEmpty(String name, Codec<T> codec) <T> Optional<T> <T> Optional<T> <T> void<T> void<T> voidTagValueOutput.storeNullable(String name, Codec<T> codec, @Nullable T value) <T> voidValueOutput.storeNullable(String name, Codec<T> codec, @Nullable T value) private <T> ValueInput.TypedInputList<T> TagValueInput.wrapTypedList(String name, ListTag list, Codec<T> codec) private static <T> voidLevelStorageSource.writeSavedData(Path worldFolder, DynamicOps<Tag> ops, SavedDataType<?> type, Codec<T> codec, T data) Constructors in net.minecraft.world.level.storage with parameters of type CodecModifierConstructorDescriptionprivateTypedListWrapper(ProblemReporter problemReporter, String name, ValueInputContextHelper context, Codec<T> codec, ListTag list) privateTypedListWrapper(ProblemReporter problemReporter, String name, DynamicOps<Tag> ops, Codec<T> codec, ListTag output) -
Uses of Codec in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot declared as CodecModifier and TypeFieldDescriptionLootDataType.codecThe field for thecodecrecord component.static final Codec<ContainerComponentManipulator<?>> ContainerComponentManipulators.CODECIntRange.CODECLootPool.CODECLootTable.CODECstatic final Codec<Optional<WithConditions<LootTable>>> LootTable.CONDITIONAL_DIRECT_CODECLootDataType.conditionalCodecThe field for theconditionalCodecrecord component.LootTable.DIRECT_CODECstatic final Codec<LootContextArg<Object>> LootContextArg.ENTITY_OR_BLOCKstatic final Codec<ResourceKey<LootTable>> LootTable.KEY_CODECIntRange.RECORD_CODECMethods in net.minecraft.world.level.storage.loot that return CodecModifier and TypeMethodDescriptionprivate Codec<LootContextArg<R>> LootContextArg.ArgCodecBuilder.build()LootDataType.codec()Returns the value of thecodecrecord component.LootDataType.conditionalCodec()Returns the value of theconditionalCodecrecord component.static <R> Codec<LootContextArg<R>> LootContextArg.createArgCodec(UnaryOperator<LootContextArg.ArgCodecBuilder<R>> consumer) Constructors in net.minecraft.world.level.storage.loot with parameters of type CodecModifierConstructorDescriptionprivateLootDataType(ResourceKey<Registry<T>> registryKey, Codec<T> codec, LootDataType.ContextGetter<T> contextGetter) Deprecated.LootDataType(ResourceKey<Registry<T>> registryKey, Codec<T> codec, LootDataType.ContextGetter<T> contextGetter, @Nullable T defaultValue, Codec<Optional<T>> conditionalCodec, BiConsumer<T, Identifier> idSetter) Creates an instance of aLootDataTyperecord class.privateLootDataType(ResourceKey<Registry<T>> registryKey, Codec<T> codec, LootDataType.ContextGetter<T> contextGetter, @Nullable T defaultValue, BiConsumer<T, Identifier> idSetter) -
Uses of Codec in net.minecraft.world.level.storage.loot.entries
Fields in net.minecraft.world.level.storage.loot.entries declared as CodecModifier and TypeFieldDescriptionstatic final Codec<LootPoolEntryContainer> LootPoolEntries.CODEC -
Uses of Codec in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions declared as CodecModifier and TypeFieldDescriptionprivate final Codec<? extends ApplyBonusCount.Formula> ApplyBonusCount.FormulaType.codecThe field for thecodecrecord component.private static final Codec<ApplyBonusCount.BinomialWithBonusCount> ApplyBonusCount.BinomialWithBonusCount.CODECstatic final Codec<ApplyBonusCount.OreDrops> ApplyBonusCount.OreDrops.CODECstatic final Codec<ApplyBonusCount.UniformBonusCount> ApplyBonusCount.UniformBonusCount.CODECstatic final Codec<CopyCustomDataFunction.CopyOperation> CopyCustomDataFunction.CopyOperation.CODECstatic final Codec<CopyCustomDataFunction.MergeStrategy> CopyCustomDataFunction.MergeStrategy.CODECstatic final Codec<ListOperation.Type> ListOperation.Type.CODECstatic final Codec<Holder<LootItemFunction>> LootItemFunctions.CODECstatic final Codec<SetAttributesFunction.Modifier> SetAttributesFunction.Modifier.CODECstatic final Codec<SetNameFunction.Target> SetNameFunction.Target.CODECstatic final Codec<SetStewEffectFunction.EffectEntry> SetStewEffectFunction.EffectEntry.CODECprivate static final Codec<NumberProvider> SetCustomModelDataFunction.COLOR_PROVIDER_CODECprivate static final Codec<List<SetStewEffectFunction.EffectEntry>> SetStewEffectFunction.EFFECTS_LISTprivate static final Codec<ApplyBonusCount.FormulaType> ApplyBonusCount.FORMULA_TYPE_CODECprivate static final Codec<LootContextArg<DataComponentGetter>> CopyComponentsFunction.GETTER_CODECstatic final Codec<SequenceFunction> SequenceFunction.INLINE_CODECstatic final Codec<LootItemFunction> LootItemFunctions.ROOT_CODECprivate static final Codec<List<EquipmentSlotGroup>> SetAttributesFunction.Modifier.SLOTS_CODECstatic final Codec<LootItemFunction> LootItemFunctions.TYPED_CODECMethods in net.minecraft.world.level.storage.loot.functions that return CodecModifier and TypeMethodDescriptionCodec<? extends ApplyBonusCount.Formula> ApplyBonusCount.FormulaType.codec()Returns the value of thecodecrecord component.static <T> Codec<ListOperation.StandAlone<T>> Methods in net.minecraft.world.level.storage.loot.functions with parameters of type CodecConstructors in net.minecraft.world.level.storage.loot.functions with parameters of type CodecModifierConstructorDescriptionprivateFormulaType(Identifier id, Codec<? extends ApplyBonusCount.Formula> codec) Creates an instance of aFormulaTyperecord class. -
Uses of Codec in net.minecraft.world.level.storage.loot.parameters
Fields in net.minecraft.world.level.storage.loot.parameters declared as Codec -
Uses of Codec in net.minecraft.world.level.storage.loot.predicates
Fields in net.minecraft.world.level.storage.loot.predicates declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Holder<LootItemCondition>> LootItemCondition.CODECstatic final Codec<LootItemCondition> LootItemCondition.DIRECT_CODECstatic final Codec<AllOfCondition> AllOfCondition.INLINE_CODECstatic final Codec<LootItemCondition> LootItemCondition.TYPED_CODECMethods in net.minecraft.world.level.storage.loot.predicates that return CodecModifier and TypeMethodDescriptionprotected static <T extends CompositeLootItemCondition>
Codec<T> CompositeLootItemCondition.createInlineCodec(Function<List<LootItemCondition>, T> factory) -
Uses of Codec in net.minecraft.world.level.storage.loot.providers.nbt
Fields in net.minecraft.world.level.storage.loot.providers.nbt declared as CodecModifier and TypeFieldDescriptionstatic final Codec<NbtProvider> NbtProviders.CODECprivate static final Codec<LootContextArg<Tag>> ContextNbtProvider.GETTER_CODECstatic final Codec<ContextNbtProvider> ContextNbtProvider.INLINE_CODECprivate static final Codec<NbtProvider> NbtProviders.TYPED_CODEC -
Uses of Codec in net.minecraft.world.level.storage.loot.providers.number
Fields in net.minecraft.world.level.storage.loot.providers.number declared as CodecModifier and TypeFieldDescriptionprivate static final Codec<EnvironmentAttribute<?>> EnvironmentAttributeValue.ATTRIBUTE_CODECstatic final Codec<NumberProvider> NumberProviders.CODECstatic final Codec<ConstantValue> ConstantValue.INLINE_CODECprivate static final Codec<NumberProvider> NumberProviders.TYPED_CODEC -
Uses of Codec in net.minecraft.world.level.storage.loot.providers.score
Fields in net.minecraft.world.level.storage.loot.providers.score declared as CodecModifier and TypeFieldDescriptionstatic final Codec<ScoreboardNameProvider> ScoreboardNameProviders.CODECstatic final Codec<ContextScoreboardNameProvider> ContextScoreboardNameProvider.INLINE_CODECprivate static final Codec<ScoreboardNameProvider> ScoreboardNameProviders.TYPED_CODEC -
Uses of Codec in net.minecraft.world.level.timers
Fields in net.minecraft.world.level.timers declared as CodecModifier and TypeFieldDescriptionprivate final Codec<TimerCallback<C>> TimerCallbacks.codecstatic final Codec<TimerQueue<MinecraftServer>> TimerQueue.CODECMethods in net.minecraft.world.level.timers that return CodecModifier and TypeMethodDescriptionTimerCallbacks.codec()protected static <T> Codec<TimerQueue<T>> TimerQueue.codec(TimerCallbacks<T> callbacks) static <T> Codec<TimerQueue.Event.Packed<T>> TimerQueue.Event.Packed.codec(Codec<TimerCallback<T>> callbackCodec) static <T> Codec<TimerQueue.Packed<T>> TimerQueue.Packed.codec(Codec<TimerCallback<T>> callbackCodec) Methods in net.minecraft.world.level.timers with parameters of type CodecModifier and TypeMethodDescriptionstatic <T> Codec<TimerQueue.Event.Packed<T>> TimerQueue.Event.Packed.codec(Codec<TimerCallback<T>> callbackCodec) static <T> Codec<TimerQueue.Packed<T>> TimerQueue.Packed.codec(Codec<TimerCallback<T>> callbackCodec) -
Uses of Codec in net.minecraft.world.phys
Fields in net.minecraft.world.phys declared as Codec -
Uses of Codec in net.minecraft.world.scores
Fields in net.minecraft.world.scores declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Objective.Packed> Objective.Packed.CODECstatic final Codec<PlayerTeam.Packed> PlayerTeam.Packed.CODECstatic final Codec<Scoreboard.PackedScore> Scoreboard.PackedScore.CODECstatic final Codec<ScoreboardSaveData.Packed> ScoreboardSaveData.Packed.CODECstatic final Codec<Team.CollisionRule> Team.CollisionRule.CODECstatic final Codec<Team.Visibility> Team.Visibility.CODEC -
Uses of Codec in net.minecraft.world.scores.criteria
Fields in net.minecraft.world.scores.criteria declared as Codec -
Uses of Codec in net.minecraft.world.ticks
Fields in net.minecraft.world.ticks declared as CodecMethods in net.minecraft.world.ticks that return CodecModifier and TypeMethodDescriptionMethods in net.minecraft.world.ticks with parameters of type Codec -
Uses of Codec in net.minecraft.world.timeline
Fields in net.minecraft.world.timeline declared as CodecModifier and TypeFieldDescriptionTimeline.CODECstatic final Codec<Timeline.TimeMarkerInfo> Timeline.TimeMarkerInfo.CODECTimeline.DIRECT_CODECprivate static final Codec<Timeline.TimeMarkerInfo> Timeline.TimeMarkerInfo.FULL_CODECTimeline.NETWORK_CODECprivate static final Codec<Map<EnvironmentAttribute<?>, AttributeTrack<?, ?>>> Timeline.TRACKS_CODECMethods in net.minecraft.world.timeline that return CodecModifier and TypeMethodDescriptionstatic <Value> Codec<AttributeTrack<Value, ?>> AttributeTrack.createCodec(EnvironmentAttribute<Value> attribute) -
Uses of Codec in net.minecraft.world.waypoints
Fields in net.minecraft.world.waypoints declared as Codec -
Uses of Codec in net.neoforged.neoforge.attachment
Methods in net.neoforged.neoforge.attachment that return CodecModifier and TypeMethodDescriptionprivate static Codec<LevelAttachmentsSavedData> LevelAttachmentsSavedData.makeCodec(@Nullable ServerLevel level) -
Uses of Codec in net.neoforged.neoforge.client.data
Fields in net.neoforged.neoforge.client.data declared as CodecModifier and TypeFieldDescriptionprivate static final Codec<List<Optional<WithConditions<SpriteSource>>>> SpriteSourceProvider.CODEC -
Uses of Codec in net.neoforged.neoforge.client.entity.animation.json
Fields in net.neoforged.neoforge.client.entity.animation.json declared as CodecModifier and TypeFieldDescriptionstatic final Codec<AnimationDefinition> AnimationParser.CODEC{ "length": 1.125, "loop": true, "animations": [ { "bone": "head", "keyframes": [ { "timestamp": 0.5, "target": [22.5, 0.0, 0.0], "interpolation": "minecraft:linear" } ] } ] }private static final Codec<AnimationChannel.Interpolation> AnimationParser.INTERPOLATION_CODEC"minecraft:linear" }invalid @snippet
{@snippet lang = JSON :private static final Codec<Pair<String, AnimationChannel>> AnimationParser.NAMED_CHANNEL_CODEC{ "bone": "head", "keyframes": [ { "timestamp": 0.5, "target": [22.5, 0.0, 0.0], "interpolation": "minecraft:linear" } ], "target": "minecraft:rotation" }private static final Codec<AnimationTarget> AnimationParser.TARGET_CODEC"minecraft:rotation" }invalid @snippet
{@snippet lang = JSON :Fields in net.neoforged.neoforge.client.entity.animation.json with type parameters of type CodecModifier and TypeFieldDescriptionprivate static com.google.common.collect.ImmutableMap<AnimationTarget, Codec<Keyframe>> AnimationTypeManager.KEYFRAME_CODECSMethods in net.neoforged.neoforge.client.entity.animation.json that return CodecModifier and TypeMethodDescriptionAnimationTypeManager.getKeyframeCodec(AnimationTarget target) AnimationParser.keyframeCodec(AnimationTarget target) { "timestamp": 0.5, "target": [22.5, 0.0, 0.0], "interpolation": "minecraft:linear" }private static Codec<org.joml.Vector3fc> AnimationParser.targetCodec(AnimationTarget target) -
Uses of Codec in net.neoforged.neoforge.client.gui
Methods in net.neoforged.neoforge.client.gui that return Codec -
Uses of Codec in net.neoforged.neoforge.client.model
Fields in net.neoforged.neoforge.client.model declared as Codec -
Uses of Codec in net.neoforged.neoforge.client.model.block
Methods in net.neoforged.neoforge.client.model.block that return CodecModifier and TypeMethodDescriptionstatic Codec<BlockStateModelDispatcher> BlockStateModelHooks.makeDefinitionCodec()BlockStateModelHooks.makeElementCodec() -
Uses of Codec in net.neoforged.neoforge.client.model.item
Fields in net.neoforged.neoforge.client.model.item declared as CodecModifier and TypeFieldDescriptionstatic final Codec<DynamicFluidContainerModel.Textures> DynamicFluidContainerModel.Textures.CODEC -
Uses of Codec in net.neoforged.neoforge.common
Classes in net.neoforged.neoforge.common that implement CodecModifier and TypeClassDescriptionclassKey and value decoded independently, unknown set of keysFields in net.neoforged.neoforge.common declared as CodecModifier and TypeFieldDescriptionstatic Codec<ItemAbility> ItemAbility.CODECLenientUnboundedMapCodec.elementCodecLenientUnboundedMapCodec.keyCodecMethods in net.neoforged.neoforge.common that return CodecModifier and TypeMethodDescriptionLenientUnboundedMapCodec.elementCodec()LenientUnboundedMapCodec.keyCodec()CommonHooks.lootPoolsCodec(BiConsumer<LootPool, String> nameSetter) Constructors in net.neoforged.neoforge.common with parameters of type Codec -
Uses of Codec in net.neoforged.neoforge.common.advancements.critereon
Fields in net.neoforged.neoforge.common.advancements.critereon declared as CodecModifier and TypeFieldDescriptionstatic final Codec<ItemAbilityPredicate> ItemAbilityPredicate.CODECstatic final Codec<PiglinCurrencyItemPredicate> PiglinCurrencyItemPredicate.CODEC -
Uses of Codec in net.neoforged.neoforge.common.conditions
Fields in net.neoforged.neoforge.common.conditions declared as CodecModifier and TypeFieldDescriptionstatic final Codec<ICondition> ICondition.CODECfinal Codec<List<ICondition>> ConditionalOps.ConditionalDecoder.conditionsCodecfinal Codec<List<ICondition>> ConditionalOps.ConditionalEncoder.conditionsCodecprivate final Codec<ICondition.IContext> ConditionalOps.ConditionalDecoder.contextCodecstatic final Codec<List<ICondition>> ICondition.LIST_CODECMethods in net.neoforged.neoforge.common.conditions that return CodecModifier and TypeMethodDescriptionConditionalOps.createConditionalCodec(Codec<T> ownerCodec) ConditionalOps.createConditionalCodec(Codec<T> ownerCodec, String conditionalsKey) Creates a conditional codec.static <T> Codec<Optional<WithConditions<T>>> ConditionalOps.createConditionalCodecWithConditions(Codec<T> ownerCodec) static <T> Codec<Optional<WithConditions<T>>> ConditionalOps.createConditionalCodecWithConditions(Codec<T> ownerCodec, String conditionalsKey) Creates a conditional codec.ConditionalOps.decodeListWithElementConditions(Codec<T> ownerCodec) Creates a codec that can decode a list of elements, and will check for conditions on each element.Methods in net.neoforged.neoforge.common.conditions with parameters of type CodecModifier and TypeMethodDescriptionConditionalOps.createConditionalCodec(Codec<T> ownerCodec) ConditionalOps.createConditionalCodec(Codec<T> ownerCodec, String conditionalsKey) Creates a conditional codec.static <T> Codec<Optional<WithConditions<T>>> ConditionalOps.createConditionalCodecWithConditions(Codec<T> ownerCodec) static <T> Codec<Optional<WithConditions<T>>> ConditionalOps.createConditionalCodecWithConditions(Codec<T> ownerCodec, String conditionalsKey) Creates a conditional codec.ConditionalOps.decodeListWithElementConditions(Codec<T> ownerCodec) Creates a codec that can decode a list of elements, and will check for conditions on each element.static <V,T> Optional <T> ICondition.getConditionally(Codec<T> codec, DynamicOps<V> ops, V element) static <V,T> Optional <T> ICondition.getWithConditionalCodec(Codec<Optional<T>> codec, DynamicOps<V> ops, V element) static <V,T> Optional <T> ICondition.getWithWithConditionsCodec(Codec<Optional<WithConditions<T>>> codec, DynamicOps<V> ops, V elements) Constructors in net.neoforged.neoforge.common.conditions with parameters of type CodecModifierConstructorDescriptionprivateConditionalDecoder(String conditionalsPropertyKey, Codec<List<ICondition>> conditionsCodec, Codec<ICondition.IContext> contextCodec, Decoder<A> innerCodec) privateConditionalEncoder(String conditionalsPropertyKey, Codec<List<ICondition>> conditionsCodec, Encoder<A> innerCodec) -
Uses of Codec in net.neoforged.neoforge.common.crafting
Fields in net.neoforged.neoforge.common.crafting declared as CodecModifier and TypeFieldDescriptionstatic final Codec<SizedIngredient> SizedIngredient.NESTED_CODECThe "nested" codec forSizedIngredient.Methods in net.neoforged.neoforge.common.crafting that return CodecModifier and TypeMethodDescriptionstatic Codec<Ingredient> IngredientCodecs.codec(Codec<Ingredient> vanillaCodec) Methods in net.neoforged.neoforge.common.crafting with parameters of type CodecModifier and TypeMethodDescriptionstatic Codec<Ingredient> IngredientCodecs.codec(Codec<Ingredient> vanillaCodec) -
Uses of Codec in net.neoforged.neoforge.common.data
Fields in net.neoforged.neoforge.common.data declared as CodecModifier and TypeFieldDescriptionprivate static final Codec<GeneratingOverlayMetadataSection> GeneratingOverlayMetadataSection.CLIENT_CODECJsonCodecProvider.codecLanguageProvider.CODECprivate static final Codec<GeneratingOverlayMetadataSection> GeneratingOverlayMetadataSection.SERVER_CODECMethods in net.neoforged.neoforge.common.data that return CodecConstructors in net.neoforged.neoforge.common.data with parameters of type CodecModifierConstructorDescriptionJsonCodecProvider(PackOutput output, PackOutput.Target target, String directory, Codec<T> codec, CompletableFuture<HolderLookup.Provider> lookupProvider, String modId) -
Uses of Codec in net.neoforged.neoforge.common.loot
Fields in net.neoforged.neoforge.common.loot declared as CodecModifier and TypeFieldDescriptionstatic final Codec<Optional<WithConditions<IGlobalLootModifier>>> IGlobalLootModifier.CONDITIONAL_CODECstatic final Codec<IGlobalLootModifier> IGlobalLootModifier.DIRECT_CODECstatic final Codec<LootItemCondition[]> IGlobalLootModifier.LOOT_CONDITIONS_CODEC -
Uses of Codec in net.neoforged.neoforge.common.util
Classes in net.neoforged.neoforge.common.util that implement CodecModifier and TypeClassDescriptionprivate static final recordFields in net.neoforged.neoforge.common.util declared as CodecModifier and TypeFieldDescriptionNeoForgeExtraCodecs.AlternativeCodec.alternativeThe field for thealternativerecord component.NeoForgeExtraCodecs.AlternativeCodec.codecThe field for thecodecrecord component.Methods in net.neoforged.neoforge.common.util that return CodecModifier and TypeMethodDescriptionNeoForgeExtraCodecs.AlternativeCodec.alternative()Returns the value of thealternativerecord component.NeoForgeExtraCodecs.AlternativeCodec.codec()Returns the value of thecodecrecord component.static <A> Codec<A> NeoForgeExtraCodecs.decodeOnly(Decoder<A> decoder) Creates a codec from a decoder.NeoForgeExtraCodecs.listWithOptionalElements(Codec<Optional<A>> elementCodec) Creates a codec for a list from a codec of optional elements.NeoForgeExtraCodecs.listWithoutEmpty(Codec<List<Optional<A>>> codec) Creates a codec for a list of optional elements, that removes empty values when decoding.NeoForgeExtraCodecs.unboundedMapAsList(String keyName, Codec<K> keyCodec, String elementName, Codec<V> elementCodec) Creates a codec for an unbounded map whose underlying representation is a list of maps, with the given names for each key-element entry.static <T> Codec<T> NeoForgeExtraCodecs.withAlternative(Codec<T> codec, Codec<T> alternative) Codec with two alternatives.Methods in net.neoforged.neoforge.common.util with parameters of type CodecModifier and TypeMethodDescriptionstatic <T> MapCodec<T> NeoForgeExtraCodecs.aliasedFieldOf(Codec<T> codec, String... names) NeoForgeExtraCodecs.dispatchMapOrElse(Codec<A> typeCodec, Function<? super E, ? extends A> type, Function<? super A, ? extends MapCodec<? extends E>> codec, MapCodec<B> fallbackCodec) Map dispatch codec with an alternative.NeoForgeExtraCodecs.dispatchMapOrElse(String key, Codec<A> typeCodec, Function<? super E, ? extends A> type, Function<? super A, ? extends MapCodec<? extends E>> codec, MapCodec<B> fallbackCodec) Map dispatch codec with an alternative.NeoForgeExtraCodecs.listWithOptionalElements(Codec<Optional<A>> elementCodec) Creates a codec for a list from a codec of optional elements.NeoForgeExtraCodecs.listWithoutEmpty(Codec<List<Optional<A>>> codec) Creates a codec for a list of optional elements, that removes empty values when decoding.static <T> MapCodec<T> NeoForgeExtraCodecs.optionalFieldAlwaysWrite(Codec<T> codec, String name, T defaultValue) Similar toCodec.optionalFieldOf(String, Object), except that the default value is always written.NeoForgeExtraCodecs.singularOrPluralCodec(Codec<T> codec, String singularName) NeoForgeExtraCodecs.singularOrPluralCodec(Codec<T> codec, String singularName, String pluralName) NeoForgeExtraCodecs.singularOrPluralCodecNotEmpty(Codec<T> codec, String singularName) NeoForgeExtraCodecs.singularOrPluralCodecNotEmpty(Codec<T> codec, String singularName, String pluralName) NeoForgeExtraCodecs.unboundedMapAsList(String keyName, Codec<K> keyCodec, String elementName, Codec<V> elementCodec) Creates a codec for an unbounded map whose underlying representation is a list of maps, with the given names for each key-element entry.static <T> Codec<T> NeoForgeExtraCodecs.withAlternative(Codec<T> codec, Codec<T> alternative) Codec with two alternatives.Constructors in net.neoforged.neoforge.common.util with parameters of type CodecModifierConstructorDescriptionprivateAlternativeCodec(Codec<T> codec, Codec<T> alternative) Creates an instance of aAlternativeCodecrecord class. -
Uses of Codec in net.neoforged.neoforge.common.world
Fields in net.neoforged.neoforge.common.world declared as CodecModifier and TypeFieldDescriptionstatic final Codec<BiomeModifier> BiomeModifier.DIRECT_CODECCodec for (de)serializing biome modifiers inline.static final Codec<StructureModifier> StructureModifier.DIRECT_CODECCodec for (de)serializing structure modifiers inline.static final Codec<HolderSet<BiomeModifier>> BiomeModifier.LIST_CODECCodec for referring to biome modifiers by id, list of id, or tags.static final Codec<HolderSet<StructureModifier>> StructureModifier.LIST_CODECCodec for referring to structure modifiers by id, list of id, or tags.static final Codec<Holder<BiomeModifier>> BiomeModifier.REFERENCE_CODECCodec for referring to biome modifiers by id in other datapack registry files.static final Codec<Holder<StructureModifier>> StructureModifier.REFERENCE_CODECCodec for referring to structure modifiers by id in other datapack registry files. -
Uses of Codec in net.neoforged.neoforge.common.world.chunk
Fields in net.neoforged.neoforge.common.world.chunk declared as CodecModifier and TypeFieldDescriptionForcedChunkManager.OwnedChunks.BLOCK_CHUNK_CODECstatic final Codec<ForcedChunkManager.OwnedChunks> ForcedChunkManager.OwnedChunks.CODECTicketSet.CODECForcedChunkManager.OwnedChunks.ENTITY_CHUNK_CODECprivate static final Codec<it.unimi.dsi.fastutil.longs.LongSet> TicketSet.LONG_SET_CODEC -
Uses of Codec in net.neoforged.neoforge.fluids
Fields in net.neoforged.neoforge.fluids declared as CodecModifier and TypeFieldDescriptionstatic final Codec<FluidStack> FluidStack.CODECA standard codec for fluid stacks that does not accept empty stacks.static final Codec<FluidStackTemplate> FluidStackTemplate.CODECstatic final Codec<SimpleFluidContent> SimpleFluidContent.CODECFluidInstance.FLUID_HOLDER_CODECFluidInstance.FLUID_HOLDER_CODEC_WITH_BOUND_COMPONENTSstatic final Codec<FluidStack> FluidStack.OPTIONAL_CODECA standard codec for fluid stacks that accepts empty stacks, serializing them as{}.Methods in net.neoforged.neoforge.fluids that return CodecModifier and TypeMethodDescriptionstatic Codec<FluidStack> FluidStack.fixedAmountCodec(int amount) A standard codec for fluid stacks that always deserializes with a fixed amount, and does not accept empty stacks.static Codec<FluidStackTemplate> FluidStackTemplate.fixedAmountCodec(int amount) -
Uses of Codec in net.neoforged.neoforge.fluids.crafting
Fields in net.neoforged.neoforge.fluids.crafting declared as CodecModifier and TypeFieldDescriptionstatic final Codec<FluidIngredient> FluidIngredient.CODEC(package private) static final Codec<SimpleFluidIngredient> SimpleFluidIngredient.CODECstatic final Codec<SizedFluidIngredient> SizedFluidIngredient.CODECThe codec forSizedFluidIngredient.SimpleFluidIngredient.HOLDER_SET_NO_EMPTY_FLUIDMethods in net.neoforged.neoforge.fluids.crafting that return CodecModifier and TypeMethodDescription(package private) static Codec<FluidIngredient> FluidIngredientCodecs.codec() -
Uses of Codec in net.neoforged.neoforge.network.payload
Methods in net.neoforged.neoforge.network.payload with parameters of type CodecModifier and TypeMethodDescriptionprivate static <T> TRegistryDataMapSyncPayload.readJsonWithRegistryCodec(RegistryFriendlyByteBuf buf, Codec<T> codec) private static <T> voidRegistryDataMapSyncPayload.writeJsonWithRegistryCodec(RegistryFriendlyByteBuf buf, Codec<T> codec, T value) -
Uses of Codec in net.neoforged.neoforge.registries
Fields in net.neoforged.neoforge.registries declared as CodecModifier and TypeFieldDescriptionDataPackRegistryEvent.DataPackRegistryData.networkCodecThe field for thenetworkCodecrecord component.Methods in net.neoforged.neoforge.registries that return CodecModifier and TypeMethodDescriptionDataPackRegistryEvent.DataPackRegistryData.networkCodec()Returns the value of thenetworkCodecrecord component.Methods in net.neoforged.neoforge.registries with parameters of type CodecModifier and TypeMethodDescription<T> voidDataPackRegistryEvent.NewRegistry.dataPackRegistry(ResourceKey<Registry<T>> registryKey, Codec<T> codec) Registers the given registry key as an unsynced datapack registry, which will cause data to be loaded from a datapack folder based on the registry's name.<T> voidDataPackRegistryEvent.NewRegistry.dataPackRegistry(ResourceKey<Registry<T>> registryKey, Codec<T> codec, @Nullable Codec<T> networkCodec) Registers the registry key as a datapack registry, which will cause data to be loaded from a datapack folder based on the registry's name.<T> voidDataPackRegistryEvent.NewRegistry.dataPackRegistry(ResourceKey<Registry<T>> registryKey, Codec<T> codec, @Nullable Codec<T> networkCodec, Consumer<RegistryBuilder<T>> consumer) Registers the registry key as a datapack registry with aRegistryBuilderconfigurator, which will cause data to be loaded from a datapack folder based on the registry's name.Constructors in net.neoforged.neoforge.registries with parameters of type CodecModifierConstructorDescription(package private)DataPackRegistryData(RegistryDataLoader.RegistryData<T> loaderData, @Nullable Codec<T> networkCodec) Creates an instance of aDataPackRegistryDatarecord class. -
Uses of Codec in net.neoforged.neoforge.registries.datamaps
Fields in net.neoforged.neoforge.registries.datamaps declared as CodecModifier and TypeFieldDescriptionDataMapType.Builder.codecDataMapType.codecDataMapType.Builder.networkCodecDataMapType.networkCodecAdvancedDataMapType.Builder.removerAdvancedDataMapType.removerMethods in net.neoforged.neoforge.registries.datamaps that return CodecModifier and TypeMethodDescriptionstatic <T> Codec<DataMapEntry<T>> DataMapEntry.codec(DataMapType<?, T> type) static <T,R> Codec <DataMapEntry.Removal<T, R>> DataMapEntry.Removal.codec(Codec<Either<TagKey<R>, ResourceKey<R>>> tagOrValue, DataMapType<R, T> attachment) static <T,R> Codec <DataMapFile<T, R>> DataMapFile.codec(ResourceKey<Registry<R>> registryKey, DataMapType<R, T> dataMap) DataMapType.codec()Returns the codec used to decode values.static <T,R> Codec <DataMapValueRemover.Default<T, R>> DataMapValueRemover.Default.codec()DataMapType.networkCodec()Returns the codec used to sync values.AdvancedDataMapType.remover()Returns the codec used to create removers.Methods in net.neoforged.neoforge.registries.datamaps with parameters of type CodecModifier and TypeMethodDescriptionstatic <T,R> AdvancedDataMapType.Builder <T, R, DataMapValueRemover.Default<T, R>> AdvancedDataMapType.builder(Identifier id, ResourceKey<Registry<R>> registry, Codec<T> codec) Returns an advanced data map type builder.static <T,R> DataMapType.Builder <T, R> DataMapType.builder(Identifier id, ResourceKey<Registry<R>> registry, Codec<T> codec) Returns a data map type builder.static <T,R> Codec <DataMapEntry.Removal<T, R>> DataMapEntry.Removal.codec(Codec<Either<TagKey<R>, ResourceKey<R>>> tagOrValue, DataMapType<R, T> attachment) <VR1 extends DataMapValueRemover<R,T>>
AdvancedDataMapType.Builder<T, R, VR1> Configures a remover for the data map.Marks the data map as synced.Marks the data map as synced.Constructors in net.neoforged.neoforge.registries.datamaps with parameters of type CodecModifierConstructorDescriptionprivateAdvancedDataMapType(ResourceKey<Registry<R>> registryKey, Identifier id, Codec<T> codec, @Nullable Codec<T> networkCodec, boolean mandatorySync, Codec<VR> remover, DataMapValueMerger<R, T> merger) (package private)Builder(ResourceKey<Registry<R>> registryKey, Identifier id, Codec<T> codec) (package private)Builder(ResourceKey<Registry<R>> registryKey, Identifier id, Codec<T> codec) (package private)DataMapType(ResourceKey<Registry<R>> registryKey, Identifier id, Codec<T> codec, @Nullable Codec<T> networkCodec, boolean mandatorySync) -
Uses of Codec in net.neoforged.neoforge.registries.datamaps.builtin
Fields in net.neoforged.neoforge.registries.datamaps.builtin declared as CodecModifier and TypeFieldDescriptionstatic final Codec<FurnaceFuel> FurnaceFuel.BURN_TIME_CODECstatic final Codec<Compostable> Compostable.CHANCE_CODECstatic final Codec<AcceptableVillagerDistance> AcceptableVillagerDistance.CODECstatic final Codec<BiomeVillagerType> BiomeVillagerType.CODECstatic final Codec<Compostable> Compostable.CODECstatic final Codec<FurnaceFuel> FurnaceFuel.CODECstatic final Codec<MonsterRoomMob> MonsterRoomMob.CODECstatic final Codec<Oxidizable> Oxidizable.CODECstatic final Codec<ParrotImitation> ParrotImitation.CODECstatic final Codec<RaidHeroGift> RaidHeroGift.CODECstatic final Codec<Strippable> Strippable.CODECstatic final Codec<VibrationFrequency> VibrationFrequency.CODECWaxable.CODECstatic final Codec<AcceptableVillagerDistance> AcceptableVillagerDistance.DISTANCE_CODECstatic final Codec<VibrationFrequency> VibrationFrequency.FREQUENCY_CODECstatic final Codec<RaidHeroGift> RaidHeroGift.LOOT_TABLE_CODECstatic final Codec<Oxidizable> Oxidizable.OXIDIZABLE_CODECstatic final Codec<ParrotImitation> ParrotImitation.SOUND_CODECstatic final Codec<Strippable> Strippable.STRIPPED_BLOCK_CODECstatic final Codec<BiomeVillagerType> BiomeVillagerType.TYPE_CODECWaxable.WAXABLE_CODECstatic final Codec<MonsterRoomMob> MonsterRoomMob.WEIGHT_CODEC -
Uses of Codec in net.neoforged.neoforge.registries.holdersets
Methods in net.neoforged.neoforge.registries.holdersets with parameters of type CodecModifier and TypeMethodDescription<T> MapCodec<? extends ICustomHolderSet<T>> AndHolderSet.Type.makeCodec(ResourceKey<? extends Registry<T>> registryKey, Codec<Holder<T>> holderCodec, boolean forceList) <T> MapCodec<? extends ICustomHolderSet<T>> AnyHolderSet.Type.makeCodec(ResourceKey<? extends Registry<T>> registryKey, Codec<Holder<T>> holderCodec, boolean forceList) <T> MapCodec<? extends ICustomHolderSet<T>> HolderSetType.makeCodec(ResourceKey<? extends Registry<T>> registryKey, Codec<Holder<T>> holderCodec, boolean forceList) <T> MapCodec<? extends ICustomHolderSet<T>> NotHolderSet.Type.makeCodec(ResourceKey<? extends Registry<T>> registryKey, Codec<Holder<T>> holderCodec, boolean forceList) <T> MapCodec<? extends ICustomHolderSet<T>> OrHolderSet.Type.makeCodec(ResourceKey<? extends Registry<T>> registryKey, Codec<Holder<T>> holderCodec, boolean forceList) -
Uses of Codec in net.neoforged.neoforge.resource
Methods in net.neoforged.neoforge.resource that return CodecModifier and TypeMethodDescriptionprivate static Codec<PackMetadataSection> ResourcePackLoader.metadataCodecForPackType(PackType type) -
Uses of Codec in net.neoforged.neoforge.transfer
Fields in net.neoforged.neoforge.transfer declared as CodecModifier and TypeFieldDescriptionprotected final Codec<NonNullList<S>> StacksResourceHandler.codecConstructors in net.neoforged.neoforge.transfer with parameters of type CodecModifierConstructorDescriptionResourceStacksResourceHandler(int size, R emptyResource, Codec<ResourceStack<R>> stackCodec) ResourceStacksResourceHandler(NonNullList<ResourceStack<R>> stacks, R emptyResource, Codec<ResourceStack<R>> stackCodec) protectedStacksResourceHandler(int size, S emptyStack, Codec<S> stackCodec) protectedStacksResourceHandler(NonNullList<S> stacks, S emptyStack, Codec<S> stackCodec) -
Uses of Codec in net.neoforged.neoforge.transfer.fluid
Fields in net.neoforged.neoforge.transfer.fluid declared as CodecModifier and TypeFieldDescriptionstatic final Codec<FluidResource> FluidResource.CODECCodec for a fluid resource.static final Codec<FluidResource> FluidResource.OPTIONAL_CODECCodec for a fluid resource. -
Uses of Codec in net.neoforged.neoforge.transfer.item
Fields in net.neoforged.neoforge.transfer.item declared as CodecModifier and TypeFieldDescriptionstatic final Codec<ItemResource> ItemResource.CODECCodec for an item resource.static final Codec<ItemResource> ItemResource.OPTIONAL_CODECCodec for an item resource.
invalid reference