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 djv$b
intermediary net/minecraft/class_111$class_113
named net/minecraft/loot/function/ExplorationMapLootFunction$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, ExplorationMapLootFunction explorationMapLootFunction, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<ExplorationMapLootFunction>
      Overrides:
      toJson in class ConditionalLootFunction.Serializer<ExplorationMapLootFunction>
      Mappings:
      Namespace Name Mixin selector
      official a Ldjv$b;a(Lcom/google/gson/JsonObject;Ldjv;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 class ConditionalLootFunction.Serializer<ExplorationMapLootFunction>
      Mappings:
      Namespace Name Mixin selector
      official a Ldjv$b;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldlh;)Ldjv;
      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

      private static StructureFeature<?> getDestination(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official a Ldjv$b;a(Lcom/google/gson/JsonObject;)Lcuc;
      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;