-
-
Notifications
You must be signed in to change notification settings - Fork 407
Additional Dropped Item Elements #7270
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
Additional Dropped Item Elements #7270
Conversation
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.
iirc skript has a type registered for dropped entities can we make use of that instead of entity here so people don't interpret differently
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.
Some initial thoughts
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.
Some of the same as pickle probably
I'm not seeing any registered |
ahhh ok, appreciate it |
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.
Looking better!
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.
Just a few thoughts.
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.
Just some concerns I guess.
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.
I'm still not a fan of returning null when something isn't null provided by Bukkit/Minecraft.
In my opinion this is super misleading.
ie: if owner/thrower of %itementity% is set:
incorrectly returning false.
But if that is what the team wants, then I'll approve.
src/main/java/ch/njol/skript/conditions/base/PropertyCondition.java
Outdated
Show resolved
Hide resolved
…tems # Conflicts: # src/main/java/ch/njol/skript/expressions/ExprEntityTamer.java
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.
Also may want to update this PR to use UUID instead of string, though that's optional.
Description
This PR aims to add additional elements relating to Dropped Items. Allowing users to get+set the owners and the entity that dropped items, as well as make them not despawn.
Target Minecraft Versions: any
Requirements: none
Related Issues: #5110