top.hendrixshen.magiclib.impl.dev.MixinPredicates Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of magiclib-better-dev-1.20.6-fabric Show documentation
Show all versions of magiclib-better-dev-1.20.6-fabric Show documentation
Development Environment runtime QOL.
The newest version!
package top.hendrixshen.magiclib.impl.dev;
import org.objectweb.asm.tree.ClassNode;
import top.hendrixshen.magiclib.MagicLibProperties;
import top.hendrixshen.magiclib.api.mixin.MixinPredicate;
public class MixinPredicates {
public static class AuthEmptyKeyPredicate implements MixinPredicate {
@Override
public boolean test(ClassNode classNode) {
return MagicLibProperties.DEV_QOL_AUTH_EMPTY_KEY.getBooleanValue();
}
}
public static class AuthVerifyPredicate implements MixinPredicate {
@Override
public boolean test(ClassNode classNode) {
return MagicLibProperties.DEV_QOL_AUTH.getBooleanValue();
}
}
public static class ChunkPredicate implements MixinPredicate {
@Override
public boolean test(ClassNode classNode) {
return MagicLibProperties.DEV_QOL_CHUNK.getBooleanValue();
}
}
public static class DestroyDFUPredicate implements MixinPredicate {
@Override
public boolean test(ClassNode classNode) {
return MagicLibProperties.DEV_QOL_DFU_BREAK.getBooleanValue();
}
}
public static class LazyDFUPredicate implements MixinPredicate {
@Override
public boolean test(ClassNode classNode) {
return MagicLibProperties.DEV_QOL_DFU_LAZY.getBooleanValue();
}
}
public static class TheadTweakPredicate implements MixinPredicate {
@Override
public boolean test(ClassNode classNode) {
return MagicLibProperties.DEV_QOL_THREAD_TWEAK.getBooleanValue();
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy