ModernFix

ModernFix

2M Downloads

Static Binding Violation

stlouisn opened this issue ยท 1 comments

commented

Bug Description

Minecraft Version: 1.21.1
Neoforge Version: 21.1.61
ModernFix Version: 5.19.3+mc1.21.1

Getting error message in log, but does not appear to have negative effect.

Static binding violation: PRIVATE @Overwrite method decoratedId in modernfix-neoforge.mixins.json:perf.tag_id_caching.TagOrElementLocationMixin from mod modernfix cannot reduce visibiliy of PUBLIC target method, visibility will be upgraded.

Reproduction Steps

Install mod. Load minecraft.

Log File

Static binding violation: PRIVATE @Overwrite method decoratedId in modernfix-neoforge.mixins.json:perf.tag_id_caching.TagOrElementLocationMixin from mod modernfix cannot reduce visibiliy of PUBLIC target method, visibility will be upgraded.
[main/DEBUG] [net.neoforged.accesstransformer.AccessTransformer/AXFORM]: Transforming net.minecraft.util.ExtraCodecs$TagOrElementLocation METHOD decoratedId()Ljava/lang/String; to access PUBLIC and LEAVE
commented

@Overwrite visibility upgrade warnings can safely be ignored; it's expected behavior.