From 278bf0118e55fc6451eea1180df0806819892666 Mon Sep 17 00:00:00 2001 From: Nathan Wolf Date: Wed, 13 Jan 2021 12:00:53 -0800 Subject: [PATCH 1/4] Add note about moving to fork --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 5bf6ce34..37fb672d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,14 @@ EffectLib - Manage your effects the nice way. ========= +# Note - Outdated! + +Development of this plugin/lib has been moved to http://github.com/elBukkit/EffectLib/ with much respect and appreciation to Slikey! + +This move was mainly done so the Maven group id could be changed to something that can be verified for submission to Maven central. + +# Introduction + You have no idea what an vector or matrix is, but you want to give your users some nice effects with particles? No problem. this library comes with a load of effects for you. It handles rotation, text-parsing, and creation of 3D objects with particles in Minecraft. - Text-Parsing From bb4841a5ac10577f67408f7f5ba9300f12c415a9 Mon Sep 17 00:00:00 2001 From: Jonathan Leitschuh Date: Thu, 14 Jan 2021 12:00:55 -0500 Subject: [PATCH 2/4] Use HTTPS instead of HTTP to resolve dependencies (#57) This fixes a security vulnerability in this project where the `pom.xml` files were configuring Maven to resolve dependencies over HTTP instead of HTTPS. Signed-off-by: Jonathan Leitschuh Co-authored-by: Nathan Wolf --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c51ce352..c731a1f1 100644 --- a/pom.xml +++ b/pom.xml @@ -34,7 +34,7 @@ maven.elmakers.com - http://maven.elmakers.com/repository/ + https://maven.elmakers.com/repository/ From 746245cae5c635b21d0841900512d6c0f0503b7d Mon Sep 17 00:00:00 2001 From: AnonymousBluejay Date: Mon, 25 Apr 2022 01:16:35 -0700 Subject: [PATCH 3/4] Did a TODO thing --- .../de/slikey/effectlib/util/VectorUtils.java | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/main/java/de/slikey/effectlib/util/VectorUtils.java b/src/main/java/de/slikey/effectlib/util/VectorUtils.java index ef7adb60..bd225304 100644 --- a/src/main/java/de/slikey/effectlib/util/VectorUtils.java +++ b/src/main/java/de/slikey/effectlib/util/VectorUtils.java @@ -36,20 +36,20 @@ public static final Vector rotateAroundAxisZ(Vector v, double angle) { } public static final Vector rotateVector(Vector v, double angleX, double angleY, double angleZ) { - // double x = v.getX(), y = v.getY(), z = v.getZ(); - // double cosX = Math.cos(angleX), sinX = Math.sin(angleX), cosY = - // Math.cos(angleY), sinY = Math.sin(angleY), cosZ = Math.cos(angleZ), - // sinZ = Math.sin(angleZ); - // double nx, ny, nz; - // nx = (x * cosY + z * sinY) * (x * cosZ - y * sinZ); - // ny = (y * cosX - z * sinX) * (x * sinZ + y * cosZ); - // nz = (y * sinX + z * cosX) * (-x * sinY + z * cosY); - // return v.setX(nx).setY(ny).setZ(nz); - // Having some strange behavior up there.. Have to look in it later. TODO - rotateAroundAxisX(v, angleX); - rotateAroundAxisY(v, angleY); - rotateAroundAxisZ(v, angleZ); - return v; + double x = v.getX(), y = v.getY(), z = v.getZ(); + double cosX = Math.cos(angleX), sinX = Math.sin(angleX), + cosY = Math.cos(angleY), sinY = Math.sin(angleY), + cosZ = Math.cos(angleZ), sinZ = Math.sin(angleZ); + double nx, ny, nz; + ny = y * cosX - z * sinX; + nz = y * sinX + z * cosX; + y = ny; z = nz; + nx = x * cosY + z * sinY; + nz = x * -sinY + z* cosY; + x = nx; + nx = x * cosZ - y * sinZ; + ny = x * sinZ + y * cosZ; + return v.setX(nx).setY(ny).setZ(nz); } /** From cd7a8a5fb3e360f5423c8926098528cbe17c607a Mon Sep 17 00:00:00 2001 From: AnonymousBluejay Date: Mon, 25 Apr 2022 01:30:21 -0700 Subject: [PATCH 4/4] Documented Nautilus particle --- src/main/java/de/slikey/effectlib/util/ParticleEffect.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/de/slikey/effectlib/util/ParticleEffect.java b/src/main/java/de/slikey/effectlib/util/ParticleEffect.java index e4b91a7e..5174028b 100755 --- a/src/main/java/de/slikey/effectlib/util/ParticleEffect.java +++ b/src/main/java/de/slikey/effectlib/util/ParticleEffect.java @@ -476,7 +476,10 @@ public enum ParticleEffect { BUBBLE_COLUMN_UP("bubble_column_up"), /** - * TODO: Document me! + * A particle effect which is generated by conduits + *
    + *
  • It looks like a small blue orb with a brown center
  • + *
*/ NAUTILUS("nautilus"),