Class LootItemConditions
java.lang.Object
net.minecraft.world.level.storage.loot.predicates.LootItemConditions
-
Field Summary
Modifier and TypeFieldDescriptionstatic LootItemConditionType
static LootItemConditionType
static LootItemConditionType
static LootItemConditionType
static LootItemConditionType
static LootItemConditionType
static LootItemConditionType
static LootItemConditionType
static LootItemConditionType
static LootItemConditionType
static LootItemConditionType
static LootItemConditionType
static LootItemConditionType
static LootItemConditionType
static LootItemConditionType
static LootItemConditionType
static LootItemConditionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Predicate<T>
andConditions(Predicate<T>[] p_81835_)
static Object
static <T> Predicate<T>
orConditions(Predicate<T>[] p_81842_)
private static LootItemConditionType
register(String p_81832_, Serializer<? extends LootItemCondition> p_81833_)
-
Field Details
-
INVERTED
-
ALTERNATIVE
-
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_, Serializer<? extends LootItemCondition> p_81833_) -
createGsonAdapter
-
andConditions
-
orConditions
-