Package net.minecraft.loot
Class LootPool.Serializer
java.lang.Object
net.minecraft.loot.LootPool.Serializer
- All Implemented Interfaces:
JsonDeserializer<LootPool>,JsonSerializer<LootPool>
- Enclosing class:
LootPool
public static class LootPool.Serializer
extends Object
implements JsonDeserializer<LootPool>, JsonSerializer<LootPool>
- Mappings:
Namespace Name official dzo$bintermediary net/minecraft/class_55$class_57named net/minecraft/loot/LootPool$Serializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) serialize(LootPool lootPool, Type type, JsonSerializationContext jsonSerializationContext)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
deserialize
public LootPool deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException - Specified by:
deserializein interfaceJsonDeserializer<LootPool>- Throws:
JsonParseException- Mappings:
Namespace Name Mixin selector official aLdzo$b;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Ldzo;intermediary method_358Lnet/minecraft/class_55$class_57;method_358(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_55;named deserializeLnet/minecraft/loot/LootPool$Serializer;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/LootPool;
-
serialize
public JsonElement serialize(LootPool lootPool, Type type, JsonSerializationContext jsonSerializationContext) - Specified by:
serializein interfaceJsonSerializer<LootPool>- Mappings:
Namespace Name Mixin selector official aLdzo$b;a(Ldzo;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;intermediary method_357Lnet/minecraft/class_55$class_57;method_357(Lnet/minecraft/class_55;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;named serializeLnet/minecraft/loot/LootPool$Serializer;serialize(Lnet/minecraft/loot/LootPool;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
-