-
Notifications
You must be signed in to change notification settings - Fork 25
Command
-
/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)] [rotation(3*number)] [scale(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)-blockorentity. -
offset [default value: 0 0 0]- emitter offset based on basic position in three number. -
rotation [default value: 0 0 0]- emitter rotation. -
scale [default value: 1 1 1]- emitter scale. -
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)][rotation(3*number)] [scale(3*number)] [delay] [force death] [allow multi] [check state]
example: /photon fx photon:fire block ~ ~ ~ 0 0 0 0 0 0 1 1 1 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)] [rotation(3*number)] [scale(3*number)] [delay] [force death] [allow multi] [auto rotation]
example: /photon fx photon:fire entity @e[type=minecraft:minecart, distance=..1] 0 0.5 0 0 0 0 1 1 1 0 false false look
details:
-
entities (required)- entities selector as vanilla command. -
auto rotation (default none)- auto rotate the fx to a given direction.-
nonedo not rorate -
forwardforward direction -
lookhead looking direction -
xrotbody rotation directyon
-
details:
-
force [default value: false]- whether to remove all particles directly when the bound object invalid or natural death. for example, rendering and ticking immediately when the block invalid. -
location [default value: -]- specify the fx location to remove.
format: /photon fx remove block position(3*number) [force] [location]
example: /photon fx remove block true
format: /photon fx remove entity entities(entity selector) [force] [location]
example: /photon fx remove entity @e[type=pig]