Class LootItemConditions
java.lang.Object
net.minecraft.world.level.storage.loot.predicates.LootItemConditions
-
Field Summary
Modifier and TypeFieldDescriptionstatic final LootItemConditionType
static final LootItemConditionType
static final LootItemConditionType
static final com.mojang.serialization.Codec<LootItemCondition>
static final LootItemConditionType
static final LootItemConditionType
static final LootItemConditionType
static final LootItemConditionType
static final LootItemConditionType
static final LootItemConditionType
static final LootItemConditionType
static final LootItemConditionType
static final LootItemConditionType
static final LootItemConditionType
static final LootItemConditionType
static final LootItemConditionType
static final LootItemConditionType
private static final com.mojang.serialization.Codec<LootItemCondition>
static final LootItemConditionType
static final LootItemConditionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Predicate<T>
andConditions
(List<? extends Predicate<T>> p_300844_) static <T> Predicate<T>
orConditions
(List<? extends Predicate<T>> p_298478_) private static LootItemConditionType
register
(String p_81832_, com.mojang.serialization.Codec<? extends LootItemCondition> p_300489_)
-
Field Details
-
TYPED_CODEC
-
CODEC
-
INVERTED
-
ANY_OF
-
ALL_OF
-
RANDOM_CHANCE
-
RANDOM_CHANCE_WITH_LOOTING
-
ENTITY_PROPERTIES
-
KILLED_BY_PLAYER
-
ENTITY_SCORES
-
BLOCK_STATE_PROPERTY
-
MATCH_TOOL
-
TABLE_BONUS
-
SURVIVES_EXPLOSION
-
DAMAGE_SOURCE_PROPERTIES
-
LOCATION_CHECK
-
WEATHER_CHECK
-
REFERENCE
-
TIME_CHECK
-
VALUE_CHECK
-
-
Constructor Details
-
LootItemConditions
public LootItemConditions()
-
-
Method Details
-
register
private static LootItemConditionType register(String p_81832_, com.mojang.serialization.Codec<? extends LootItemCondition> p_300489_) -
andConditions
-
orConditions
-