Class BlockStatePropertyLootCondition.Serializer

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

public static class BlockStatePropertyLootCondition.Serializer extends Object implements JsonSerializer<BlockStatePropertyLootCondition>
Mappings:
Namespace Name
official dty$b
intermediary net/minecraft/class_212$class_214
named net/minecraft/loot/condition/BlockStatePropertyLootCondition$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, BlockStatePropertyLootCondition blockStatePropertyLootCondition, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<BlockStatePropertyLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official a Ldty$b;a(Lcom/google/gson/JsonObject;Ldty;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_909 Lnet/minecraft/class_212$class_214;method_909(Lcom/google/gson/JsonObject;Lnet/minecraft/class_212;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/condition/BlockStatePropertyLootCondition$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/condition/BlockStatePropertyLootCondition;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public BlockStatePropertyLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
      Specified by:
      fromJson in interface JsonSerializer<BlockStatePropertyLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official b Ldty$b;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldty;
      intermediary method_910 Lnet/minecraft/class_212$class_214;method_910(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_212;
      named fromJson Lnet/minecraft/loot/condition/BlockStatePropertyLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/BlockStatePropertyLootCondition;