-
-
Notifications
You must be signed in to change notification settings - Fork 414
Improve itemframes #7749
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
base: dev/feature
Are you sure you want to change the base?
Improve itemframes #7749
Conversation
Absolutionism
left a comment
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.
What do we think about making an expression to grab the rotation of an itemframe?
Also, not sure if possible, but combined with that expression, make a test structure within EffSecSpawn.sk spawning item frames with a rotation and ensuring the rotation is correct.
Fusezion
left a comment
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.
T-te-test!
|
I'm concerned that this rotate effect will add a lot of ambiguity to the existing rotate effect for displays, vectors, and quaternions. I'd like to see the two integrated if possible. I'm also concerned about adding the Rotation class, as I think it will cause confusion with the existing ExprAngle expression. Can we not treat item frames as any other rotatable object and just snap their alignment to 45 degree angles if the rotation would result in something like 60 degrees? |
Co-authored-by: SirSmurfy2 <82696841+Absolutionism@users.noreply.github.com>
…Skript into feature/itemframes
sovdeeth
left a comment
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 concerned that this rotate effect will add a lot of ambiguity to the existing rotate effect for displays, vectors, and quaternions. I'd like to see the two integrated if possible. I'm also concerned about adding the Rotation class, as I think it will cause confusion with the existing ExprAngle expression.
Can we not treat item frames as any other rotatable object and just snap their alignment to 45 degree angles if the rotation would result in something like 60 degrees?
reminder to address/respond to these concerns
They're different rotation objects |
I understand, but the point of my comment is that we shouldn't have two methods of rotating things, one that one works for x and one that only works for y. They should be unified so that all the rotation methods work with everything. |
Can you provide what you vision to have happen about the input of the rotation in the pattern since they're going to be different objects. They won't parse the same. |
|
Description
Improves Item Frames as Snow always wanted.
Sets the entity data pattern to
for more proper support of ItemFrames while also registering ItemFrames as a classinfo for dedicated syntaxes.
Adds org.bukkit.Rotation and a utility effect for easily rotating an expression that returns a rotation and/or itemframes and rotation's self.
Examples:
Target Minecraft Versions: any
Requirements: none
Related Issues: #414 (non-closing) and #2874