Package net.minecraft.loot.function
Class ExplorationMapLootFunction.Serializer
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Serializer<ExplorationMapLootFunction>
net.minecraft.loot.function.ExplorationMapLootFunction.Serializer
- All Implemented Interfaces:
JsonSerializer<ExplorationMapLootFunction>
- Enclosing class:
ExplorationMapLootFunction
public static class ExplorationMapLootFunction.Serializer
extends ConditionalLootFunction.Serializer<ExplorationMapLootFunction>
- Mappings:
Namespace Name official eat$b
intermediary net/minecraft/class_111$class_113
named net/minecraft/loot/function/ExplorationMapLootFunction$Serializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) getDestination
(JsonObject json) void
toJson
(JsonObject jsonObject, ExplorationMapLootFunction explorationMapLootFunction, JsonSerializationContext jsonSerializationContext) Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction.Serializer
fromJson
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
toJson
public void toJson(JsonObject jsonObject, ExplorationMapLootFunction explorationMapLootFunction, JsonSerializationContext jsonSerializationContext) - Specified by:
toJson
in interfaceJsonSerializer<ExplorationMapLootFunction>
- Overrides:
toJson
in classConditionalLootFunction.Serializer<ExplorationMapLootFunction>
- Mappings:
Namespace Name Mixin selector official a
Leat$b;a(Lcom/google/gson/JsonObject;Leat;Lcom/google/gson/JsonSerializationContext;)V
intermediary method_505
Lnet/minecraft/class_111$class_113;method_505(Lcom/google/gson/JsonObject;Lnet/minecraft/class_111;Lcom/google/gson/JsonSerializationContext;)V
named toJson
Lnet/minecraft/loot/function/ExplorationMapLootFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/ExplorationMapLootFunction;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
public ExplorationMapLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) - Specified by:
fromJson
in classConditionalLootFunction.Serializer<ExplorationMapLootFunction>
- Mappings:
Namespace Name Mixin selector official a
Leat$b;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Leck;)Leat;
intermediary method_504
Lnet/minecraft/class_111$class_113;method_504(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_111;
named fromJson
Lnet/minecraft/loot/function/ExplorationMapLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/ExplorationMapLootFunction;
-
getDestination
- Mappings:
Namespace Name Mixin selector official a
Leat$b;a(Lcom/google/gson/JsonObject;)Lanl;
intermediary method_29039
Lnet/minecraft/class_111$class_113;method_29039(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_6862;
named getDestination
Lnet/minecraft/loot/function/ExplorationMapLootFunction$Serializer;getDestination(Lcom/google/gson/JsonObject;)Lnet/minecraft/registry/tag/TagKey;
-