跳到正文

Damage command (With damage types!)

作者:MJcraftMC

Simple damage command with damage types

收藏

介绍

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

Symple damage command, useful for mapmakers or modders

First mod I make 🙂

Made with MCreator

 

Syntax: /dmg <entity> <amount> <damagetype>

Upon entering the command, the entity(s) selected will be instantly damaged with the amount and damage type you chose.

 

The damage types are the following (and will be selectable): 

anvil, bolt, cactus, cram, dbreath, drown, fall, fire, generic, kinetic, lava, magic, magma, starve, suffocate, void

 

Why different types? 

  • Different damage types have different damage reductions.

   Some examples: If you damage an entity with “anvil” the damage will be greatly reduced if the entity has a helmet(as well as greatly damaging the helmet). Similar goes to fire or lava, if a player has fire resistance, the damage will be nullified, and if the player has fire      protection, que damage will be reduced. “void” damage will not be reduced at all by any sources (even creative mode).

  • Different death messages

This is hyghly useful when making custom items, by pairing it with command blocks or datapacks, because the most vanilla way of dealing damage to an entity is by using the effects instant damage, poison, wither, or even instant health to undead mobs. With this mod you can customize the numbers that will be used.

常见问题

Damage command (With damage types!) 支持哪些 Minecraft 版本?

Damage command (With damage types!) 支持 Minecraft Java 版 1.16.5–1.19.2,共 3 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Damage command (With damage types!) 怎么安装?

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

评论

登录后评论和评分