We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a8f652 commit a3fc353Copy full SHA for a3fc353
JsonShapes/Recipes/Smelting.cs
@@ -0,0 +1,16 @@
1
+using System.Text.Json.Serialization;
2
+
3
+namespace SteveSharp.JsonShapes.Recipes;
4
5
+public class Smelting : Recipe {
6
+ [JsonPropertyName("type")]
7
+ new public string Type { get; set; } = "minecraft:smelting";
8
9
+ [JsonPropertyName("experience")]
10
+ [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
11
+ public double Experience { get; set; }
12
13
+ [JsonPropertyName("cookingtime")]
14
15
+ public int CookingTime { get; set; }
16
+}
0 commit comments