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 dri$b
intermediary net/minecraft/class_55$class_57
named net/minecraft/loot/LootPool$Serializer
-
Constructor Summary
-
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:
deserialize
in interfaceJsonDeserializer<LootPool>
- Throws:
JsonParseException
- Mappings:
Namespace Name Mixin selector official a
Ldri$b;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Ldri;
intermediary method_358
Lnet/minecraft/class_55$class_57;method_358(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_55;
named deserialize
Lnet/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:
serialize
in interfaceJsonSerializer<LootPool>
- Mappings:
Namespace Name Mixin selector official a
Ldri$b;a(Ldri;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
intermediary method_357
Lnet/minecraft/class_55$class_57;method_357(Lnet/minecraft/class_55;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
named serialize
Lnet/minecraft/loot/LootPool$Serializer;serialize(Lnet/minecraft/loot/LootPool;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
-