Skip to content

Commit

Permalink
Removed unused apis and cleaned code
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocelot5836 committed Feb 16, 2025
1 parent 2947f8e commit aeebe58
Show file tree
Hide file tree
Showing 21 changed files with 238 additions and 1,610 deletions.
69 changes: 0 additions & 69 deletions common/src/main/java/foundry/veil/api/client/anim/Frame.java

This file was deleted.

27 changes: 0 additions & 27 deletions common/src/main/java/foundry/veil/api/client/anim/Keyframe.java

This file was deleted.

158 changes: 0 additions & 158 deletions common/src/main/java/foundry/veil/api/client/anim/Path.java

This file was deleted.

20 changes: 10 additions & 10 deletions common/src/main/java/foundry/veil/api/client/color/ColorTheme.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ public class ColorTheme {
addColor("bottomBorder", Color.VANILLA_TOOLTIP_BORDER_BOTTOM);
}};

private final Map<String, Color> colors = new HashMap<>();
private final Map<String, Colorc> colors = new HashMap<>();
private final Map<String, IThemeProperty<?>> properties = new HashMap<>();

public ColorTheme() {
}

public ColorTheme(Color... colors) {
for (Color color : colors) {
public ColorTheme(Colorc... colors) {
for (Colorc color : colors) {
this.addColor(color);
}
}
Expand Down Expand Up @@ -62,19 +62,19 @@ public void clearProperties() {
this.properties.clear();
}

public void addColor(@Nullable String name, Color color) {
public void addColor(@Nullable String name, Colorc color) {
this.colors.put(name, color);
}

public void addColor(Color color) {
public void addColor(Colorc color) {
this.colors.put(null, color);
}

public Color getColor(@Nullable String name) {
public Colorc getColor(@Nullable String name) {
return this.colors.get(name);
}

public Color getColor() {
public Colorc getColor() {
return this.colors.get(null);
}

Expand All @@ -94,11 +94,11 @@ public List<String> getNames() {
return this.colors.keySet().stream().filter(Objects::nonNull).toList();
}

public List<Color> getColors() {
return (List<Color>) this.colors.values();
public List<Colorc> getColors() {
return (List<Colorc>) this.colors.values();
}

public Map<String, Color> getColorsMap() {
public Map<String, Colorc> getColorsMap() {
return this.colors;
}
}
23 changes: 0 additions & 23 deletions common/src/main/java/foundry/veil/api/client/color/Filter.java

This file was deleted.

Loading

0 comments on commit aeebe58

Please sign in to comment.