Closed lonefelidae16 closed 1 year ago
I know there is another way to inject into other mods that uses Pseudo
annotation instead of Reflection. BedrockIfy has a great mechanism for applying Mixins provided by BedrockIfyMixinPlugin.java
and it will make users can be forced to enable this feature regardless of whether the external shader is present.
If more flexibility is needed in the future version, this may be discussed as a way to also obtain the sun angle that is changed by the shaders.
close #110
The feature of Bedrock Sun Glare and Sky Color. This is enabled by the
sunlightIntensity
value andbedrockShading
option in the Visual Improvements settings.Translation keys have been updated. Please check
lang/en_us.json
.Behavior
This is disabled by default when the external shader is turned on. It cannot be forced to be enabled at the moment.
Use Reflection to detect whether the external shader is present or not.
bedrockShading
package.Changes
new configurable parameter
BedrockifyClientSettings#sunlightIntensity
: 0 - 100, default 50update dependencies
build.gradle
gradle.properties
update
lang/en_us.json
bedrockify.options.bedrockShading
bedrockify.options.sunlightIntensity
bedrockify.options.bedrockShading.tooltip
bedrockify.options.sunlightIntensity.tooltip
update
SettingsGUI
bedrockShading
sunlightIntensity
update
BedrockifyClient
END_CLIENT_TICK
:BedrockSunGlareShading#tick
registered new mixins
mixin.client.features.bedrockShading.sunGlare.ClientWorldMixin
mixin.client.features.bedrockShading.sunGlare.WorldRendererMixin
moved mixins
mixin.client.features.bedrockShading.AbstractQuadRendererMixin
->lightBlock.AbstractQuadRendererMixin
mixin.client.features.bedrockShading.BlockModelRendererMixin
->lightBlock.BlockModelRendererMixin
mixin.client.features.bedrockShading.FluidRendererMixin
->lightBlock.FluidRendererMixin
new files
client.features.bedrockShading.BedrockSunGlareShading
test.client.features.bedrockShading.sunGlare.IrisCompatTest