Class PaperConfigTransformer

java.lang.Object
eu.cloudnetservice.wrapper.transform.bukkit.PaperConfigTransformer
All Implemented Interfaces:
ClassTransformer

@Internal public final class PaperConfigTransformer extends Object implements ClassTransformer
PaperConfigTransformer relies on preview features of the Java platform:
  • PaperConfigTransformer refers to one or more preview APIs: ClassTransform.
Programs can only use PaperConfigTransformer when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
A transformer implementation that disables the stackableBuckets method on old Paper versions. This is due to the fact that the method uses illegal reflection in the attempt to set a final field which is not possible anymore on newer java versions.
Since:
4.0