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
<Holder<LootItemCondition>> 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
private static final com.mojang.serialization.Codec
<LootItemCondition> static final LootItemConditionType
static final LootItemConditionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static LootItemConditionType
register
(String p_81832_, com.mojang.serialization.MapCodec<? extends LootItemCondition> p_331746_)
-
Field Details
-
TYPED_CODEC
-
DIRECT_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.MapCodec<? extends LootItemCondition> p_331746_)
-