Posted December 28, 20177 yr Hello, i want to change biome temperature, how to make? I found BiomeProperties, but the Biome is not a field/method to get BiomeProperties. (for vanilla biome) Edited December 28, 20177 yr by WildHeart
December 28, 20177 yr Author Just now, daruskiy said: For a custom biome or overriding a vanilla biome? Vanilla.
December 28, 20177 yr You need to iterate over all biomes that you want to change the temperature for, and change the value of the temperature field. Due note, it is both private, and final, which means you will need to use Reflection to both access it, and change it. Also previously known as eAndPi. "Pi, is there a station coming up where we can board your train of thought?" -Kronnn Published Mods: Underworld Handy links: Vic_'s Forge events Own WIP Tutorials.
December 28, 20177 yr Just now, Matryoshika said: You need to iterate over all biomes that you want to change the temperature for, and change the value of the temperature field. Due note, it is both private, and final, which means you will need to use Reflection to both access it, and change it. I think I have loads of problems with private and final objects, I am intrigued to learn what Reflection is. Can you explain me what it is?
December 28, 20177 yr Author 47 minutes ago, Matryoshika said: You need to iterate over all biomes that you want to change the temperature for, and change the value of the temperature field. Due note, it is both private, and final, which means you will need to use Reflection to both access it, and change it. Reflection is very slow, better AccessTransformer's
December 28, 20177 yr Just now, diesieben07 said: 98% of the time using ATs over reflection is premature optimization. ATs?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.