跳到正文

Anti-oneshot

作者:lubang

Anti-OneShot provides players with a last-chance survival mechanic against lethal attacks.

收藏

介绍

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

English

Overview

Anti-OneShot provides players with a last-chance survival mechanic against lethal attacks.

Core Features

Main Effect (Anti-OneShot Protection)

When a player above the HP threshold receives a killing blow, the damage is intercepted. The player survives with a small HP remainder, gains brief invincibility and Absorption, and enters a 120-second out-of-combat cooldown.

Difficulty Threshold Remain HP Immunity
Easy 40% max HP 1 pt 3 s
Normal 50% max HP 2 pt 2 s
Hard 60% max HP 3 pt 2 s

Extreme Mode (Secondary Effect)

While the main effect is on cooldown (in worlds without keepInventory, or Hardcore), a second killing blow triggers an emergency backup — but applies a stacking max HP penalty (-20% per level, up to 2/3/4 levels by difficulty). The penalty degrades one level every 120 seconds, and is force-cleared when the main effect cooldown resets.

Visuals & Audio

  • HUD: cooldown timer and extreme buff level in the corner
  • Screen flash: red vignette border on trigger
  • Camera shake: brief impact shake on trigger
  • Transparency: local player turns semi-transparent during immunity
  • Sounds: distinct audio for main trigger / extreme trigger / cooldown end, all configurable

Configuration

Config file: config/anti_oneshot.cfg. All parameters can be changed in-game via commands.

Commands

/antioneshot (/aos)
  config list                    — list all config keys
  config get <key>               — query a config value
  config set <key> <value>       — update a config value
  config reset <key|all>         — reset to default
  status [player]                — show cooldown/buff status
  reset <player|all>             — force reset cooldown
  clearbuff <player>             — remove extreme buff
 

Installation

Drop the JAR into your mods/ folder. Requires Forge 14.23.5.2847 for Minecraft 1.12.2.

常见问题

Anti-oneshot 支持哪些 Minecraft 版本?

Anti-oneshot 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Anti-oneshot 怎么安装?

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

评论

登录后评论和评分

lubang 的其他作品

查看全部 →