File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed
main/java/choonster/testmod3/data Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 33 "description" : {
44 "translate" : " pack.testmod3.description"
55 },
6- "pack_format" : 55
6+ "max_format" : 69 ,
7+ "min_format" : 69
78 }
89}
Original file line number Diff line number Diff line change 1515 */
1616public class TestMod3PackMetadataGenerator {
1717 public static PackMetadataGenerator create (final PackOutput output ) {
18- final var description = Component .translatable (TestMod3Lang .PACK_DESCRIPTION_TESTMOD3 .getTranslationKey ());
19-
2018 return new PackMetadataGenerator (output )
2119 .add (
2220 PackMetadataSection .CLIENT_TYPE ,
2321 new PackMetadataSection (
24- description ,
22+ Component . translatable ( TestMod3Lang . PACK_DESCRIPTION_TESTMOD3 . getTranslationKey ()) ,
2523 DetectedVersion .BUILT_IN .packVersion (PackType .CLIENT_RESOURCES ).minorRange ()
2624 )
27- )
28- .add (
29- PackMetadataSection .SERVER_TYPE ,
30- new PackMetadataSection (
31- description ,
32- DetectedVersion .BUILT_IN .packVersion (PackType .SERVER_DATA ).minorRange ()
33- )
3425 );
3526 }
3627}
You can’t perform that action at this time.
0 commit comments