HTTPS
https://git.nageyqma.icu/nageyqma/blade-addons-next.git
SSH
git@git.nageyqma.icu:nageyqma/blade-addons-next.git
HTTPS 链接可直接 git clone;推送代码请使用 SSH。
123456789101112131415161718192021222324252627282930313233343536
package blade.addon.features.other.arrow;
import blade.addon.utils.config.components.CombineableNotification;
import blade.addon.utils.config.values.ExtraOptions;
import config.practical.hud.HUDCategory;
import net.minecraft.network.chat.Component;
import java.util.List;
public class ArrowNotification extends CombineableNotification {
public ArrowNotification() {
super("Selected arrow title");
}
@Override
public boolean enabled() {
return ExtraOptions.arrowSwapNotification;
}
@Override
public Component getText() {
return ArrowSwapper.displayedText;
}
@Override
public boolean shouldRender() {
return ArrowSwapper.displayNotification();
}
@Override
public List<HUDCategory> categories() {
return null;
}
}