Uses of Record Class
net.neoforged.neoforge.common.conditions.WithConditions
Packages that use WithConditions
Package
Description
-
Uses of WithConditions in net.minecraft.advancements
Fields in net.minecraft.advancements with type parameters of type WithConditionsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Optional<WithConditions<Advancement>>> Advancement.CONDITIONAL_CODEC -
Uses of WithConditions in net.minecraft.data.registries
Method parameters in net.minecraft.data.registries with type arguments of type WithConditionsModifier and TypeMethodDescriptionprivate static <E> CompletableFuture<?> RegistriesDatapackGenerator.dumpValue(Path path, CachedOutput cache, com.mojang.serialization.DynamicOps<JsonElement> ops, com.mojang.serialization.Encoder<Optional<WithConditions<E>>> codec, Optional<WithConditions<E>> value) Deprecated.private static <E> CompletableFuture<?> RegistriesDatapackGenerator.dumpValue(Path path, CachedOutput cache, com.mojang.serialization.DynamicOps<JsonElement> ops, com.mojang.serialization.Encoder<Optional<WithConditions<E>>> codec, Optional<WithConditions<E>> value) Deprecated. -
Uses of WithConditions in net.minecraft.world.item.crafting
Fields in net.minecraft.world.item.crafting with type parameters of type WithConditionsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Optional<WithConditions<Recipe<?>>>> Recipe.CONDITIONAL_CODEC -
Uses of WithConditions in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot with type parameters of type WithConditionsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Optional<WithConditions<LootTable>>> LootTable.CONDITIONAL_DIRECT_CODEC -
Uses of WithConditions in net.neoforged.neoforge.client.data
Subclasses with type arguments of type WithConditions in net.neoforged.neoforge.client.dataModifier and TypeClassDescriptionclassData provider for atlas configuration files.
An atlas configuration is bound to a specific texture atlas such as theminecraft:blocksatlas and allows adding additional textures to the atlas by addingSpriteSources to the configuration.Fields in net.neoforged.neoforge.client.data with type parameters of type WithConditionsModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<List<Optional<WithConditions<SpriteSource>>>> SpriteSourceProvider.CODECprivate final List<Optional<WithConditions<SpriteSource>>> SpriteSourceProvider.SourceList.sources -
Uses of WithConditions in net.neoforged.neoforge.common.conditions
Classes in net.neoforged.neoforge.common.conditions that implement interfaces with type arguments of type WithConditionsModifier and TypeClassDescriptionprivate static final classprivate static final classMethods in net.neoforged.neoforge.common.conditions that return WithConditionsMethods in net.neoforged.neoforge.common.conditions that return types with arguments of type WithConditionsModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<Optional<WithConditions<T>>> ConditionalOps.createConditionalCodecWithConditions(com.mojang.serialization.Codec<T> ownerCodec) static <T> com.mojang.serialization.Codec<Optional<WithConditions<T>>> ConditionalOps.createConditionalCodecWithConditions(com.mojang.serialization.Codec<T> ownerCodec, String conditionalsKey) Creates a conditional codec.<T> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<Optional<WithConditions<A>>, T>> ConditionalOps.ConditionalDecoder.decode(com.mojang.serialization.DynamicOps<T> ops, T input) Method parameters in net.neoforged.neoforge.common.conditions with type arguments of type WithConditionsModifier and TypeMethodDescription<T> com.mojang.serialization.DataResult<T> ConditionalOps.ConditionalEncoder.encode(Optional<WithConditions<A>> input, com.mojang.serialization.DynamicOps<T> ops, T prefix) static <V,T> Optional <T> ICondition.getWithWithConditionsCodec(com.mojang.serialization.Codec<Optional<WithConditions<T>>> codec, com.mojang.serialization.DynamicOps<V> ops, V elements) -
Uses of WithConditions in net.neoforged.neoforge.common.data
Fields in net.neoforged.neoforge.common.data with type parameters of type WithConditionsModifier and TypeFieldDescriptionprotected final Map<Identifier, WithConditions<T>> JsonCodecProvider.conditionsprivate final List<WithConditions<OverlayMetadataSection.OverlayEntry>> GeneratingOverlayMetadataSection.overlaysThe field for theoverlaysrecord component.private final Map<String, WithConditions<IGlobalLootModifier>> GlobalLootModifierProvider.toSerializeprivate final Map<com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>>, Optional<WithConditions<DataMapEntry<T>>>> DataMapProvider.Builder.valuesMethods in net.neoforged.neoforge.common.data that return WithConditionsMethods in net.neoforged.neoforge.common.data that return types with arguments of type WithConditionsModifier and TypeMethodDescriptionGeneratingOverlayMetadataSection.overlays()Returns the value of theoverlaysrecord component.Methods in net.neoforged.neoforge.common.data with parameters of type WithConditionsModifier and TypeMethodDescriptionprivate voidJsonCodecProvider.process(Identifier id, WithConditions<T> withConditions) Constructor parameters in net.neoforged.neoforge.common.data with type arguments of type WithConditionsModifierConstructorDescriptionGeneratingOverlayMetadataSection(List<WithConditions<OverlayMetadataSection.OverlayEntry>> overlays) Creates an instance of aGeneratingOverlayMetadataSectionrecord class. -
Uses of WithConditions in net.neoforged.neoforge.common.loot
Fields in net.neoforged.neoforge.common.loot with type parameters of type WithConditionsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Optional<WithConditions<IGlobalLootModifier>>> IGlobalLootModifier.CONDITIONAL_CODEC -
Uses of WithConditions in net.neoforged.neoforge.registries.datamaps
Fields in net.neoforged.neoforge.registries.datamaps with type parameters of type WithConditionsModifier and TypeFieldDescriptionprivate final Map<com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>>, Optional<WithConditions<DataMapEntry<T>>>> DataMapFile.valuesThe field for thevaluesrecord component.Methods in net.neoforged.neoforge.registries.datamaps that return types with arguments of type WithConditionsModifier and TypeMethodDescriptionMap<com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>>, Optional<WithConditions<DataMapEntry<T>>>> DataMapFile.values()Returns the value of thevaluesrecord component.Constructor parameters in net.neoforged.neoforge.registries.datamaps with type arguments of type WithConditionsModifierConstructorDescriptionDataMapFile(boolean replace, Map<com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>>, Optional<WithConditions<DataMapEntry<T>>>> values, List<DataMapEntry.Removal<T, R>> removals) Creates an instance of aDataMapFilerecord class.