Package net.minecraft.loot.provider.nbt
Class ContextLootNbtProvider.CustomSerializer
java.lang.Object
net.minecraft.loot.provider.nbt.ContextLootNbtProvider.CustomSerializer
- All Implemented Interfaces:
JsonSerializing.ElementSerializer<ContextLootNbtProvider>
- Enclosing class:
ContextLootNbtProvider
public static class ContextLootNbtProvider.CustomSerializer
extends Object
implements JsonSerializing.ElementSerializer<ContextLootNbtProvider>
- Mappings:
Namespace Name official ebx$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.ElementSerializer<ContextLootNbtProvider>
- Mappings:
Namespace Name Mixin selector official a
Lebx$b;a(Lebx;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.ElementSerializer<ContextLootNbtProvider>
- Mappings:
Namespace Name Mixin selector official b
Lebx$b;b(Lcom/google/gson/JsonElement;Lcom/google/gson/JsonDeserializationContext;)Lebx;
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;
-