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
private final Optional<LootContextPredicate>
BredAnimalsCriterion.Conditions.child
private final Optional<LootContextPredicate>
OnKilledCriterion.Conditions.entity
private final Optional<LootContextPredicate>
PlayerHurtEntityCriterion.Conditions.entity
private final Optional<LootContextPredicate>
PlayerInteractedWithEntityCriterion.Conditions.entity
private final Optional<LootContextPredicate>
SummonedEntityCriterion.Conditions.entity
private final Optional<LootContextPredicate>
TameAnimalCriterion.Conditions.entity
private final Optional<LootContextPredicate>
ThrownItemPickedUpByEntityCriterion.Conditions.entity
private final Optional<LootContextPredicate>
FishingRodHookedCriterion.Conditions.hookedEntity
private final Optional<LootContextPredicate>
LightningStrikeCriterion.Conditions.lightning
private final Optional<LootContextPredicate>
ItemCriterion.Conditions.location
private final Optional<LootContextPredicate>
BredAnimalsCriterion.Conditions.parent
private final Optional<LootContextPredicate>
BredAnimalsCriterion.Conditions.partner
private final Optional<LootContextPredicate>
AbstractCriterionConditions.playerPredicate
private final Optional<LootContextPredicate>
TargetHitCriterion.Conditions.projectile
private final Optional<LootContextPredicate>
EffectsChangedCriterion.Conditions.source
private final List<LootContextPredicate>
ChanneledLightningCriterion.Conditions.victims
private final List<LootContextPredicate>
KilledByCrossbowCriterion.Conditions.victims
private final Optional<LootContextPredicate>
CuredZombieVillagerCriterion.Conditions.villager
private final Optional<LootContextPredicate>
VillagerTradeCriterion.Conditions.villager
private final Optional<LootContextPredicate>
CuredZombieVillagerCriterion.Conditions.zombie
Modifier and TypeMethodDescriptionAbstractCriterion.Conditions.getPlayerPredicate()
AbstractCriterionConditions.getPlayerPredicate()
Modifier and TypeMethodDescriptionThrownItemPickedUpByEntityCriterion.Conditions.createThrownItemPickedUpByEntity
(LootContextPredicate player, Optional<ItemPredicate> item, Optional<LootContextPredicate> entity) Modifier and TypeMethodDescriptionprotected abstract T
AbstractCriterion.conditionsFromJson
(com.google.gson.JsonObject obj, Optional<LootContextPredicate> predicate, AdvancementEntityPredicateDeserializer predicateDeserializer) BeeNestDestroyedCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) BredAnimalsCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) BrewedPotionCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) ChangedDimensionCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) ChanneledLightningCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) ConstructBeaconCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) ConsumeItemCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) CuredZombieVillagerCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) EffectsChangedCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) EnchantedItemCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) EnterBlockCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) EntityHurtPlayerCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) FilledBucketCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) FishingRodHookedCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) InventoryChangedCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) ItemCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) ItemDurabilityChangedCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) KilledByCrossbowCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) LevitationCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) LightningStrikeCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) OnKilledCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) PlayerGeneratesContainerLootCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) PlayerHurtEntityCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) PlayerInteractedWithEntityCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) protected RecipeCraftedCriterion.Conditions
RecipeCraftedCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) RecipeUnlockedCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) ShotCrossbowCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) SlideDownBlockCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) StartedRidingCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) SummonedEntityCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) TameAnimalCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) TargetHitCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) ThrownItemPickedUpByEntityCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) TickCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) TravelCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) UsedEnderEyeCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) UsedTotemCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) UsingItemCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) VillagerTradeCriterion.conditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) ItemDurabilityChangedCriterion.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) ModifierConstructorDescriptionAbstractCriterionConditions
(Optional<LootContextPredicate> playerPredicate) Conditions
(Optional<LootContextPredicate> playerPredicate, @Nullable Block block, Optional<ItemPredicate> item, NumberRange.IntRange beeCount) Conditions
(Optional<LootContextPredicate> playerPredicate, Optional<LootContextPredicate> parentPredicate, Optional<LootContextPredicate> partnerPredicate, Optional<LootContextPredicate> childPredicate) Conditions
(Optional<LootContextPredicate> playerPredicate, @Nullable Potion potion) Conditions
(Optional<LootContextPredicate> playerPredicate, @Nullable RegistryKey<World> from, @Nullable RegistryKey<World> to) 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, @Nullable Block block, 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, NumberRange.IntRange occupied, NumberRange.IntRange full, NumberRange.IntRange empty, List<ItemPredicate> items) Conditions
(Optional<LootContextPredicate> optional, Optional<LootContextPredicate> playerPredicate) 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> optional, Optional<LootContextPredicate> playerPredicate, Optional<DamageSourcePredicate> entity) 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, @Nullable Block block, Optional<StatePredicate> state) Conditions
(Optional<LootContextPredicate> playerPredicate) 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> optional, Optional<ItemPredicate> playerPredicate, Optional<LootContextPredicate> item) Conditions
(Optional<LootContextPredicate> playerPredicate) Conditions
(Optional<LootContextPredicate> optional, Optional<LocationPredicate> playerPredicate, Optional<DistancePredicate> startPos) 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 TypeMethodDescriptionstatic LootContextPredicate
EntityPredicate.asLootContextPredicate
(EntityPredicate predicate) static LootContextPredicate
EntityPredicate.contextPredicateFromEntityPredicate
(EntityPredicate.Builder builder) static LootContextPredicate
LootContextPredicate.create
(LootCondition[] conditions) Modifier and TypeMethodDescriptionstatic List<LootContextPredicate>
EntityPredicate.contextPredicateArrayFromJson
(com.google.gson.JsonObject json, String key, AdvancementEntityPredicateDeserializer predicateDeserializer) static Optional<LootContextPredicate>
EntityPredicate.contextPredicateFromEntityPredicate
(Optional<EntityPredicate> entityPredicate) static List<LootContextPredicate>
EntityPredicate.contextPredicateFromEntityPredicates
(EntityPredicate.Builder[] builders) static Optional<LootContextPredicate>
EntityPredicate.contextPredicateFromJson
(com.google.gson.JsonObject json, String key, AdvancementEntityPredicateDeserializer predicateDeserializer) private static Optional<LootContextPredicate>
EntityPredicate.contextPredicateFromJsonElement
(String key, AdvancementEntityPredicateDeserializer predicateDeserializer, @Nullable com.google.gson.JsonElement json) static Optional<Optional<LootContextPredicate>>
LootContextPredicate.fromJson
(String key, AdvancementEntityPredicateDeserializer predicateDeserializer, @Nullable com.google.gson.JsonElement json, LootContextType contextType) Modifier and TypeMethodDescriptionstatic com.google.gson.JsonElement
LootContextPredicate.toPredicatesJsonArray
(List<LootContextPredicate> list)