21w41a
This commit is contained in:
1 parent
322f9124b5
commit
543a4aa38f
2 files changed
+5
-5
No files matched your search
+3
-3
@@ -4,10 +4,10 @@ org.gradle.jvmargs=-Xmx1G
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/use
|
||||
# or better: https://modmuss50.me/fabric.html
|
||||
minecraft_version=21w40a
|
||||
yarn_mappings=21w40a+build.6
|
||||
minecraft_version=21w41a
|
||||
yarn_mappings=21w41a+build.2
|
||||
loader_version=0.12.1
|
||||
fabric_version=0.40.8+1.18
|
||||
fabric_version=0.40.9+1.18
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 1.4.47
|
||||
|
||||
@@ -22,8 +22,8 @@ import java.util.function.BiFunction;
|
||||
public class BiomeInfo
|
||||
{
|
||||
public final static Map<String, BiFunction<ServerWorld, Biome, Value>> biomeFeatures = new HashMap<String, BiFunction<ServerWorld, Biome, Value>>(){{
|
||||
put("top_material", (w, b) -> new BlockValue( b.getGenerationSettings().getSurfaceConfig().getTopMaterial(), null, null));
|
||||
put("under_material", (w, b) -> new BlockValue( b.getGenerationSettings().getSurfaceConfig().getUnderMaterial(), null, null));
|
||||
//put("top_material", (w, b) -> new BlockValue( b.getGenerationSettings(). getSurfaceConfig().getTopMaterial(), null, null));
|
||||
//put("under_material", (w, b) -> new BlockValue( b.getGenerationSettings().getSurfaceConfig().getUnderMaterial(), null, null));
|
||||
put("category", (w, b) -> StringValue.of(b.getCategory().getName()));
|
||||
put("temperature", (w, b) -> NumericValue.of(b.getTemperature()));
|
||||
put("fog_color", (w, b) -> ValueConversions.ofRGB(((BiomeEffectsInterface)b.getEffects()).getCMFogColor()));
|
||||
|
||||
Reference in new issue
Block a user