跳到正文

All The Commands(API)

作者:prizolaadam

bings a ton of usefull commands for your pvp or other kind of mods!!

收藏

截图

介绍

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

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
  Persistent particle aura around entity.

/glow [color]
  Outline glow with color (16 vanilla colors).

/trail
  Particle trail behind moving entity.

Screen Effects & Visuals

/screenshake

  Shakes a player’s camera. Great for impacts.

/screenflash

  Flashes the screen briefly. Use for hits, ults.

/vignette

  Dark/colored edges fading to center. Low HP, domain vibes.

/cinematicbars

  Adds black bars top + bottom for cinematic moments.

/skytint

  Tints the player’s whole view a color. Domain expansion-style.

/popup

  Big styled centered text. Technique callouts, boss intros.

/timer

  Countdown timer in the top-right. Cooldowns, match clocks.

Status & Control

/stun
  Locks position and disables damage output.

/silence
  NBT flag for ability/technique blocking (modder-readable).

/iframes
  Cancels all incoming damage for the duration.

/disarm
  Drops the entity’s held item.

/cantblock
  Disables shield use.

/cantheal
  Cancels all healing events.

/exhaust
  Empties hunger/saturation, applies exhaustion.

Damage Manipulation

/truedamage
  Bypasses armor + resistance.

/lifesteal
  Damages target, heals attacker.

/reflect
  Next incoming hit bounces back to the attacker.

/damagemult
  Multiplies outgoing damage.

/incomingmult
  Multiplies incoming damage.

/maxhealth
  Temp max-HP buff or debuff.

/heal
  Instant heal with heart particles.

Movement & World Mechanics

/launch
  Sets entity velocity. Supports ^ relative coords.

/pull
  Pulls entity toward a point.

/fling
  Pushes entity away from a point.

/dash
  Forward velocity burst in look direction.

/blink
  Instant teleport in look direction.

/teleportbehind
  Anime-style flank teleport.

/float
  Hover in air, slow falling.

/shockwave
  AOE outward push from a point.

/marker
  Particle pillar marker at a position.

Utility & API

/sfx
  Play any sound for player(s).

/mark add|remove|has
  Custom tag system (modder-readable).

/runchain
  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.

常见问题

All The Commands(API) 支持哪些 Minecraft 版本?

All The Commands(API) 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

All The Commands(API) 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

prizolaadam 的其他作品

查看全部 →