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> FallAfterExplosionCriterion.Conditions.causeThe field for thecauserecord 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> AnyBlockUseCriterion.Conditions.locationThe field for thelocationrecord component.private final Optional<LootContextPredicate> DefaultBlockUseCriterion.Conditions.locationThe field for thelocationrecord 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> AnyBlockUseCriterion.Conditions.playerThe field for theplayerrecord 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> DefaultBlockUseCriterion.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> FallAfterExplosionCriterion.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.FallAfterExplosionCriterion.Conditions.cause()Returns the value of thecauserecord 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.AnyBlockUseCriterion.Conditions.location()Returns the value of thelocationrecord component.DefaultBlockUseCriterion.Conditions.location()Returns the value of thelocationrecord 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()AnyBlockUseCriterion.Conditions.player()Returns the value of theplayerrecord component.BeeNestDestroyedCriterion.Conditions.player()Returns the value of theplayerrecord component.BredAnimalsCriterion.Conditions.player()Returns the value of theplayerrecord component.BrewedPotionCriterion.Conditions.player()Returns the value of theplayerrecord component.ChangedDimensionCriterion.Conditions.player()Returns the value of theplayerrecord component.ChanneledLightningCriterion.Conditions.player()Returns the value of theplayerrecord component.ConstructBeaconCriterion.Conditions.player()Returns the value of theplayerrecord component.ConsumeItemCriterion.Conditions.player()Returns the value of theplayerrecord component.CuredZombieVillagerCriterion.Conditions.player()Returns the value of theplayerrecord component.DefaultBlockUseCriterion.Conditions.player()Returns the value of theplayerrecord component.EffectsChangedCriterion.Conditions.player()Returns the value of theplayerrecord component.EnchantedItemCriterion.Conditions.player()Returns the value of theplayerrecord component.EnterBlockCriterion.Conditions.player()Returns the value of theplayerrecord component.EntityHurtPlayerCriterion.Conditions.player()Returns the value of theplayerrecord component.FallAfterExplosionCriterion.Conditions.player()Returns the value of theplayerrecord component.FilledBucketCriterion.Conditions.player()Returns the value of theplayerrecord component.FishingRodHookedCriterion.Conditions.player()Returns the value of theplayerrecord component.InventoryChangedCriterion.Conditions.player()Returns the value of theplayerrecord component.ItemCriterion.Conditions.player()Returns the value of theplayerrecord component.ItemDurabilityChangedCriterion.Conditions.player()Returns the value of theplayerrecord component.KilledByCrossbowCriterion.Conditions.player()Returns the value of theplayerrecord component.LevitationCriterion.Conditions.player()Returns the value of theplayerrecord component.LightningStrikeCriterion.Conditions.player()Returns the value of theplayerrecord component.OnKilledCriterion.Conditions.player()Returns the value of theplayerrecord component.PlayerGeneratesContainerLootCriterion.Conditions.player()Returns the value of theplayerrecord component.PlayerHurtEntityCriterion.Conditions.player()Returns the value of theplayerrecord component.PlayerInteractedWithEntityCriterion.Conditions.player()Returns the value of theplayerrecord component.RecipeCraftedCriterion.Conditions.player()Returns the value of theplayerrecord component.RecipeUnlockedCriterion.Conditions.player()Returns the value of theplayerrecord component.ShotCrossbowCriterion.Conditions.player()Returns the value of theplayerrecord component.SlideDownBlockCriterion.Conditions.player()Returns the value of theplayerrecord component.StartedRidingCriterion.Conditions.player()Returns the value of theplayerrecord component.SummonedEntityCriterion.Conditions.player()Returns the value of theplayerrecord component.TameAnimalCriterion.Conditions.player()Returns the value of theplayerrecord component.TargetHitCriterion.Conditions.player()Returns the value of theplayerrecord component.ThrownItemPickedUpByEntityCriterion.Conditions.player()Returns the value of theplayerrecord component.TickCriterion.Conditions.player()Returns the value of theplayerrecord component.TravelCriterion.Conditions.player()Returns the value of theplayerrecord component.UsedEnderEyeCriterion.Conditions.player()Returns the value of theplayerrecord component.UsedTotemCriterion.Conditions.player()Returns the value of theplayerrecord component.UsingItemCriterion.Conditions.player()Returns the value of theplayerrecord component.VillagerTradeCriterion.Conditions.player()Returns the value of theplayerrecord component.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> optional, Optional<LootContextPredicate> optional2) Conditions(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> optional, Optional<LootContextPredicate> optional2) 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> optional, Optional<LocationPredicate> optional2, Optional<DistancePredicate> optional3, Optional<LootContextPredicate> optional4) 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, RegistryKey<LootTable> registryKey) 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)