Package net.minecraft.loot.conditions
Class LootConditionManager
java.lang.Object
net.minecraft.loot.conditions.LootConditionManager
-
Field Summary
Modifier and TypeFieldDescriptionstatic final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Predicate<T>
andConditions
(Predicate<T>[] p_216305_0_) static Object
static <T> Predicate<T>
orConditions
(Predicate<T>[] p_216306_0_) private static LootConditionType
register
(String p_237475_0_, ILootSerializer<? extends ILootCondition> p_237475_1_)
-
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
-
-
Constructor Details
-
LootConditionManager
public LootConditionManager()
-
-
Method Details
-
register
private static LootConditionType register(String p_237475_0_, ILootSerializer<? extends ILootCondition> p_237475_1_) -
createGsonAdapter
-
andConditions
-
orConditions
-