Package net.minecraft.loot
Class RandomRanges
java.lang.Object
net.minecraft.loot.RandomRanges
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Map<ResourceLocation,
Class<? extends IRandomRange>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 Details
-
GENERATORS
-
-
Constructor Details
-
RandomRanges
public RandomRanges()
-
-
Method Details
-
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_)
-