generated from Low-Drag-MC/ArchTemplate
-
Notifications
You must be signed in to change notification settings - Fork 13
Command
KilaBash edited this page Jun 25, 2023
·
6 revisions
-
/photon particle_editor
: open the particle editor. -
/photon_client clear_particles
: remove all photon particles. -
/photon_client clear_fx_cache
: clear cache of photon fx. (you should call it, if you make changes to an existing FX file).
Use these commands to emit particles to a given position or bind it to an entiy.
prefix: /photon fx fxFile type ... [offset(3*number)] [delay] [force death] [allow multi] ...
details:
-
fxFile (required)
- the resource location of fx file. (e.g.mod_id:filename
=>assets/mod_id/fx/filename.fx
) -
type(required)
-block
orentity
. -
offset [default value: 0 0 0]
- emitter offset based on basic position in three number. -
delay [default value: 0]
- emitting delay time. -
force death [default value: false]
- whether to remove all particles directly when the bound object invalid or natural death. for example, iffalse
, emitter will notify and wait all particle death when the block invalid. iftrue
, emitter will remove and particles from rendering and ticking immediately when the block invalid. -
allow multi [default value: false]
- Allows multiple identical effects (same effect name) to be bound to a same object.
format: /photon fx fxFile block position(3*number) [offset(3*number)] [delay] [force death] [allow multi] [check state]
example: /photon fx photon:fire block ~ ~ ~ 0 0 0 0 false false false
details:
-
position (required)
- block position in three number. -
check state
- check blockstate same. iffalse
, effect will be invalid when the block change. Iftrue
, effect will also be invalid when its states changed.[default value: false]
format: /photon fx fxFile entity entities(entity selector) [offset(3*number)] [delay] [force death] [allow multi]
example: /photon fx photon:fire entity @e[type=minecraft:minecart, distance=..1] 0 0.5 0 0 false false false
details:
-
entities (required)
- entities selector as vanilla command.