颜色格式化
任何需要指定颜色的命令都接受简单的颜色名称(如 red 或 gold)、十六进制代码(hex codes 可能会有一些小问题)或 ARGB 整数。
面向 Java 模组开发者
你不必完全依赖游戏内命令。上述列出的每个功能都在 API 中作为静态方法暴露。你可以通过引用 msi.lotto.usefullcommands.UsefullCommandsAPI 直接从你自己的 Java 代码中调用它们。
Welcome to All The Commands. If you are putting together a cinematic, combat-focused, or PvP Minecraft mod, this library is your toolkit. It brings over 35 commands and a full Java API to make your fights look and feel amazing.
Entity Visuals & Flair
/afterimage [color] [interval] [lifetime] - The ultimate style tool. Leaves trailing ghost copies behind a moving player. These afterimages perfectly copy the player's current animations and are 100% compatible with the Player Animator API!
/aura <targets> <particle> <duration>
Persistent particle aura around entity.
/glow <targets> <duration> [color]
Outline glow with color (16 vanilla colors).
/float <targets> <duration>
Hover in air, slow falling.
/shockwave <pos> <radius> <power>
AOE outward push from a point.
/marker <pos> <color> <duration>
Particle pillar marker at a position.
Utility & API
/sfx <targets> <sound> <volume> <pitch>
Play any sound for player(s).
/mark <targets> add|remove|has <tag>
Custom tag system (modder-readable).
/runchain <delay> <command>
Schedule a command to run after a delay.
Color Formatting Any command that asks for a color accepts simple names like red or gold, hex codes(hex codes are a little glitchy), or ARGB integers.
For Java Modders You do not have to rely entirely on in-game commands. Every single feature listed above is exposed as a static method in the API. You can call them directly from your own Java code by referencing msi.lotto.usefullcommands.UsefullCommandsAPI.
评论 0
登录后参与评分
还没有评论,来抢沙发吧