Langue

StaticParticle

StaticParticle

Modrinth

adds configurable particle types, useful for datapack VFX

372 téléchargements 3 abonnés mis à jour 17d ago
dernière v2.8-1.21 Modrinth
Fabric Quilt 1.21 – 1.21.11

⚠️ 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

Versions

Release
2.8-1.21
fabric, quilt · 1.21, 1.21.1, 1.21.2 · 17d ago
removed static_flash particle added texture argument for static_particle and static_oriented
19
Release
2.7-1.21
fabric, quilt · 1.21, 1.21.1, 1.21.2 · 17d ago
/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…
4
Release
2.6-1.21
fabric, quilt · 1.21, 1.21.1, 1.21.2 · 1mo ago
added `/camerarot <targets> <pitch> <yaw> <roll> <duration>` changed `/fov` to add following arguments - `add` - `set` - `multiply` - `query` a bunch of…
143
Release
2.3-1.21
fabric, quilt · 1.21, 1.21.1, 1.21.2 · 2mo ago
added `/rendertext` added `/setfov` added mouse and keyboard predicates added static_oriented particle added default values for static_particle and static_flash
48
Release
1.4-1.21.5
fabric, quilt · 1.21.5 · 3mo ago
accurate versioning
12
Release
1.4-1.21.6-1.21.8
fabric, quilt · 1.21.6, 1.21.7, 1.21.8 · 3mo ago
accurate versioning
14
Release
1.4-1.21.11
fabric, quilt · 1.21.11 · 3mo ago
accurate versioning
23
Release
1.4-1.21-1.21.4
fabric, quilt · 1.21, 1.21.1, 1.21.2 · 3mo ago
accurate versioning
17
Release
1.3
fabric, quilt · 1.21, 1.21.1 · 5mo ago
90

Commentaires 0

Aucun commentaire pour l'instant. Sois le premier à donner ton avis.