@@ -60,7 +60,7 @@ protected void init() {
6060 .create (left , 64 , contentWidth , 20 ,
6161 new TranslatableComponent ("option.orespawn.enabled" ),
6262 (button , value ) -> placement .addProperty ("enabled" , value ))),
63- "guide .orespawn.biomes.1 " );
63+ "tooltip .orespawn.enabled " );
6464 if (tab == Tab .PLACEMENT ) initPlacement (left , half , placement );
6565 else if (tab == Tab .CLIMATE ) initClimate (left , half , placement );
6666 else initSurface (left , contentWidth , placement );
@@ -76,43 +76,43 @@ protected void init() {
7676 private void initPlacement (int left , int half , JsonObject placement ) {
7777 int y = 90 ;
7878 weight = field (left + half + 5 , y , half , decimal (placement , "weight" , 1.0D ));
79- OreSpawnScreenLayout .explain (this , weight , "guide .orespawn.biomes.3 " );
79+ OreSpawnScreenLayout .explain (this , weight , "tooltip .orespawn.weight " );
8080 label (left , y + 6 , half , "option.orespawn.weight" );
8181 y += 28 ;
8282 addRenderableWidget (OreSpawnScreenLayout .explainedButton (this , font , left , y , half , 20 ,
8383 new TranslatableComponent ("button.orespawn.similar_biomes" ,
8484 array (placement , "similar_biomes" ).size ()),
8585 button -> { saveFields (); minecraft .setScreen (new BiomeReferenceScreen (
8686 this , session , placement , "similar_biomes" )); },
87- "guide .orespawn.biomes.3 " ));
87+ "tooltip .orespawn.biome.similar_biomes " ));
8888 addRenderableWidget (OreSpawnScreenLayout .explainedButton (this , font , left + half + 5 , y ,
8989 half , 20 , new TranslatableComponent ("button.orespawn.required_biomes" ,
9090 array (placement , "required_similar_biomes" ).size ()),
9191 button -> { saveFields (); minecraft .setScreen (new BiomeReferenceScreen (
9292 this , session , placement , "required_similar_biomes" )); },
93- "guide .orespawn.biomes.3 " ));
93+ "tooltip .orespawn.biome.required_similar_biomes " ));
9494 }
9595
9696 private void initClimate (int left , int half , JsonObject placement ) {
9797 int y = 90 ;
9898 minTemperature = field (left + half + 5 , y , half ,
9999 decimal (placement , "min_temperature" , -2.0D ));
100- OreSpawnScreenLayout .explain (this , minTemperature , "guide .orespawn.biomes.3 " );
100+ OreSpawnScreenLayout .explain (this , minTemperature , "tooltip .orespawn.biome.min_temperature " );
101101 label (left , y + 6 , half , "option.orespawn.min_temperature" );
102102 y += 24 ;
103103 maxTemperature = field (left + half + 5 , y , half ,
104104 decimal (placement , "max_temperature" , 2.0D ));
105- OreSpawnScreenLayout .explain (this , maxTemperature , "guide .orespawn.biomes.3 " );
105+ OreSpawnScreenLayout .explain (this , maxTemperature , "tooltip .orespawn.biome.max_temperature " );
106106 label (left , y + 6 , half , "option.orespawn.max_temperature" );
107107 y += 24 ;
108108 minDownfall = field (left + half + 5 , y , half ,
109109 decimal (placement , "min_downfall" , 0.0D ));
110- OreSpawnScreenLayout .explain (this , minDownfall , "guide .orespawn.biomes.3 " );
110+ OreSpawnScreenLayout .explain (this , minDownfall , "tooltip .orespawn.biome.min_downfall " );
111111 label (left , y + 6 , half , "option.orespawn.min_downfall" );
112112 y += 24 ;
113113 maxDownfall = field (left + half + 5 , y , half ,
114114 decimal (placement , "max_downfall" , 1.0D ));
115- OreSpawnScreenLayout .explain (this , maxDownfall , "guide .orespawn.biomes.3 " );
115+ OreSpawnScreenLayout .explain (this , maxDownfall , "tooltip .orespawn.biome.max_downfall " );
116116 label (left , y + 6 , half , "option.orespawn.max_downfall" );
117117 }
118118
@@ -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.materials.3" ));
130+ }, "tooltip .orespawn.biome." + key ));
131131 Button clear = addRenderableWidget (new Button (left + width - 60 , y , 60 , 20 ,
132132 new TranslatableComponent ("button.orespawn.clear" ),
133133 button -> { surface .remove (key ); rebuildWidgets (); }));
@@ -136,7 +136,7 @@ private void initSurface(int left, int width, JsonObject placement) {
136136 }
137137 fillerDepth = field (left + width / 2 , y , width / 2 ,
138138 integer (surface , "filler_depth" , 3 ));
139- OreSpawnScreenLayout .explain (this , fillerDepth , "guide .orespawn.biomes.3 " );
139+ OreSpawnScreenLayout .explain (this , fillerDepth , "tooltip .orespawn.biome.filler_depth " );
140140 label (left , y + 6 , width / 2 - 5 , "option.orespawn.filler_depth" );
141141 }
142142
0 commit comments