Skip to content

Commit

Permalink
🐛 Temporarily remove unsupported id attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
misode committed Nov 24, 2024
1 parent f0dd7e8 commit 31b26f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions java/assets/font.mcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ enum(string) FontOption {
}

dispatch minecraft:glyph_provider[bitmap] to struct BitmapProvider {
file: #[id(registry="texture",suffix=".png")] string,
file: string, // TODO
height?: int,
ascent: int,
chars: [string @ 1..] @ 1..,
Expand All @@ -42,10 +42,7 @@ dispatch minecraft:glyph_provider[space] to struct SpaceProvider {
}

dispatch minecraft:glyph_provider[ttf] to struct TtfProvider {
file: (
#[id(registry="font/ttf",suffix=".ttf")] string |
#[id(registry="font/otf",suffix=".otf")] string |
),
file: string, // TODO
size?: float,
oversample?: float,
shift?: [float, float],
Expand All @@ -61,7 +58,7 @@ dispatch minecraft:glyph_provider[legacy_unicode] to struct LegacyUnicodeProvide
#[since="1.20"]
dispatch minecraft:glyph_provider[unihex] to struct UnihexProvider {
/// ZIP archive containing one or more *.hex files (files in archive with different extensions are ignored).
hex_file: #[id(registry="font/unihex",suffix=".zip")] string,
hex_file: string, // TODO
/// List of ranges to override the size of.
size_overrides?: [UnihexOverrideRange],
}
Expand Down
2 changes: 1 addition & 1 deletion java/data/advancement/mod.mcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ struct AdvancementDisplay {
title: Text,
description: Text,
/// Used for the advancement tab (root advancement only).
background?: #[id="texture"] string,
background?: string, // TODO
/// Controls the advancement tile frame. Defaults to `task`.
frame?: AdvancementFrame,
/// Whether to show the toast pop up after completing this advancement. Defaults to `true`.
Expand Down

0 comments on commit 31b26f0

Please sign in to comment.