Skip to content

Inline Durability/Damaged Item#7438

Closed
NagasonicDev wants to merge 19 commits intoSkriptLang:dev/featurefrom
NagasonicDev:patch-2
Closed

Inline Durability/Damaged Item#7438
NagasonicDev wants to merge 19 commits intoSkriptLang:dev/featurefrom
NagasonicDev:patch-2

Conversation

@NagasonicDev
Copy link

Description

This PR aims to durability reverse with the ExprDamagedItem class (#6109 )

Notes:

  • Please reply whether to change the name of the class or to create a separate expression.

Target Minecraft Versions: any
Requirements: none
Related Issues: none

Copy link
Contributor

@Fusezion Fusezion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a quick once through

Co-authored-by: Fusezion <fusezionstream@gmail.com>
@NagasonicDev
Copy link
Author

Changes are taken into account, I will fix shortly. Thanks for your review. (I'm not very good with English for the description stuff)

@TheLimeGlass
Copy link
Contributor

Thank you for your first contribution to Skript

NagasonicDev and others added 9 commits January 15, 2025 19:19
Co-authored-by: LimeGlass <16087552+TheLimeGlass@users.noreply.github.com>
Co-authored-by: LimeGlass <16087552+TheLimeGlass@users.noreply.github.com>
Co-authored-by: LimeGlass <16087552+TheLimeGlass@users.noreply.github.com>
Co-authored-by: LimeGlass <16087552+TheLimeGlass@users.noreply.github.com>
Co-authored-by: LimeGlass <16087552+TheLimeGlass@users.noreply.github.com>
Co-authored-by: LimeGlass <16087552+TheLimeGlass@users.noreply.github.com>
Why remove the '@'?

Co-authored-by: LimeGlass <16087552+TheLimeGlass@users.noreply.github.com>
Co-authored-by: LimeGlass <16087552+TheLimeGlass@users.noreply.github.com>
@NagasonicDev
Copy link
Author

That should fix everything. No unused imports. Only things that need to be checked are the @Since and the deprecation warning, as I'm not sure whether the language is right.

Copy link
Member

@Efnilite Efnilite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be good after this

@Efnilite Efnilite added the enhancement Feature request, an issue about something that could be improved, or a PR improving something. label Jan 15, 2025
NagasonicDev and others added 5 commits January 15, 2025 21:24
Co-authored-by: LimeGlass <16087552+TheLimeGlass@users.noreply.github.com>
Co-authored-by: Efnilite <35348263+Efnilite@users.noreply.github.com>
Co-authored-by: Efnilite <35348263+Efnilite@users.noreply.github.com>
Co-authored-by: Efnilite <35348263+Efnilite@users.noreply.github.com>
@NagasonicDev NagasonicDev requested a review from Efnilite January 15, 2025 10:28
Copy link
Member

@sovdeeth sovdeeth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs tests

Comment on lines +52 to +54
if (matchedPattern == 0) {
Skript.warning("Data value is deprecated and is only used in older Minecraft versions that do not support this Skript version.");
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this needs to check they actually used 'data' and didn't just use with damage 5

@skriptlang-automation skriptlang-automation bot added needs reviews A PR that needs additional reviews and removed needs reviews A PR that needs additional reviews labels May 15, 2025
@sovdeeth
Copy link
Member

sovdeeth commented Jun 3, 2025

Do you still intend to work on this?

@sovdeeth
Copy link
Member

sovdeeth commented Jul 2, 2025

Closing due to inactivity

@sovdeeth sovdeeth closed this Jul 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Feature request, an issue about something that could be improved, or a PR improving something.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants