-
-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
playeffect - support new data types #2678
base: dev
Are you sure you want to change the base?
playeffect - support new data types #2678
Conversation
// - For TARGET_COLOR, the input is of format: <color>|<location>, for example "red|<player.cursor_on>". Color input is any valid ColorTag object. | ||
// - For COLOR, the input is any valid ColorTag. | ||
// - For FLOAT, the input is any valid ElementTag(Decimal). | ||
// - For INTEGER, the input is any valid ElementTag(Integer). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it'd be (Number)
but also just say any valid number
, don't be overly technical when you don't need to be
Also what the heck is an integer particle? That For x y z particles,
half should name particles that use a format, not the format's java class name
if (dataList.size() != 2) { | ||
Debug.echoError("TargetColor special_data must have 2 list entries for particle: " + particleEffect.name()); | ||
return; | ||
} else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
format
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but should change the command syntax text to specify special_data
is a map now I believe
Other then that small comment ^, this has some merge conflicts that need to be resolved (which, feel free to ask on Discord if you need any help with that) |
This PR adds the new DataTypes for particles. Support for TRAIL and TARGET_COLOR particle types were requested on Discord. It also adds support for special SHRIEKER and SCULK particles.
https://discord.com/channels/315163488085475337/1310336968399257610/1310336968399257610
https://discord.com/channels/315163488085475337/1301846255365783614/1301846255365783614