PlaySound in volmitsender

This commit is contained in:
CocoTheOwner
2021-08-17 18:04:09 +02:00
parent 7d859661ba
commit 198820d95d
6 changed files with 141 additions and 5 deletions

View File

@@ -33,6 +33,15 @@ import org.bukkit.util.BlockVector;
import org.bukkit.util.Vector;
public class VectorHandler implements DecreeParameterHandler<Vector> {
private static final KList<String> randoms = new KList<>(
"here",
"0,0,0",
"0,0",
"look",
"player:<name>"
);
@Override
public KList<Vector> getPossibilities() {
KList<Vector> vx = new KList<>();
@@ -107,6 +116,6 @@ public class VectorHandler implements DecreeParameterHandler<Vector> {
@Override
public String getRandomDefault() {
return M.r(0.5) ? "0,0" : "0,0,0";
return randoms.getRandom();
}
}