Package net.minecraft.world.level.storage.loot.predicates
@ParametersAreNonnullByDefault
package net.minecraft.world.level.storage.loot.predicates
-
ClassDescriptionA LootItemCondition that provides a random chance based on the level of a certain enchantment on the tool.A LootItemCondition that refers to another LootItemCondition by its ID.ConditionUserBuilder<T extends ConditionUserBuilder<T>>Base interface for builders that can accept loot conditions.A LootItemCondition which checks
LootContextParams.ORIGIN
andLootContextParams.DAMAGE_SOURCE
against aDamageSourcePredicate
.A LootItemCondition that checks if an Entity selected by aLootContext.EntityTarget
has a given set of scores.A LootItemCondition that checks whether an item should survive from an explosion or not.A LootItemCondition that inverts the output of another one.LootItemCondition that checks theinvalid reference
LootContextParams.ORIGIN
LocationPredicate
after applying an offset to the origin position.A LootItemCondition that checks whether the block state matches a given Block andStatePropertiesPredicate
.A condition based onLootContext
.Registry forLootItemConditionType
.The SerializerType forLootItemCondition
.A LootItemCondition that checks a givenEntityPredicate
against a givenLootContext.EntityTarget
.A LootItemCondition that matches if the last damage to an entity was done by a player.A LootItemCondition that succeeds with a given probability.A LootItemCondition that checks the tool against anItemPredicate
.LootItemCondition that checks if a number provided by aNumberProvider
is within anIntRange
.A LootItemCondition that checks whether it currently raining or thundering.