@@ -57,7 +57,7 @@ protected void init() {
5757 left , 64 , contentWidth , 20 ,
5858 Component .translatable ("option.orespawn.enabled" ),
5959 (button , value ) -> placement .addProperty ("enabled" , value )),
60- "guide .orespawn.biomes.1 " ));
60+ "tooltip .orespawn.enabled " ));
6161 if (tab == Tab .PLACEMENT ) initPlacement (left , half , placement );
6262 else if (tab == Tab .CLIMATE ) initClimate (left , half , placement );
6363 else initSurface (left , contentWidth , placement );
@@ -73,7 +73,7 @@ protected void init() {
7373 private void initPlacement (int left , int half , JsonObject placement ) {
7474 int y = 90 ;
7575 weight = field (left + half + 5 , y , half , decimal (placement , "weight" , 1.0D ));
76- OreSpawnScreenLayout .explain (weight , "guide .orespawn.biomes.3 " );
76+ OreSpawnScreenLayout .explain (weight , "tooltip .orespawn.weight " );
7777 label (left , y + 6 , half , "option.orespawn.weight" );
7878 y += 28 ;
7979 addRenderableWidget (OreSpawnScreenLayout .explain (OreSpawnScreenLayout .button (
@@ -82,36 +82,36 @@ private void initPlacement(int left, int half, JsonObject placement) {
8282 array (placement , "similar_biomes" ).size ()),
8383 button -> { saveFields (); minecraft .setScreen (new BiomeReferenceScreen (
8484 this , session , placement , "similar_biomes" )); }),
85- "guide .orespawn.biomes.3 " ));
85+ "tooltip .orespawn.biome.similar_biomes " ));
8686 addRenderableWidget (OreSpawnScreenLayout .explain (OreSpawnScreenLayout .button (
8787 this , font , left + half + 5 , y ,
8888 half , 20 , Component .translatable ("button.orespawn.required_biomes" ,
8989 array (placement , "required_similar_biomes" ).size ()),
9090 button -> { saveFields (); minecraft .setScreen (new BiomeReferenceScreen (
9191 this , session , placement , "required_similar_biomes" )); }),
92- "guide .orespawn.biomes.3 " ));
92+ "tooltip .orespawn.biome.required_similar_biomes " ));
9393 }
9494
9595 private void initClimate (int left , int half , JsonObject placement ) {
9696 int y = 90 ;
9797 minTemperature = field (left + half + 5 , y , half ,
9898 decimal (placement , "min_temperature" , -2.0D ));
99- OreSpawnScreenLayout .explain (minTemperature , "guide .orespawn.biomes.3 " );
99+ OreSpawnScreenLayout .explain (minTemperature , "tooltip .orespawn.biome.min_temperature " );
100100 label (left , y + 6 , half , "option.orespawn.min_temperature" );
101101 y += 24 ;
102102 maxTemperature = field (left + half + 5 , y , half ,
103103 decimal (placement , "max_temperature" , 2.0D ));
104- OreSpawnScreenLayout .explain (maxTemperature , "guide .orespawn.biomes.3 " );
104+ OreSpawnScreenLayout .explain (maxTemperature , "tooltip .orespawn.biome.max_temperature " );
105105 label (left , y + 6 , half , "option.orespawn.max_temperature" );
106106 y += 24 ;
107107 minDownfall = field (left + half + 5 , y , half ,
108108 decimal (placement , "min_downfall" , 0.0D ));
109- OreSpawnScreenLayout .explain (minDownfall , "guide .orespawn.biomes.3 " );
109+ OreSpawnScreenLayout .explain (minDownfall , "tooltip .orespawn.biome.min_downfall " );
110110 label (left , y + 6 , half , "option.orespawn.min_downfall" );
111111 y += 24 ;
112112 maxDownfall = field (left + half + 5 , y , half ,
113113 decimal (placement , "max_downfall" , 1.0D ));
114- OreSpawnScreenLayout .explain (maxDownfall , "guide .orespawn.biomes.3 " );
114+ OreSpawnScreenLayout .explain (maxDownfall , "tooltip .orespawn.biome.max_downfall " );
115115 label (left , y + 6 , half , "option.orespawn.max_downfall" );
116116 }
117117
@@ -127,7 +127,7 @@ private void initSurface(int left, int width, JsonObject placement) {
127127 saveFields ();
128128 minecraft .setScreen (new MaterialBlockPickerScreen (this , session ,
129129 false , id -> surface .addProperty (key , id )));
130- }), "guide .orespawn.biomes.3" ));
130+ }), "tooltip .orespawn.biome." + key ));
131131 Button clear = addRenderableWidget (OreSpawnScreenLayout .plainButton (
132132 left + width - 60 , y , 60 , 20 ,
133133 Component .translatable ("button.orespawn.clear" ),
@@ -137,7 +137,7 @@ private void initSurface(int left, int width, JsonObject placement) {
137137 }
138138 fillerDepth = field (left + width / 2 , y , width / 2 ,
139139 integer (surface , "filler_depth" , 3 ));
140- OreSpawnScreenLayout .explain (fillerDepth , "guide .orespawn.biomes.3 " );
140+ OreSpawnScreenLayout .explain (fillerDepth , "tooltip .orespawn.biome.filler_depth " );
141141 label (left , y + 6 , width / 2 - 5 , "option.orespawn.filler_depth" );
142142 }
143143
0 commit comments