Uses of Interface
net.minecraft.world.level.storage.loot.LootContextArg
Packages that use LootContextArg
Package
Description
-
Uses of LootContextArg in net.minecraft.world.item.slot
Fields in net.minecraft.world.item.slot declared as LootContextArgConstructors in net.minecraft.world.item.slot with parameters of type LootContextArgModifierConstructorDescriptionprivateRangeSlotSource(LootContextArg<Object> pSource, SlotRange pSlotRange) -
Uses of LootContextArg in net.minecraft.world.level.storage.loot
Subinterfaces of LootContextArg in net.minecraft.world.level.storage.lootModifier and TypeInterfaceDescriptionstatic interfacestatic interfaceClasses in net.minecraft.world.level.storage.loot that implement LootContextArgModifier and TypeClassDescriptionstatic enumstatic enumRepresents a type of entity that can be looked up in aLootContextusing a.invalid reference
LootContextParamstatic enumFields in net.minecraft.world.level.storage.loot with type parameters of type LootContextArgModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LootContextArg<Object>> LootContextArg.ENTITY_OR_BLOCKprivate final ExtraCodecs.LateBoundIdMapper<String, LootContextArg<R>> LootContextArg.ArgCodecBuilder.sourcesMethods in net.minecraft.world.level.storage.loot with type parameters of type LootContextArgModifier and TypeMethodDescription<T extends StringRepresentable & LootContextArg<? extends R>>
LootContextArg.ArgCodecBuilder<R> LootContextArg.ArgCodecBuilder.anyOf(T[] pValues) Methods in net.minecraft.world.level.storage.loot that return LootContextArgModifier and TypeMethodDescriptionstatic <U> LootContextArg<U> LootContextArg.cast(LootContextArg<? extends U> pArg) Methods in net.minecraft.world.level.storage.loot that return types with arguments of type LootContextArgModifier and TypeMethodDescription(package private) com.mojang.serialization.Codec<LootContextArg<R>> LootContextArg.ArgCodecBuilder.build()static <R> com.mojang.serialization.Codec<LootContextArg<R>> LootContextArg.createArgCodec(UnaryOperator<LootContextArg.ArgCodecBuilder<R>> pProcessor) Methods in net.minecraft.world.level.storage.loot with parameters of type LootContextArgModifier and TypeMethodDescriptionstatic <U> LootContextArg<U> LootContextArg.cast(LootContextArg<? extends U> pArg) Method parameters in net.minecraft.world.level.storage.loot with type arguments of type LootContextArgModifier 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.ArgCodecBuilder<R> LootContextArg.ArgCodecBuilder.anyOf(T[] pValues, Function<T, ? extends LootContextArg<R>> pFactory) -
Uses of LootContextArg in net.minecraft.world.level.storage.loot.functions
Classes in net.minecraft.world.level.storage.loot.functions that implement LootContextArgModifier and TypeClassDescription(package private) static final record(package private) static final recordFields in net.minecraft.world.level.storage.loot.functions declared as LootContextArgModifier and TypeFieldDescriptionprivate final LootContextArg<DataComponentGetter> CopyComponentsFunction.Builder.sourceprivate final LootContextArg<DataComponentGetter> CopyComponentsFunction.sourceprivate final LootContextArg<Object> CopyNameFunction.sourceFields in net.minecraft.world.level.storage.loot.functions with type parameters of type LootContextArgModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<LootContextArg<DataComponentGetter>> CopyComponentsFunction.GETTER_CODECMethods in net.minecraft.world.level.storage.loot.functions with parameters of type LootContextArgModifier and TypeMethodDescriptionstatic LootItemConditionalFunction.Builder<?> CopyNameFunction.copyName(LootContextArg<?> pSource) Constructors in net.minecraft.world.level.storage.loot.functions with parameters of type LootContextArgModifierConstructorDescription(package private)Builder(LootContextArg<DataComponentGetter> pSource) (package private)CopyComponentsFunction(List<LootItemCondition> pConditions, LootContextArg<DataComponentGetter> pSource, Optional<List<DataComponentType<?>>> pInclude, Optional<List<DataComponentType<?>>> pExclude) privateCopyNameFunction(List<LootItemCondition> pConditions, LootContextArg<?> pSource) -
Uses of LootContextArg in net.minecraft.world.level.storage.loot.providers.nbt
Classes in net.minecraft.world.level.storage.loot.providers.nbt that implement LootContextArgModifier and TypeClassDescription(package private) static final record(package private) static final recordFields in net.minecraft.world.level.storage.loot.providers.nbt declared as LootContextArgFields in net.minecraft.world.level.storage.loot.providers.nbt with type parameters of type LootContextArgModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<LootContextArg<Tag>> ContextNbtProvider.GETTER_CODECConstructors in net.minecraft.world.level.storage.loot.providers.nbt with parameters of type LootContextArg