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 duu$bintermediary net/minecraft/class_52$class_54named net/minecraft/loot/LootTable$Serializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmethod_339(LootTable lootTable, Type type, JsonSerializationContext jsonSerializationContext) method_340(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.gson.JsonDeserializer
deserializeMethods inherited from interface com.google.gson.JsonSerializer
serialize
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
method_340
public LootTable method_340(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException - Throws:
JsonParseException- Mappings:
Namespace Name Mixin selector official aLduu$b;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lduu;intermediary method_340Lnet/minecraft/class_52$class_54;method_340(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_52;named method_340Lnet/minecraft/loot/LootTable$Serializer;method_340(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/LootTable;
-
method_339
public JsonElement method_339(LootTable lootTable, Type type, JsonSerializationContext jsonSerializationContext) - Mappings:
Namespace Name Mixin selector official aLduu$b;a(Lduu;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;intermediary method_339Lnet/minecraft/class_52$class_54;method_339(Lnet/minecraft/class_52;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;named method_339Lnet/minecraft/loot/LootTable$Serializer;method_339(Lnet/minecraft/loot/LootTable;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
-