Package net.minecraft.loot.provider.nbt
Class ContextLootNbtProvider.CustomSerializer
java.lang.Object
net.minecraft.loot.provider.nbt.ContextLootNbtProvider.CustomSerializer
- All Implemented Interfaces:
JsonSerializing.CustomSerializer<ContextLootNbtProvider>
- Enclosing class:
- ContextLootNbtProvider
public static class ContextLootNbtProvider.CustomSerializer
extends Object
implements JsonSerializing.CustomSerializer<ContextLootNbtProvider>
- Mappings:
Namespace Name official dlt$b
intermediary net/minecraft/class_5646$class_5647
named net/minecraft/loot/provider/nbt/ContextLootNbtProvider$CustomSerializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(JsonElement jsonElement, JsonDeserializationContext jsonDeserializationContext)
toJson(ContextLootNbtProvider contextLootNbtProvider, JsonSerializationContext jsonSerializationContext)
-
Constructor Details
-
CustomSerializer
public CustomSerializer()
-
-
Method Details
-
toJson
public JsonElement toJson(ContextLootNbtProvider contextLootNbtProvider, JsonSerializationContext jsonSerializationContext)- Specified by:
toJson
in interfaceJsonSerializing.CustomSerializer<ContextLootNbtProvider>
- Mappings:
Namespace Name Mixin selector official a
Ldlt$b;a(Ldlt;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
intermediary method_32432
Lnet/minecraft/class_5646$class_5647;method_32432(Lnet/minecraft/class_5646;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
named toJson
Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider$CustomSerializer;toJson(Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
-
fromJson
public ContextLootNbtProvider fromJson(JsonElement jsonElement, JsonDeserializationContext jsonDeserializationContext)- Specified by:
fromJson
in interfaceJsonSerializing.CustomSerializer<ContextLootNbtProvider>
- Mappings:
Namespace Name Mixin selector official b
Ldlt$b;b(Lcom/google/gson/JsonElement;Lcom/google/gson/JsonDeserializationContext;)Ldlt;
intermediary method_32433
Lnet/minecraft/class_5646$class_5647;method_32433(Lcom/google/gson/JsonElement;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_5646;
named fromJson
Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider$CustomSerializer;fromJson(Lcom/google/gson/JsonElement;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;
-