介绍
ReHurtTime reworks Minecraft’s damage invulnerability mechanic in a lightweight and vanilla-friendly way.
By default, most damage sources bypass the standard invulnerability period, allowing entities to receive damage more consistently. Knockback is disabled by default for bypassed damage, preserving the original feel.
All settings can be adjusted in-game via the configuration screen.
Default Behavior
- Players are protected by invulnerability time.
- Environmental damage (fire, sweet berry bushes, etc.) is excluded.
- Campfire damage does not bypass invulnerability.
- Knockback is only applied when the last damage source has the minecraft:no_knockback tag.
Important: After updating to a new version, please reset the mod configuration (delete the config file or reset in-game) to apply the updated default predicates.
Advanced Configuration
Bypasses Invulnerability Predicate (Config: bypassesInvulnerabilityPredicate)
getEntityType(entity) != 'minecraft:player'
&& !include(getSourceTags(source), 'neoforge:is_environment')
&& getSourceType(source) != 'minecraft:campfire'
Applies Knockback Predicate (Config: appliesKnockbackPredicate)
include(getSourceTags(getLastDamageSource(entity)), 'minecraft:no_knockback')
Expression API
This mod uses AviatorScript for advanced customization.
Documentation: AviatorScript Wiki
Available variables:
LivingEntity entity, DamageSource source
Available methods:
String getEntityType(Entity entity), Set<String> getEntityTags(Entity entity)
String getSourceType(DamageSource source), Set<String> getSourceTags(DamageSource source)
String getItemType(ItemStack stack), Set<String> getItemTags(ItemStack stack)
DamageSource getLastDamageSource(Entity entity), Entity getEntity(DamageSource source)
Entity getDirectEntity(DamageSource source), ItemStack getWeaponItem(DamageSource source)
Logging (Config: logEnabled)
Set logEnabled to true to output detailed damage information to the console for debugging. You can also return a HashMap to fully customize the log format.
常见问题
ReHurtTime 支持哪些 Minecraft 版本?
ReHurtTime 支持 Minecraft Java 版 1.20.1–1.21.11,共 5 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
ReHurtTime 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。
ImmortalDamned 的其他作品
查看全部 →
ParCoolSkill
A mod that expands ParCool actions into combat skills.
RealisticCruelty
A realistic gore and hit feedback mod for Minecraft.
TimeScaleLib
A library mod for Minecraft that introduces time scaling (bullet time) functionality.
AliveCombat
AliveCombat makes Minecraft combat more alive by refining vanilla mechanics with smoother attacks and smarter targeting in a lightweight, fully client-side mod.
评论
登录后评论和评分