Class SurvivesExplosionLootCondition.Serializer

java.lang.Object
net.minecraft.loot.condition.SurvivesExplosionLootCondition.Serializer
All Implemented Interfaces:
JsonSerializer<SurvivesExplosionLootCondition>
Enclosing class:
SurvivesExplosionLootCondition

public static class SurvivesExplosionLootCondition.Serializer extends Object implements JsonSerializer<SurvivesExplosionLootCondition>
Mappings:
Namespace Name
official dtw$a
intermediary net/minecraft/class_201$class_202
named net/minecraft/loot/condition/SurvivesExplosionLootCondition$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, SurvivesExplosionLootCondition survivesExplosionLootCondition, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<SurvivesExplosionLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official a Ldtw$a;a(Lcom/google/gson/JsonObject;Ldtw;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_874 Lnet/minecraft/class_201$class_202;method_874(Lcom/google/gson/JsonObject;Lnet/minecraft/class_201;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/condition/SurvivesExplosionLootCondition$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/condition/SurvivesExplosionLootCondition;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public SurvivesExplosionLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
      Specified by:
      fromJson in interface JsonSerializer<SurvivesExplosionLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official b Ldtw$a;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldtw;
      intermediary method_873 Lnet/minecraft/class_201$class_202;method_873(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_201;
      named fromJson Lnet/minecraft/loot/condition/SurvivesExplosionLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/SurvivesExplosionLootCondition;