StaticParticle
Modrinthadds configurable particle types, useful for datapack VFX
372 загрузок 3 подписчиков обновлено 17d ago
последняя v2.8-1.21 Modrinth
⚠️ please keep in mind that the description is only maintained for the latest version
2 particle types are implemented
particles
static_particle
- configurable
color,alpha,startSize,size,endSize,lifetime,texture - is emissive (glow in the dark)
static_oriented
- configurable
color,alpha,startSizeX,sizeX,endSizeX,startSizeY,sizeY,endSizeY,lifetime,rotation,post_rotation,cull,texture - is emissive (glow in the dark)
note
important thing to know is that all number arguments are actually string arguments, due to a limitation of minecrafts codebase, its so that the stuff listed below can work⠀
all number arguments(the particle parameters) support ranges ("x..y"=random from x to y), rotation arguments also support ~ which will use the command rotation context on the appropriate axis
⠀
also if youre wondering, post_rotation is just a second pass of rotation, technically redundant, just convenient
textures
currently only 4 textures are implemented:dot
dither
smooth
pixel
there are 3 standalone commands
commands
/fov <add|multiply|set|query>
[interpolation type] [interpolation duration]
- changes/gets the client FOV of the targets
/rendertext
[duration] [opacity] [gui scale independent] [hide with HUD] [overlay] [shadow Color(RGBA HEX)]
- displays text on the targets screens at the inputted position
- boolean argument for making the text size independent of the clients GUI scale setting
- boolean argument for forcing the text to display even if the HUD is hidden (F1)
- boolean argument for the size being multiplied by the client window aspect ratio
/camerarot
[duration]
- adds rotation offset to the client camera (linear interpolation)
note
(roll works perfectly, yaw and pitch technically do too, just a bit un-intuitive, in most cases its better to use actual entity rotation instead)the mod adds two conditions for predicates
predicates
mouse* condition
{
"condition": "staticparticle:player_action",
"action": "attack"/"pick_item"/"use",
"context": "in_game"/"in_menu"
}
- true when the target of the predicate is holding the respective buttons in the respective context
key condition
- the mod adds 5 new keybinds that dont do anything, except for tell the server theyve been pressed by a client
{
"condition": "staticparticle:special_key",
"key": 0/1/2/3/4
}
- true when the target of the predicate is holding the respective key
Версии
Release
2.8-1.21
removed static_flash particle
added texture argument for static_particle and static_oriented
Release
2.7-1.21
/rendertext changes
- added indivisual x y axis size
- added z axis next to x and y position (controls depth)
- added rotation argument
- added RGBA HEX shadow…
Release
2.6-1.21
added `/camerarot <targets> <pitch> <yaw> <roll> <duration>`
changed `/fov` to add following arguments
- `add`
- `set`
- `multiply`
- `query`
a bunch of…
Release
2.3-1.21
added `/rendertext`
added `/setfov`
added mouse and keyboard predicates
added static_oriented particle
added default values for static_particle and static_flash

Комментарии 0
Пока нет комментариев. Будь первым, кто поделится мнением.