diff --git a/java/pack.mcdoc b/java/pack.mcdoc index 99f2051..00e7763 100644 --- a/java/pack.mcdoc +++ b/java/pack.mcdoc @@ -6,13 +6,15 @@ use ::java::server::util::range::InclusiveRange struct Pack { pack: struct PackBase { description: Text, - pack_format: #[pack_format] int @ 4.., - supported_formats?: InclusiveRange<#[pack_format] int @ 4..>, + pack_format: #[pack_format] int, + #[since="1.20.2"] + supported_formats?: InclusiveRange<#[pack_format] int>, }, #[since="1.19"] filter?: PackFilter, #[since="1.19.3"] features?: PackFeatures, + #[since="1.20.2"] overlays?: PackOverlays, } @@ -37,7 +39,7 @@ enum(string) FeatureFlag { #[since="1.20.3"] #[until="1.21"] Update121 = "update_1_21", #[since="1.21.2"] RedstoneExperiments = "redstone_experiments", #[since="1.21.2"] MinecartImprovements = "minecart_improvements", - #[since="1.21.2"] #[until="1.21.4"] WinterDrop = "winter_drop" + #[since="1.21.2"] #[until="1.21.4"] WinterDrop = "winter_drop", } struct PackOverlays { @@ -46,5 +48,5 @@ struct PackOverlays { struct PackOverlay { directory: string @ 1.., - formats: InclusiveRange<#[pack_format] int @ 16..>, + formats: InclusiveRange<#[pack_format] int>, }