aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/hysky/skyblocker/utils/waypoint
diff options
context:
space:
mode:
authorKevinthegreat <92656833+kevinthegreat1@users.noreply.github.com>2023-12-20 23:00:48 +0800
committerKevinthegreat <92656833+kevinthegreat1@users.noreply.github.com>2023-12-21 09:57:36 +0800
commit66b6be50ed9480d2d6e442c21ad16ed4bd48b2d6 (patch)
tree61d5609bd7ee393a06327d95010dcb44d0becbb4 /src/main/java/de/hysky/skyblocker/utils/waypoint
parent88eb4ce59bead62d86b8cece7a8be8e30a740e01 (diff)
downloadSkyblocker-66b6be50ed9480d2d6e442c21ad16ed4bd48b2d6.tar.gz
Skyblocker-66b6be50ed9480d2d6e442c21ad16ed4bd48b2d6.tar.bz2
Skyblocker-66b6be50ed9480d2d6e442c21ad16ed4bd48b2d6.zip
Render match against command
Diffstat (limited to 'src/main/java/de/hysky/skyblocker/utils/waypoint')
-rw-r--r--src/main/java/de/hysky/skyblocker/utils/waypoint/Waypoint.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/de/hysky/skyblocker/utils/waypoint/Waypoint.java b/src/main/java/de/hysky/skyblocker/utils/waypoint/Waypoint.java
index eb30cf8d..3a1d364f 100644
--- a/src/main/java/de/hysky/skyblocker/utils/waypoint/Waypoint.java
+++ b/src/main/java/de/hysky/skyblocker/utils/waypoint/Waypoint.java
@@ -19,15 +19,15 @@ public class Waypoint {
final boolean throughWalls;
private boolean shouldRender;
- protected Waypoint(BlockPos pos, Supplier<Type> typeSupplier, float[] colorComponents) {
+ public Waypoint(BlockPos pos, Supplier<Type> typeSupplier, float[] colorComponents) {
this(pos, typeSupplier, colorComponents, DEFAULT_HIGHLIGHT_ALPHA, DEFAULT_LINE_WIDTH);
}
- protected Waypoint(BlockPos pos, Type type, float[] colorComponents, float alpha) {
+ public Waypoint(BlockPos pos, Type type, float[] colorComponents, float alpha) {
this(pos, () -> type, colorComponents, alpha, DEFAULT_LINE_WIDTH);
}
- protected Waypoint(BlockPos pos, Supplier<Type> typeSupplier, float[] colorComponents, float alpha, float lineWidth) {
+ public Waypoint(BlockPos pos, Supplier<Type> typeSupplier, float[] colorComponents, float alpha, float lineWidth) {
this(pos, typeSupplier, colorComponents, alpha, lineWidth, true);
}
@@ -35,11 +35,11 @@ public class Waypoint {
this(pos, typeSupplier, colorComponents, DEFAULT_HIGHLIGHT_ALPHA, DEFAULT_LINE_WIDTH, throughWalls);
}
- protected Waypoint(BlockPos pos, Supplier<Type> typeSupplier, float[] colorComponents, float alpha, float lineWidth, boolean throughWalls) {
+ public Waypoint(BlockPos pos, Supplier<Type> typeSupplier, float[] colorComponents, float alpha, float lineWidth, boolean throughWalls) {
this(pos, typeSupplier, colorComponents, alpha, lineWidth, throughWalls, true);
}
- protected Waypoint(BlockPos pos, Supplier<Type> typeSupplier, float[] colorComponents, float alpha, float lineWidth, boolean throughWalls, boolean shouldRender) {
+ public Waypoint(BlockPos pos, Supplier<Type> typeSupplier, float[] colorComponents, float alpha, float lineWidth, boolean throughWalls, boolean shouldRender) {
this.pos = pos;
this.box = new Box(pos);
this.typeSupplier = typeSupplier;