mojira.dev
MC-94189

/particle's iconcrack no longer supports data values

Previously, the following would allow the use of Damage values for iconcrack particles:

/particle iconcrack_1_3 ~ ~1 ~ 0 0 0 0 1
/particle iconcrack_1_3 ~ ~1 ~ 0 0 0 0 1

However, the new /particle syntax does not allow for anything other than an integer, so the original format is unusable. Only regular stone can be created:

/particle iconcrack ~ ~1 ~ 0 0 0 0 1 @a 1
/particle iconcrack ~ ~1 ~ 0 0 0 0 1 @a 1

The format for blockdust and blockcrack (blockId | (metaData << 12) via MC-61033) also cannot work with iconcrack.

Checking the 15w50a source (class bks) shows that it's still expecting two input values, but the second always defaults to 0. The /particle command class (au) no longer provides a second value. Possible fix is a secondary parameter after the first in the syntax, though may be short-lived via this comment.

Comments 2

You mess up some parameter, look at the command prototype :

/particle <name> <x> <y> <z> <xd> <yd> <zd> <speed> [count] [mode] [player] [params]
/particle <name> <x> <y> <z> <xd> <yd> <zd> <speed> [count] [mode] [player] [params]

And here is a working command :

/particle iconcrack ~ ~1 ~ 0 0 0 0.1 100 _ @p 1 3
/particle iconcrack ~ ~1 ~ 0 0 0 0.1 100 _ @p 1 3

@mrpingouin1, Woops, missed the normal/force. I guess that's why I couldn't get a secondary parameter working, thanks! (This ticket can be closed as invalid)

Skylinerw

Erik Broes

Unconfirmed

Minecraft 15w50a

Retrieved