public class LootTableRanges extends Object
Modifier and Type | Field and Description |
---|---|
private static Map<Identifier,Class<? extends LootTableRange>> |
TYPES |
Constructor and Description |
---|
LootTableRanges() |
Modifier and Type | Method and Description |
---|---|
static LootTableRange |
fromJson(JsonElement json,
JsonDeserializationContext context) |
static JsonElement |
toJson(LootTableRange range,
JsonSerializationContext context) |
private static final Map<Identifier,Class<? extends LootTableRange>> TYPES
public static LootTableRange fromJson(JsonElement json, JsonDeserializationContext context) throws JsonParseException
JsonParseException
public static JsonElement toJson(LootTableRange range, JsonSerializationContext context)