Package net.minecraft.loot
Class RandomRanges
- java.lang.Object
-
- net.minecraft.loot.RandomRanges
-
public class RandomRanges extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Map<ResourceLocation,java.lang.Class<? extends IRandomRange>>
GENERATORS
-
Constructor Summary
Constructors Constructor Description RandomRanges()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IRandomRange
deserialize(com.google.gson.JsonElement p_216130_0_, com.google.gson.JsonDeserializationContext p_216130_1_)
static com.google.gson.JsonElement
serialize(IRandomRange p_216131_0_, com.google.gson.JsonSerializationContext p_216131_1_)
-
-
-
Field Detail
-
GENERATORS
private static final java.util.Map<ResourceLocation,java.lang.Class<? extends IRandomRange>> GENERATORS
-
-
Method Detail
-
deserialize
public static IRandomRange deserialize(com.google.gson.JsonElement p_216130_0_, com.google.gson.JsonDeserializationContext p_216130_1_) throws com.google.gson.JsonParseException
- Throws:
com.google.gson.JsonParseException
-
serialize
public static com.google.gson.JsonElement serialize(IRandomRange p_216131_0_, com.google.gson.JsonSerializationContext p_216131_1_)
-
-