-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
Minecraft Tags #7127
base: dev/feature
Are you sure you want to change the base?
Minecraft Tags #7127
Conversation
src/main/java/org/skriptlang/skript/bukkit/tags/CondIsTagged.java
Outdated
Show resolved
Hide resolved
src/main/java/org/skriptlang/skript/bukkit/tags/ExprTagContents.java
Outdated
Show resolved
Hide resolved
src/main/java/org/skriptlang/skript/bukkit/tags/ExprTagContents.java
Outdated
Show resolved
Hide resolved
src/main/java/org/skriptlang/skript/bukkit/tags/ExprTagContents.java
Outdated
Show resolved
Hide resolved
src/main/java/org/skriptlang/skript/bukkit/tags/CondIsTagged.java
Outdated
Show resolved
Hide resolved
paper's material/entity tags, get all tags of something
… into feature/block-tags
Tests are kept deliberately small due to the volatile nature of tag contents.
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.
Excellent work and great use of a module. Here's what I found.
src/main/java/org/skriptlang/skript/bukkit/tags/elements/ExprTagsOf.java
Outdated
Show resolved
Hide resolved
src/main/java/org/skriptlang/skript/bukkit/tags/elements/ExprTagsOf.java
Show resolved
Hide resolved
src/main/java/org/skriptlang/skript/bukkit/tags/elements/ExprTagsOfType.java
Outdated
Show resolved
Hide resolved
src/main/java/org/skriptlang/skript/bukkit/tags/elements/ExprTagsOfType.java
Show resolved
Hide resolved
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 very good
src/main/java/org/skriptlang/skript/bukkit/tags/sources/TagOrigin.java
Outdated
Show resolved
Hide resolved
src/main/java/org/skriptlang/skript/bukkit/tags/sources/TagOrigin.java
Outdated
Show resolved
Hide resolved
src/main/java/org/skriptlang/skript/bukkit/tags/elements/ExprTagsOfType.java
Outdated
Show resolved
Hide resolved
src/main/java/org/skriptlang/skript/bukkit/tags/elements/CondIsTagged.java
Show resolved
Hide resolved
src/main/java/org/skriptlang/skript/bukkit/tags/elements/EffRegisterTag.java
Outdated
Show resolved
Hide resolved
src/main/java/org/skriptlang/skript/bukkit/tags/elements/EffRegisterTag.java
Outdated
Show resolved
Hide resolved
src/main/java/org/skriptlang/skript/bukkit/tags/elements/ExprTagContents.java
Outdated
Show resolved
Hide resolved
c282a4a
to
cd6e699
Compare
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.
Should be just about ready
src/main/java/org/skriptlang/skript/bukkit/tags/sources/SkriptTagSource.java
Outdated
Show resolved
Hide resolved
src/main/java/org/skriptlang/skript/bukkit/tags/elements/ExprTagsOfType.java
Outdated
Show resolved
Hide resolved
src/main/java/org/skriptlang/skript/bukkit/tags/elements/ExprTagContents.java
Outdated
Show resolved
Hide resolved
src/main/java/org/skriptlang/skript/bukkit/tags/TagRegistry.java
Outdated
Show resolved
Hide resolved
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.
tags. brexit. get it done.
Co-authored-by: Efnilite <35348263+Efnilite@users.noreply.github.com>
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.
excellent work
/** | ||
* @return Skript tag source for item contexts | ||
*/ | ||
public static SkriptTagSource<Material> ITEMS() { |
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.
Should these methods be named as items
, blocks
, entities
?
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.
you tell me
i like caps but it's probably not code standards
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.
Isn't static final caps? Not just static
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.
for fields yes
Co-authored-by: Patrick Miller <apickledwalrus@gmail.com>
Description
Adds support for minecraft's tag system.
Currently supports block, item, and entity type tags. Fluid and GameEvent are simple to add, but Fluid is useless and GameEvent is not in Skript just yet.
paper:name_settag
naturally. This converts them so the user sees and usespaper:name
.paper tag "wooden_doors"
to resolve topaper:wooden_doors
.Target Minecraft Versions: any
Requirements: none
Related Issues: #4924