Uses of Class
net.minecraft.predicate.entity.LootContextPredicate
Package
Description
-
Uses of LootContextPredicate in net.minecraft.advancement.criterion
Modifier and TypeFieldDescriptionprivate final Optional
<LootContextPredicate> LightningStrikeCriterion.Conditions.bystander
The field for thebystander
record component.private final Optional
<LootContextPredicate> FallAfterExplosionCriterion.Conditions.cause
The field for thecause
record component.private final Optional
<LootContextPredicate> BredAnimalsCriterion.Conditions.child
The field for thechild
record component.private final Optional
<LootContextPredicate> FishingRodHookedCriterion.Conditions.entity
The field for theentity
record component.private final Optional
<LootContextPredicate> OnKilledCriterion.Conditions.entity
The field for theentity
record component.private final Optional
<LootContextPredicate> PlayerHurtEntityCriterion.Conditions.entity
The field for theentity
record component.private final Optional
<LootContextPredicate> PlayerInteractedWithEntityCriterion.Conditions.entity
The field for theentity
record component.private final Optional
<LootContextPredicate> SummonedEntityCriterion.Conditions.entity
The field for theentity
record component.private final Optional
<LootContextPredicate> TameAnimalCriterion.Conditions.entity
The field for theentity
record component.private final Optional
<LootContextPredicate> ThrownItemPickedUpByEntityCriterion.Conditions.entity
The field for theentity
record component.private final Optional
<LootContextPredicate> LightningStrikeCriterion.Conditions.lightning
The field for thelightning
record component.private final Optional
<LootContextPredicate> AnyBlockUseCriterion.Conditions.location
The field for thelocation
record component.private final Optional
<LootContextPredicate> DefaultBlockUseCriterion.Conditions.location
The field for thelocation
record component.private final Optional
<LootContextPredicate> ItemCriterion.Conditions.location
The field for thelocation
record component.private final Optional
<LootContextPredicate> BredAnimalsCriterion.Conditions.parent
The field for theparent
record component.private final Optional
<LootContextPredicate> BredAnimalsCriterion.Conditions.partner
The field for thepartner
record component.private final Optional
<LootContextPredicate> AnyBlockUseCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> BeeNestDestroyedCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> BredAnimalsCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> BrewedPotionCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> ChangedDimensionCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> ChanneledLightningCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> ConstructBeaconCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> ConsumeItemCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> CuredZombieVillagerCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> DefaultBlockUseCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> EffectsChangedCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> EnchantedItemCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> EnterBlockCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> EntityHurtPlayerCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> FallAfterExplosionCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> FilledBucketCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> FishingRodHookedCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> InventoryChangedCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> ItemCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> ItemDurabilityChangedCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> KilledByCrossbowCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> LevitationCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> LightningStrikeCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> OnKilledCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> PlayerGeneratesContainerLootCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> PlayerHurtEntityCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> PlayerInteractedWithEntityCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> RecipeCraftedCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> RecipeUnlockedCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> ShotCrossbowCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> SlideDownBlockCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> StartedRidingCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> SummonedEntityCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> TameAnimalCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> TargetHitCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> ThrownItemPickedUpByEntityCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> TickCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> TravelCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> UsedEnderEyeCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> UsedTotemCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> UsingItemCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> VillagerTradeCriterion.Conditions.player
The field for theplayer
record component.private final Optional
<LootContextPredicate> TargetHitCriterion.Conditions.projectile
The field for theprojectile
record component.private final Optional
<LootContextPredicate> EffectsChangedCriterion.Conditions.source
The field for thesource
record component.private final List
<LootContextPredicate> ChanneledLightningCriterion.Conditions.victims
The field for thevictims
record component.private final List
<LootContextPredicate> KilledByCrossbowCriterion.Conditions.victims
The field for thevictims
record component.private final Optional
<LootContextPredicate> CuredZombieVillagerCriterion.Conditions.villager
The field for thevillager
record component.private final Optional
<LootContextPredicate> VillagerTradeCriterion.Conditions.villager
The field for thevillager
record component.private final Optional
<LootContextPredicate> CuredZombieVillagerCriterion.Conditions.zombie
The field for thezombie
record component.Modifier and TypeMethodDescriptionLightningStrikeCriterion.Conditions.bystander()
Returns the value of thebystander
record component.FallAfterExplosionCriterion.Conditions.cause()
Returns the value of thecause
record component.BredAnimalsCriterion.Conditions.child()
Returns the value of thechild
record component.FishingRodHookedCriterion.Conditions.entity()
Returns the value of theentity
record component.OnKilledCriterion.Conditions.entity()
Returns the value of theentity
record component.PlayerHurtEntityCriterion.Conditions.entity()
Returns the value of theentity
record component.PlayerInteractedWithEntityCriterion.Conditions.entity()
Returns the value of theentity
record component.SummonedEntityCriterion.Conditions.entity()
Returns the value of theentity
record component.TameAnimalCriterion.Conditions.entity()
Returns the value of theentity
record component.ThrownItemPickedUpByEntityCriterion.Conditions.entity()
Returns the value of theentity
record component.LightningStrikeCriterion.Conditions.lightning()
Returns the value of thelightning
record component.AnyBlockUseCriterion.Conditions.location()
Returns the value of thelocation
record component.DefaultBlockUseCriterion.Conditions.location()
Returns the value of thelocation
record component.ItemCriterion.Conditions.location()
Returns the value of thelocation
record component.BredAnimalsCriterion.Conditions.parent()
Returns the value of theparent
record component.BredAnimalsCriterion.Conditions.partner()
Returns the value of thepartner
record component.AbstractCriterion.Conditions.player()
AnyBlockUseCriterion.Conditions.player()
Returns the value of theplayer
record component.BeeNestDestroyedCriterion.Conditions.player()
Returns the value of theplayer
record component.BredAnimalsCriterion.Conditions.player()
Returns the value of theplayer
record component.BrewedPotionCriterion.Conditions.player()
Returns the value of theplayer
record component.ChangedDimensionCriterion.Conditions.player()
Returns the value of theplayer
record component.ChanneledLightningCriterion.Conditions.player()
Returns the value of theplayer
record component.ConstructBeaconCriterion.Conditions.player()
Returns the value of theplayer
record component.ConsumeItemCriterion.Conditions.player()
Returns the value of theplayer
record component.CuredZombieVillagerCriterion.Conditions.player()
Returns the value of theplayer
record component.DefaultBlockUseCriterion.Conditions.player()
Returns the value of theplayer
record component.EffectsChangedCriterion.Conditions.player()
Returns the value of theplayer
record component.EnchantedItemCriterion.Conditions.player()
Returns the value of theplayer
record component.EnterBlockCriterion.Conditions.player()
Returns the value of theplayer
record component.EntityHurtPlayerCriterion.Conditions.player()
Returns the value of theplayer
record component.FallAfterExplosionCriterion.Conditions.player()
Returns the value of theplayer
record component.FilledBucketCriterion.Conditions.player()
Returns the value of theplayer
record component.FishingRodHookedCriterion.Conditions.player()
Returns the value of theplayer
record component.InventoryChangedCriterion.Conditions.player()
Returns the value of theplayer
record component.ItemCriterion.Conditions.player()
Returns the value of theplayer
record component.ItemDurabilityChangedCriterion.Conditions.player()
Returns the value of theplayer
record component.KilledByCrossbowCriterion.Conditions.player()
Returns the value of theplayer
record component.LevitationCriterion.Conditions.player()
Returns the value of theplayer
record component.LightningStrikeCriterion.Conditions.player()
Returns the value of theplayer
record component.OnKilledCriterion.Conditions.player()
Returns the value of theplayer
record component.PlayerGeneratesContainerLootCriterion.Conditions.player()
Returns the value of theplayer
record component.PlayerHurtEntityCriterion.Conditions.player()
Returns the value of theplayer
record component.PlayerInteractedWithEntityCriterion.Conditions.player()
Returns the value of theplayer
record component.RecipeCraftedCriterion.Conditions.player()
Returns the value of theplayer
record component.RecipeUnlockedCriterion.Conditions.player()
Returns the value of theplayer
record component.ShotCrossbowCriterion.Conditions.player()
Returns the value of theplayer
record component.SlideDownBlockCriterion.Conditions.player()
Returns the value of theplayer
record component.StartedRidingCriterion.Conditions.player()
Returns the value of theplayer
record component.SummonedEntityCriterion.Conditions.player()
Returns the value of theplayer
record component.TameAnimalCriterion.Conditions.player()
Returns the value of theplayer
record component.TargetHitCriterion.Conditions.player()
Returns the value of theplayer
record component.ThrownItemPickedUpByEntityCriterion.Conditions.player()
Returns the value of theplayer
record component.TickCriterion.Conditions.player()
Returns the value of theplayer
record component.TravelCriterion.Conditions.player()
Returns the value of theplayer
record component.UsedEnderEyeCriterion.Conditions.player()
Returns the value of theplayer
record component.UsedTotemCriterion.Conditions.player()
Returns the value of theplayer
record component.UsingItemCriterion.Conditions.player()
Returns the value of theplayer
record component.VillagerTradeCriterion.Conditions.player()
Returns the value of theplayer
record component.TargetHitCriterion.Conditions.projectile()
Returns the value of theprojectile
record component.EffectsChangedCriterion.Conditions.source()
Returns the value of thesource
record component.ChanneledLightningCriterion.Conditions.victims()
Returns the value of thevictims
record component.KilledByCrossbowCriterion.Conditions.victims()
Returns the value of thevictims
record component.CuredZombieVillagerCriterion.Conditions.villager()
Returns the value of thevillager
record component.VillagerTradeCriterion.Conditions.villager()
Returns the value of thevillager
record component.CuredZombieVillagerCriterion.Conditions.zombie()
Returns the value of thezombie
record component.Modifier and TypeMethodDescriptionThrownItemPickedUpByEntityCriterion.Conditions.createThrownItemPickedUpByEntity
(LootContextPredicate player, Optional<ItemPredicate> item, Optional<LootContextPredicate> entity) Modifier 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 boolean
BredAnimalsCriterion.Conditions.parentMatches
(Optional<LootContextPredicate> parent, LootContext parentContext) ModifierConstructorDescriptionConditions
(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
Modifier and TypeFieldDescriptionprivate static final LootContextPredicate
VanillaNetherTabAdvancementGenerator.PIGLIN_DISTRACTION_PREDICATE
-
Uses of LootContextPredicate in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<LootContextPredicate> LootContextPredicate.CODEC
static final com.mojang.serialization.Codec
<LootContextPredicate> EntityPredicate.LOOT_CONTEXT_PREDICATE_CODEC
Modifier and TypeMethodDescriptionstatic LootContextPredicate
EntityPredicate.asLootContextPredicate
(EntityPredicate predicate) static LootContextPredicate
EntityPredicate.contextPredicateFromEntityPredicate
(EntityPredicate.Builder builder) static LootContextPredicate
LootContextPredicate.create
(LootCondition[] conditions) Modifier and TypeMethodDescriptionstatic Optional
<LootContextPredicate> EntityPredicate.contextPredicateFromEntityPredicate
(Optional<EntityPredicate> entityPredicate) static List
<LootContextPredicate> EntityPredicate.contextPredicateFromEntityPredicates
(EntityPredicate.Builder[] builders) Modifier and TypeMethodDescriptionvoid
LootContextPredicateValidator.validate
(LootContextPredicate predicate, LootContextType type, String path) void
LootContextPredicateValidator.validateEntityPredicate
(LootContextPredicate predicate, String path) Modifier and TypeMethodDescriptionvoid
LootContextPredicateValidator.validate
(List<LootContextPredicate> predicates, LootContextType type, String path) void
LootContextPredicateValidator.validateEntityPredicate
(Optional<LootContextPredicate> predicate, String path) void
LootContextPredicateValidator.validateEntityPredicates
(List<LootContextPredicate> predicates, String path)