Jump to content

Callan2256

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Callan2256

  1. Managed to get it working. Code posted below should anyone come across this issue in the future, please note that the code is janky as hell as a result with how unfamiliar I am with forge. (So if you have any recommendations on where I can improve it feel free to let me know) @SubscribeEvent public void cloudRemover(TickEvent.PlayerTickEvent event) { PlayerEntity p = event.player; Biome biome = p.world.func_226691_t_(p.getPosition()); String biomeName = biome.getTranslationKey(); GameSettings settings = Minecraft.getInstance().gameSettings; if (biomeName.contains("desert")) { settings.cloudOption = CloudOption.OFF; } else { settings.cloudOption = CloudOption.FANCY; } }
  2. Hey guys, Pretty simple question, im trying to get the game to disable clouds when you enter a desert biome, I have the first half of that equation sorted but cant quite figure out how to disable the clouds (If its even possible!) Im new to forge and the complete lack of comprehensive documentation isn't a great help haha. Any help appreciated! Cheers
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.