Uses of Class
net.minecraft.world.level.storage.loot.LootContextArg.ArgCodecBuilder
Packages that use LootContextArg.ArgCodecBuilder
-
Uses of LootContextArg.ArgCodecBuilder in net.minecraft.world.level.storage.loot
Methods in net.minecraft.world.level.storage.loot that return LootContextArg.ArgCodecBuilderModifier and TypeMethodDescriptionLootContextArg.ArgCodecBuilder.anyBlockEntity(Function<? super ContextKey<? extends BlockEntity>, ? extends LootContextArg<R>> pFactory) LootContextArg.ArgCodecBuilder.anyEntity(Function<? super ContextKey<? extends Entity>, ? extends LootContextArg<R>> pFactory) LootContextArg.ArgCodecBuilder.anyItemStack(Function<? super ContextKey<? extends ItemStack>, ? extends LootContextArg<R>> pFactory) <T extends StringRepresentable & LootContextArg<? extends R>>
LootContextArg.ArgCodecBuilder<R> LootContextArg.ArgCodecBuilder.anyOf(T[] pValues) <T extends StringRepresentable>
LootContextArg.ArgCodecBuilder<R> LootContextArg.ArgCodecBuilder.anyOf(T[] pValues, Function<T, ? extends LootContextArg<R>> pFactory) LootContextArg.ArgCodecBuilder.anyOf(T[] pValues, Function<T, String> pNameGetter, Function<T, ? extends LootContextArg<R>> pFactory) Method parameters in net.minecraft.world.level.storage.loot with type arguments of type LootContextArg.ArgCodecBuilderModifier and TypeMethodDescriptionstatic <R> com.mojang.serialization.Codec<LootContextArg<R>> LootContextArg.createArgCodec(UnaryOperator<LootContextArg.ArgCodecBuilder<R>> pProcessor)