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 dfo$b
intermediary net/minecraft/class_111$class_113
named net/minecraft/loot/function/ExplorationMapLootFunction$Serializer
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
Modifier and Type Method Description ExplorationMapLootFunction
fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)
private static StructureFeature<?>
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
Ldfo$b;a(Lcom/google/gson/JsonObject;Ldfo;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
Ldfo$b;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldha;)Ldfo;
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
Ldfo$b;a(Lcom/google/gson/JsonObject;)Lcqj;
intermediary method_29039
Lnet/minecraft/class_111$class_113;method_29039(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_3195;
named getDestination
Lnet/minecraft/loot/function/ExplorationMapLootFunction$Serializer;getDestination(Lcom/google/gson/JsonObject;)Lnet/minecraft/world/gen/feature/StructureFeature;
-