跳到正文

Auto Swap Elytra

作者:ALFEECLARE

Your Elytra automatically Equip/Unequip when you want!

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Your Elytra automatically Equip/Unequip when you want!

[Features]
Simply keep elytra in your inventory and fly like normal. Your chestplate (and fireworks) will be automatically swapped to elytra,  and re-swapped when you stop flying.
And this mod works completely-independent, no extra libraries requested!

[Warnings]
If you swap a previously swapped item, the re-swap may not work like you expected.
Even in this case, this mod will try to make effective swap as effective as possible, but I cannot guarantee that the results will be as expected.
Changing your hotbar selection causes no problems.

[Configs]

・armorSwapMode ・・・・ Select how to choose swap target chestplate / elytra. these values is valid:
  ・VALUE(default) ・・・・ Always select Most Valueable Item. See [algorithm] section for details.
  ・PREUSED ・・・・ Try to use previously swapped chestplate / elytra.
  ・OFFHAND ・・・・ Try to use offhand chestplate / elytra.
  ・SLOT ・・・・ Try to use chestplate / elytra in Inventory Slot at [swapSlot].
・swapSlot ・・・・ when armorSwapMode is “SLOT”, Uses an chestplate / elytra in the specified slot. Otherwise this value is ignored.
        Top Left Slot is 0, Top Right Slot is 8, Hotbar Right Slot is 35.
・ignoreArmorTier ・・・・ If true, while calculating chestplate value, Ignores Armor Tiers. See [algorithm] section for details. false is default.

・isSwapFireworks ・・・・ IF true, swap mainhand items to fireworks when swapped to elytra. true is default.

・isFireworksOffhand ・・・・ IF true, swap offhand items instead of mainhand items when swaped to elytra. If isSwapFireworks is false, this value ignored.

・isUseSmallFireworksStack ・・・・ IF true, prioritize using small stacks of fireworks. If isSwapFireworks is false, this value ignored.

[Algorithms]

This mod calculate chestplate / elytra / fireworks value below algorithms:
if the value result is minus, the item never selected as swap target.
・Armor tier scores (if ignoreArmorTier is true)
  ・NETHERITE ・・・・ 3000
  ・DIAMOND ・・・・ 2000
  ・GOLD ・・・・ 0 , but if you are in Nether and wears no gold items, 3000
  ・IRON ・・・・ 1000
  ・CHAIN ・・・・ 1000
  ・LETHER ・・・・ 0
  ・Othes(mod materials expected) ・・・・ 2500
・Enchantment scores
  ・MENDING ・・・・ 500
  ・UNBREAKING ・・・・ 50 per level.
  ・PROTECTION ・・・・ 100 per level.
  ・BLAST PROTECTION ・・・・ 100 per level.
  ・FIRE PROTECTION ・・・・ 100 per level.
  ・PROJECTILE PROTECTION ・・・・ 100 per level.
  ・BINDING CURSE ・・・・ -999999 (so this cursed item may not selected as swap target.
  ・VANISHING CURSE ・・・・ -1000
・Duratbility scores
  ・current Durability ・・・・ 1 per 1 durability.
  ・Max Durability ・・・・ 1 per 100 durability.
  ・If current Durability is less than 10, all score is overwrited to current Durability.
・StackSize and other fireworks scores
  ・If isUseSmallFireworksStack is true,
    ・Max Stack Size – current Stack Size ・・・・ 100 per 1
   If isUseSmallFireworksStack is false,
    ・current Stack Size ・・・・ 100 per 1
  ・Flight Duration ・・・・ 10 per 1.
  ・has Fireworks stars ・・・・ -30 per 1.

 

常见问题

Auto Swap Elytra 支持哪些 Minecraft 版本?

Auto Swap Elytra 支持 Minecraft Java 版 1.21–26.1.2,共 7 个版本,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Auto Swap Elytra 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

ALFEECLARE 的其他作品

查看全部 →