Removed old Enderscape integration as new Versions are built using BCLib.

This commit is contained in:
Frank 2022-06-02 08:18:47 +02:00
parent be746ba286
commit 03c39d4a69
5 changed files with 7 additions and 58 deletions

View file

@ -12,15 +12,15 @@ import ru.betterend.integration.Integrations;
public class EndEffectsMixin {
@Inject(method = "getBrightnessDependentFogColor", at = @At("HEAD"), cancellable = true)
private void be_restoreBrightness(Vec3 color, float sunHeight, CallbackInfoReturnable<Vec3> info) {
if (Integrations.ENDERSCAPE.modIsInstalled()) {
info.setReturnValue(color.scale(0.15000000596046448D));
}
// if (Integrations.ENDERSCAPE.modIsInstalled()) {
// info.setReturnValue(color.scale(0.15000000596046448D));
// }
}
@Inject(method = "isFoggyAt", at = @At("HEAD"), cancellable = true)
private void be_restoreFog(int camX, int camY, CallbackInfoReturnable<Boolean> info) {
if (Integrations.ENDERSCAPE.modIsInstalled()) {
/*if (Integrations.ENDERSCAPE.modIsInstalled()) {
info.setReturnValue(false);
}
}*/
}
}