-
-
Notifications
You must be signed in to change notification settings - Fork 370
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
Add worldborders #7006
base: dev/feature
Are you sure you want to change the base?
Add worldborders #7006
Conversation
src/main/java/ch/njol/skript/expressions/ExprWorldBorderSize.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.
TEST!
src/main/java/ch/njol/skript/conditions/CondIsInsideWorldBorder.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/conditions/CondIsInsideWorldBorder.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/conditions/CondIsInsideWorldBorder.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/expressions/ExprWorldBorderSize.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/expressions/ExprWorldBorderSize.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/expressions/ExprWorldBorderWarningDistance.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/expressions/ExprWorldBorderWarningTime.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/expressions/ExprWorldBorderWarningTime.java
Outdated
Show resolved
Hide resolved
A lot of chez's stuff might of been repeated he beat me ;( |
…order#getMaxCenterCoordinate
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 needs some formatting updates, mainly around annotations!
|
||
@Override | ||
public String toVariableNameString(WorldBorder border) { | ||
return toString(border, 0); |
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.
might want to have a more compressed and guaranteed unique format for variables:
[virtual] worldborder of player/world
for example.
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 not really sure if I can get a player's name/uuid here but I can add the virtual part
src/main/java/ch/njol/skript/classes/data/BukkitEventValues.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/expressions/ExprWorldBorderSize.java
Outdated
Show resolved
Hide resolved
Co-authored-by: sovdee <[email protected]>
Description
Add worldborder syntax to Skript. Continuation of #5229
Player's worldborder is always virtual
Conditions:
Effects:
I don't like the way I am registering the syntax right now with the
of
and's
but I can't think of a different wayEvents:
Expressions:
Sections:
Waiting on Secspressions! #7037
Target Minecraft Versions: any
Requirements: Paper for worldborder events
Related Issues: #5178, #3848