Entity-specific Damage Invulnerability
作者:rebot | 分类:模组
Minecraft 版本: 1.19 1.19.1 1.19.2 1.19.3
平台: fabric
标签: game-mechanics utility
Damage type invulnerability for an entity can be set with the following command:
/dmginvuln <entities> set <damage_type> <invulnerable>
/dmginvuln @a set fall true - sets fall damage immunity for all players
You can query damage type invulnerability with:
/dmginvuln <entities> get <damage_type>
/dmginvuln @e[type=creeper,limit=1, sort=nearest] get onFire - gets whether the closest creeper is invulnerable to fire or not
请登录后举报
暂无评论,抢个沙发吧~