This command could be formatted like the tellraw command (With brackets and curly brackets) like this:
/raycast {"particle":[{"minecraft:<particle>"}],
"speed":[{"<instant> or <speed in float or integer>"}],
"particleDistance":[{"<distance from particle to particle in integer or float>"}],
"Distance":[{"<until hit wall> or <distance in integer (max 50)>"}]}
It could have other attributes like using blocks/entities instead of particle (Via a "block" or "entity" substituting a particle)
Another method could be by simply allowing the player to add the attributes in consecutive order like most commands:
/raycast <minecraft:particle or minecraft:entity or minecraft:block>
<spreadDistance:integer for block, float for entities and particles>
<distance:integer (max of 50)> <speed (In blocks per sec):integer or float>
<stop at wall:true or false> <face a specific entity:@p, @r, @e, @a>
Please sign in to leave a comment.
0 Comments