Package net.minecraft.loot.condition
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 - ecj$b- intermediary - net/minecraft/class_212$class_214- named - net/minecraft/loot/condition/BlockStatePropertyLootCondition$Serializer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext) voidtoJson(JsonObject jsonObject, BlockStatePropertyLootCondition blockStatePropertyLootCondition, JsonSerializationContext jsonSerializationContext) 
- 
Constructor Details- 
Serializerpublic Serializer()
 
- 
- 
Method Details- 
toJsonpublic void toJson(JsonObject jsonObject, BlockStatePropertyLootCondition blockStatePropertyLootCondition, JsonSerializationContext jsonSerializationContext) - Specified by:
- toJsonin interface- JsonSerializer<BlockStatePropertyLootCondition>
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lecj$b;a(Lcom/google/gson/JsonObject;Lecj;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
 
- 
fromJsonpublic BlockStatePropertyLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext) - Specified by:
- fromJsonin interface- JsonSerializer<BlockStatePropertyLootCondition>
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lecj$b;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lecj;- 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;
 
 
-