Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BiomeTag.(water_)fog_color tag + mech #2516

Merged
merged 2 commits into from
Aug 6, 2023

Conversation

tal5
Copy link
Member

@tal5 tal5 commented Aug 6, 2023

Requested on Discord.

Additions

  • BiomeNMS#get/setFogColor - controls a biome's fog color as an RGB int, implemented on 1.19 and 1.20.
  • BiomeNMS#get/setWaterFogColor - controls a biome's water fog color as an RGB int, implemented on 1.19 and 1.20.
  • BiomeTag.fog_color tag + mechanism pair - controls a biome's fog color, on 1.19+.
  • BiomeTag.water_fog_color tag + mechanism pair - controls a biome's water fog color, on 1.19+.

Changes

  • (Unrelated minor cleanup) removed the redundant try/catch around ReflectionHelper#setFieldValue in BiomeNMSImpl(1.19/1.20)#setFoliageColor.

@mcmonkey4eva mcmonkey4eva merged commit 2ba64c9 into DenizenScript:dev Aug 6, 2023
1 check passed
@tal5 tal5 deleted the Biome_Fog_Controls branch August 6, 2023 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants