public class LootConditionTypes extends Object
Modifier and Type | Field and Description |
---|---|
static LootConditionType |
ALTERNATIVE |
static LootConditionType |
BLOCK_STATE_PROPERTY |
static LootConditionType |
DAMAGE_SOURCE_PROPERTIES |
static LootConditionType |
ENTITY_PROPERTIES |
static LootConditionType |
ENTITY_SCORES |
static LootConditionType |
INVERTED |
static LootConditionType |
KILLED_BY_PLAYER |
static LootConditionType |
LOCATION_CHECK |
static LootConditionType |
MATCH_TOOL |
static LootConditionType |
RANDOM_CHANCE |
static LootConditionType |
RANDOM_CHANCE_WITH_LOOTING |
static LootConditionType |
REFERENCE |
static LootConditionType |
SURVIVES_EXPLOSION |
static LootConditionType |
TABLE_BONUS |
static LootConditionType |
TIME_CHECK |
static LootConditionType |
WEATHER_CHECK |
Constructor and Description |
---|
LootConditionTypes() |
Modifier and Type | Method and Description |
---|---|
static Object |
createGsonSerializer() |
static <T> Predicate<T> |
joinAnd(Predicate<T>[] predicates) |
static <T> Predicate<T> |
joinOr(Predicate<T>[] predicates) |
private static LootConditionType |
register(String id,
JsonSerializer<? extends LootCondition> serializer) |
public static final LootConditionType INVERTED
public static final LootConditionType ALTERNATIVE
public static final LootConditionType RANDOM_CHANCE
public static final LootConditionType RANDOM_CHANCE_WITH_LOOTING
public static final LootConditionType ENTITY_PROPERTIES
public static final LootConditionType KILLED_BY_PLAYER
public static final LootConditionType ENTITY_SCORES
public static final LootConditionType BLOCK_STATE_PROPERTY
public static final LootConditionType MATCH_TOOL
public static final LootConditionType TABLE_BONUS
public static final LootConditionType SURVIVES_EXPLOSION
public static final LootConditionType DAMAGE_SOURCE_PROPERTIES
public static final LootConditionType LOCATION_CHECK
public static final LootConditionType WEATHER_CHECK
public static final LootConditionType REFERENCE
public static final LootConditionType TIME_CHECK
private static LootConditionType register(String id, JsonSerializer<? extends LootCondition> serializer)
public static Object createGsonSerializer()