Uses of Class
net.minecraft.predicate.entity.LootContextPredicate
Packages that use LootContextPredicate
Package
Description
-
Uses of LootContextPredicate in net.minecraft.advancement.criterion
Fields in net.minecraft.advancement.criterion with type parameters of type LootContextPredicateModifier and TypeFieldDescriptionprivate final Optional<LootContextPredicate>LightningStrikeCriterion.Conditions.bystanderThe field for thebystanderrecord component.private final Optional<LootContextPredicate>BredAnimalsCriterion.Conditions.childThe field for thechildrecord component.private final Optional<LootContextPredicate>FishingRodHookedCriterion.Conditions.entityThe field for theentityrecord component.private final Optional<LootContextPredicate>OnKilledCriterion.Conditions.entityThe field for theentityrecord component.private final Optional<LootContextPredicate>PlayerHurtEntityCriterion.Conditions.entityThe field for theentityrecord component.private final Optional<LootContextPredicate>PlayerInteractedWithEntityCriterion.Conditions.entityThe field for theentityrecord component.private final Optional<LootContextPredicate>SummonedEntityCriterion.Conditions.entityThe field for theentityrecord component.private final Optional<LootContextPredicate>TameAnimalCriterion.Conditions.entityThe field for theentityrecord component.private final Optional<LootContextPredicate>ThrownItemPickedUpByEntityCriterion.Conditions.entityThe field for theentityrecord component.private final Optional<LootContextPredicate>LightningStrikeCriterion.Conditions.lightningThe field for thelightningrecord component.private final Optional<LootContextPredicate>ItemCriterion.Conditions.locationThe field for thelocationrecord component.private final Optional<LootContextPredicate>BredAnimalsCriterion.Conditions.parentThe field for theparentrecord component.private final Optional<LootContextPredicate>BredAnimalsCriterion.Conditions.partnerThe field for thepartnerrecord component.private final Optional<LootContextPredicate>BeeNestDestroyedCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>BredAnimalsCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>BrewedPotionCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>ChangedDimensionCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>ChanneledLightningCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>ConstructBeaconCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>ConsumeItemCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>CuredZombieVillagerCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>EffectsChangedCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>EnchantedItemCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>EnterBlockCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>EntityHurtPlayerCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>FilledBucketCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>FishingRodHookedCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>InventoryChangedCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>ItemCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>ItemDurabilityChangedCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>KilledByCrossbowCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>LevitationCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>LightningStrikeCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>OnKilledCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>PlayerGeneratesContainerLootCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>PlayerHurtEntityCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>PlayerInteractedWithEntityCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>RecipeCraftedCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>RecipeUnlockedCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>ShotCrossbowCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>SlideDownBlockCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>StartedRidingCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>SummonedEntityCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>TameAnimalCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>TargetHitCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>ThrownItemPickedUpByEntityCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>TickCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>TravelCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>UsedEnderEyeCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>UsedTotemCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>UsingItemCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>VillagerTradeCriterion.Conditions.playerThe field for theplayerrecord component.private final Optional<LootContextPredicate>TargetHitCriterion.Conditions.projectileThe field for theprojectilerecord component.private final Optional<LootContextPredicate>EffectsChangedCriterion.Conditions.sourceThe field for thesourcerecord component.private final List<LootContextPredicate>ChanneledLightningCriterion.Conditions.victimsThe field for thevictimsrecord component.private final List<LootContextPredicate>KilledByCrossbowCriterion.Conditions.victimsThe field for thevictimsrecord component.private final Optional<LootContextPredicate>CuredZombieVillagerCriterion.Conditions.villagerThe field for thevillagerrecord component.private final Optional<LootContextPredicate>VillagerTradeCriterion.Conditions.villagerThe field for thevillagerrecord component.private final Optional<LootContextPredicate>CuredZombieVillagerCriterion.Conditions.zombieThe field for thezombierecord component.Methods in net.minecraft.advancement.criterion that return types with arguments of type LootContextPredicateModifier and TypeMethodDescriptionLightningStrikeCriterion.Conditions.bystander()Returns the value of thebystanderrecord component.BredAnimalsCriterion.Conditions.child()Returns the value of thechildrecord component.FishingRodHookedCriterion.Conditions.entity()Returns the value of theentityrecord component.OnKilledCriterion.Conditions.entity()Returns the value of theentityrecord component.PlayerHurtEntityCriterion.Conditions.entity()Returns the value of theentityrecord component.PlayerInteractedWithEntityCriterion.Conditions.entity()Returns the value of theentityrecord component.SummonedEntityCriterion.Conditions.entity()Returns the value of theentityrecord component.TameAnimalCriterion.Conditions.entity()Returns the value of theentityrecord component.ThrownItemPickedUpByEntityCriterion.Conditions.entity()Returns the value of theentityrecord component.LightningStrikeCriterion.Conditions.lightning()Returns the value of thelightningrecord component.ItemCriterion.Conditions.location()Returns the value of thelocationrecord component.BredAnimalsCriterion.Conditions.parent()Returns the value of theparentrecord component.BredAnimalsCriterion.Conditions.partner()Returns the value of thepartnerrecord component.AbstractCriterion.Conditions.player()BeeNestDestroyedCriterion.Conditions.player()BredAnimalsCriterion.Conditions.player()BrewedPotionCriterion.Conditions.player()ChangedDimensionCriterion.Conditions.player()ChanneledLightningCriterion.Conditions.player()ConstructBeaconCriterion.Conditions.player()ConsumeItemCriterion.Conditions.player()CuredZombieVillagerCriterion.Conditions.player()EffectsChangedCriterion.Conditions.player()EnchantedItemCriterion.Conditions.player()EnterBlockCriterion.Conditions.player()EntityHurtPlayerCriterion.Conditions.player()FilledBucketCriterion.Conditions.player()FishingRodHookedCriterion.Conditions.player()InventoryChangedCriterion.Conditions.player()ItemCriterion.Conditions.player()ItemDurabilityChangedCriterion.Conditions.player()KilledByCrossbowCriterion.Conditions.player()LevitationCriterion.Conditions.player()LightningStrikeCriterion.Conditions.player()OnKilledCriterion.Conditions.player()PlayerGeneratesContainerLootCriterion.Conditions.player()PlayerHurtEntityCriterion.Conditions.player()PlayerInteractedWithEntityCriterion.Conditions.player()RecipeCraftedCriterion.Conditions.player()RecipeUnlockedCriterion.Conditions.player()ShotCrossbowCriterion.Conditions.player()SlideDownBlockCriterion.Conditions.player()StartedRidingCriterion.Conditions.player()SummonedEntityCriterion.Conditions.player()TameAnimalCriterion.Conditions.player()TargetHitCriterion.Conditions.player()ThrownItemPickedUpByEntityCriterion.Conditions.player()TickCriterion.Conditions.player()TravelCriterion.Conditions.player()UsedEnderEyeCriterion.Conditions.player()UsedTotemCriterion.Conditions.player()UsingItemCriterion.Conditions.player()VillagerTradeCriterion.Conditions.player()TargetHitCriterion.Conditions.projectile()Returns the value of theprojectilerecord component.EffectsChangedCriterion.Conditions.source()Returns the value of thesourcerecord component.ChanneledLightningCriterion.Conditions.victims()Returns the value of thevictimsrecord component.KilledByCrossbowCriterion.Conditions.victims()Returns the value of thevictimsrecord component.CuredZombieVillagerCriterion.Conditions.villager()Returns the value of thevillagerrecord component.VillagerTradeCriterion.Conditions.villager()Returns the value of thevillagerrecord component.CuredZombieVillagerCriterion.Conditions.zombie()Returns the value of thezombierecord component.Methods in net.minecraft.advancement.criterion with parameters of type LootContextPredicateModifier and TypeMethodDescriptionThrownItemPickedUpByEntityCriterion.Conditions.createThrownItemPickedUpByEntity(LootContextPredicate player, Optional<ItemPredicate> item, Optional<LootContextPredicate> entity) Method parameters in net.minecraft.advancement.criterion with type arguments of type LootContextPredicateModifier and TypeMethodDescriptionItemDurabilityChangedCriterion.Conditions.create(Optional<LootContextPredicate> playerPredicate, Optional<ItemPredicate> item, NumberRange.IntRange durability) PlayerInteractedWithEntityCriterion.Conditions.create(Optional<LootContextPredicate> playerPredicate, ItemPredicate.Builder item, Optional<LootContextPredicate> entity) PlayerInteractedWithEntityCriterion.Conditions.create(ItemPredicate.Builder item, Optional<LootContextPredicate> entity) TargetHitCriterion.Conditions.create(NumberRange.IntRange signalStrength, Optional<LootContextPredicate> projectile) ThrownItemPickedUpByEntityCriterion.Conditions.createThrownItemPickedUpByPlayer(Optional<LootContextPredicate> playerPredicate, Optional<ItemPredicate> item, Optional<LootContextPredicate> entity) private static booleanBredAnimalsCriterion.Conditions.parentMatches(Optional<LootContextPredicate> parent, LootContext parentContext) Constructor parameters in net.minecraft.advancement.criterion with type arguments of type LootContextPredicateModifierConstructorDescriptionConditions(Optional<LootContextPredicate> playerPredicate, Optional<RegistryEntry<Block>> optional, Optional<ItemPredicate> item, NumberRange.IntRange beeCount) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<LootContextPredicate> parentPredicate, Optional<LootContextPredicate> partnerPredicate, Optional<LootContextPredicate> childPredicate) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<RegistryEntry<Potion>> optional) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<RegistryKey<World>> optional, Optional<RegistryKey<World>> optional2) Conditions(Optional<LootContextPredicate> playerPredicate, List<LootContextPredicate> victims) Conditions(Optional<LootContextPredicate> playerPredicate, List<LootContextPredicate> victims) Conditions(Optional<LootContextPredicate> playerPredicate, NumberRange.IntRange level) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<ItemPredicate> item) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<LootContextPredicate> zombie, Optional<LootContextPredicate> villager) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<EntityEffectPredicate> effects, Optional<LootContextPredicate> source) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<ItemPredicate> item, NumberRange.IntRange levels) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<RegistryEntry<Block>> optional, Optional<StatePredicate> state) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<DamagePredicate> damage) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<ItemPredicate> item) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<ItemPredicate> rod, Optional<LootContextPredicate> hookedEntity, Optional<ItemPredicate> caughtItem) Conditions(Optional<LootContextPredicate> playerPredicate, InventoryChangedCriterion.Conditions.Slots slots, List<ItemPredicate> list) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<LootContextPredicate> location) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<ItemPredicate> item, NumberRange.IntRange durability, NumberRange.IntRange delta) Conditions(Optional<LootContextPredicate> playerPredicate, List<LootContextPredicate> victims, NumberRange.IntRange uniqueEntityTypes) Conditions(Optional<LootContextPredicate> playerPredicate, List<LootContextPredicate> victims, NumberRange.IntRange uniqueEntityTypes) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<DistancePredicate> distance, NumberRange.IntRange duration) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<LootContextPredicate> lightning, Optional<LootContextPredicate> bystander) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<LootContextPredicate> entity, Optional<DamageSourcePredicate> killingBlow) Conditions(Optional<LootContextPredicate> playerPredicate, Identifier lootTable) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<DamagePredicate> damage, Optional<LootContextPredicate> entity) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<ItemPredicate> item, Optional<LootContextPredicate> entity) Conditions(Optional<LootContextPredicate> playerPredicate, Identifier recipeId, List<ItemPredicate> ingredients) Conditions(Optional<LootContextPredicate> playerPredicate, Identifier recipe) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<ItemPredicate> item) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<RegistryEntry<Block>> optional, Optional<StatePredicate> state) Conditions(Optional<LootContextPredicate> optional) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<LootContextPredicate> entity) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<LootContextPredicate> entity) Conditions(Optional<LootContextPredicate> playerPredicate, NumberRange.IntRange signalStrength, Optional<LootContextPredicate> projectile) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<ItemPredicate> item, Optional<LootContextPredicate> entity) Conditions(Optional<LootContextPredicate> optional) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<LocationPredicate> startPos, Optional<DistancePredicate> distance) Conditions(Optional<LootContextPredicate> playerPredicate, NumberRange.DoubleRange distance) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<ItemPredicate> item) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<ItemPredicate> item) Conditions(Optional<LootContextPredicate> playerPredicate, Optional<LootContextPredicate> villager, Optional<ItemPredicate> item) -
Uses of LootContextPredicate in net.minecraft.data.server.advancement.vanilla
Fields in net.minecraft.data.server.advancement.vanilla declared as LootContextPredicateModifier and TypeFieldDescriptionprivate static final LootContextPredicateVanillaNetherTabAdvancementGenerator.PIGLIN_DISTRACTION_PREDICATE -
Uses of LootContextPredicate in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type LootContextPredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LootContextPredicate>LootContextPredicate.CODECstatic final com.mojang.serialization.Codec<LootContextPredicate>EntityPredicate.LOOT_CONTEXT_PREDICATE_CODECMethods in net.minecraft.predicate.entity that return LootContextPredicateModifier and TypeMethodDescriptionstatic LootContextPredicateEntityPredicate.asLootContextPredicate(EntityPredicate predicate) static LootContextPredicateEntityPredicate.contextPredicateFromEntityPredicate(EntityPredicate.Builder builder) static LootContextPredicateLootContextPredicate.create(LootCondition[] conditions) Methods in net.minecraft.predicate.entity that return types with arguments of type LootContextPredicateModifier and TypeMethodDescriptionstatic Optional<LootContextPredicate>EntityPredicate.contextPredicateFromEntityPredicate(Optional<EntityPredicate> entityPredicate) static List<LootContextPredicate>EntityPredicate.contextPredicateFromEntityPredicates(EntityPredicate.Builder[] builders) Methods in net.minecraft.predicate.entity with parameters of type LootContextPredicateModifier and TypeMethodDescriptionvoidLootContextPredicateValidator.validate(LootContextPredicate predicate, LootContextType type, String path) voidLootContextPredicateValidator.validateEntityPredicate(LootContextPredicate predicate, String path) Method parameters in net.minecraft.predicate.entity with type arguments of type LootContextPredicateModifier and TypeMethodDescriptionvoidLootContextPredicateValidator.validate(List<LootContextPredicate> predicates, LootContextType type, String path) voidLootContextPredicateValidator.validateEntityPredicate(Optional<LootContextPredicate> predicate, String path) voidLootContextPredicateValidator.validateEntityPredicates(List<LootContextPredicate> predicates, String path)