Package net.minecraft.loot
Class LootTable.Serializer
java.lang.Object
net.minecraft.loot.LootTable.Serializer
- All Implemented Interfaces:
- JsonDeserializer<LootTable>,- JsonSerializer<LootTable>
- Enclosing class:
- LootTable
public static class LootTable.Serializer
extends Object
implements JsonDeserializer<LootTable>, JsonSerializer<LootTable>
- Mappings:
- Namespace - Name - official - dzs$b- intermediary - net/minecraft/class_52$class_54- named - net/minecraft/loot/LootTable$Serializer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondeserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) serialize(LootTable lootTable, Type type, JsonSerializationContext jsonSerializationContext) 
- 
Constructor Details- 
Serializerpublic Serializer()
 
- 
- 
Method Details- 
deserializepublic LootTable deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException - Specified by:
- deserializein interface- JsonDeserializer<LootTable>
- Throws:
- JsonParseException
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldzs$b;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Ldzs;- intermediary - method_340- Lnet/minecraft/class_52$class_54;method_340(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_52;- named - deserialize- Lnet/minecraft/loot/LootTable$Serializer;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/LootTable;
 
- 
serializepublic JsonElement serialize(LootTable lootTable, Type type, JsonSerializationContext jsonSerializationContext) - Specified by:
- serializein interface- JsonSerializer<LootTable>
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldzs$b;a(Ldzs;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;- intermediary - method_339- Lnet/minecraft/class_52$class_54;method_339(Lnet/minecraft/class_52;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;- named - serialize- Lnet/minecraft/loot/LootTable$Serializer;serialize(Lnet/minecraft/loot/LootTable;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
 
 
-