Uses of Class
net.minecraft.predicate.entity.LootContextPredicate
Package
Description
-
Uses of LootContextPredicate in net.minecraft.advancement.criterion
Modifier and TypeFieldDescriptionprivate final LootContextPredicate
LightningStrikeCriterion.Conditions.bystander
private final LootContextPredicate
BredAnimalsCriterion.Conditions.child
private final LootContextPredicate
OnKilledCriterion.Conditions.entity
private final LootContextPredicate
PlayerHurtEntityCriterion.Conditions.entity
private final LootContextPredicate
PlayerInteractedWithEntityCriterion.Conditions.entity
private final LootContextPredicate
SummonedEntityCriterion.Conditions.entity
private final LootContextPredicate
TameAnimalCriterion.Conditions.entity
private final LootContextPredicate
ThrownItemPickedUpByEntityCriterion.Conditions.entity
private final LootContextPredicate
FishingRodHookedCriterion.Conditions.hookedEntity
private final LootContextPredicate
LightningStrikeCriterion.Conditions.lightning
private final LootContextPredicate
ItemCriterion.Conditions.location
private final LootContextPredicate
BredAnimalsCriterion.Conditions.parent
private final LootContextPredicate
BredAnimalsCriterion.Conditions.partner
private final LootContextPredicate
AbstractCriterionConditions.playerPredicate
private final LootContextPredicate
TargetHitCriterion.Conditions.projectile
private final LootContextPredicate
EffectsChangedCriterion.Conditions.source
private final LootContextPredicate[]
ChanneledLightningCriterion.Conditions.victims
private final LootContextPredicate[]
KilledByCrossbowCriterion.Conditions.victims
private final LootContextPredicate
CuredZombieVillagerCriterion.Conditions.villager
private final LootContextPredicate
VillagerTradeCriterion.Conditions.villager
private final LootContextPredicate
CuredZombieVillagerCriterion.Conditions.zombie
Modifier and TypeMethodDescriptionprotected LootContextPredicate
AbstractCriterionConditions.getPlayerPredicate()
Modifier and TypeMethodDescriptionprotected abstract T
AbstractCriterion.conditionsFromJson
(JsonObject obj, LootContextPredicate playerPredicate, AdvancementEntityPredicateDeserializer predicateDeserializer) BeeNestDestroyedCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) BredAnimalsCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) BrewedPotionCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) ChangedDimensionCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) ChanneledLightningCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) ConstructBeaconCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) ConsumeItemCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) CuredZombieVillagerCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) EffectsChangedCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) EnchantedItemCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) EnterBlockCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) EntityHurtPlayerCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) FilledBucketCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) FishingRodHookedCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) InventoryChangedCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) ItemCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) ItemDurabilityChangedCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) KilledByCrossbowCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) LevitationCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) LightningStrikeCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) OnKilledCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) PlayerGeneratesContainerLootCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) PlayerHurtEntityCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) PlayerInteractedWithEntityCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) protected RecipeCraftedCriterion.Conditions
RecipeCraftedCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) RecipeUnlockedCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) ShotCrossbowCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) SlideDownBlockCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) StartedRidingCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) SummonedEntityCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) TameAnimalCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) TargetHitCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) ThrownItemPickedUpByEntityCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) TickCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) TravelCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) UsedEnderEyeCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) UsedTotemCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) UsingItemCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) VillagerTradeCriterion.conditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) ItemDurabilityChangedCriterion.Conditions.create
(LootContextPredicate player, ItemPredicate item, NumberRange.IntRange durability) PlayerInteractedWithEntityCriterion.Conditions.create
(LootContextPredicate player, ItemPredicate.Builder itemBuilder, LootContextPredicate entity) PlayerInteractedWithEntityCriterion.Conditions.create
(ItemPredicate.Builder itemBuilder, LootContextPredicate entity) TargetHitCriterion.Conditions.create
(NumberRange.IntRange signalStrength, LootContextPredicate projectile) ThrownItemPickedUpByEntityCriterion.Conditions.createThrownItemPickedUpByEntity
(LootContextPredicate player, ItemPredicate item, LootContextPredicate entity) ThrownItemPickedUpByEntityCriterion.Conditions.createThrownItemPickedUpByPlayer
(LootContextPredicate player, ItemPredicate item, LootContextPredicate entity) ModifierConstructorDescriptionConditions
(LootContextPredicate player, @Nullable Block block, ItemPredicate item, NumberRange.IntRange beeCount) Conditions
(LootContextPredicate player, LootContextPredicate parent, LootContextPredicate partner, LootContextPredicate child) Conditions
(LootContextPredicate player, @Nullable Potion potion) Conditions
(LootContextPredicate player, @Nullable RegistryKey<World> from, @Nullable RegistryKey<World> to) Conditions
(LootContextPredicate player, LootContextPredicate[] victims) Conditions
(LootContextPredicate player, NumberRange.IntRange level) Conditions
(LootContextPredicate player, ItemPredicate item) Conditions
(LootContextPredicate player, LootContextPredicate zombie, LootContextPredicate villager) Conditions
(LootContextPredicate player, EntityEffectPredicate effects, LootContextPredicate source) Conditions
(LootContextPredicate player, ItemPredicate item, NumberRange.IntRange levels) Conditions
(LootContextPredicate player, @Nullable Block block, StatePredicate state) Conditions
(LootContextPredicate player, DamagePredicate damage) Conditions
(LootContextPredicate player, ItemPredicate item) Conditions
(LootContextPredicate player, ItemPredicate rod, LootContextPredicate hookedEntity, ItemPredicate caughtItem) Conditions
(LootContextPredicate player, NumberRange.IntRange occupied, NumberRange.IntRange full, NumberRange.IntRange empty, ItemPredicate[] items) Conditions
(Identifier id, LootContextPredicate entity, LootContextPredicate location) Conditions
(LootContextPredicate player, ItemPredicate item, NumberRange.IntRange durability, NumberRange.IntRange delta) Conditions
(LootContextPredicate player, LootContextPredicate[] victims, NumberRange.IntRange uniqueEntityTypes) Conditions
(LootContextPredicate player, DistancePredicate distance, NumberRange.IntRange duration) Conditions
(LootContextPredicate player, LootContextPredicate lightning, LootContextPredicate bystander) Conditions
(Identifier id, LootContextPredicate player, LootContextPredicate entity, DamageSourcePredicate killingBlow) Conditions
(LootContextPredicate entity, Identifier lootTable) Conditions
(LootContextPredicate player, DamagePredicate damage, LootContextPredicate entity) Conditions
(LootContextPredicate player, ItemPredicate item, LootContextPredicate entity) Conditions
(LootContextPredicate player, Identifier recipeId, List<ItemPredicate> ingredients) Conditions
(LootContextPredicate player, Identifier recipe) Conditions
(LootContextPredicate player, ItemPredicate item) Conditions
(LootContextPredicate player, @Nullable Block block, StatePredicate state) Conditions
(LootContextPredicate player) Conditions
(LootContextPredicate player, LootContextPredicate entity) Conditions
(LootContextPredicate player, LootContextPredicate entity) Conditions
(LootContextPredicate player, NumberRange.IntRange signalStrength, LootContextPredicate projectile) Conditions
(Identifier id, LootContextPredicate player, ItemPredicate item, LootContextPredicate entity) Conditions
(Identifier id, LootContextPredicate entity) Conditions
(Identifier id, LootContextPredicate entity, LocationPredicate startPos, DistancePredicate distance) Conditions
(LootContextPredicate player, NumberRange.FloatRange distance) Conditions
(LootContextPredicate player, ItemPredicate item) Conditions
(LootContextPredicate player, ItemPredicate item) Conditions
(LootContextPredicate player, LootContextPredicate villager, 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 TypeMethodDescriptionstatic LootContextPredicate
EntityPredicate.asLootContextPredicate
(EntityPredicate predicate) static LootContextPredicate[]
EntityPredicate.contextPredicateArrayFromJson
(JsonObject json, String key, AdvancementEntityPredicateDeserializer predicateDeserializer) static LootContextPredicate
EntityPredicate.contextPredicateFromJson
(JsonObject json, String key, AdvancementEntityPredicateDeserializer predicateDeserializer) private static LootContextPredicate
EntityPredicate.contextPredicateFromJsonElement
(String key, AdvancementEntityPredicateDeserializer predicateDeserializer, @Nullable JsonElement json) static LootContextPredicate
LootContextPredicate.create
(LootCondition[] conditions) static @Nullable LootContextPredicate
LootContextPredicate.fromJson
(String key, AdvancementEntityPredicateDeserializer predicateDeserializer, @Nullable JsonElement json, LootContextType contextType) Modifier and TypeMethodDescriptionstatic JsonElement
LootContextPredicate.toPredicatesJsonArray
(LootContextPredicate[] predicates, AdvancementEntityPredicateSerializer predicateSerializer)