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> source, SlotRange slotRange) -
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[] targets) Methods in net.minecraft.world.level.storage.loot that return LootContextArgModifier and TypeMethodDescriptionstatic <U> LootContextArg<U> LootContextArg.cast(LootContextArg<? extends U> original) Methods in net.minecraft.world.level.storage.loot that return types with arguments of type LootContextArgModifier and TypeMethodDescriptionprivate com.mojang.serialization.Codec<LootContextArg<R>> LootContextArg.ArgCodecBuilder.build()static <R> com.mojang.serialization.Codec<LootContextArg<R>> LootContextArg.createArgCodec(UnaryOperator<LootContextArg.ArgCodecBuilder<R>> consumer) Methods in net.minecraft.world.level.storage.loot with parameters of type LootContextArgModifier and TypeMethodDescriptionstatic <U> LootContextArg<U> LootContextArg.cast(LootContextArg<? extends U> original) 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>> function) LootContextArg.ArgCodecBuilder.anyEntity(Function<? super ContextKey<? extends Entity>, ? extends LootContextArg<R>> function) LootContextArg.ArgCodecBuilder.anyItemStack(Function<? super ContextKey<? extends ItemInstance>, ? extends LootContextArg<R>> function) <T extends StringRepresentable>
LootContextArg.ArgCodecBuilder<R> LootContextArg.ArgCodecBuilder.anyOf(T[] targets, Function<T, ? extends LootContextArg<R>> argFactory) -
Uses of LootContextArg in net.minecraft.world.level.storage.loot.functions
Classes in net.minecraft.world.level.storage.loot.functions that implement LootContextArgModifier and TypeClassDescriptionprivate static final recordprivate 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<?> target) Constructors in net.minecraft.world.level.storage.loot.functions with parameters of type LootContextArgModifierConstructorDescriptionprivateBuilder(LootContextArg<DataComponentGetter> source) privateCopyComponentsFunction(List<LootItemCondition> predicates, LootContextArg<DataComponentGetter> source, Optional<List<DataComponentType<?>>> include, Optional<List<DataComponentType<?>>> exclude) privateCopyNameFunction(List<LootItemCondition> predicates, LootContextArg<?> source) -
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 TypeClassDescriptionprivate static final recordprivate 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