Uses of Class
net.minecraft.loot.context.LootContext
Packages that use LootContext
Package
Description
- 
Uses of LootContext in net.minecraft.advancement.criterionMethods in net.minecraft.advancement.criterion with parameters of type LootContextModifier and TypeMethodDescriptionbooleanBredAnimalsCriterion.Conditions.matches(LootContext parentContext, LootContext partnerContext, @Nullable LootContext childContext) booleanCuredZombieVillagerCriterion.Conditions.matches(LootContext zombieContext, LootContext villagerContext) booleanEffectsChangedCriterion.Conditions.matches(ServerPlayerEntity player, @Nullable LootContext context) booleanFishingRodHookedCriterion.Conditions.matches(ItemStack rod, LootContext hookedEntityContext, Collection<ItemStack> fishingLoots) booleanPlayerHurtEntityCriterion.Conditions.matches(ServerPlayerEntity player, LootContext entityContext, DamageSource source, float dealt, float taken, boolean blocked) booleanSummonedEntityCriterion.Conditions.matches(LootContext summonedEntityContext) booleanTameAnimalCriterion.Conditions.matches(LootContext tamedEntityContext) booleanVillagerTradeCriterion.Conditions.matches(LootContext merchantContext, ItemStack stack) booleanItemCriterion.Conditions.test(LootContext context) booleanLightningStrikeCriterion.Conditions.test(LootContext lightning, List<LootContext> bystanders) booleanOnKilledCriterion.Conditions.test(ServerPlayerEntity player, LootContext killedEntityContext, DamageSource killingBlow) booleanPlayerInteractedWithEntityCriterion.Conditions.test(ItemStack stack, LootContext context) booleanTargetHitCriterion.Conditions.test(LootContext projectileContext, Vec3d hitPos, int signalStrength) booleanThrownItemPickedUpByEntityCriterion.Conditions.test(ServerPlayerEntity player, ItemStack stack, LootContext entityContext) Method parameters in net.minecraft.advancement.criterion with type arguments of type LootContextModifier and TypeMethodDescriptionbooleanChanneledLightningCriterion.Conditions.matches(Collection<? extends LootContext> victims) booleanKilledByCrossbowCriterion.Conditions.matches(Collection<LootContext> victimContexts, int uniqueEntityTypeCount) booleanLightningStrikeCriterion.Conditions.test(LootContext lightning, List<LootContext> bystanders) 
- 
Uses of LootContext in net.minecraft.lootFields in net.minecraft.loot with type parameters of type LootContextModifier and TypeFieldDescriptionprivate final BiFunction<ItemStack,LootContext, ItemStack> LootManager.AndFunction.applierprivate final BiFunction<ItemStack,LootContext, ItemStack> LootTable.combinedFunctionprivate final BiFunction<ItemStack,LootContext, ItemStack> LootPool.javaFunctionsprivate final Predicate<LootContext>LootManager.AndCondition.predicateprivate final Predicate<LootContext>LootPool.predicateMethods in net.minecraft.loot with parameters of type LootContextModifier and TypeMethodDescriptionvoidLootPool.addGeneratedLoot(Consumer<ItemStack> lootConsumer, LootContext context) LootManager.AndFunction.apply(ItemStack itemStack, LootContext lootContext) voidLootChoice.generateLoot(Consumer<ItemStack> lootConsumer, LootContext context) private ObjectArrayList<ItemStack>LootTable.generateLoot(LootContext context) voidLootTable.generateLoot(LootContext context, Consumer<ItemStack> lootConsumer) voidLootTable.generateUnprocessedLoot(LootContext context, Consumer<ItemStack> lootConsumer) private voidLootPool.supplyOnce(Consumer<ItemStack> lootConsumer, LootContext context) final booleanLootManager.AndCondition.test(LootContext lootContext) 
- 
Uses of LootContext in net.minecraft.loot.conditionFields in net.minecraft.loot.condition with type parameters of type LootContextModifier and TypeFieldDescriptionprivate final Predicate<LootContext>AlternativeLootCondition.predicateMethods in net.minecraft.loot.condition with parameters of type LootContextModifier and TypeMethodDescriptionprotected booleanEntityScoresLootCondition.entityScoreIsInRange(LootContext context, Entity entity, Scoreboard scoreboard, String objectiveName, BoundedIntUnaryOperator range) final booleanAlternativeLootCondition.test(LootContext lootContext) booleanBlockStatePropertyLootCondition.test(LootContext lootContext) booleanDamageSourcePropertiesLootCondition.test(LootContext lootContext) booleanEntityPropertiesLootCondition.test(LootContext lootContext) booleanEntityScoresLootCondition.test(LootContext lootContext) final booleanInvertedLootCondition.test(LootContext lootContext) booleanKilledByPlayerLootCondition.test(LootContext lootContext) booleanLocationCheckLootCondition.test(LootContext lootContext) booleanMatchToolLootCondition.test(LootContext lootContext) booleanRandomChanceLootCondition.test(LootContext lootContext) booleanRandomChanceWithLootingLootCondition.test(LootContext lootContext) booleanReferenceLootCondition.test(LootContext lootContext) booleanSurvivesExplosionLootCondition.test(LootContext lootContext) booleanTableBonusLootCondition.test(LootContext lootContext) booleanTimeCheckLootCondition.test(LootContext lootContext) booleanValueCheckLootCondition.test(LootContext lootContext) booleanWeatherCheckLootCondition.test(LootContext lootContext) Constructor parameters in net.minecraft.loot.condition with type arguments of type LootContextModifierConstructorDescriptionprotectedAlternativeLootCondition(LootCondition[] terms, Predicate<LootContext> predicate) 
- 
Uses of LootContext in net.minecraft.loot.contextMethods in net.minecraft.loot.context that return LootContextModifier and TypeMethodDescriptionLootContext.Builder.build(@Nullable Identifier randomSequenceId) 
- 
Uses of LootContext in net.minecraft.loot.entryFields in net.minecraft.loot.entry with type parameters of type LootContextModifier and TypeFieldDescription(package private) final BiFunction<ItemStack,LootContext, ItemStack> LeafEntry.compiledFunctionsprivate final Predicate<LootContext>LootPoolEntry.conditionPredicateMethods in net.minecraft.loot.entry with parameters of type LootContextModifier and TypeMethodDescriptionfinal booleanCombinedEntry.expand(LootContext context, Consumer<LootChoice> choiceConsumer) booleanEntryCombiner.expand(LootContext context, Consumer<LootChoice> choiceConsumer) booleanLeafEntry.expand(LootContext context, Consumer<LootChoice> choiceConsumer) booleanTagEntry.expand(LootContext context, Consumer<LootChoice> choiceConsumer) voidDynamicEntry.generateLoot(Consumer<ItemStack> lootConsumer, LootContext context) voidEmptyEntry.generateLoot(Consumer<ItemStack> lootConsumer, LootContext context) voidItemEntry.generateLoot(Consumer<ItemStack> lootConsumer, LootContext context) protected abstract voidLeafEntry.generateLoot(Consumer<ItemStack> lootConsumer, LootContext context) voidLootTableEntry.generateLoot(Consumer<ItemStack> lootConsumer, LootContext context) voidTagEntry.generateLoot(Consumer<ItemStack> lootConsumer, LootContext context) private booleanTagEntry.grow(LootContext context, Consumer<LootChoice> lootChoiceExpander) protected final booleanLootPoolEntry.test(LootContext context) 
- 
Uses of LootContext in net.minecraft.loot.functionFields in net.minecraft.loot.function with type parameters of type LootContextModifier and TypeFieldDescriptionstatic final BiFunction<ItemStack,LootContext, ItemStack> LootFunctionTypes.NOOPprivate final Predicate<LootContext>ConditionalLootFunction.predicateMethods in net.minecraft.loot.function that return types with arguments of type LootContextModifier and TypeMethodDescriptionstatic BiFunction<ItemStack,LootContext, ItemStack> LootFunctionTypes.join(BiFunction<ItemStack, LootContext, ItemStack>[] lootFunctions) Methods in net.minecraft.loot.function with parameters of type LootContextModifier and TypeMethodDescriptionfinal ItemStackConditionalLootFunction.apply(ItemStack itemStack, LootContext lootContext) LootFunction.apply(BiFunction<ItemStack, LootContext, ItemStack> itemApplier, Consumer<ItemStack> lootConsumer, LootContext context) static UnaryOperator<Text>SetNameLootFunction.applySourceEntity(LootContext context, LootContext.EntityTarget sourceEntity) ApplyBonusLootFunction.process(ItemStack stack, LootContext context) protected abstract ItemStackConditionalLootFunction.process(ItemStack stack, LootContext context) CopyNameLootFunction.process(ItemStack stack, LootContext context) CopyNbtLootFunction.process(ItemStack stack, LootContext context) protected ItemStackCopyStateFunction.process(ItemStack stack, LootContext context) EnchantRandomlyLootFunction.process(ItemStack stack, LootContext context) EnchantWithLevelsLootFunction.process(ItemStack stack, LootContext context) ExplorationMapLootFunction.process(ItemStack stack, LootContext context) ExplosionDecayLootFunction.process(ItemStack stack, LootContext context) FillPlayerHeadLootFunction.process(ItemStack stack, LootContext context) FurnaceSmeltLootFunction.process(ItemStack stack, LootContext context) LimitCountLootFunction.process(ItemStack stack, LootContext context) LootingEnchantLootFunction.process(ItemStack stack, LootContext context) protected ItemStackReferenceLootFunction.process(ItemStack stack, LootContext context) SetAttributesLootFunction.process(ItemStack stack, LootContext context) protected ItemStackSetBannerPatternFunction.process(ItemStack stack, LootContext context) SetContentsLootFunction.process(ItemStack stack, LootContext context) SetCountLootFunction.process(ItemStack stack, LootContext context) SetDamageLootFunction.process(ItemStack stack, LootContext context) SetEnchantmentsLootFunction.process(ItemStack stack, LootContext context) SetInstrumentLootFunction.process(ItemStack stack, LootContext context) SetLootTableLootFunction.process(ItemStack stack, LootContext context) SetLoreLootFunction.process(ItemStack stack, LootContext context) SetNameLootFunction.process(ItemStack stack, LootContext context) SetNbtLootFunction.process(ItemStack stack, LootContext context) SetPotionLootFunction.process(ItemStack stack, LootContext context) SetStewEffectLootFunction.process(ItemStack stack, LootContext context) Method parameters in net.minecraft.loot.function with type arguments of type LootContextModifier and TypeMethodDescriptionLootFunction.apply(BiFunction<ItemStack, LootContext, ItemStack> itemApplier, Consumer<ItemStack> lootConsumer, LootContext context) 
- 
Uses of LootContext in net.minecraft.loot.operatorMethods in net.minecraft.loot.operator with parameters of type LootContextModifier and TypeMethodDescriptionintBoundedIntUnaryOperator.Applier.apply(LootContext context, int value) intBoundedIntUnaryOperator.apply(LootContext context, int value) booleanBoundedIntUnaryOperator.test(LootContext context, int value) booleanBoundedIntUnaryOperator.Tester.test(LootContext context, int value) 
- 
Uses of LootContext in net.minecraft.loot.provider.nbtMethods in net.minecraft.loot.provider.nbt with parameters of type LootContextModifier and TypeMethodDescriptionContextLootNbtProvider.getNbt(LootContext context) ContextLootNbtProvider.Target.getNbt(LootContext context) LootNbtProvider.getNbt(LootContext context) StorageLootNbtProvider.getNbt(LootContext context) 
- 
Uses of LootContext in net.minecraft.loot.provider.numberMethods in net.minecraft.loot.provider.number with parameters of type LootContextModifier and TypeMethodDescriptionfloatBinomialLootNumberProvider.nextFloat(LootContext context) floatConstantLootNumberProvider.nextFloat(LootContext context) floatLootNumberProvider.nextFloat(LootContext context) floatScoreLootNumberProvider.nextFloat(LootContext context) floatUniformLootNumberProvider.nextFloat(LootContext context) intBinomialLootNumberProvider.nextInt(LootContext context) default intLootNumberProvider.nextInt(LootContext context) intUniformLootNumberProvider.nextInt(LootContext context) 
- 
Uses of LootContext in net.minecraft.loot.provider.scoreMethods in net.minecraft.loot.provider.score with parameters of type LootContextModifier and TypeMethodDescriptionContextLootScoreProvider.getName(LootContext context) FixedLootScoreProvider.getName(LootContext context) LootScoreProvider.getName(LootContext context) 
- 
Uses of LootContext in net.minecraft.predicate.entityFields in net.minecraft.predicate.entity with type parameters of type LootContextModifier and TypeFieldDescriptionprivate final Predicate<LootContext>LootContextPredicate.combinedConditionMethods in net.minecraft.predicate.entity that return LootContextModifier and TypeMethodDescriptionstatic LootContextEntityPredicate.createAdvancementEntityLootContext(ServerPlayerEntity player, Entity target) Methods in net.minecraft.predicate.entity with parameters of type LootContext