diff --git a/src/main/java/org/saturnclient/client/ServiceClient.java b/src/main/java/org/saturnclient/client/ServiceClient.java new file mode 100644 index 0000000..c5a7cf4 --- /dev/null +++ b/src/main/java/org/saturnclient/client/ServiceClient.java @@ -0,0 +1,198 @@ +package org.saturnclient.client; + +import java.util.UUID; +import java.util.ArrayList; +import java.util.List; +import java.util.concurrent.TimeUnit; + +import org.saturnclient.client.player.SaturnPlayer; +import org.saturnclient.common.minecraft.bindings.SaturnClientBindings; + +import dev.selimaj.session.Session; + +public class ServiceClient { + private static Session session; + public static UUID uuid; + + public static final List availableCloaks = new ArrayList<>(); + public static final List availableHats = new ArrayList<>(); + + public static boolean connectTimeout() { + try { + session = Session.connect("wss://saturn-server.selimaj.dev", 10, TimeUnit.SECONDS); + return true; + } catch (Exception e) { + return false; + } + } + + public static boolean authenticate() { + SaturnClientBindings.platform().onClientStopping(() -> { + if (session != null) { + try { + session.close(); + } catch (Exception e) { + SaturnClientBindings.platform().logError("Unable to close Saturn session", e); + } + } + }); + + try { + String accessToken = SaturnClientBindings.platform().getAccessToken(); + uuid = SaturnClientBindings.platform().getUuid(); + String username = SaturnClientBindings.platform().getUsername(); + + if (accessToken == null || uuid == null || username == null) { + SaturnClientBindings.platform().logError("No active Minecraft session found"); + return false; + } + + SaturnClientBindings.platform().logInfo("Authenticating with UUID: " + uuid); + + if (!connectTimeout()) { + SaturnClientBindings.platform().logError("Unable to authenticate: Session Server Timeout"); + return false; + } + + ServiceMethods.Types.Player response = session.request(ServiceMethods.Authenticate, accessToken) + .get(); + + for (String availableCloak : response.cloaks()) { + availableCloaks.add(availableCloak); + } + + for (String availableHat : response.hats()) { + availableHats.add(availableHat); + } + + eventHandlers(); + + SaturnPlayer.set(new SaturnPlayer(uuid, username, response.cloak(), response.hat())); + + return true; + } catch (Exception e) { + SaturnClientBindings.platform().logError("Authentication failed", e); + return false; + } + } + + public static void setCloak(String itemId) { + try { + session.request(ServiceMethods.SetCloak, itemId).whenComplete((msg, throwable) -> { + if (throwable != null) { + throwable.printStackTrace(); + } else { + try { + session.request(ServiceMethods.SendPlayer, + new ServiceMethods.Types.SendPlayerRequest(SaturnPlayer.getExternalUUIDAsString())); + } catch (Exception e) { + e.printStackTrace(); + } + } + }); + } catch (Exception e) { + SaturnClientBindings.platform().logError("Failed to set cloak (service): ", e); + } + } + + public static void setHat(String itemId) { + try { + session.request(ServiceMethods.SetHat, itemId).whenComplete((msg, throwable) -> { + if (throwable != null) { + throwable.printStackTrace(); + } else { + try { + session.request(ServiceMethods.SendPlayer, + new ServiceMethods.Types.SendPlayerRequest(SaturnPlayer.getExternalUUIDAsString())); + } catch (Exception e) { + e.printStackTrace(); + } + } + }); + } catch (Exception e) { + SaturnClientBindings.platform().logError("Failed to set hat (service): ", e); + } + } + + public static void buyCloak(String itemId) { + try { + session.request(ServiceMethods.BuyCloak, itemId).whenComplete((msg, throwable) -> { + if (throwable != null) { + throwable.printStackTrace(); + } else { + availableCloaks.add(itemId); + } + }); + } catch (Exception e) { + SaturnClientBindings.platform().logError("Failed to buy cloak (service): ", e); + } + } + + public static void buyHat(String itemId) { + try { + session.request(ServiceMethods.BuyHat, itemId).whenComplete((msg, throwable) -> { + if (throwable != null) { + throwable.printStackTrace(); + } else { + availableHats.add(itemId); + } + }); + } catch (Exception e) { + SaturnClientBindings.platform().logError("Failed to buy hat (service): ", e); + } + } + + public static void emote(String emote) { + try { + session.request(ServiceMethods.Emote, + new ServiceMethods.Types.EmoteRequest(emote, SaturnPlayer.getExternalUUIDAsString())) + .whenComplete((msg, throwable) -> { + if (throwable != null) { + throwable.printStackTrace(); + } + }); + } catch (Exception e) { + SaturnClientBindings.platform().logError("Failed to emote (service): ", e); + } + } + + public static void eventHandlers() { + session.onNotification(ServiceMethods.EmoteEvent, (data) -> { + if (data == null) { + return; + } + UUID from; + try { + from = UUID.fromString(data.from()); + } catch (Exception e) { + return; + } + + if (data.emote() != null && !data.emote().isEmpty()) { + SaturnClientBindings.emotes().setEmote(from, data.emote()); + } else { + SaturnClientBindings.emotes().setEmote(from, null); + } + }); + + session.onNotification(ServiceMethods.Player, (player) -> { + System.out.println(player); + SaturnPlayer.set(player.toSaturnPlayer()); + }); + } + + public static void player(UUID uuid, String name) { + try { + session.request(ServiceMethods.GetPlayer, uuid.toString()) + .whenComplete((user, throwable) -> { + if (throwable != null) { + throwable.printStackTrace(); + } else if (user != null) { + SaturnPlayer.set(user.toSaturnPlayer(uuid, name)); + } + }); + } catch (Exception e) { + SaturnClientBindings.platform().logError("Failed to get player", e); + } + } +} diff --git a/src/main/java/org/saturnclient/client/ServiceMethods.java b/src/main/java/org/saturnclient/client/ServiceMethods.java new file mode 100644 index 0000000..ac77b4e --- /dev/null +++ b/src/main/java/org/saturnclient/client/ServiceMethods.java @@ -0,0 +1,113 @@ +package org.saturnclient.client; + +import java.util.UUID; + +import org.saturnclient.client.ServiceMethods.Types.SendPlayerRequest; +import org.saturnclient.client.player.SaturnPlayer; + +import dev.selimaj.session.types.Method; + +public class ServiceMethods { + + // ========================= + // Types (Rust structs) + // ========================= + public static class Types { + + public record EmoteRequest(String emote, String[] targets) { + } + + public record EmoteEvent(String emote, String from) { + } + + public record Player( + String cloak, + String hat, + String[] cloaks, + String[] hats) { + public SaturnPlayer toSaturnPlayer(UUID uuid, String name) { + return new SaturnPlayer(uuid, name, cloak, hat); + } + } + + public record PlayerStream(Player player, String name, String uuid) { + public SaturnPlayer toSaturnPlayer() { + return new SaturnPlayer(UUID.fromString(uuid), name, this.player.cloak, this.player.hat); + } + } + + public record SendPlayerRequest(String[] targets) { + } + } + + // ========================= + // AUTH + // ========================= + public static final Method Authenticate = new Method<>("auth", + String.class, + Types.Player.class, + String.class); + + // ========================= + // EQUIP + // ========================= + public static final Method SetCloak = new Method<>("set_cloak", + String.class, + String.class, + String.class); + + public static final Method SetHat = new Method<>("set_hat", + String.class, + String.class, + String.class); + + // ========================= + // BUY + // ========================= + public static final Method BuyCloak = new Method<>("buy_cloak", + String.class, + String.class, + String.class); + + public static final Method BuyHat = new Method<>("buy_hat", + String.class, + String.class, + String.class); + + // ========================= + // EMOTE + // ========================= + public static final Method Emote = new Method<>("emote", + Types.EmoteRequest.class, + Void.class, + String.class); + + public static final Method EmoteEvent = new Method<>("emote_event", + Types.EmoteEvent.class, + Void.class, + Void.class); + + // ========================= + // GET PLAYER + // ========================= + public static final Method GetPlayer = new Method<>("get_player", + String.class, + Types.Player.class, + String.class); + + // ========================= + // PLAYER (Server Notification) + // ========================= + public static final Method Player = new Method<>("player", + Types.PlayerStream.class, + Void.class, + Void.class); + + // ========================= + // SEND PLAYER + // ========================= + public static final Method SendPlayer = new Method<>("send_player", + SendPlayerRequest.class, + Void.class, + String.class); +} diff --git a/src/main/java/org/saturnclient/client/player/Roles.java b/src/main/java/org/saturnclient/client/player/Roles.java new file mode 100644 index 0000000..38f4bc8 --- /dev/null +++ b/src/main/java/org/saturnclient/client/player/Roles.java @@ -0,0 +1,59 @@ +package org.saturnclient.client.player; + +import java.util.Map; +import java.util.UUID; + +import org.saturnclient.config.Config; + +public class Roles { + static enum Role { + OWNER, + ADMIN, + PARTNER, + CONTRIBUTOR + } + + private static final Map ROLES = Map.of( + UUID.fromString("d362a042-28bd-49e1-a807-ae74dbe8aba9"), + Role.OWNER, + UUID.fromString("d8dc7023-179b-4460-bcf6-493fbf1289a6"), + Role.CONTRIBUTOR); + + /* + * Gets the icon color of a specific individual, here are the different colors + * + * - Owner: Dark Red + * - Admin: Red + * - Partners: Gold + * - Contributor: Aqua + * - Other/player: White + */ + public static int getIconColor(UUID uuid) { + Role role = ROLES.get(uuid); + + if (role == null) { + return 0xFFFFFF; + } + + switch (role) { + case OWNER: + return 0xAA0000; + + case ADMIN: + return 0xFF5555; + + case PARTNER: + return 0xFFAA00; + + case CONTRIBUTOR: + return 0x55FFFF; + + default: + return 0xFFFFFF; + } + } + + public static String getSaturnIndicator() { + return Config.realisticLogo.value ? "\uE003" : "\uE002"; + } +} diff --git a/src/main/java/org/saturnclient/client/player/SaturnPlayer.java b/src/main/java/org/saturnclient/client/player/SaturnPlayer.java new file mode 100644 index 0000000..dce3337 --- /dev/null +++ b/src/main/java/org/saturnclient/client/player/SaturnPlayer.java @@ -0,0 +1,55 @@ +package org.saturnclient.client.player; + +import java.util.HashMap; +import java.util.Map; +import java.util.UUID; + +import org.saturnclient.common.minecraft.bindings.SaturnClientBindings; + +public class SaturnPlayer { + private static Map PLAYERS = new HashMap<>(); + private static Map PLAYER_NAMES = new HashMap<>(); + + public String cloak = ""; + public String hat = ""; + public final UUID uuid; + public final String name; + + public SaturnPlayer(UUID uuid, String name, String cloak, String hat) { + this.cloak = cloak; + this.hat = hat; + this.uuid = uuid; + this.name = name; + } + + public static SaturnPlayer get() { + UUID self = SaturnClientBindings.platform().getUuid(); + if (self == null) { + return null; + } + return PLAYERS.get(self); + } + + public static SaturnPlayer get(UUID uuid) { + return PLAYERS.get(uuid); + } + + public static SaturnPlayer get(String name) { + UUID uuid = PLAYER_NAMES.get(name); + if (uuid == null) + return null; + return PLAYERS.get(uuid); + } + + public static void set(SaturnPlayer player) { + PLAYER_NAMES.put(player.name, player.uuid); + PLAYERS.put(player.uuid, player); + } + + public static String[] getExternalUUIDAsString() { + UUID self = SaturnClientBindings.platform().getUuid(); + return PLAYERS.keySet().stream().filter(id -> self == null || !id.equals(self)).map(UUID::toString) + .toArray(String[]::new); + } + +} diff --git a/src/main/java/org/saturnclient/common/Common.java b/src/main/java/org/saturnclient/common/Common.java deleted file mode 100644 index 3b3dd76..0000000 --- a/src/main/java/org/saturnclient/common/Common.java +++ /dev/null @@ -1,5 +0,0 @@ -package org.saturnclient.common; - -public class Common { - -} diff --git a/src/main/java/org/saturnclient/common/minecraft/IMinecraftClient.java b/src/main/java/org/saturnclient/common/minecraft/IMinecraftClient.java new file mode 100644 index 0000000..c429de9 --- /dev/null +++ b/src/main/java/org/saturnclient/common/minecraft/IMinecraftClient.java @@ -0,0 +1,16 @@ +package org.saturnclient.common.minecraft; + +import java.io.File; +import java.io.InputStream; + +import org.saturnclient.common.minecraft.bindings.SaturnIdentifier; +import org.saturnclient.common.minecraft.render.IWindow; + +public interface IMinecraftClient { + + public File getRunDirectory(); + + public InputStream getResource(SaturnIdentifier identifier); + + public IWindow getWindow(); +} diff --git a/src/main/java/org/saturnclient/common/minecraft/MinecraftBinding.java b/src/main/java/org/saturnclient/common/minecraft/MinecraftBinding.java new file mode 100644 index 0000000..7f96808 --- /dev/null +++ b/src/main/java/org/saturnclient/common/minecraft/MinecraftBinding.java @@ -0,0 +1,18 @@ +package org.saturnclient.common.minecraft; + +public class MinecraftBinding { + public Object inner; + + public MinecraftBinding(Object binding) { + this.inner = binding; + } + + @SuppressWarnings("unchecked") + public T get() { + try { + return (T) inner; + } catch (ClassCastException e) { + return null; + } + } +} diff --git a/src/main/java/org/saturnclient/common/minecraft/MinecraftProvider.java b/src/main/java/org/saturnclient/common/minecraft/MinecraftProvider.java new file mode 100644 index 0000000..8d65972 --- /dev/null +++ b/src/main/java/org/saturnclient/common/minecraft/MinecraftProvider.java @@ -0,0 +1,34 @@ +package org.saturnclient.common.minecraft; + +import org.saturnclient.common.minecraft.bindings.SaturnIdentifier; +import org.saturnclient.ui.SaturnScreen; + +import java.awt.image.BufferedImage; + +public abstract class MinecraftProvider { + public static MinecraftProvider PROVIDER; + + public static enum MinecraftScreen { + SelectWorld, + Multiplayer, + Options + } + + public abstract IMinecraftClient getClient(); + + public abstract void setScreen(SaturnScreen screen); + + public abstract void setScreen(MinecraftScreen screen); + + public abstract Object createIdentifier(String namespace, String path); + + public abstract boolean isKeyPressed(int key); + + public abstract int getWidth(String text, int font); + + public abstract void registerBufferedImageTexture(SaturnIdentifier i, BufferedImage bi); + + public abstract String getKeyName(int key); + + public abstract void stop(); +} diff --git a/src/main/java/org/saturnclient/common/minecraft/bindings/SaturnClientBindings.java b/src/main/java/org/saturnclient/common/minecraft/bindings/SaturnClientBindings.java new file mode 100644 index 0000000..cbec7a5 --- /dev/null +++ b/src/main/java/org/saturnclient/common/minecraft/bindings/SaturnClientBindings.java @@ -0,0 +1,31 @@ +package org.saturnclient.common.minecraft.bindings; + +public final class SaturnClientBindings { + private static SaturnPlatformBindings platform; + private static SaturnEmoteBindings emotes; + + private SaturnClientBindings() { + } + + public static void setPlatform(SaturnPlatformBindings bindings) { + platform = bindings; + } + + public static SaturnPlatformBindings platform() { + if (platform == null) { + throw new IllegalStateException("SaturnPlatformBindings not initialized"); + } + return platform; + } + + public static void setEmotes(SaturnEmoteBindings bindings) { + emotes = bindings; + } + + public static SaturnEmoteBindings emotes() { + if (emotes == null) { + throw new IllegalStateException("SaturnEmoteBindings not initialized"); + } + return emotes; + } +} diff --git a/src/main/java/org/saturnclient/common/minecraft/bindings/SaturnEmoteBindings.java b/src/main/java/org/saturnclient/common/minecraft/bindings/SaturnEmoteBindings.java new file mode 100644 index 0000000..e987f70 --- /dev/null +++ b/src/main/java/org/saturnclient/common/minecraft/bindings/SaturnEmoteBindings.java @@ -0,0 +1,7 @@ +package org.saturnclient.common.minecraft.bindings; + +import java.util.UUID; + +public interface SaturnEmoteBindings { + void setEmote(UUID fromPlayerUuid, String emoteIdOrNull); +} diff --git a/src/main/java/org/saturnclient/common/minecraft/bindings/SaturnIdentifier.java b/src/main/java/org/saturnclient/common/minecraft/bindings/SaturnIdentifier.java new file mode 100644 index 0000000..efcc765 --- /dev/null +++ b/src/main/java/org/saturnclient/common/minecraft/bindings/SaturnIdentifier.java @@ -0,0 +1,33 @@ +package org.saturnclient.common.minecraft.bindings; + +import org.saturnclient.common.minecraft.MinecraftBinding; +import org.saturnclient.common.minecraft.MinecraftProvider; + +public class SaturnIdentifier extends MinecraftBinding { + public SaturnIdentifier(String namespace, String path) { + super(MinecraftProvider.PROVIDER.createIdentifier(namespace, path)); + } + + public SaturnIdentifier(Object o) { + super(o); + } + + public static SaturnIdentifier of(String namespace, String path) { + return new SaturnIdentifier(namespace, path); + } + + public static SaturnIdentifier of(String fullPath) { + String[] p = fullPath.split(":", 2); + + return new SaturnIdentifier(p[0], p[1]); + } + + public static SaturnIdentifier ofVanilla(String path) { + return new SaturnIdentifier("minecraft", path); + } + + @Override + public String toString() { + return this.inner.toString(); + } +} diff --git a/src/main/java/org/saturnclient/common/minecraft/bindings/SaturnItemStack.java b/src/main/java/org/saturnclient/common/minecraft/bindings/SaturnItemStack.java new file mode 100644 index 0000000..664cc97 --- /dev/null +++ b/src/main/java/org/saturnclient/common/minecraft/bindings/SaturnItemStack.java @@ -0,0 +1,9 @@ +package org.saturnclient.common.minecraft.bindings; + +import org.saturnclient.common.minecraft.MinecraftBinding; + +public class SaturnItemStack extends MinecraftBinding { + public SaturnItemStack(Object binding) { + super(binding); + } +} diff --git a/src/main/java/org/saturnclient/common/minecraft/bindings/SaturnPlatformBindings.java b/src/main/java/org/saturnclient/common/minecraft/bindings/SaturnPlatformBindings.java new file mode 100644 index 0000000..46ba569 --- /dev/null +++ b/src/main/java/org/saturnclient/common/minecraft/bindings/SaturnPlatformBindings.java @@ -0,0 +1,19 @@ +package org.saturnclient.common.minecraft.bindings; + +import java.util.UUID; + +public interface SaturnPlatformBindings { + String getAccessToken(); + + UUID getUuid(); + + String getUsername(); + + void onClientStopping(Runnable handler); + + void logInfo(String message); + + void logError(String message); + + void logError(String message, Throwable throwable); +} diff --git a/src/main/java/org/saturnclient/common/minecraft/bindings/SaturnQuaternionf.java b/src/main/java/org/saturnclient/common/minecraft/bindings/SaturnQuaternionf.java new file mode 100644 index 0000000..deba303 --- /dev/null +++ b/src/main/java/org/saturnclient/common/minecraft/bindings/SaturnQuaternionf.java @@ -0,0 +1,9 @@ +package org.saturnclient.common.minecraft.bindings; + +import org.saturnclient.common.minecraft.MinecraftBinding; + +public class SaturnQuaternionf extends MinecraftBinding { + public SaturnQuaternionf(Object o) { + super(o); + } +} diff --git a/src/main/java/org/saturnclient/common/minecraft/bindings/SaturnSprite.java b/src/main/java/org/saturnclient/common/minecraft/bindings/SaturnSprite.java new file mode 100644 index 0000000..0db35df --- /dev/null +++ b/src/main/java/org/saturnclient/common/minecraft/bindings/SaturnSprite.java @@ -0,0 +1,9 @@ +package org.saturnclient.common.minecraft.bindings; + +import org.saturnclient.common.minecraft.MinecraftBinding; + +public class SaturnSprite extends MinecraftBinding { + public SaturnSprite(Object binding) { + super(binding); + } +} diff --git a/src/main/java/org/saturnclient/common/minecraft/render/IMatrixStack.java b/src/main/java/org/saturnclient/common/minecraft/render/IMatrixStack.java new file mode 100644 index 0000000..a588891 --- /dev/null +++ b/src/main/java/org/saturnclient/common/minecraft/render/IMatrixStack.java @@ -0,0 +1,25 @@ +package org.saturnclient.common.minecraft.render; + +import org.saturnclient.common.minecraft.bindings.SaturnQuaternionf; + +public interface IMatrixStack { + public void translate(double x, double y, double z); + + public void translate(float x, float y, float z); + + public void scale(float x, float y, float z); + + public void multiply(SaturnQuaternionf quaternion); + + public void multiply(SaturnQuaternionf quaternion, float originX, float originY, float originZ); + + public void push(); + + public void pop(); + + public Object peek(); + + public boolean isEmpty(); + + public void loadIdentity(); +} diff --git a/src/main/java/org/saturnclient/common/minecraft/render/IWindow.java b/src/main/java/org/saturnclient/common/minecraft/render/IWindow.java new file mode 100644 index 0000000..c90b456 --- /dev/null +++ b/src/main/java/org/saturnclient/common/minecraft/render/IWindow.java @@ -0,0 +1,11 @@ +package org.saturnclient.common.minecraft.render; + +public interface IWindow { + public int getWidth(); + + public int getHeight(); + + public int getFramebufferWidth(); + + public int getFramebufferHeight(); +} diff --git a/src/main/java/org/saturnclient/config/AnimationConfig.java b/src/main/java/org/saturnclient/config/AnimationConfig.java new file mode 100644 index 0000000..615b5c3 --- /dev/null +++ b/src/main/java/org/saturnclient/config/AnimationConfig.java @@ -0,0 +1,55 @@ +package org.saturnclient.config; + +import org.saturnclient.config.manager.ConfigManager; +import org.saturnclient.config.manager.Property; + +public class AnimationConfig { + public static ConfigManager config; + + // Logo + public static final AnimationConfig logo = new AnimationConfig(true, 700, 0); + + // Main menu + public static final AnimationConfig mainMenu = new AnimationConfig(true, 700, 120); + + // Mod menu + public static final AnimationConfig modMenu = new AnimationConfig(true, 700, 20); + + // Shift menu + public static final AnimationConfig shiftMenu = new AnimationConfig(true, 700, 100); + + // Cosmetics menu + public static final AnimationConfig cosmeticsMenu = new AnimationConfig(true, 700, 40); + + // Emote wheel + public static final AnimationConfig emoteWheel = new AnimationConfig(true, 700, 40); + + public static void init(ConfigManager parent) { + config = new ConfigManager(parent, "Animations"); + + logo.init("Logo"); + mainMenu.init("Main Menu"); + modMenu.init("Mod Menu"); + shiftMenu.init("Shift Menu"); + cosmeticsMenu.init("Cosmetics Menu"); + emoteWheel.init("Emote Wheel"); + } + + // Animation properties + public final Property duration; + public final Property stagger; + public final Property curve; + + public AnimationConfig(boolean enabled, int delay, int stagger) { + this.duration = Property.integer(delay); + this.stagger = Property.integer(stagger); + this.curve = Property.select(1, "Ease In Out Cubic", "Ease Out Cubic", "Ease In Out Back"); + } + + public void init(String name) { + // config.property("Enable " + name + " Animations", this.enabled); + config.property(name + " Duration", this.duration); + config.property(name + " Stagger", this.stagger); + config.property(name + " Curve", this.curve); + } +} diff --git a/src/main/java/org/saturnclient/config/Config.java b/src/main/java/org/saturnclient/config/Config.java new file mode 100644 index 0000000..d30852a --- /dev/null +++ b/src/main/java/org/saturnclient/config/Config.java @@ -0,0 +1,41 @@ +package org.saturnclient.config; + +import java.io.File; + +import org.saturnclient.common.minecraft.MinecraftProvider; +import org.saturnclient.common.minecraft.bindings.SaturnIdentifier; +import org.saturnclient.config.manager.ConfigManager; +import org.saturnclient.config.manager.Key; +import org.saturnclient.config.manager.Property; +import org.saturnclient.ui.resources.Textures; + +public class Config { + public static ConfigManager config; + + public static Property realisticLogo = Property.bool(false); + public static Property saturnTitleScreen = Property.bool(true); + public static Property cloakPhysics = Property.bool(true); + public static Property openEmoteWheel = Property.keybinding(Key.GLFW_KEY_B); + public static Property stagger = Property.bool(true); + + public static SaturnIdentifier getLogo() { + return realisticLogo.value ? Textures.REALISTIC_LOGO : Textures.LOGO; + } + + public static void init() { + File configFile = new File(MinecraftProvider.PROVIDER.getClient().getRunDirectory(), "saturn.json"); + config = new ConfigManager(configFile, "Saturn Client"); + + config.property("Realistic logo", realisticLogo); + config.property("Saturn client title screen", saturnTitleScreen); + config.property("Open Emote Wheel", openEmoteWheel); + config.property("Cloak Physics", cloakPhysics); + config.property("Stagger Animations", stagger); + + // Initialize a sub namespace for theme + Theme.init(config); + + // Initialize a sub namespace for animations + AnimationConfig.init(config); + } +} diff --git a/src/main/java/org/saturnclient/config/Theme.java b/src/main/java/org/saturnclient/config/Theme.java new file mode 100644 index 0000000..e1042a8 --- /dev/null +++ b/src/main/java/org/saturnclient/config/Theme.java @@ -0,0 +1,91 @@ +package org.saturnclient.config; + +import org.saturnclient.config.manager.ConfigManager; +import org.saturnclient.config.manager.Property; + +public class Theme { + // Main UI background (slightly warm dark to match Saturn tone) + public static final Property BACKGROUND = Property.color(0xFF12100D); + + // Default text color + public static final Property FOREGROUND = Property.color(0xFFF2E6D2); + + // Widget default background (normal state) + public static final Property PRIMARY = Property.color(0xFF1C1915); + + // Widget text color + public static final Property PRIMARY_FG = Property.color(0xFFEAD9B8); + + // Saturn brand color (hovered / enabled / selected) + public static final Property ACCENT = Property.color(0xFFE2BF7D); + + // Text/icons shown on accent background + public static final Property ACCENT_FG = Property.color(0xFF1A140A); + + // Misc colors + public static final Property SCROLL = Property.color(0xFFE2BF7D); + + // UI metrics + public static final Property BG_RADIUS = Property.integer(12); + public static final Property WIDGET_RADIUS = Property.integer(10); + + // Font + public static final Property FONT = Property.font(2); + + public static void init(ConfigManager parent) { + ConfigManager config = new ConfigManager(parent, "UI Style"); + config.property("Background", BACKGROUND); + config.property("Foreground", FOREGROUND); + config.property("Primary", PRIMARY); + config.property("Primary Foreground", PRIMARY_FG); + config.property("Accent", ACCENT); + config.property("Accent Foreground", ACCENT_FG); + config.property("Scrollbar Color", SCROLL); + + config.property("Background Radius", BG_RADIUS); + config.property("Widget Radius", WIDGET_RADIUS); + + config.property("Font", FONT); + } + + /** + * primary by default, accent if true + */ + public static int getBg(boolean hover) { + return hover ? ACCENT.value : PRIMARY.value; + } + + /** + * (Foreground) primary by default, accent if true + */ + public static int getFg(boolean hover) { + return hover ? ACCENT_FG.value : PRIMARY_FG.value; + } + + /** + * Multiplies existing alpha with 0–255 alpha. + */ + public static int withAlpha(int alpha, int color) { + alpha = Math.max(0, Math.min(255, alpha)); + + int originalAlpha = (color >>> 24) & 0xFF; + + // Merge (multiply) alphas + int merged = (originalAlpha * alpha) / 255; + + return (color & 0x00FFFFFF) | (merged << 24); + } + + /** + * Multiplies existing alpha with 0.0–1.0 alpha. + */ + public static int withAlpha(float alpha, int color) { + alpha = Math.max(0f, Math.min(1f, alpha)); + + int originalAlpha = (color >>> 24) & 0xFF; + + int merged = (int) (originalAlpha * alpha); + + return (color & 0x00FFFFFF) | (merged << 24); + } +} diff --git a/src/main/java/org/saturnclient/config/manager/ConfigManager.java b/src/main/java/org/saturnclient/config/manager/ConfigManager.java new file mode 100644 index 0000000..6e2c829 --- /dev/null +++ b/src/main/java/org/saturnclient/config/manager/ConfigManager.java @@ -0,0 +1,205 @@ +package org.saturnclient.config.manager; + +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.node.ObjectNode; + +import java.io.File; +import java.io.IOException; +import java.nio.file.Files; +import java.util.LinkedHashMap; +import java.util.Map; + +public class ConfigManager { + + private static final ObjectMapper MAPPER = new ObjectMapper(); + private static File configFile; + + // SINGLE ROOT TREE + private static final Map> ROOT = new LinkedHashMap<>(); + + private static JsonNode cachedJson = null; + + private final Map> currentMap; + + private final String[] path; + + /** + * Creates a root namespace + */ + public ConfigManager(File configFile, String namespace) { + ConfigManager.configFile = configFile; + this.currentMap = new LinkedHashMap<>(); + this.path = new String[] { namespace }; + + ROOT.put(namespace, Property.namespace(currentMap)); + } + + /** + * Creates a root namespace + */ + public ConfigManager(String namespace) { + this.currentMap = new LinkedHashMap<>(); + this.path = new String[] { namespace }; + + ROOT.put(namespace, Property.namespace(currentMap)); + } + + /** + * Creates a sub-namespace inside a parent + */ + public ConfigManager(ConfigManager parent, String namespace) { + this.currentMap = new LinkedHashMap<>(); + + this.path = new String[parent.path.length + 1]; + System.arraycopy(parent.path, 0, this.path, 0, parent.path.length); + this.path[this.path.length - 1] = namespace; + + parent.property(namespace, Property.namespace(currentMap)); + } + + /** + * Add a property + */ + public Property property(String name, Property value) { + currentMap.put(name, value); + loadSingleProperty(name, value); + return value; + } + + /** + * Add empty namespace + */ + public ConfigManager sub(String name) { + return new ConfigManager(this, name); + } + + /** + * Load entire config + */ + public void load() { + JsonNode json = loadAndCache(); + if (json == null || !json.isObject()) + return; + + loadRecursive((ObjectNode) json, ROOT); + } + + /** + * Save entire config + */ + public static void save() { + + ObjectNode rootJson = MAPPER.createObjectNode(); + saveRecursive(rootJson, ROOT); + + try { + MAPPER.writerWithDefaultPrettyPrinter().writeValue(configFile, rootJson); + } catch (IOException e) { + e.printStackTrace(); + } + } + + /** + * Recursive save + */ + private static void saveRecursive(ObjectNode json, Map> map) { + map.forEach((name, prop) -> { + if (prop.isNamespace()) { + + ObjectNode child = json.objectNode(); + saveRecursive(child, prop.getNamespaceMap()); + + json.set(name, child); + + } else { + + json.set(name, prop.toJson()); + + } + }); + } + + /** + * Recursive load + */ + private static void loadRecursive(ObjectNode json, Map> map) { + + map.forEach((name, prop) -> { + + JsonNode element = json.get(name); + if (element == null) + return; + + if (prop.isNamespace() && element.isObject()) { + + loadRecursive((ObjectNode) element, prop.getNamespaceMap()); + + } else { + + prop.loadFromJson(element); + + } + + }); + } + + /** + * Load only a single property immediately after creation + */ + private void loadSingleProperty(String name, Property prop) { + + JsonNode source = cachedJson != null ? cachedJson : loadAndCache(); + if (source == null || !source.isObject()) + return; + + JsonNode currentScope = source; + + for (String segment : path) { + + JsonNode next = currentScope.get(segment); + + if (next != null && next.isObject()) { + currentScope = next; + } else { + return; + } + + } + + JsonNode element = currentScope.get(name); + + if (element != null) { + prop.loadFromJson(element); + } + } + + /** + * Reads file and caches json + */ + private JsonNode loadAndCache() { + + try { + + if (!configFile.exists()) { + + Files.writeString(configFile.toPath(), "{}"); + cachedJson = MAPPER.createObjectNode(); + return cachedJson; + + } + + cachedJson = MAPPER.readTree(configFile); + return cachedJson; + + } catch (IOException e) { + e.printStackTrace(); + return null; + } + + } + + public Map> getProperties() { + return currentMap; + } +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/config/manager/Key.java b/src/main/java/org/saturnclient/config/manager/Key.java new file mode 100644 index 0000000..ae413ef --- /dev/null +++ b/src/main/java/org/saturnclient/config/manager/Key.java @@ -0,0 +1,152 @@ +package org.saturnclient.config.manager; + +public class Key { + /** Printable keys. */ + public static final int GLFW_KEY_SPACE = 32, + GLFW_KEY_APOSTROPHE = 39, + GLFW_KEY_COMMA = 44, + GLFW_KEY_MINUS = 45, + GLFW_KEY_PERIOD = 46, + GLFW_KEY_SLASH = 47, + GLFW_KEY_0 = 48, + GLFW_KEY_1 = 49, + GLFW_KEY_2 = 50, + GLFW_KEY_3 = 51, + GLFW_KEY_4 = 52, + GLFW_KEY_5 = 53, + GLFW_KEY_6 = 54, + GLFW_KEY_7 = 55, + GLFW_KEY_8 = 56, + GLFW_KEY_9 = 57, + GLFW_KEY_SEMICOLON = 59, + GLFW_KEY_EQUAL = 61, + GLFW_KEY_A = 65, + GLFW_KEY_B = 66, + GLFW_KEY_C = 67, + GLFW_KEY_D = 68, + GLFW_KEY_E = 69, + GLFW_KEY_F = 70, + GLFW_KEY_G = 71, + GLFW_KEY_H = 72, + GLFW_KEY_I = 73, + GLFW_KEY_J = 74, + GLFW_KEY_K = 75, + GLFW_KEY_L = 76, + GLFW_KEY_M = 77, + GLFW_KEY_N = 78, + GLFW_KEY_O = 79, + GLFW_KEY_P = 80, + GLFW_KEY_Q = 81, + GLFW_KEY_R = 82, + GLFW_KEY_S = 83, + GLFW_KEY_T = 84, + GLFW_KEY_U = 85, + GLFW_KEY_V = 86, + GLFW_KEY_W = 87, + GLFW_KEY_X = 88, + GLFW_KEY_Y = 89, + GLFW_KEY_Z = 90, + GLFW_KEY_LEFT_BRACKET = 91, + GLFW_KEY_BACKSLASH = 92, + GLFW_KEY_RIGHT_BRACKET = 93, + GLFW_KEY_GRAVE_ACCENT = 96, + GLFW_KEY_WORLD_1 = 161, + GLFW_KEY_WORLD_2 = 162; + + /** Function keys. */ + public static final int GLFW_KEY_ESCAPE = 256, + GLFW_KEY_ENTER = 257, + GLFW_KEY_TAB = 258, + GLFW_KEY_BACKSPACE = 259, + GLFW_KEY_INSERT = 260, + GLFW_KEY_DELETE = 261, + GLFW_KEY_RIGHT = 262, + GLFW_KEY_LEFT = 263, + GLFW_KEY_DOWN = 264, + GLFW_KEY_UP = 265, + GLFW_KEY_PAGE_UP = 266, + GLFW_KEY_PAGE_DOWN = 267, + GLFW_KEY_HOME = 268, + GLFW_KEY_END = 269, + GLFW_KEY_CAPS_LOCK = 280, + GLFW_KEY_SCROLL_LOCK = 281, + GLFW_KEY_NUM_LOCK = 282, + GLFW_KEY_PRINT_SCREEN = 283, + GLFW_KEY_PAUSE = 284, + GLFW_KEY_F1 = 290, + GLFW_KEY_F2 = 291, + GLFW_KEY_F3 = 292, + GLFW_KEY_F4 = 293, + GLFW_KEY_F5 = 294, + GLFW_KEY_F6 = 295, + GLFW_KEY_F7 = 296, + GLFW_KEY_F8 = 297, + GLFW_KEY_F9 = 298, + GLFW_KEY_F10 = 299, + GLFW_KEY_F11 = 300, + GLFW_KEY_F12 = 301, + GLFW_KEY_F13 = 302, + GLFW_KEY_F14 = 303, + GLFW_KEY_F15 = 304, + GLFW_KEY_F16 = 305, + GLFW_KEY_F17 = 306, + GLFW_KEY_F18 = 307, + GLFW_KEY_F19 = 308, + GLFW_KEY_F20 = 309, + GLFW_KEY_F21 = 310, + GLFW_KEY_F22 = 311, + GLFW_KEY_F23 = 312, + GLFW_KEY_F24 = 313, + GLFW_KEY_F25 = 314, + GLFW_KEY_KP_0 = 320, + GLFW_KEY_KP_1 = 321, + GLFW_KEY_KP_2 = 322, + GLFW_KEY_KP_3 = 323, + GLFW_KEY_KP_4 = 324, + GLFW_KEY_KP_5 = 325, + GLFW_KEY_KP_6 = 326, + GLFW_KEY_KP_7 = 327, + GLFW_KEY_KP_8 = 328, + GLFW_KEY_KP_9 = 329, + GLFW_KEY_KP_DECIMAL = 330, + GLFW_KEY_KP_DIVIDE = 331, + GLFW_KEY_KP_MULTIPLY = 332, + GLFW_KEY_KP_SUBTRACT = 333, + GLFW_KEY_KP_ADD = 334, + GLFW_KEY_KP_ENTER = 335, + GLFW_KEY_KP_EQUAL = 336, + GLFW_KEY_LEFT_SHIFT = 340, + GLFW_KEY_LEFT_CONTROL = 341, + GLFW_KEY_LEFT_ALT = 342, + GLFW_KEY_LEFT_SUPER = 343, + GLFW_KEY_RIGHT_SHIFT = 344, + GLFW_KEY_RIGHT_CONTROL = 345, + GLFW_KEY_RIGHT_ALT = 346, + GLFW_KEY_RIGHT_SUPER = 347, + GLFW_KEY_MENU = 348, + GLFW_KEY_LAST = GLFW_KEY_MENU; + + /** If this bit is set one or more Shift keys were held down. */ + public static final int GLFW_MOD_SHIFT = 0x1; + + /** If this bit is set one or more Control keys were held down. */ + public static final int GLFW_MOD_CONTROL = 0x2; + + /** If this bit is set one or more Alt keys were held down. */ + public static final int GLFW_MOD_ALT = 0x4; + + /** If this bit is set one or more Super keys were held down. */ + public static final int GLFW_MOD_SUPER = 0x8; + + /** + * If this bit is set the Caps Lock key is enabled and the + * {@link #GLFW_LOCK_KEY_MODS LOCK_KEY_MODS} input mode is set. + */ + public static final int GLFW_MOD_CAPS_LOCK = 0x10; + + /** + * If this bit is set the Num Lock key is enabled and the + * {@link #GLFW_LOCK_KEY_MODS LOCK_KEY_MODS} input mode is set. + */ + public static final int GLFW_MOD_NUM_LOCK = 0x20; +} diff --git a/src/main/java/org/saturnclient/config/manager/Property.java b/src/main/java/org/saturnclient/config/manager/Property.java new file mode 100644 index 0000000..0581d8f --- /dev/null +++ b/src/main/java/org/saturnclient/config/manager/Property.java @@ -0,0 +1,320 @@ +package org.saturnclient.config.manager; + +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.JsonNodeFactory; +import com.fasterxml.jackson.databind.node.ObjectNode; +import org.saturnclient.common.minecraft.MinecraftProvider; + +import java.util.Map; + +public class Property { + + public static class NamedProperty { + public String name; + public Property prop; + + public NamedProperty(String name, Property value) { + this.name = name; + this.prop = value; + } + } + + public enum PropertyType { + BOOLEAN, + INTEGER, + FLOAT, + STRING, + HEX, + NAMESPACE, + SELECT, + KEYBINDING, + } + + public T value; + public boolean isReset = false; + private T defaultValue; + private String[] availableValues; + private final PropertyType type; + private boolean wasPressedLastTick = false; + + private Property(T value, PropertyType type) { + this.value = value; + this.defaultValue = value; + this.type = type; + } + + // ---------- Factory Methods ---------- + + public static Property from(T value) { + if (value instanceof Boolean) + return new Property<>(value, PropertyType.BOOLEAN); + if (value instanceof Integer) + return new Property<>(value, PropertyType.INTEGER); + if (value instanceof Float) + return new Property<>(value, PropertyType.FLOAT); + if (value instanceof String) + return new Property<>(value, PropertyType.STRING); + if (valueIsNamespace(value)) + return new Property<>(value, PropertyType.NAMESPACE); + return null; + } + + public static Property font(int value) { + return select(value, "Default", "Inter", "Inter bold"); + } + + public static Property select(Integer value, String... availableValues) { + Property property = new Property<>(value, PropertyType.SELECT); + property.availableValues = availableValues; + return property; + } + + public static Property>> namespace(Map> value) { + return new Property<>(value, PropertyType.NAMESPACE); + } + + public static Property bool(boolean value) { + return new Property<>(value, PropertyType.BOOLEAN); + } + + public static Property integer(int value) { + return new Property<>(value, PropertyType.INTEGER); + } + + public static Property floatProp(float value) { + return new Property<>(value, PropertyType.FLOAT); + } + + public static Property string(String value) { + return new Property<>(value, PropertyType.STRING); + } + + public static Property color(int value) { + return new Property<>(value, PropertyType.HEX); + } + + public static Property keybinding(int value) { + return new Property<>(value, PropertyType.KEYBINDING); + } + + // ---------- Select Helpers ---------- + + public void next() { + if (type == PropertyType.SELECT) { + int i = (Integer) value; + setValue((i < availableValues.length - 1) ? i + 1 : 0); + } + } + + public void prev() { + if (type == PropertyType.SELECT) { + int i = (Integer) value; + setValue((i > 0) ? i - 1 : availableValues.length - 1); + } + } + + public void setSelection(int selection) { + if (type == PropertyType.SELECT && selection >= 0 && selection < availableValues.length) { + setValue(selection); + } + } + + public String getSelection() { + return (type == PropertyType.SELECT) ? availableValues[(Integer) value] : null; + } + + // ---------- Lifecycle ---------- + + public void reset() { + value = defaultValue; + isReset = true; + } + + public PropertyType getType() { + return type; + } + + @SuppressWarnings("unchecked") + public Map> getNamespaceValue() { + if (type == PropertyType.NAMESPACE && value instanceof Map) { + return (Map>) value; + } + throw new IllegalStateException("Property is not a namespace"); + } + + // ---------- JSON Serialization ---------- + + public JsonNode toJson() { + + switch (type) { + + case BOOLEAN: + return JsonNodeFactory.instance.booleanNode((Boolean) value); + + case INTEGER: + return JsonNodeFactory.instance.numberNode((Integer) value); + + case FLOAT: + return JsonNodeFactory.instance.numberNode((Float) value); + + case STRING: + return JsonNodeFactory.instance.textNode((String) value); + + case HEX: + return JsonNodeFactory.instance.textNode( + String.format("#%08X", (Integer) value)); + + case KEYBINDING: + case SELECT: + return JsonNodeFactory.instance.numberNode((Integer) value); + + case NAMESPACE: + + ObjectNode nested = JsonNodeFactory.instance.objectNode(); + + getNamespaceValue().forEach((k, v) -> { + nested.set(k, v.toJson()); + }); + + return nested; + + default: + return JsonNodeFactory.instance.textNode(String.valueOf(value)); + } + } + + public void loadFromJson(JsonNode element) { + + if (element == null) + return; + + switch (type) { + + case BOOLEAN: + if (element.isBoolean()) + setValue(element.booleanValue()); + break; + + case INTEGER: + if (element.isInt()) + setValue(element.intValue()); + else if (element.isTextual()) + setValue(parseHexToInt(element.textValue())); + break; + + case FLOAT: + if (element.isNumber()) + setValue(element.floatValue()); + break; + + case STRING: + if (element.isTextual()) + setValue(element.textValue()); + break; + + case HEX: + if (element.isTextual()) + setValue(parseHexToInt(element.textValue())); + break; + + case NAMESPACE: + + if (element.isObject()) { + + ObjectNode obj = (ObjectNode) element; + + getNamespaceValue().forEach((k, v) -> { + v.loadFromJson(obj.get(k)); + }); + + } + + break; + + case SELECT: + if (element.isInt()) + setSelection(element.intValue()); + break; + + case KEYBINDING: + if (element.isInt()) + setValue(element.intValue()); + break; + } + } + + // ---------- Utility ---------- + + @Override + public String toString() { + return String.valueOf(value); + } + + public static boolean valueIsNamespace(Object obj) { + return obj instanceof Map; + } + + @SuppressWarnings("unchecked") + public void setValue(Object value) { + this.value = (T) value; + } + + @SuppressWarnings("unchecked") + public void setValue(Object value, Object defaultValue) { + this.value = (T) value; + this.defaultValue = (T) defaultValue; + } + + public NamedProperty named(String name) { + return new NamedProperty<>(name, this); + } + + // ---------- Keybindings (no SaturnClient) ---------- + + public boolean isKeyPressed() { + + return (Integer) value != -1 && + MinecraftProvider.PROVIDER.isKeyPressed((Integer) value); + } + + public boolean wasKeyPressed() { + boolean pressed = isKeyPressed(); + + boolean result = pressed && !wasPressedLastTick; + + wasPressedLastTick = pressed; + + return result; + } + + // ---------- HEX ---------- + + public static int parseHexToInt(String hex) { + + hex = hex.replace("#", ""); + + if (hex.length() == 6) + hex = "FF" + hex; + + if (hex.length() != 8) + throw new IllegalArgumentException( + "Hex must be 6 or 8 chars long, got '" + hex + "'"); + + return (int) Long.parseLong(hex, 16); + } + + // ---------- Misc ---------- + + public Property copy() { + return new Property<>(this.value, this.type); + } + + public boolean isNamespace() { + return type == PropertyType.NAMESPACE; + } + + @SuppressWarnings("unchecked") + public Map> getNamespaceMap() { + return isNamespace() ? (Map>) value : null; + } +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/cosmetics/Emotes.java b/src/main/java/org/saturnclient/cosmetics/Emotes.java new file mode 100644 index 0000000..bc0353b --- /dev/null +++ b/src/main/java/org/saturnclient/cosmetics/Emotes.java @@ -0,0 +1,17 @@ +package org.saturnclient.cosmetics; + +import java.util.ArrayList; +import java.util.List; + +public class Emotes { + public static List availableEmotes = new ArrayList<>(); + + public static void initialize() { + availableEmotes.add("tpose"); + availableEmotes.add("back_flip"); + availableEmotes.add("facepalm"); + availableEmotes.add("cry"); + availableEmotes.add("giga_chad"); + availableEmotes.add("front_flip"); + } +} diff --git a/src/main/java/org/saturnclient/cosmetics/Hats.java b/src/main/java/org/saturnclient/cosmetics/Hats.java new file mode 100644 index 0000000..37a8f74 --- /dev/null +++ b/src/main/java/org/saturnclient/cosmetics/Hats.java @@ -0,0 +1,31 @@ +package org.saturnclient.cosmetics; + +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; + +import org.saturnclient.client.ServiceClient; +import org.saturnclient.client.player.SaturnPlayer; + +public class Hats { + public static final String[] ALL_HATS = { "horns_black", "horns_white", "halo", "halo_black" }; + public static List availableHats = new ArrayList<>(); + + public static void initialize() { + availableHats.add(0, ""); + } + + public static void setHat(String hatName) { + if (availableHats.contains(hatName)) { + setHat(ServiceClient.uuid, hatName); + ServiceClient.setHat(hatName); + } + } + + public static void setHat(UUID uuid, String hatName) { + SaturnPlayer player = SaturnPlayer.get(uuid); + if (player != null) { + player.hat = hatName; + } + } +} diff --git a/src/main/java/org/saturnclient/modules/HudMod.java b/src/main/java/org/saturnclient/modules/HudMod.java new file mode 100644 index 0000000..b8b09b5 --- /dev/null +++ b/src/main/java/org/saturnclient/modules/HudMod.java @@ -0,0 +1,11 @@ +package org.saturnclient.modules; + +import org.saturnclient.ui.RenderScope; + +public interface HudMod { + public ModDimensions getDimensions(); + + public void renderDummy(RenderScope scope); + + public void renderHud(RenderScope scope); +} diff --git a/src/main/java/org/saturnclient/modules/ModDimensions.java b/src/main/java/org/saturnclient/modules/ModDimensions.java new file mode 100644 index 0000000..472f97a --- /dev/null +++ b/src/main/java/org/saturnclient/modules/ModDimensions.java @@ -0,0 +1,54 @@ +package org.saturnclient.modules; + +import java.util.Map; + +import org.saturnclient.config.manager.Property; +import org.saturnclient.config.manager.Property.NamedProperty; + +public class ModDimensions { + public Property x = Property.integer(0); + public Property y = Property.integer(0); + public Property scale = Property.floatProp(1.0f); + public Property bgColor = Property.color(0x00000000); + public Property fgColor = Property.color(0xFFffffff); + public Property radius = Property.integer(0); + public Property font = Property.font(0); + public boolean renderBackground = true; + + public int width = 0; + public int height = 0; + + public NamedProperty>> prop() { + return Property.namespace(Map.of( + "X", x, + "Y", y, + "Scale", scale, + "Background Color", bgColor, + "Foreground Color", fgColor, + "Corner Radius", radius, + "Font", font)).named("In-Game Display"); + } + + public ModDimensions() { + } + + public ModDimensions(int width, int height) { + this.width = width; + this.height = height; + } + + public ModDimensions(int x, int y, int width, int height) { + this.x.value = x; + this.y.value = y; + this.width = width; + this.height = height; + } + + public ModDimensions(int x, int y, int width, int height, float scale) { + this.x.value = x; + this.y.value = y; + this.scale.value = scale; + this.width = width; + this.height = height; + } +} diff --git a/src/main/java/org/saturnclient/modules/ModManager.java b/src/main/java/org/saturnclient/modules/ModManager.java new file mode 100644 index 0000000..fa3324c --- /dev/null +++ b/src/main/java/org/saturnclient/modules/ModManager.java @@ -0,0 +1,31 @@ +package org.saturnclient.modules; + +import java.util.ArrayList; +import java.util.List; + +public class ModManager { + public static List ENABLED_MODS = new ArrayList<>(); + public static Module[] MODS = {}; + + public static void init(ModuleProvider provider) { + MODS = provider.getMods(); + updateEnabledModules(); + } + + public static synchronized void updateEnabledModules() { + ENABLED_MODS.clear(); + for (Module m : MODS) { + if (m.isEnabled()) { + ENABLED_MODS.add(m); + } + } + } + + public static Module[] getAllMods() { + return MODS; + } + + public interface ModuleProvider { + Module[] getMods(); + } +} diff --git a/src/main/java/org/saturnclient/modules/Module.java b/src/main/java/org/saturnclient/modules/Module.java new file mode 100644 index 0000000..c40da1a --- /dev/null +++ b/src/main/java/org/saturnclient/modules/Module.java @@ -0,0 +1,59 @@ +package org.saturnclient.modules; + +import org.saturnclient.common.minecraft.bindings.SaturnIdentifier; +import org.saturnclient.config.manager.ConfigManager; +import org.saturnclient.config.manager.Property.NamedProperty; +import org.saturnclient.ui.RenderScope; +import org.saturnclient.ui.resources.Textures; + +public abstract class Module { + private final ModuleDetails details; + private final ConfigManager configManager; + + public Module(ModuleDetails details, NamedProperty... props) { + this.details = details; + configManager = new ConfigManager(details.name); + for (NamedProperty prop : props) { + configManager.property(prop.name, prop.prop); + } + } + + public void render(RenderScope scope) { + } + + public void tick() { + } + + public abstract boolean isEnabled(); + + public final void setEnabled(boolean e) { + onEnabled(e); + ModManager.updateEnabledModules(); + } + + public abstract void onEnabled(boolean e); + + public final String getName() { + return details.name; + } + + public SaturnIdentifier getIconTexture() { + return Textures.getModIcon(details.namespace); + } + + public ConfigManager getConfig() { + return configManager; + } + + public String getDescription() { + return details.description; + } + + public String[] getTags() { + return details.tags; + } + + public String getVersion() { + return details.version; + } +} diff --git a/src/main/java/org/saturnclient/modules/ModuleDetails.java b/src/main/java/org/saturnclient/modules/ModuleDetails.java new file mode 100644 index 0000000..3cce480 --- /dev/null +++ b/src/main/java/org/saturnclient/modules/ModuleDetails.java @@ -0,0 +1,39 @@ +package org.saturnclient.modules; + +public class ModuleDetails { + public String name; + public String namespace; + public String description; + public String version; + public String[] tags = {}; + + public ModuleDetails(String name, String namespace) { + this.name = name; + this.namespace = namespace; + } + + public ModuleDetails name(String name) { + this.name = name; + return this; + } + + public ModuleDetails namespace(String namespace) { + this.namespace = namespace; + return this; + } + + public ModuleDetails description(String description) { + this.description = description; + return this; + } + + public ModuleDetails version(String version) { + this.version = version; + return this; + } + + public ModuleDetails tags(String... tags) { + this.tags = tags; + return this; + } +} diff --git a/src/main/java/org/saturnclient/modules/interfaces/ArmorDisplayInterface.java b/src/main/java/org/saturnclient/modules/interfaces/ArmorDisplayInterface.java new file mode 100644 index 0000000..1c9124e --- /dev/null +++ b/src/main/java/org/saturnclient/modules/interfaces/ArmorDisplayInterface.java @@ -0,0 +1,32 @@ +package org.saturnclient.modules.interfaces; + +import org.saturnclient.common.minecraft.bindings.SaturnItemStack; + +public interface ArmorDisplayInterface { + + SaturnItemStack getMainHand(); + + SaturnItemStack getHelmet(); + + SaturnItemStack getChestplate(); + + SaturnItemStack getLeggings(); + + SaturnItemStack getBoots(); + + SaturnItemStack getDummyMainHand(); + + SaturnItemStack getDummyHelmet(); + + SaturnItemStack getDummyChestplate(); + + SaturnItemStack getDummyLeggings(); + + SaturnItemStack getDummyBoots(); + + boolean isEmpty(SaturnItemStack stack); + + int getMaxDamage(SaturnItemStack stack); + + int getDamage(SaturnItemStack stack); +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/interfaces/AutoSprintInterface.java b/src/main/java/org/saturnclient/modules/interfaces/AutoSprintInterface.java new file mode 100644 index 0000000..58448b9 --- /dev/null +++ b/src/main/java/org/saturnclient/modules/interfaces/AutoSprintInterface.java @@ -0,0 +1,20 @@ +package org.saturnclient.modules.interfaces; + +public interface AutoSprintInterface { + + boolean hasPlayer(); + + boolean hasNetwork(); + + boolean isForwardPressed(); + + boolean isBackPressed(); + + boolean isSneaking(); + + boolean hasHorizontalCollision(); + + boolean isUsingItem(); + + void setSprinting(boolean sprinting); +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/interfaces/CoordinatesInterface.java b/src/main/java/org/saturnclient/modules/interfaces/CoordinatesInterface.java new file mode 100644 index 0000000..c144f1a --- /dev/null +++ b/src/main/java/org/saturnclient/modules/interfaces/CoordinatesInterface.java @@ -0,0 +1,11 @@ +package org.saturnclient.modules.interfaces; + +public interface CoordinatesInterface { + + int getPlayerX(); + + int getPlayerY(); + + int getPlayerZ(); + +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/interfaces/CrosshairInterface.java b/src/main/java/org/saturnclient/modules/interfaces/CrosshairInterface.java new file mode 100644 index 0000000..e658b64 --- /dev/null +++ b/src/main/java/org/saturnclient/modules/interfaces/CrosshairInterface.java @@ -0,0 +1,7 @@ +package org.saturnclient.modules.interfaces; + +public interface CrosshairInterface { + + boolean isTargetingLivingEntity(); + +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/interfaces/DayCounterInterface.java b/src/main/java/org/saturnclient/modules/interfaces/DayCounterInterface.java new file mode 100644 index 0000000..5b2c37f --- /dev/null +++ b/src/main/java/org/saturnclient/modules/interfaces/DayCounterInterface.java @@ -0,0 +1,7 @@ +package org.saturnclient.modules.interfaces; + +public interface DayCounterInterface { + + long getDay(); + +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/interfaces/FpsInterface.java b/src/main/java/org/saturnclient/modules/interfaces/FpsInterface.java new file mode 100644 index 0000000..b16f2e7 --- /dev/null +++ b/src/main/java/org/saturnclient/modules/interfaces/FpsInterface.java @@ -0,0 +1,7 @@ +package org.saturnclient.modules.interfaces; + +public interface FpsInterface { + + int getFps(); + +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/interfaces/FreelookInterface.java b/src/main/java/org/saturnclient/modules/interfaces/FreelookInterface.java new file mode 100644 index 0000000..67f0814 --- /dev/null +++ b/src/main/java/org/saturnclient/modules/interfaces/FreelookInterface.java @@ -0,0 +1,11 @@ +package org.saturnclient.modules.interfaces; + +public interface FreelookInterface { + + boolean isFirstPerson(); + + void setFirstPerson(); + + void setThirdPersonBack(); + +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/interfaces/HealthDisplayInterface.java b/src/main/java/org/saturnclient/modules/interfaces/HealthDisplayInterface.java new file mode 100644 index 0000000..cb8d20f --- /dev/null +++ b/src/main/java/org/saturnclient/modules/interfaces/HealthDisplayInterface.java @@ -0,0 +1,7 @@ +package org.saturnclient.modules.interfaces; + +public interface HealthDisplayInterface { + + float getPlayerHealth(); + +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/interfaces/KeystrokesInterface.java b/src/main/java/org/saturnclient/modules/interfaces/KeystrokesInterface.java new file mode 100644 index 0000000..5c220ef --- /dev/null +++ b/src/main/java/org/saturnclient/modules/interfaces/KeystrokesInterface.java @@ -0,0 +1,13 @@ +package org.saturnclient.modules.interfaces; + +public interface KeystrokesInterface { + + boolean isForwardPressed(); + boolean isBackPressed(); + boolean isLeftPressed(); + boolean isRightPressed(); + boolean isJumpPressed(); + boolean isAttackPressed(); + boolean isUsePressed(); + +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/interfaces/NametagsInterface.java b/src/main/java/org/saturnclient/modules/interfaces/NametagsInterface.java new file mode 100644 index 0000000..5834508 --- /dev/null +++ b/src/main/java/org/saturnclient/modules/interfaces/NametagsInterface.java @@ -0,0 +1,23 @@ +package org.saturnclient.modules.interfaces; + +public interface NametagsInterface { + + public static interface EntityState { + + String getCustomName(); + + float getHealth(); + + float getMaxHealth(); + + EntityType getEntityType(); + } + + public static enum EntityType { + PLAYER, + PASSIVE, + HOSTILE, + OTHER + } + +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/interfaces/PingInterface.java b/src/main/java/org/saturnclient/modules/interfaces/PingInterface.java new file mode 100644 index 0000000..2a93473 --- /dev/null +++ b/src/main/java/org/saturnclient/modules/interfaces/PingInterface.java @@ -0,0 +1,8 @@ +package org.saturnclient.modules.interfaces; + +public interface PingInterface { + + /** Returns current player ping in milliseconds */ + int getPing(); + +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/interfaces/SpeedometerInterface.java b/src/main/java/org/saturnclient/modules/interfaces/SpeedometerInterface.java new file mode 100644 index 0000000..da896bd --- /dev/null +++ b/src/main/java/org/saturnclient/modules/interfaces/SpeedometerInterface.java @@ -0,0 +1,20 @@ +package org.saturnclient.modules.interfaces; + +public interface SpeedometerInterface { + + /** Returns the current player or vehicle velocity in blocks per tick */ + Velocity getVelocity(); + + /** Returns true if player or vehicle is on ground */ + boolean isOnGround(); + + class Velocity { + public final double x, y, z; + + public Velocity(double x, double y, double z) { + this.x = x; + this.y = y; + this.z = z; + } + } +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/interfaces/StatusEffectsInterface.java b/src/main/java/org/saturnclient/modules/interfaces/StatusEffectsInterface.java new file mode 100644 index 0000000..0ff0f54 --- /dev/null +++ b/src/main/java/org/saturnclient/modules/interfaces/StatusEffectsInterface.java @@ -0,0 +1,36 @@ +package org.saturnclient.modules.interfaces; + +import java.util.List; +import org.saturnclient.common.minecraft.bindings.SaturnSprite; + +public interface StatusEffectsInterface { + + /** Returns a list of currently active effects */ + List getActiveEffects(); + + /** Returns a dummy list of effects for dummy rendering */ + List getDummyEffects(); + + /** Represents a single effect for rendering purposes */ + class Effect { + private final SaturnSprite icon; + private final int durationSeconds; + private final boolean infinite; + private final boolean showIcon; + private final String infiniteText; + + public Effect(SaturnSprite icon, int durationSeconds, boolean infinite, boolean showIcon, String infiniteText) { + this.icon = icon; + this.durationSeconds = durationSeconds; + this.infinite = infinite; + this.showIcon = showIcon; + this.infiniteText = infiniteText; + } + + public SaturnSprite getIcon() { return icon; } + public int getDurationSeconds() { return durationSeconds; } + public boolean isInfinite() { return infinite; } + public boolean shouldShowIcon() { return showIcon; } + public String getInfiniteText() { return infiniteText; } + } +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/mods/ArmorDisplay.java b/src/main/java/org/saturnclient/modules/mods/ArmorDisplay.java new file mode 100644 index 0000000..69cad5e --- /dev/null +++ b/src/main/java/org/saturnclient/modules/mods/ArmorDisplay.java @@ -0,0 +1,118 @@ +package org.saturnclient.modules.mods; + +import org.saturnclient.modules.HudMod; +import org.saturnclient.modules.ModDimensions; +import org.saturnclient.modules.Module; +import org.saturnclient.modules.ModuleDetails; +import org.saturnclient.modules.interfaces.ArmorDisplayInterface; +import org.saturnclient.common.minecraft.bindings.SaturnItemStack; +import org.saturnclient.config.manager.Property; +import org.saturnclient.ui.RenderScope; + +public class ArmorDisplay extends Module implements HudMod { + + private static Property enabled = Property.bool(false); + private static ModDimensions dimensions = new ModDimensions(40, 75); + private static Property useMainHand = Property.bool(true); + + private final ArmorDisplayInterface minecraft; + + public ArmorDisplay(ArmorDisplayInterface minecraft) { + super(new ModuleDetails("Armor Display", "armor") + .description("Displays armor durability") + .version("v0.1.0") + .tags("Utility"), + enabled.named("Enabled"), + useMainHand.named("Use Main Hand"), + dimensions.prop()); + + this.minecraft = minecraft; + } + + public void renderArmor(RenderScope scope, + SaturnItemStack mainHand, + SaturnItemStack helmet, + SaturnItemStack chestplate, + SaturnItemStack leggings, + SaturnItemStack boots) { + + int row = 0; + + if (useMainHand.value && !minecraft.isEmpty(mainHand)) { + scope.drawItem(mainHand, 0, 15 * row); + renderHealth(scope, row, minecraft.getMaxDamage(mainHand), minecraft.getDamage(mainHand)); + row++; + } + + if (!minecraft.isEmpty(helmet)) { + scope.drawItem(helmet, 0, 15 * row); + renderHealth(scope, row, minecraft.getMaxDamage(helmet), minecraft.getDamage(helmet)); + row++; + } + + if (!minecraft.isEmpty(chestplate)) { + scope.drawItem(chestplate, 0, 15 * row); + renderHealth(scope, row, minecraft.getMaxDamage(chestplate), minecraft.getDamage(chestplate)); + row++; + } + + if (!minecraft.isEmpty(leggings)) { + scope.drawItem(leggings, 0, 15 * row); + renderHealth(scope, row, minecraft.getMaxDamage(leggings), minecraft.getDamage(leggings)); + row++; + } + + if (!minecraft.isEmpty(boots)) { + scope.drawItem(boots, 0, 15 * row); + renderHealth(scope, row, minecraft.getMaxDamage(boots), minecraft.getDamage(boots)); + row++; + } + } + + public void renderHealth(RenderScope scope, int i, int maxDamage, int damage) { + if (maxDamage > 0) { + scope.drawText( + 0.5f, + "" + (maxDamage - damage), + 17, + (15 * i) + 3, + dimensions.font.value, + dimensions.fgColor.value); + } + } + + @Override + public void renderHud(RenderScope scope) { + renderArmor(scope, + minecraft.getMainHand(), + minecraft.getHelmet(), + minecraft.getChestplate(), + minecraft.getLeggings(), + minecraft.getBoots()); + } + + @Override + public void renderDummy(RenderScope scope) { + renderArmor(scope, + minecraft.getDummyMainHand(), + minecraft.getDummyHelmet(), + minecraft.getDummyChestplate(), + minecraft.getDummyLeggings(), + minecraft.getDummyBoots()); + } + + @Override + public ModDimensions getDimensions() { + return dimensions; + } + + @Override + public boolean isEnabled() { + return enabled.value; + } + + @Override + public void onEnabled(boolean e) { + enabled.value = e; + } +} diff --git a/src/main/java/org/saturnclient/modules/mods/AutoSprint.java b/src/main/java/org/saturnclient/modules/mods/AutoSprint.java new file mode 100644 index 0000000..b256c55 --- /dev/null +++ b/src/main/java/org/saturnclient/modules/mods/AutoSprint.java @@ -0,0 +1,50 @@ +package org.saturnclient.modules.mods; + +import org.saturnclient.modules.Module; +import org.saturnclient.modules.ModuleDetails; +import org.saturnclient.modules.interfaces.AutoSprintInterface; +import org.saturnclient.config.manager.Property; + +public class AutoSprint extends Module { + + private static Property enabled = Property.bool(false); + + private final AutoSprintInterface minecraft; + + public AutoSprint(AutoSprintInterface minecraft) { + super( + new ModuleDetails("Auto Sprint", "sprint") + .description("Makes the player always sprint") + .tags("Movement") + .version("v0.1.0"), + enabled.named("Enabled")); + + this.minecraft = minecraft; + } + + @Override + public void tick() { + if (!minecraft.hasPlayer() || !minecraft.hasNetwork()) { + return; + } + + if (minecraft.isForwardPressed() + && !minecraft.isBackPressed() + && !minecraft.isSneaking() + && !minecraft.hasHorizontalCollision() + && !minecraft.isUsingItem()) { + + minecraft.setSprinting(true); + } + } + + @Override + public boolean isEnabled() { + return enabled.value; + } + + @Override + public void onEnabled(boolean e) { + enabled.value = e; + } +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/mods/Clock.java b/src/main/java/org/saturnclient/modules/mods/Clock.java new file mode 100644 index 0000000..7726401 --- /dev/null +++ b/src/main/java/org/saturnclient/modules/mods/Clock.java @@ -0,0 +1,82 @@ +package org.saturnclient.modules.mods; + +import java.time.format.DateTimeFormatter; +import java.time.LocalTime; + +import org.saturnclient.modules.HudMod; +import org.saturnclient.modules.ModDimensions; +import org.saturnclient.modules.Module; +import org.saturnclient.modules.ModuleDetails; +import org.saturnclient.config.manager.Property; +import org.saturnclient.ui.RenderScope; +import org.saturnclient.ui.resources.Fonts; + +public class Clock extends Module implements HudMod { + private static Property enabled = Property.bool(false); + private static Property format = Property.select(0, "24 hour", "12 hour"); + private static Property seconds = Property.bool(false); + private static ModDimensions dimensions = new ModDimensions(60, Fonts.getHeight()); + + public Clock() { + super(new ModuleDetails("Clock", "clock") + .description("Displays the current real-world time") + .version("v0.1.0") + .tags("Utility"), + enabled.named("Enabled"), + format.named("Format"), + seconds.named("Show seconds"), + dimensions.prop()); + } + + @Override + public void renderDummy(RenderScope scope) { + renderClock(scope); + } + + @Override + public void renderHud(RenderScope scope) { + renderClock(scope); + } + + public void renderClock(RenderScope scope) { + String text = ""; + LocalTime currentTime = LocalTime.now(); + + switch (format.value) { + case 0: + if (seconds.value) { + text = currentTime.format(DateTimeFormatter.ofPattern("HH:mm:ss")); + } else { + text = currentTime.format(DateTimeFormatter.ofPattern("HH:mm")); + } + break; + case 1: + if (seconds.value) { + text = currentTime.format(DateTimeFormatter.ofPattern("hh:mm:ss a")); + } else { + text = currentTime.format(DateTimeFormatter.ofPattern("hh:mm a")); + } + break; + } + + scope.drawText(text, + 0, 0, dimensions.font.value, dimensions.fgColor.value); + dimensions.width = Fonts.getWidth(text, dimensions.font.value); + dimensions.height = 18 * text.split("\n").length; + } + + @Override + public boolean isEnabled() { + return enabled.value; + } + + @Override + public ModDimensions getDimensions() { + return dimensions; + } + + @Override + public void onEnabled(boolean e) { + enabled.value = e; + } +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/mods/Coordinates.java b/src/main/java/org/saturnclient/modules/mods/Coordinates.java new file mode 100644 index 0000000..bfd1b9f --- /dev/null +++ b/src/main/java/org/saturnclient/modules/mods/Coordinates.java @@ -0,0 +1,98 @@ +package org.saturnclient.modules.mods; + +import org.saturnclient.modules.HudMod; +import org.saturnclient.modules.ModDimensions; +import org.saturnclient.modules.Module; +import org.saturnclient.modules.ModuleDetails; +import org.saturnclient.modules.interfaces.CoordinatesInterface; +import org.saturnclient.config.manager.Property; +import org.saturnclient.ui.RenderScope; +import org.saturnclient.ui.resources.Fonts; + +public class Coordinates extends Module implements HudMod { + + private static Property enabled = Property.bool(false); + + private static Property displayMethod = Property.select( + 0, + "Flat", + "Flat annotated", + "Newline", + "Newline annotated"); + + private static ModDimensions dimensions = new ModDimensions(40, 18); + + private final CoordinatesInterface minecraft; + + public Coordinates(CoordinatesInterface minecraft) { + super(new ModuleDetails("Coordinates", "coords") + .description("Displays your current coordinates") + .version("v0.1.0") + .tags("Utility"), + enabled.named("Enabled"), + displayMethod.named("Display Method"), + dimensions.prop()); + + this.minecraft = minecraft; + } + + @Override + public void renderDummy(RenderScope scope) { + renderCoords(532, 69, 253, scope); + } + + @Override + public void renderHud(RenderScope scope) { + int x = minecraft.getPlayerX(); + int y = minecraft.getPlayerY(); + int z = minecraft.getPlayerZ(); + + renderCoords(x, y, z, scope); + } + + public void renderCoords(int x, int y, int z, RenderScope scope) { + + String f = "%d %d %d"; + + switch (displayMethod.value) { + case 1: + f = "X: %d Y: %d Z: %d"; + break; + + case 2: + f = "%d\n%d\n%d"; + break; + + case 3: + f = "X: %d\nY: %d\nZ: %d"; + break; + } + + String text = String.format(f, x, y, z); + + scope.drawText( + text, + 0, + 0, + dimensions.font.value, + dimensions.fgColor.value); + + dimensions.width = Fonts.getWidth(text, dimensions.font.value); + dimensions.height = 18 * text.split("\n").length; + } + + @Override + public boolean isEnabled() { + return enabled.value; + } + + @Override + public ModDimensions getDimensions() { + return dimensions; + } + + @Override + public void onEnabled(boolean e) { + enabled.value = e; + } +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/mods/Crosshair.java b/src/main/java/org/saturnclient/modules/mods/Crosshair.java new file mode 100644 index 0000000..ad76b5e --- /dev/null +++ b/src/main/java/org/saturnclient/modules/mods/Crosshair.java @@ -0,0 +1,55 @@ +package org.saturnclient.modules.mods; + +import org.saturnclient.modules.Module; +import org.saturnclient.modules.ModuleDetails; +import org.saturnclient.modules.interfaces.CrosshairInterface; +import org.saturnclient.config.manager.Property; +import org.saturnclient.ui.RenderScope; +import org.saturnclient.ui.resources.Textures; + +public class Crosshair extends Module { + + public static Property enabled = Property.bool(false); + + private final CrosshairInterface minecraft; + + public Crosshair(CrosshairInterface minecraft) { + super( + new ModuleDetails("Crosshair", "crosshair") + .description("Changes the crosshair if you're aiming at a entity") + .tags("Visuals", "Utility") + .version("v0.1.0"), + enabled.named("Enabled")); + + this.minecraft = minecraft; + } + + @Override + public void render(RenderScope scope) { + + if (enabled.value && minecraft.isTargetingLivingEntity()) { + + int scaledWidth = 15; + int scaledHeight = 15; + + scope.drawTexture( + Textures.CROSSHAIR_RANGE, + (scope.getScaledWindowWidth() - scaledWidth) / 2, + (scope.getScaledWindowHeight() - scaledHeight) / 2, + 0.0F, + 0.0F, + scaledWidth, + scaledHeight); + } + } + + @Override + public boolean isEnabled() { + return enabled.value; + } + + @Override + public void onEnabled(boolean e) { + enabled.value = e; + } +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/mods/DayCounter.java b/src/main/java/org/saturnclient/modules/mods/DayCounter.java new file mode 100644 index 0000000..cdede7a --- /dev/null +++ b/src/main/java/org/saturnclient/modules/mods/DayCounter.java @@ -0,0 +1,71 @@ +package org.saturnclient.modules.mods; + +import org.saturnclient.modules.HudMod; +import org.saturnclient.modules.ModDimensions; +import org.saturnclient.modules.Module; +import org.saturnclient.modules.ModuleDetails; +import org.saturnclient.modules.interfaces.DayCounterInterface; +import org.saturnclient.config.manager.Property; +import org.saturnclient.ui.RenderScope; +import org.saturnclient.ui.resources.Fonts; + +public class DayCounter extends Module implements HudMod { + + private static Property enabled = Property.bool(false); + private static ModDimensions dimensions = new ModDimensions(40, 18); + + private final DayCounterInterface minecraft; + + long day = 0; + + public DayCounter(DayCounterInterface minecraft) { + super(new ModuleDetails("DayCounter", "day") + .description("Displays the number of days that have passed") + .version("v0.1.0") + .tags("Utility"), + enabled.named("Enabled"), + dimensions.prop()); + + this.minecraft = minecraft; + } + + @Override + public void renderDummy(RenderScope scope) { + renderDay(271, scope); + } + + @Override + public void renderHud(RenderScope scope) { + day = minecraft.getDay(); + renderDay(day, scope); + } + + public void renderDay(long day, RenderScope scope) { + String text = "Day: " + day; + + scope.drawText( + text, + 0, + 0, + dimensions.font.value, + dimensions.fgColor.value); + + dimensions.width = Fonts.getWidth(text, dimensions.font.value); + dimensions.height = 18 * text.split("\n").length; + } + + @Override + public boolean isEnabled() { + return enabled.value; + } + + @Override + public ModDimensions getDimensions() { + return dimensions; + } + + @Override + public void onEnabled(boolean e) { + enabled.value = e; + } +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/mods/Fps.java b/src/main/java/org/saturnclient/modules/mods/Fps.java new file mode 100644 index 0000000..0c8c1a0 --- /dev/null +++ b/src/main/java/org/saturnclient/modules/mods/Fps.java @@ -0,0 +1,64 @@ +package org.saturnclient.modules.mods; + +import org.saturnclient.modules.HudMod; +import org.saturnclient.modules.ModDimensions; +import org.saturnclient.modules.Module; +import org.saturnclient.modules.ModuleDetails; +import org.saturnclient.modules.interfaces.FpsInterface; +import org.saturnclient.config.manager.Property; +import org.saturnclient.ui.RenderScope; +import org.saturnclient.ui.resources.Fonts; + +public class Fps extends Module implements HudMod { + + private static Property enabled = Property.bool(false); + private static ModDimensions dimensions = new ModDimensions(60, Fonts.getHeight()); + + private final FpsInterface minecraft; + + public Fps(FpsInterface minecraft) { + super(new ModuleDetails("FPS Display", "fps") + .description("Displays current FPS") + .version("v0.1.0") + .tags("Utility"), + enabled.named("Enabled"), + dimensions.prop()); + + this.minecraft = minecraft; + } + + @Override + public void renderHud(RenderScope scope) { + int fps = minecraft.getFps(); + + String text = fps + " FPS"; + + scope.drawText(text, 0, 0, dimensions.font.value, dimensions.fgColor.value); + + dimensions.width = Fonts.getWidth(text, dimensions.font.value); + } + + @Override + public void renderDummy(RenderScope scope) { + String text = "369 FPS"; + + scope.drawText(text, 0, 0, dimensions.font.value, dimensions.fgColor.value); + + dimensions.width = Fonts.getWidth(text, dimensions.font.value); + } + + @Override + public boolean isEnabled() { + return enabled.value; + } + + @Override + public void onEnabled(boolean e) { + enabled.value = e; + } + + @Override + public ModDimensions getDimensions() { + return dimensions; + } +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/mods/Freelook.java b/src/main/java/org/saturnclient/modules/mods/Freelook.java new file mode 100644 index 0000000..7d643ef --- /dev/null +++ b/src/main/java/org/saturnclient/modules/mods/Freelook.java @@ -0,0 +1,88 @@ +package org.saturnclient.modules.mods; + +import org.saturnclient.modules.Module; +import org.saturnclient.modules.ModuleDetails; +import org.saturnclient.modules.interfaces.FreelookInterface; +import org.saturnclient.config.manager.Key; +import org.saturnclient.config.manager.Property; + +public class Freelook extends Module { + + private static Property enabled = Property.bool(false); + private static Property toggle = Property.bool(true); + + public static Property freelookKey = Property.keybinding(Key.GLFW_KEY_H); + + public static boolean isFreeLooking = false; + private static boolean was1stPerson = false; + + private final FreelookInterface minecraft; + + public Freelook(FreelookInterface minecraft) { + super( + new ModuleDetails("Freelook", "freelook") + .description("Allows you to look around freely without moving your character") + .tags("Movement", "Camera") + .version("0.1.0"), + enabled.named("Enabled"), + toggle.named("Toggle freelook"), + freelookKey.named("Freelook Keybinding")); + + this.minecraft = minecraft; + } + + @Override + public void tick() { + + if (toggle.value) { + + if (freelookKey.wasKeyPressed()) { + + if (isFreeLooking) { + stopFreelook(); + } else { + startFreelook(); + } + + } + + } else if (freelookKey.isKeyPressed()) { + + if (!isFreeLooking) { + startFreelook(); + } + + } else if (isFreeLooking) { + + stopFreelook(); + + } + } + + private void startFreelook() { + isFreeLooking = true; + + was1stPerson = minecraft.isFirstPerson(); + + minecraft.setThirdPersonBack(); + } + + private void stopFreelook() { + + if (was1stPerson) { + minecraft.setFirstPerson(); + } + + isFreeLooking = false; + } + + @Override + public void onEnabled(boolean e) { + enabled.value = e; + } + + @Override + public boolean isEnabled() { + return enabled.value; + } +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/mods/Fullbright.java b/src/main/java/org/saturnclient/modules/mods/Fullbright.java new file mode 100644 index 0000000..e067c37 --- /dev/null +++ b/src/main/java/org/saturnclient/modules/mods/Fullbright.java @@ -0,0 +1,39 @@ +package org.saturnclient.modules.mods; + +import org.saturnclient.modules.Module; +import org.saturnclient.modules.ModuleDetails; +import org.saturnclient.config.manager.Property; + +public class Fullbright extends Module { + private static Property enabled = Property.bool(false); + private static Property brightness = Property.integer(100); + + public Fullbright() { + super( + new ModuleDetails("Fullbright", "fullbright") + .description("Allows you to see in the dark") + .tags("Camera") + .version("v0.1.0"), + enabled.named("Enabled"), + brightness.named("Brightness %")); + } + + @Override + public boolean isEnabled() { + return enabled.value; + } + + @Override + public void onEnabled(boolean e) { + enabled.value = e; + } + + public static boolean shouldOverrideBrightness() { + return enabled.value; + } + + public static float getBrightnessValue() { + return brightness.value / 10; + } + +} diff --git a/src/main/java/org/saturnclient/modules/mods/HealthDisplay.java b/src/main/java/org/saturnclient/modules/mods/HealthDisplay.java new file mode 100644 index 0000000..b217101 --- /dev/null +++ b/src/main/java/org/saturnclient/modules/mods/HealthDisplay.java @@ -0,0 +1,97 @@ +package org.saturnclient.modules.mods; + +import org.saturnclient.modules.HudMod; +import org.saturnclient.modules.ModDimensions; +import org.saturnclient.modules.Module; +import org.saturnclient.modules.ModuleDetails; +import org.saturnclient.modules.interfaces.HealthDisplayInterface; +import org.saturnclient.config.manager.Property; +import org.saturnclient.ui.RenderScope; +import org.saturnclient.ui.resources.Fonts; + +public class HealthDisplay extends Module implements HudMod { + + private static Property enabled = Property.bool(false); + private static Property displayMode = Property.select(0, "Health", "Hearts"); + private static Property decimals = Property.select(0, "0", "1", "2"); + + private static ModDimensions dimensions = new ModDimensions(40, 18); + + private final HealthDisplayInterface minecraft; + + public HealthDisplay(HealthDisplayInterface minecraft) { + super(new ModuleDetails("Health display", "health") + .description("Displays your current health") + .version("v0.1.0") + .tags("Utility"), + enabled.named("Enabled"), + displayMode.named("Display mode"), + decimals.named("Decimals"), + dimensions.prop()); + + this.minecraft = minecraft; + } + + @Override + public void renderDummy(RenderScope scope) { + renderHealth(10, scope); + } + + @Override + public void renderHud(RenderScope scope) { + float health = minecraft.getPlayerHealth(); + + switch (displayMode.value) { + case 1: + health = health / 2; + break; + } + + renderHealth(health, scope); + } + + public void renderHealth(float health, RenderScope scope) { + + String text = ""; + + switch (decimals.value) { + case 0: + text = String.format("%.0f ", health); + break; + + case 1: + text = String.format("%.1f ", health); + break; + + case 2: + text = String.format("%.2f ", health); + break; + } + + scope.drawText( + text, + 0, + 0, + dimensions.font.value, + dimensions.fgColor.value + ); + + dimensions.width = Fonts.getWidth(text, dimensions.font.value); + dimensions.height = 18 * text.split("\n").length; + } + + @Override + public boolean isEnabled() { + return enabled.value; + } + + @Override + public ModDimensions getDimensions() { + return dimensions; + } + + @Override + public void onEnabled(boolean e) { + enabled.value = e; + } +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/mods/Keystrokes.java b/src/main/java/org/saturnclient/modules/mods/Keystrokes.java new file mode 100644 index 0000000..acf7256 --- /dev/null +++ b/src/main/java/org/saturnclient/modules/mods/Keystrokes.java @@ -0,0 +1,156 @@ +package org.saturnclient.modules.mods; + +import org.saturnclient.modules.Module; +import org.saturnclient.modules.HudMod; +import org.saturnclient.modules.ModDimensions; +import org.saturnclient.modules.ModuleDetails; +import org.saturnclient.modules.interfaces.KeystrokesInterface; +import org.saturnclient.config.manager.Property; +import org.saturnclient.ui.RenderScope; + +public class Keystrokes extends Module implements HudMod { + + private static final Property enabled = Property.bool(false); + private static final Property showMouse = Property.bool(true); + private static final Property showSpace = Property.bool(false); + + private static final Property clickBg = Property.color(0xFFCCCCCC); + private static final Property clickFg = Property.color(0xFFFFFFFF); + + private static final ModDimensions dimensions = new ModDimensions(78, 54); + + private final KeystrokesInterface minecraft; + + // Key states + private boolean w, a, s, d, lmb, rmb, space; + + // Layout constants + private static final int KEY_SIZE = 24; + private static final int KEY_SPACING = 3; + private static final int MOUSE_WIDTH = 38; + private static final int MOUSE_HEIGHT = 24; + private static final int SPACE_HEIGHT = 19; + + public Keystrokes(KeystrokesInterface minecraft) { + super(new ModuleDetails("Keystrokes", "keystrokes") + .description("Displays movement keystrokes") + .version("v0.2.0") + .tags("Utility"), + + enabled.named("Enabled"), + showMouse.named("Show mouse clicks"), + showSpace.named("Show space"), + dimensions.prop(), + clickFg.named("Clicked fg"), + clickBg.named("Clicked bg")); + + this.minecraft = minecraft; + + dimensions.renderBackground = false; + } + + @Override + public void tick() { + w = minecraft.isForwardPressed(); + a = minecraft.isLeftPressed(); + s = minecraft.isBackPressed(); + d = minecraft.isRightPressed(); + lmb = minecraft.isAttackPressed(); + rmb = minecraft.isUsePressed(); + space = minecraft.isJumpPressed(); + + updateHeight(); + } + + private void updateHeight() { + int height = KEY_SIZE * 2 + KEY_SPACING; + + if (showSpace.value) + height += SPACE_HEIGHT + KEY_SPACING; + + if (showMouse.value) + height += MOUSE_HEIGHT + KEY_SPACING; + + dimensions.height = height; + } + + @Override + public void renderDummy(RenderScope scope) { + render(scope, false); + } + + @Override + public void renderHud(RenderScope scope) { + render(scope, true); + } + + private void render(RenderScope scope, boolean live) { + + int yOffset = 0; + + // --- W --- + renderKey(scope, live && w, 'W', KEY_SIZE + KEY_SPACING, yOffset); + + // --- A S D --- + yOffset += KEY_SIZE + KEY_SPACING; + + renderKey(scope, live && a, 'A', 0, yOffset); + renderKey(scope, live && s, 'S', KEY_SIZE + KEY_SPACING, yOffset); + renderKey(scope, live && d, 'D', (KEY_SIZE + KEY_SPACING) * 2, yOffset); + + yOffset += KEY_SIZE + KEY_SPACING; + + // --- SPACE --- + if (showSpace.value) { + renderKeySpace(scope, live && space, 0, yOffset); + yOffset += SPACE_HEIGHT + KEY_SPACING; + } + + // --- MOUSE --- + if (showMouse.value) { + renderKeyMouse(scope, live && lmb, "LMB", 0, yOffset); + renderKeyMouse(scope, live && rmb, "RMB", MOUSE_WIDTH + KEY_SPACING, yOffset); + } + } + + private void renderKey(RenderScope scope, boolean pressed, char c, int x, int y) { + int bg = pressed ? clickBg.value : dimensions.bgColor.value; + int fg = pressed ? clickFg.value : dimensions.fgColor.value; + + scope.drawRoundedRectangle(x, y, KEY_SIZE, KEY_SIZE, dimensions.radius.value, bg); + scope.drawText(0.6f, String.valueOf(c), x + 9, y + 7, dimensions.font.value, fg); + } + + private void renderKeyMouse(RenderScope scope, boolean pressed, String text, int x, int y) { + int bg = pressed ? clickBg.value : dimensions.bgColor.value; + int fg = pressed ? clickFg.value : dimensions.fgColor.value; + + scope.drawRoundedRectangle(x, y, MOUSE_WIDTH, MOUSE_HEIGHT, dimensions.radius.value, bg); + scope.drawText(0.6f, text, x + 9, y + 7, dimensions.font.value, fg); + } + + private void renderKeySpace(RenderScope scope, boolean pressed, int x, int y) { + int bg = pressed ? clickBg.value : dimensions.bgColor.value; + int fg = pressed ? clickFg.value : dimensions.fgColor.value; + + scope.drawRoundedRectangle(x, y, dimensions.width, SPACE_HEIGHT, dimensions.radius.value, bg); + + int lineY = y + SPACE_HEIGHT / 2; + scope.drawRect(x + (dimensions.width - 30) / 2, lineY, 30, 1, fg); + } + + @Override + public boolean isEnabled() { + return enabled.value; + } + + @Override + public ModDimensions getDimensions() { + return dimensions; + } + + @Override + public void onEnabled(boolean e) { + enabled.value = e; + } +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/mods/Nametags.java b/src/main/java/org/saturnclient/modules/mods/Nametags.java new file mode 100644 index 0000000..17b5de2 --- /dev/null +++ b/src/main/java/org/saturnclient/modules/mods/Nametags.java @@ -0,0 +1,121 @@ +package org.saturnclient.modules.mods; + +import org.saturnclient.modules.Module; +import org.saturnclient.modules.ModuleDetails; +import org.saturnclient.config.manager.Property; +import org.saturnclient.modules.interfaces.NametagsInterface; + +public class Nametags extends Module { + + private static Property enabled = Property.bool(false); + private static Property healthDisplay = Property.bool(false); + private static Property players = Property.bool(true); + private static Property hostile = Property.bool(false); + private static Property passive = Property.bool(false); + private static Property heartEmoji = Property.bool(true); + private static Property obfuscate = Property.bool(false); + private static Property unit = Property.select(0, "Health", "Hearts"); + private static Property format = Property.select(0, "Value", "Value / Total", "%"); + private static Property nameColor = Property.select(15, + "Black","Dark Blue","Dark Green","Dark Aqua","Dark Red","Dark Purple","Gold","Gray", + "Dark Gray","Blue","Green","Aqua","Red","Light Purple","Yellow","White"); + private static Property healthColor = Property.select(12, + "Black","Dark Blue","Dark Green","Dark Aqua","Dark Red","Dark Purple","Gold","Gray", + "Dark Gray","Blue","Green","Aqua","Red","Light Purple","Yellow","White"); + + private static final String[] COLOR_CODES = { + "§0", "§1", "§2", "§3", "§4", "§5", "§6", "§7", + "§8", "§9", "§a", "§b", "§c", "§d", "§e", "§f" + }; + + public Nametags(NametagsInterface minecraft) { + super(new ModuleDetails("Nametags", "nametags") + .description("Allows you to modify entity nametags") + .tags("Camera", "Utility") + .version("0.1.0"), + enabled.named("Enabled"), + healthDisplay.named("Display health"), + players.named("Players"), + hostile.named("Hostile"), + passive.named("Passive"), + heartEmoji.named("Heart emoji"), + obfuscate.named("Obfuscate enemy names"), + unit.named("Unit"), + format.named("Format"), + nameColor.named("Name color"), + healthColor.named("Health color")); + } + + @Override + public void tick() { + // Currently unused + } + + public static String getHealthString(NametagsInterface.EntityState state, float health, float maxHealth) { + String ret = ""; + + switch (format.value) { + case 0: // value + ret = String.format("%.1f", health / (unit.value + 1)); + break; + + case 1: // value / total + ret = String.format("%.1f", health / (unit.value + 1)) + " / " + + String.format("%.1f", maxHealth / (unit.value + 1)); + break; + + case 2: // % + ret = String.format("%.0f%%", (health / maxHealth) * 100); + break; + } + + return ret; + } + + public static String getNametagString(NametagsInterface.EntityState state) { + if (state.getCustomName() == null) + return null; + + if (!healthDisplay.value) + return state.getCustomName(); // name only + + float health = state.getHealth(); + float maxHealth = state.getMaxHealth(); + NametagsInterface.EntityType type = state.getEntityType(); + + if (type == NametagsInterface.EntityType.PASSIVE && !passive.value) + return null; + if (type == NametagsInterface.EntityType.HOSTILE && !hostile.value) + return null; + if (type == NametagsInterface.EntityType.PLAYER && !players.value) + return null; + if (type == NametagsInterface.EntityType.OTHER) + return null; + + if (health < 0f || maxHealth < 0f || health > maxHealth) + return null; + + String hpColor = COLOR_CODES[healthColor.value]; + String color = COLOR_CODES[nameColor.value]; + String heart = heartEmoji.value ? " ❤" : ""; + String obf = obfuscate.value ? "§k" : ""; + String reset = "§r"; + + return color + obf + state.getCustomName() + reset + " " + hpColor + + getHealthString(state, health, maxHealth) + heart; + } + + public static boolean shouldReplaceName() { + return enabled.value; + } + + @Override + public void onEnabled(boolean e) { + enabled.value = e; + } + + @Override + public boolean isEnabled() { + return enabled.value; + } +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/mods/NoFog.java b/src/main/java/org/saturnclient/modules/mods/NoFog.java new file mode 100644 index 0000000..3b0ee88 --- /dev/null +++ b/src/main/java/org/saturnclient/modules/mods/NoFog.java @@ -0,0 +1,39 @@ +package org.saturnclient.modules.mods; + +import org.saturnclient.modules.Module; +import org.saturnclient.modules.ModuleDetails; +import org.saturnclient.config.manager.Property; + +public class NoFog extends Module { + private static Property enabled = Property.bool(false); + private static Property liquids = Property.bool(false); + + public NoFog() { + super( + new ModuleDetails("No Fog", "nofog") + .description("Stops fog from rendering") + .tags("Camera") + .version("v0.1.0"), + enabled.named("Enabled"), + liquids.named("See through liquids")); + } + + @Override + public boolean isEnabled() { + return enabled.value; + } + + @Override + public void onEnabled(boolean e) { + enabled.value = e; + } + + // static for the mixin + public static boolean isActive() { + return enabled.value; + } + + public static boolean liquids() { + return liquids.value; + } +} diff --git a/src/main/java/org/saturnclient/modules/mods/Ping.java b/src/main/java/org/saturnclient/modules/mods/Ping.java new file mode 100644 index 0000000..7d84914 --- /dev/null +++ b/src/main/java/org/saturnclient/modules/mods/Ping.java @@ -0,0 +1,59 @@ +package org.saturnclient.modules.mods; + +import org.saturnclient.modules.HudMod; +import org.saturnclient.modules.ModDimensions; +import org.saturnclient.modules.Module; +import org.saturnclient.modules.ModuleDetails; +import org.saturnclient.config.manager.Property; +import org.saturnclient.modules.interfaces.PingInterface; +import org.saturnclient.ui.RenderScope; +import org.saturnclient.ui.resources.Fonts; + +public class Ping extends Module implements HudMod { + + private static Property enabled = Property.bool(false); + private static ModDimensions dimensions = new ModDimensions(60, Fonts.getHeight()); + + private final PingInterface pingProvider; + + public Ping(PingInterface pingProvider) { + super(new ModuleDetails("Ping Display", "ping") + .description("Displays ping") + .version("v0.1.0") + .tags("Utility"), + enabled.named("Enabled"), + dimensions.prop()); + + this.pingProvider = pingProvider; + } + + @Override + public void renderHud(RenderScope scope) { + int ping = pingProvider.getPing(); + String text = ping + " ms"; + scope.drawText(text, 0, 0, dimensions.font.value, dimensions.fgColor.value); + dimensions.width = Fonts.getWidth(text, dimensions.font.value); + } + + @Override + public void renderDummy(RenderScope scope) { + String text = "10 ms"; + scope.drawText(text, 0, 0, dimensions.font.value, dimensions.fgColor.value); + dimensions.width = Fonts.getWidth(text, dimensions.font.value); + } + + @Override + public boolean isEnabled() { + return enabled.value; + } + + @Override + public void onEnabled(boolean e) { + enabled.value = e; + } + + @Override + public ModDimensions getDimensions() { + return dimensions; + } +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/mods/Speedometer.java b/src/main/java/org/saturnclient/modules/mods/Speedometer.java new file mode 100644 index 0000000..b131ace --- /dev/null +++ b/src/main/java/org/saturnclient/modules/mods/Speedometer.java @@ -0,0 +1,96 @@ +package org.saturnclient.modules.mods; + +import org.saturnclient.modules.HudMod; +import org.saturnclient.modules.ModDimensions; +import org.saturnclient.modules.Module; +import org.saturnclient.modules.ModuleDetails; +import org.saturnclient.config.manager.Property; +import org.saturnclient.modules.interfaces.SpeedometerInterface; +import org.saturnclient.ui.RenderScope; +import org.saturnclient.ui.resources.Fonts; + +public class Speedometer extends Module implements HudMod { + + private static Property enabled = Property.bool(false); + private static Property axis = Property.select(1, "Absolute", "X axis", "Y axis"); + private static Property unitText = Property.select(0, "None", "Blocks/s", "blocks/s", "b/s"); + private static Property speedText = Property.bool(true); + private static ModDimensions dimensions = new ModDimensions(40, 18); + + private final SpeedometerInterface provider; + private double speed = 0.; + + public Speedometer(SpeedometerInterface provider) { + super(new ModuleDetails("Speedometer", "speed") + .description("Displays your current speed") + .version("v0.1.0") + .tags("Utility"), + enabled.named("Enabled"), + axis.named("Speed type"), + unitText.named("Unit text"), + speedText.named("Show speed text"), + dimensions.prop()); + + this.provider = provider; + } + + @Override + public void renderDummy(RenderScope scope) { + renderSpeed(2.71, scope); + } + + @Override + public void renderHud(RenderScope scope) { + SpeedometerInterface.Velocity velocity = provider.getVelocity(); + boolean onGround = provider.isOnGround(); + + double y = onGround ? 0.0 : velocity.y; + + switch (axis.value) { + case 0: // Absolute + speed = Math.sqrt(Math.pow(velocity.x, 2) + Math.pow(y, 2) + Math.pow(velocity.z, 2)); + break; + case 1: // X axis + speed = Math.sqrt(Math.pow(velocity.x, 2) + Math.pow(velocity.z, 2)); + break; + case 2: // Y axis + speed = Math.abs(y); + break; + } + + renderSpeed(speed * 20, scope); // blocks/tick to blocks/s + } + + public void renderSpeed(double speed, RenderScope scope) { + String text = String.format("%.2f ", speed); + + switch (unitText.value) { + case 1 -> text += "Blocks/s"; + case 2 -> text += "blocks/s"; + case 3 -> text += "b/s"; + } + + if (speedText.value) { + text = "Speed: " + text; + } + + scope.drawText(text, 0, 0, dimensions.font.value, dimensions.fgColor.value); + dimensions.width = Fonts.getWidth(text, dimensions.font.value); + dimensions.height = 18 * text.split("\n").length; + } + + @Override + public boolean isEnabled() { + return enabled.value; + } + + @Override + public ModDimensions getDimensions() { + return dimensions; + } + + @Override + public void onEnabled(boolean e) { + enabled.value = e; + } +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/mods/StatusEffects.java b/src/main/java/org/saturnclient/modules/mods/StatusEffects.java new file mode 100644 index 0000000..cbd8efe --- /dev/null +++ b/src/main/java/org/saturnclient/modules/mods/StatusEffects.java @@ -0,0 +1,86 @@ +package org.saturnclient.modules.mods; + +import java.util.List; + +import org.saturnclient.modules.HudMod; +import org.saturnclient.modules.ModDimensions; +import org.saturnclient.modules.Module; +import org.saturnclient.modules.ModuleDetails; +import org.saturnclient.modules.interfaces.StatusEffectsInterface; +import org.saturnclient.config.manager.Property; +import org.saturnclient.ui.RenderScope; + +public class StatusEffects extends Module implements HudMod { + + public static Property enabled = Property.bool(false); + private static ModDimensions dimensions = new ModDimensions(60, 0); + + private final StatusEffectsInterface provider; + + public StatusEffects(StatusEffectsInterface provider) { + super(new ModuleDetails("Status effects", "effect") + .description("Displays status effects") + .version("v0.1.0") + .tags("Utility"), + enabled.named("Enabled"), + dimensions.prop()); + + this.provider = provider; + } + + private void renderEffects(RenderScope scope, List effects) { + int row = 0; + + for (StatusEffectsInterface.Effect effect : effects) { + if (!effect.shouldShowIcon()) continue; + + scope.drawSpriteStretched(effect.getIcon(), 0, 18 * row, 16, 16); + scope.drawText(0.5f, getDurationAsString(effect), 18, 18 * row + 3, dimensions.font.value, -1); + row++; + } + + dimensions.height = 18 * row; + } + + @Override + public void renderHud(RenderScope scope) { + renderEffects(scope, provider.getActiveEffects()); + } + + @Override + public void renderDummy(RenderScope scope) { + renderEffects(scope, provider.getDummyEffects()); + } + + private String getDurationAsString(StatusEffectsInterface.Effect effect) { + if (effect.isInfinite()) { + return effect.getInfiniteText(); + } + + int totalSeconds = effect.getDurationSeconds(); + if (totalSeconds >= 3600) { + return totalSeconds / 3600 + "h"; + } else if (totalSeconds >= 60) { + int minutes = totalSeconds / 60; + int seconds = totalSeconds % 60; + return String.format("%d:%02d", minutes, seconds); + } else { + return totalSeconds + "s"; + } + } + + @Override + public ModDimensions getDimensions() { + return dimensions; + } + + @Override + public boolean isEnabled() { + return enabled.value; + } + + @Override + public void onEnabled(boolean e) { + enabled.value = e; + } +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/modules/mods/Tps.java b/src/main/java/org/saturnclient/modules/mods/Tps.java new file mode 100644 index 0000000..4f1acb4 --- /dev/null +++ b/src/main/java/org/saturnclient/modules/mods/Tps.java @@ -0,0 +1,100 @@ +package org.saturnclient.modules.mods; + +import org.saturnclient.modules.HudMod; +import org.saturnclient.modules.ModDimensions; +import org.saturnclient.modules.Module; +import org.saturnclient.modules.ModuleDetails; +import org.saturnclient.config.manager.Property; +import org.saturnclient.ui.RenderScope; +import org.saturnclient.ui.resources.Fonts; + +public class Tps extends Module implements HudMod { + private static Property enabled = Property.bool(false); + private static ModDimensions dimensions = new ModDimensions(60, Fonts.getHeight()); + + private static long lastWorldAge = -1; + private static long lastRealTime = -1; + private static double currentTps = 20.0; + + private static final int SAMPLE_COUNT = 2; + private static final double[] samples = new double[SAMPLE_COUNT]; + static { + java.util.Arrays.fill(samples, 20.0); + } + private static int sampleIndex = 0; + private static int samplesFilled = 0; + + public Tps() { + super(new ModuleDetails("TPS Display", "tps") + .description("Displays the TPS") + .version("v0.1.0") + .tags("Utility"), + enabled.named("Enabled"), + dimensions.prop()); + } + + public static void onTimePacket(long worldAge) { + long now = System.currentTimeMillis(); + + if (lastWorldAge != -1 && lastRealTime != -1) { + long tickDelta = worldAge - lastWorldAge; + long timeDelta = now - lastRealTime; + + if (timeDelta > 0 && tickDelta > 0) { + double sample = (tickDelta / (double) timeDelta) * 1000.0; + sample = Math.min(sample, 20.0); + + samples[sampleIndex % SAMPLE_COUNT] = sample; + sampleIndex++; + samplesFilled = Math.min(samplesFilled + 1, SAMPLE_COUNT); + + double sum = 0; + for (int i = 0; i < samplesFilled; i++) + sum += samples[i]; + currentTps = sum / samplesFilled; + } + } + + lastWorldAge = worldAge; + lastRealTime = now; + } + + public static void reset() { + lastWorldAge = -1; + lastRealTime = -1; + currentTps = 20.0; + sampleIndex = 0; + samplesFilled = SAMPLE_COUNT; + for (int i = 0; i < SAMPLE_COUNT; i++) + samples[i] = 20.0; + } + + @Override + public void renderHud(RenderScope scope) { + String text = String.format("%.1f TPS", currentTps); + scope.drawText(text, 0, 0, dimensions.font.value, dimensions.fgColor.value); + dimensions.width = Fonts.getWidth(text, dimensions.font.value); + } + + @Override + public void renderDummy(RenderScope scope) { + String text = "20.0 TPS"; + scope.drawText(text, 0, 0, dimensions.font.value, dimensions.fgColor.value); + dimensions.width = Fonts.getWidth(text, dimensions.font.value); + } + + @Override + public boolean isEnabled() { + return enabled.value; + } + + @Override + public void onEnabled(boolean e) { + enabled.value = e; + } + + @Override + public ModDimensions getDimensions() { + return dimensions; + } +} diff --git a/src/main/java/org/saturnclient/modules/mods/Zoom.java b/src/main/java/org/saturnclient/modules/mods/Zoom.java new file mode 100644 index 0000000..77240bc --- /dev/null +++ b/src/main/java/org/saturnclient/modules/mods/Zoom.java @@ -0,0 +1,59 @@ +package org.saturnclient.modules.mods; + +import org.saturnclient.modules.Module; +import org.saturnclient.modules.ModuleDetails; +import org.saturnclient.config.manager.Key; +import org.saturnclient.config.manager.Property; + +public class Zoom extends Module { + private static Property enabled = Property.bool(false); + private static Property toggle = Property.bool(false); + public static Property zoomKey = Property.keybinding(Key.GLFW_KEY_C); + public static Property zoomLevel = Property.floatProp(3.0f); + + public static boolean isZooming = false; + + public Zoom() { + super( + new ModuleDetails("Zoom", "zoom") + .description("Allows you to zoom in for a closer view") + .tags("Camera", "Utility") + .version("0.1.0"), + enabled.named("Enabled"), + toggle.named("Toggle zoom"), + zoomKey.named("Zoom Keybinding"), + zoomLevel.named("Zoom Level")); + } + + @Override + public void tick() { + if (toggle.value) { + if (zoomKey.wasKeyPressed()) { + isZooming = !isZooming; + } + } else { + isZooming = zoomKey.isKeyPressed(); + } + } + + public static float getZoomLevel() { + return zoomLevel.value; + } + + public static boolean shouldZoom() { + return enabled.value; + } + + @Override + public void onEnabled(boolean e) { + enabled.value = e; + if (!e) { + isZooming = false; + } + } + + @Override + public boolean isEnabled() { + return enabled.value; + } +} diff --git a/src/main/java/org/saturnclient/ui/Element.java b/src/main/java/org/saturnclient/ui/Element.java new file mode 100644 index 0000000..1b2f15b --- /dev/null +++ b/src/main/java/org/saturnclient/ui/Element.java @@ -0,0 +1,89 @@ +package org.saturnclient.ui; + +import org.saturnclient.ui.anim.Animation; + +public class Element { + public int x; + public int y; + public int width; + public int height; + public float opacity = 1.0f; + public boolean focused; + public Animation animation; + public float scale = 1.0f; + public Integer duration = null; // Element duration, will fade out if not null + + public void render(RenderScope renderScope, ElementContext ctx) { + } + + public void click(int mouseX, int mouseY) { + } + + public void scroll(int mouseX, int mouseY, double horizontalAmount, double verticalAmount) { + } + + public void keyPressed(int keyCode, int scanCode, int modifiers) { + } + + public void charTyped(char typedChar) { + } + + public void mouseClicked(double mouseX, double mouseY, int button) { + } + + public void mouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY) { + } + + public void mouseReleased(double mouseX, double mouseY, int button) { + } + + public void playAnimationFrame(long elapsed) { + if (this.animation != null && elapsed >= this.animation.delay) { + this.animation.tick(this.animation.curve + .apply(Math.min(1.0, (double) (elapsed - this.animation.delay) / this.animation.duration)), this); + } + } + + public Element dimensions(int width, int height) { + this.width = width; + this.height = height; + + return this; + } + + public Element position(int x, int y) { + this.x = x; + this.y = y; + + return this; + } + + public Element centerHorizontal(int w, int h, int offsetX, int offsetY) { + this.x = (w - (int) (width * scale)) / 2 + offsetX; + this.y = offsetY; + + return this; + } + + public Element center(int w, int h) { + this.centerOffset(w, h, 0, 0); + return this; + } + + public Element centerOffset(int w, int h, int offsetX, int offsetY) { + this.x = (w - (int) (width * scale)) / 2 + offsetX; + this.y = (h - (int) (height * scale)) / 2 + offsetY; + + return this; + } + + public Element animation(Animation animation) { + this.animation = animation; + return this; + } + + public Element scale(float scale) { + this.scale = scale; + return this; + } +} diff --git a/src/main/java/org/saturnclient/ui/ElementContext.java b/src/main/java/org/saturnclient/ui/ElementContext.java new file mode 100644 index 0000000..2077161 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/ElementContext.java @@ -0,0 +1,25 @@ +package org.saturnclient.ui; + +public class ElementContext { + public int mouseX, mouseY; + public int elementWidth, elementHeight; + public float elementScale; + public long elapsed; + + public ElementContext(long elapsed, int mouseX, int mouseY, Element e) { + this.mouseX = mouseX - e.x; + this.mouseY = mouseY - e.y; + this.elementWidth = e.width; + this.elementHeight = e.height; + this.elementScale = e.scale; + this.elapsed = elapsed; + } + + public boolean isHovering() { + return Utils.isHovering(mouseX, mouseY, elementWidth, elementHeight, elementScale); + } + + public boolean isHovering(int x, int y, int width, int height) { + return Utils.isHovering(mouseX - x, mouseY - y, width, height, elementScale); + } +} diff --git a/src/main/java/org/saturnclient/ui/ElementRenderer.java b/src/main/java/org/saturnclient/ui/ElementRenderer.java new file mode 100644 index 0000000..fb85aca --- /dev/null +++ b/src/main/java/org/saturnclient/ui/ElementRenderer.java @@ -0,0 +1,27 @@ +package org.saturnclient.ui; + +import java.util.List; + +public abstract class ElementRenderer { + public static ElementRenderer INSTANCE; + + public abstract void draw(List elements, Element element); + + public abstract void render(List elements, long elapsed, RenderScope renderScope, int mouseX, int mouseY); + + public abstract void mouseClicked(List elements, double mouseX, double mouseY, int button); + + public abstract void mouseScrolled( + List elements, + double mouseX, + double mouseY, + double horizontalAmount, + double verticalAmount); + + public abstract void keyPressed(List elements, int keyCode, int scanCode, int modifiers); + + public abstract void mouseDragged(List elements, double mouseX, double mouseY, int button, double deltaX, + double deltaY); + + public abstract void mouseReleased(List elements, double mouseX, double mouseY, int button); +} diff --git a/src/main/java/org/saturnclient/ui/RenderScope.java b/src/main/java/org/saturnclient/ui/RenderScope.java new file mode 100644 index 0000000..3467e58 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/RenderScope.java @@ -0,0 +1,67 @@ +package org.saturnclient.ui; + +import org.saturnclient.common.minecraft.bindings.SaturnIdentifier; +import org.saturnclient.common.minecraft.bindings.SaturnItemStack; +import org.saturnclient.common.minecraft.bindings.SaturnSprite; +import org.saturnclient.common.minecraft.render.IMatrixStack; + +public interface RenderScope { + public IMatrixStack getMatrixStack(); + + public void setOpacity(float alpha); + + public int getColor(int color); + + public void drawRect(int x, int y, int width, int height, int color); + + public void drawText(String text, int x, int y, int font, int color); + + public void drawText(float scale, String text, int x, int y, int font, int color); + + public void drawRoundedRectangle(int x, int y, int width, int height, int radius, int color); + + public int getScaledWindowWidth(); + + public int getScaledWindowHeight(); + + /* Saturn common sprites */ + public void drawTexture(SaturnIdentifier sprite, int x, int y, float u, float v, int width, int height, int color); + + public void drawTexture(SaturnIdentifier sprite, int x, int y, float u, float v, int width, int height); + + public void drawTexture(SaturnIdentifier sprite, int x, int y, float u, float v, int width, int height, + int regionWith, + int regionHeight, int textureWidth, int textureHeight); + + public void drawTexture(SaturnIdentifier sprite, int x, int y, float u, float v, int width, int height, + int regionWidth, + int regionHeight, int textureWidth, int textureHeight, int color); + + public void enableScissor(int x1, int y1, int x2, int y2); + + public void disableScissor(); + + public boolean scissorContains(int x, int y); + + public void draw(); + + public void drawItem(SaturnItemStack item, int x, int y); + + public void drawItem(SaturnItemStack stack, int x, int y, int seed); + + public void drawItem(SaturnItemStack stack, int x, int y, int seed, int z); + + public void drawItemWithoutEntity(SaturnItemStack stack, int x, int y); + + public void drawItemWithoutEntity(SaturnItemStack stack, int x, int y, int seed); + + public void drawSpriteStretched(SaturnSprite sprite, int x, int y, int width, int height); + + public void drawSpriteStretched(SaturnSprite sprite, int x, int y, int width, int height, int color); + + public void fill(int x1, int y1, int x2, int y2, int color); + + public void fill(int x1, int y1, int x2, int y2, int z, int color); + + public void drawBorder(int x, int y, int width, int height, int color); +} diff --git a/src/main/java/org/saturnclient/ui/SaturnScreen.java b/src/main/java/org/saturnclient/ui/SaturnScreen.java new file mode 100644 index 0000000..991c25b --- /dev/null +++ b/src/main/java/org/saturnclient/ui/SaturnScreen.java @@ -0,0 +1,121 @@ +package org.saturnclient.ui; + +import java.time.Instant; +import java.util.ArrayList; +import java.util.List; + +public abstract class SaturnScreen { + public static interface ScreenProvider { + public void close(); + + public int getWidth(); + + public int getHeight(); + } + + // General + public int width; + public int height; + public String title; + + // Saturn Screen + public List elements = new ArrayList<>(); + public float backgroundOpacity = 1.0f; + protected Instant start = null; + public int backgroundBlur = 10; + + // Provider + public ScreenProvider provider; + + public SaturnScreen(String title) { + this.title = title; + } + + protected void init() { + elements.clear(); + width = provider.getWidth(); + height = provider.getHeight(); + ui(); // abstraction to render the saturn ui and also render extra stuff here + } + + public abstract void ui(); + + public void draw(Element element) { + ElementRenderer.INSTANCE.draw(elements, element); + } + + // -------------- + // Rendering + // -------------- + + public void render(RenderScope renderScope, int mouseX, int mouseY, float delta, long elapsed) { + renderScope.getMatrixStack().push(); + + renderScope.getMatrixStack().scale(0.5f, 0.5f, 0.5f); + + ElementRenderer.INSTANCE.render(new ArrayList<>(elements), elapsed, renderScope, mouseX, mouseY); + + renderScope.getMatrixStack().pop(); + } + + // -------------- + // Events + // -------------- + + public boolean mouseClicked(double mouseX, double mouseY, int button) { + mouseX *= 2; + mouseY *= 2; + + ElementRenderer.INSTANCE.mouseClicked(elements, mouseX, mouseY, button); + + return false; + } + + public boolean mouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY) { + mouseX *= 2; + mouseY *= 2; + + ElementRenderer.INSTANCE.mouseDragged(elements, mouseX, mouseY, button, deltaX, deltaY); + + return false; + } + + public boolean mouseReleased(double mouseX, double mouseY, int button) { + mouseX *= 2; + mouseY *= 2; + + ElementRenderer.INSTANCE.mouseReleased(elements, mouseX, mouseY, button); + + return false; + } + + public boolean mouseScrolled( + double mouseX, + double mouseY, + double horizontalAmount, + double verticalAmount) { + mouseX *= 2; + mouseY *= 2; + + ElementRenderer.INSTANCE.mouseScrolled(elements, mouseX, mouseY, horizontalAmount, verticalAmount); + + return false; + } + + public void resize(int width, int height) { + init(); + } + + public boolean keyPressed(int keyCode, int scanCode, int modifiers) { + ElementRenderer.INSTANCE.keyPressed(elements, keyCode, scanCode, modifiers); + + return false; + } + + public boolean shouldPause() { + return true; + } + + public void onClose() { + } +} diff --git a/src/main/java/org/saturnclient/ui/Utils.java b/src/main/java/org/saturnclient/ui/Utils.java new file mode 100644 index 0000000..2887d0a --- /dev/null +++ b/src/main/java/org/saturnclient/ui/Utils.java @@ -0,0 +1,62 @@ +package org.saturnclient.ui; + +import java.util.List; + +import org.saturnclient.config.manager.Key; + +public class Utils { + public static boolean isHovering(int mouseX, int mouseY, int elementWidth, int elementHeight, float elementScale) { + return mouseX >= 0 && + mouseX <= (elementWidth * elementScale) && + mouseY >= 0 && + mouseY <= (elementHeight * elementScale); + } + + public static char getCharFromKey(int keyCode, int modifiers) { + boolean shift = (modifiers & Key.GLFW_MOD_SHIFT) != 0; + + // A-Z + if (keyCode >= Key.GLFW_KEY_A && keyCode <= Key.GLFW_KEY_Z) { + return (char) (shift + ? 'A' + (keyCode - Key.GLFW_KEY_A) + : 'a' + (keyCode - Key.GLFW_KEY_A)); + } + + // 0-9 + if (keyCode >= Key.GLFW_KEY_0 && keyCode <= Key.GLFW_KEY_9) { + return shift + ? ")!@#$%^&*(".charAt(keyCode - Key.GLFW_KEY_0) + : (char) ('0' + (keyCode - Key.GLFW_KEY_0)); + } + + // Special characters + return switch (keyCode) { + case Key.GLFW_KEY_SPACE -> ' '; + case Key.GLFW_KEY_PERIOD -> shift ? '>' : '.'; + case Key.GLFW_KEY_COMMA -> shift ? '<' : ','; + case Key.GLFW_KEY_MINUS -> shift ? '_' : '-'; + case Key.GLFW_KEY_EQUAL -> shift ? '+' : '='; + case Key.GLFW_KEY_SEMICOLON -> shift ? ':' : ';'; + case Key.GLFW_KEY_APOSTROPHE -> shift ? '"' : '\''; + case Key.GLFW_KEY_SLASH -> shift ? '?' : '/'; + case Key.GLFW_KEY_BACKSLASH -> shift ? '|' : '\\'; + case Key.GLFW_KEY_LEFT_BRACKET -> shift ? '{' : '['; + case Key.GLFW_KEY_RIGHT_BRACKET -> shift ? '}' : ']'; + case Key.GLFW_KEY_GRAVE_ACCENT -> shift ? '~' : '`'; + default -> '\0'; + }; + } + + public static T getOrNull(List list, int index) { + return (index >= 0 && index < list.size()) ? list.get(index) : null; + } + + // public static void notify(NotificationKind kind, String title, String toast) { + // if (SaturnClient.client.currentScreen instanceof SaturnScreen) { + // ((SaturnScreen) SaturnClient.client.currentScreen) + // .draw(new Notification(SaturnClient.client.currentScreen.width, + // SaturnClient.client.currentScreen.height, kind, + // title, toast)); + // } + // } +} diff --git a/src/main/java/org/saturnclient/ui/anim/Animation.java b/src/main/java/org/saturnclient/ui/anim/Animation.java new file mode 100644 index 0000000..55982ac --- /dev/null +++ b/src/main/java/org/saturnclient/ui/anim/Animation.java @@ -0,0 +1,37 @@ +package org.saturnclient.ui.anim; + +import java.util.function.Function; + +import org.saturnclient.config.AnimationConfig; +import org.saturnclient.ui.Element; + +public abstract class Animation { + public int duration; + public int delay = 0; + public Function curve = Curve::easeInOutCubic; + + Animation(AnimationConfig config) { + this.duration = config.duration.value; + switch (config.curve.value) { + case 0: + this.curve = Curve::easeInOutCubic; + break; + case 1: + this.curve = Curve::easeOutCubic; + break; + case 2: + this.curve = Curve::easeInOutBack; + break; + default: + break; + } + } + + Animation(int duration) { + this.duration = duration; + } + + public abstract void tick(double progress, Element element); + + public abstract void init(Element element); +} diff --git a/src/main/java/org/saturnclient/ui/anim/Curve.java b/src/main/java/org/saturnclient/ui/anim/Curve.java new file mode 100644 index 0000000..e19d503 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/anim/Curve.java @@ -0,0 +1,22 @@ +package org.saturnclient.ui.anim; + +public class Curve { + public static double easeOutCubic(double x) { + return 1 - Math.pow(1 - x, 3); + } + + public static double easeInOutCubic(double x) { + return (x < 0.5 ? 4 * x * x * x : 1 - Math.pow(-2 * x + 2, 3) / 2); + } + + public static double easeInOutBack(double x) { + double c1 = 2.5; + double c2 = c1 * 1.525; + + if (x < 0.5) { + return (Math.pow(2 * x, 2) * ((c2 + 1) * 2 * x - c2)) / 2; + } else { + return (Math.pow(2 * x - 2, 2) * ((c2 + 1) * (2 * x - 2) + c2) + 2) / 2; + } + } +} diff --git a/src/main/java/org/saturnclient/ui/anim/Fade.java b/src/main/java/org/saturnclient/ui/anim/Fade.java new file mode 100644 index 0000000..9a5ecef --- /dev/null +++ b/src/main/java/org/saturnclient/ui/anim/Fade.java @@ -0,0 +1,27 @@ +package org.saturnclient.ui.anim; + +import org.saturnclient.config.AnimationConfig; +import org.saturnclient.ui.Element; + +public class Fade extends Animation { + float targetOpacity; + + public Fade(int duration) { + super(duration); + } + + public Fade(AnimationConfig config) { + super(config); + } + + @Override + public void tick(double progress, Element element) { + element.opacity = Math.max(0.1f, targetOpacity * (float) progress); + } + + @Override + public void init(Element element) { + targetOpacity = element.opacity; + element.opacity = 0.1f; + } +} diff --git a/src/main/java/org/saturnclient/ui/anim/FadeOut.java b/src/main/java/org/saturnclient/ui/anim/FadeOut.java new file mode 100644 index 0000000..4172883 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/anim/FadeOut.java @@ -0,0 +1,27 @@ +package org.saturnclient.ui.anim; + +import org.saturnclient.config.AnimationConfig; +import org.saturnclient.ui.Element; + +public class FadeOut extends Animation { + float targetOpacity; + + public FadeOut(int duration) { + super(duration); + } + + public FadeOut(AnimationConfig config) { + super(config); + } + + @Override + public void tick(double progress, Element element) { + element.opacity = targetOpacity - (float) progress; + } + + @Override + public void init(Element element) { + targetOpacity = element.opacity; + // element.opacity = 1.0f; + } +} diff --git a/src/main/java/org/saturnclient/ui/anim/SlideFade.java b/src/main/java/org/saturnclient/ui/anim/SlideFade.java new file mode 100644 index 0000000..1318287 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/anim/SlideFade.java @@ -0,0 +1,39 @@ +package org.saturnclient.ui.anim; + +import org.saturnclient.config.AnimationConfig; +import org.saturnclient.ui.Element; + +public class SlideFade extends Animation { + public Fade fade; + public SlideY slideY; + + public SlideFade(int duration, int offset) { + super(duration); + this.fade = new Fade(duration); + this.slideY = new SlideY(duration, offset); + } + + public SlideFade(AnimationConfig config, int offset) { + super(config); + this.fade = new Fade(duration); + this.slideY = new SlideY(duration, offset); + } + + @Override + public void tick(double progress, Element element) { + fade.delay = this.delay; + fade.duration = this.duration; + + slideY.delay = this.delay; + slideY.duration = this.duration; + + fade.tick(progress, element); + slideY.tick(progress, element); + } + + @Override + public void init(Element element) { + fade.init(element); + slideY.init(element); + } +} diff --git a/src/main/java/org/saturnclient/ui/anim/SlideX.java b/src/main/java/org/saturnclient/ui/anim/SlideX.java new file mode 100644 index 0000000..82792ba --- /dev/null +++ b/src/main/java/org/saturnclient/ui/anim/SlideX.java @@ -0,0 +1,39 @@ +package org.saturnclient.ui.anim; + +import org.saturnclient.config.AnimationConfig; +import org.saturnclient.ui.Element; + +public class SlideX extends Animation { + int offset = 20; + double startX; + + public SlideX(AnimationConfig config) { + super(config); + } + + public SlideX(AnimationConfig config, int offset) { + super(config); + this.offset = offset; + } + + public SlideX(int duration) { + super(duration); + } + + public SlideX(int duration, int offset) { + super(duration); + this.offset = offset; + } + + @Override + public void init(Element element) { + startX = element.x - offset; + element.x = (int) startX; + } + + @Override + public void tick(double progress, Element element) { + double currentX = startX + offset * progress; + element.x = (int) currentX; + } +} diff --git a/src/main/java/org/saturnclient/ui/anim/SlideY.java b/src/main/java/org/saturnclient/ui/anim/SlideY.java new file mode 100644 index 0000000..0c0aa8a --- /dev/null +++ b/src/main/java/org/saturnclient/ui/anim/SlideY.java @@ -0,0 +1,39 @@ +package org.saturnclient.ui.anim; + +import org.saturnclient.config.AnimationConfig; +import org.saturnclient.ui.Element; + +public class SlideY extends Animation { + int offset = 20; + double startY; + + public SlideY(AnimationConfig config) { + super(config); + } + + public SlideY(AnimationConfig config, int offset) { + super(config); + this.offset = offset; + } + + public SlideY(int duration) { + super(duration); + } + + public SlideY(int duration, int offset) { + super(duration); + this.offset = offset; + } + + @Override + public void init(Element element) { + startY = element.y - offset; + element.y = (int) startY; + } + + @Override + public void tick(double progress, Element element) { + double currentY = startY + offset * progress; + element.y = (int) currentY; + } +} diff --git a/src/main/java/org/saturnclient/ui/components/CosmeticPreview.java b/src/main/java/org/saturnclient/ui/components/CosmeticPreview.java new file mode 100644 index 0000000..2ae9d49 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/components/CosmeticPreview.java @@ -0,0 +1,43 @@ +package org.saturnclient.ui.components; + +import org.saturnclient.common.minecraft.bindings.SaturnIdentifier; +import org.saturnclient.config.Theme; +import org.saturnclient.ui.Element; +import org.saturnclient.ui.ElementContext; +import org.saturnclient.ui.RenderScope; + +public class CosmeticPreview extends Element { + static int padding = 14; + + SaturnIdentifier sprite; + private Runnable onClick; + private boolean isSelected; + + public CosmeticPreview(boolean isSelected, SaturnIdentifier sprite, Runnable onClick) { + this.sprite = sprite; + this.onClick = onClick; + this.isSelected = isSelected; + + this.width = 50; + this.height = 111; + } + + @Override + public void render(RenderScope renderScope, ElementContext ctx) { + renderScope.drawRoundedRectangle(0, 0, width, height, Theme.WIDGET_RADIUS.value, + isSelected ? Theme.ACCENT.value : Theme.PRIMARY.value); + + int texWidth = width - padding; + int texHeight = height - padding; + + renderScope.drawTexture(sprite, padding / 2, padding / 2, 0, 0, texWidth, texHeight, + Theme.FOREGROUND.value); + } + + @Override + public void click(int mouseX, int mouseY) { + if (onClick != null) { + onClick.run(); + } + } +} diff --git a/src/main/java/org/saturnclient/ui/components/ElementRendererImpl.java b/src/main/java/org/saturnclient/ui/components/ElementRendererImpl.java new file mode 100644 index 0000000..ad664d8 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/components/ElementRendererImpl.java @@ -0,0 +1,98 @@ +package org.saturnclient.ui.components; + +import java.util.ArrayList; +import java.util.List; + +import org.saturnclient.ui.Element; +import org.saturnclient.ui.ElementContext; +import org.saturnclient.ui.ElementRenderer; +import org.saturnclient.ui.RenderScope; +import org.saturnclient.ui.Utils; + +public class ElementRendererImpl extends ElementRenderer { + public void draw(List elements, Element element) { + synchronized (elements) { + elements.add(element); + } + + if (element.animation != null) { + element.animation.init(element); + } + } + + public void render(List elements, long elapsed, RenderScope renderScope, int mouseX, int mouseY) { + for (Element element : elements) { + element.playAnimationFrame(elapsed); + + renderScope.getMatrixStack().push(); + renderScope.setOpacity(element.opacity); + renderScope.getMatrixStack().translate(element.x, element.y, 0); + renderScope.getMatrixStack().scale(element.scale, element.scale, 1.0f); + element.render(renderScope, new ElementContext(elapsed, mouseX, mouseY, element)); + renderScope.getMatrixStack().pop(); + } + } + + public void mouseClicked(List elements, double mouseX, double mouseY, int button) { + if (button == 0) { + for (Element element : new ArrayList<>(elements)) { + element.focused = false; + + int adjustedMouseX = (int) mouseX - element.x; + int adjustedMouseY = (int) mouseY - element.y; + + element.mouseClicked(adjustedMouseX * element.scale, adjustedMouseY * element.scale, button); + + if (element.opacity > 0 && Utils.isHovering(adjustedMouseX, adjustedMouseY, element.width, + element.height, element.scale)) { + element.focused = true; + element.click((int) (adjustedMouseX * element.scale), (int) (adjustedMouseY * element.scale)); + } + } + } + } + + public void mouseScrolled( + List elements, + double mouseX, + double mouseY, + double horizontalAmount, + double verticalAmount) { + for (Element element : new ArrayList<>(elements)) { + if (Utils.isHovering((int) mouseX - element.x, (int) mouseY - element.y, element.width, element.height, + element.scale)) { + element.scroll( + (int) mouseX - element.x, + (int) mouseY - element.y, + horizontalAmount, + verticalAmount); + } + } + } + + public void keyPressed(List elements, int keyCode, int scanCode, int modifiers) { + for (Element element : new ArrayList<>(elements)) { + if (element.focused && element.opacity > 0) { + element.keyPressed(keyCode, scanCode, modifiers); + + char typedChar = Utils.getCharFromKey(keyCode, modifiers); + if (typedChar != '\0') { + element.charTyped(typedChar); + } + } + } + } + + public void mouseDragged(List elements, double mouseX, double mouseY, int button, double deltaX, + double deltaY) { + for (Element element : new ArrayList<>(elements)) { + element.mouseDragged(mouseX - element.x, mouseY - element.y, button, deltaX, deltaY); + } + } + + public void mouseReleased(List elements, double mouseX, double mouseY, int button) { + for (Element element : new ArrayList<>(elements)) { + element.mouseReleased(mouseX - element.x, mouseY - element.y, button); + } + } +} diff --git a/src/main/java/org/saturnclient/ui/components/SaturnModule.java b/src/main/java/org/saturnclient/ui/components/SaturnModule.java new file mode 100644 index 0000000..4ce7864 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/components/SaturnModule.java @@ -0,0 +1,161 @@ +package org.saturnclient.ui.components; + +import org.saturnclient.modules.Module; +import org.saturnclient.common.minecraft.MinecraftProvider; +import org.saturnclient.config.Theme; +import org.saturnclient.ui.Element; +import org.saturnclient.ui.ElementContext; +import org.saturnclient.ui.RenderScope; +import org.saturnclient.ui.Utils; +import org.saturnclient.ui.resources.Fonts; +import org.saturnclient.ui.resources.Textures; +import org.saturnclient.ui.screens.ConfigEditor; + +public class SaturnModule extends Element { + + private final Module mod; + + static int p = 10; // padding + static int s = 14; // settings icon size + static int expand = 5; // settings icon click area + + public SaturnModule(Module mod) { + this.mod = mod; + this.width = 160; + this.height = 50; + } + + @Override + public void render(RenderScope renderScope, ElementContext ctx) { + boolean hovered = ctx.isHovering(); + boolean enabled = mod.isEnabled(); + + int iconX = width - s - p; + int iconY = height - s - p; + + boolean settingsHover = ctx.isHovering( + getSettingsX(), + getSettingsY(), + getSettingsHitBox(), + getSettingsHitBox()); + + // Resolve theme colors + int bgColor = Theme.PRIMARY.value; + int fgColor = hovered && !settingsHover ? Theme.ACCENT.value : Theme.PRIMARY_FG.value; + + int iconBg = enabled ? Theme.ACCENT.value : Theme.PRIMARY.value; + int iconFg = enabled ? Theme.ACCENT_FG.value : fgColor; + + int settingsColor = settingsHover + ? Theme.ACCENT.value + : Theme.withAlpha(160, fgColor); + + int h = height - (p * 2); + + // Main background + renderScope.drawRoundedRectangle( + 0, 0, + width, height, + Theme.WIDGET_RADIUS.value, + bgColor); + + // Icon background + renderScope.drawRoundedRectangle( + p, p, + h, h, + Theme.WIDGET_RADIUS.value, + iconBg); + + // Icon + renderScope.drawTexture( + mod.getIconTexture(), + p + (p / 2), + p + (p / 2), + 0, 0, + h - p, + h - p, + iconFg); + + // Module name + renderScope.drawText( + 0.6f, + mod.getName(), + p + h + 4, + p + 1, + Theme.FONT.value, + fgColor); + + // Version (right aligned) + String version = mod.getVersion(); + int versionWidth = (int) (Fonts.getWidth(version, Theme.FONT.value) * 0.35f); + + renderScope.drawText( + 0.35f, + version, + width - p - versionWidth, + p + 1, + Theme.FONT.value, + fgColor); + + // Tags + int xt = p + h + 4; + for (String tag : mod.getTags()) { + int tagWidth = (int) (Fonts.getWidth(tag, Theme.FONT.value) * 0.4f); + + renderScope.drawRoundedRectangle( + xt, + p + (h / 2), + tagWidth + 6, + 12, + 5, + Theme.ACCENT.value); + + renderScope.drawText( + 0.4f, + tag, + xt + 2, + p + (h / 2) + 3, + Theme.FONT.value, + Theme.ACCENT_FG.value); + + xt += tagWidth + 9; + } + + // Settings icon + renderScope.drawTexture( + Textures.SETTINGS, + iconX, + iconY, + 0, 0, + s, s, + settingsColor); + } + + @Override + public void click(int mouseX, int mouseY) { + boolean settingsHover = Utils.isHovering( + mouseX - getSettingsX(), + mouseY - getSettingsY(), + getSettingsHitBox(), + getSettingsHitBox(), + 1.0f); + + if (settingsHover) { + MinecraftProvider.PROVIDER.setScreen(new ConfigEditor(mod.getConfig())); + } else { + mod.setEnabled(!mod.isEnabled()); + } + } + + private int getSettingsX() { + return width - s - p - expand; + } + + private int getSettingsY() { + return height - s - p - expand; + } + + private int getSettingsHitBox() { + return s + expand * 2; + } +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/ui/components/Sidebar.java b/src/main/java/org/saturnclient/ui/components/Sidebar.java new file mode 100644 index 0000000..9a781ce --- /dev/null +++ b/src/main/java/org/saturnclient/ui/components/Sidebar.java @@ -0,0 +1,121 @@ +package org.saturnclient.ui.components; + +import org.saturnclient.common.minecraft.MinecraftProvider; +import org.saturnclient.common.minecraft.bindings.SaturnIdentifier; +import org.saturnclient.config.Config; +import org.saturnclient.config.Theme; +import org.saturnclient.ui.Element; +import org.saturnclient.ui.ElementContext; +import org.saturnclient.ui.RenderScope; +import org.saturnclient.ui.Utils; +import org.saturnclient.ui.resources.Textures; +import org.saturnclient.ui.screens.ConfigEditor; +import org.saturnclient.ui.screens.ModMenu; +import org.saturnclient.ui.screens.cosmetics.CloakMenu; +import org.saturnclient.ui.screens.store.CloakStore; + +public class Sidebar extends Element { + public static class SidebarComponent { + Runnable onClick; + boolean end; + SaturnIdentifier sprite; + + public SidebarComponent(SaturnIdentifier sprite, Runnable onClick, boolean end) { + this.onClick = onClick; + this.end = end; + this.sprite = sprite; + } + } + + Runnable onClose; + SidebarComponent[] components = { + new Sidebar.SidebarComponent(Textures.MODS_TAB, () -> { + MinecraftProvider.PROVIDER.setScreen(new ModMenu()); + }, false), + new Sidebar.SidebarComponent(Textures.SETTINGS, () -> { + MinecraftProvider.PROVIDER.setScreen(new ConfigEditor(Config.config)); + }, false), + + new Sidebar.SidebarComponent(Textures.SHIRT, () -> { + MinecraftProvider.PROVIDER.setScreen(new CloakMenu()); + }, false), + + new Sidebar.SidebarComponent(Textures.CLOSE, () -> { + onClose.run(); + }, true), + + new Sidebar.SidebarComponent(Textures.STORE, () -> { + MinecraftProvider.PROVIDER.setScreen(new CloakStore()); + }, true), + }; + int active = 0; + + public Sidebar(int active, Runnable onClose) { + this.width = 30; + this.height = 350; + this.active = active; + this.onClose = onClose; + } + + @Override + public void render(RenderScope renderScope, ElementContext ctx) { + int topRow = 0; + int bottomRow = 0; + + int gap = 5; // 5px gap between icons + int padding = 10; + int sp = 30 - padding + gap; + int s = 30 - (padding * 2); + int s2 = s + padding; + + renderScope.drawRoundedRectangle(0, 0, width, height, Theme.BG_RADIUS.value, Theme.BACKGROUND.value); + + int i = 0; + + for (SidebarComponent component : components) { + int y = component.end ? ((height - (sp * bottomRow)) - (s * 2)) : (padding + (sp * topRow)); + boolean selected = ctx.isHovering(0, y - (padding / 2), s2, s2) || active == i; + + renderScope.drawRoundedRectangle(padding / 2, y - (padding / 2), s + padding, + s + padding, Theme.WIDGET_RADIUS.value, Theme.getBg(selected)); + + renderScope.drawTexture(component.sprite, padding, y, 0, 0, s, s, Theme.getFg(selected)); + + if (component.end) { + bottomRow += 1; + } else { + topRow += 1; + } + + i++; + } + } + + @Override + public void click(int mouseX, int mouseY) { + int topRow = 0; + int bottomRow = 0; + + int gap = 5; + int padding = 10; + int sp = 30 - padding + gap; + int s = 30 - (padding * 2); + int s2 = s + padding; + + for (SidebarComponent component : components) { + int y = component.end ? ((height - (sp * bottomRow)) - (s * 2)) : (padding + (sp * topRow)); + boolean hovering = Utils.isHovering(mouseX - (padding / 2), mouseY - (y - (padding / 2)), s2, s2, scale); + + if (hovering) { + component.onClick.run(); + break; + } + + if (component.end) { + bottomRow += 1; + } else { + topRow += 1; + } + } + } +} diff --git a/src/main/java/org/saturnclient/ui/components/SkinPreview.java b/src/main/java/org/saturnclient/ui/components/SkinPreview.java new file mode 100644 index 0000000..1686c75 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/components/SkinPreview.java @@ -0,0 +1,26 @@ +package org.saturnclient.ui.components; + +import org.saturnclient.ui.Element; +import org.saturnclient.ui.ElementContext; +import org.saturnclient.ui.RenderScope; + +public class SkinPreview extends Element { + public static EntityDrawer DRAWER; + private boolean negativeAngle = false; + private float angle = 0.0f; + + public SkinPreview(float angle, boolean negativeAngle) { + this.angle = angle; + this.negativeAngle = negativeAngle; + } + + @Override + public void render(RenderScope renderScope, ElementContext ctx) { + DRAWER.render(renderScope, negativeAngle, angle, scale, ctx); + } + + public static interface EntityDrawer { + public void render(RenderScope renderScope, boolean negativeAngle, float angle, float scale, + ElementContext ctx); + } +} diff --git a/src/main/java/org/saturnclient/ui/components/inputs/FloatInput.java b/src/main/java/org/saturnclient/ui/components/inputs/FloatInput.java new file mode 100644 index 0000000..234d189 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/components/inputs/FloatInput.java @@ -0,0 +1,59 @@ +package org.saturnclient.ui.components.inputs; + +import org.saturnclient.config.manager.ConfigManager; +import org.saturnclient.config.manager.Property; +import org.saturnclient.ui.resources.Fonts; + +public class FloatInput extends Input { + public Property prop; + + public FloatInput(Property prop) { + this.width = 120; + this.height = Fonts.getHeight(); + this.prop = prop; + this.text = String.valueOf(prop.value); + } + + @Override + public void charTyped(char chr) { + if ((Character.isDigit(chr) || chr == '.' || (chr == '-' && cursorPosition == 0)) && text.length() < 10) { + if (text.equals("0") && cursorPosition == 1) { + text = "" + chr; + } else { + text = text.substring(0, cursorPosition) + + chr + + text.substring(cursorPosition); + + try { + prop.value = text.isEmpty() ? 0 : Float.parseFloat(text); + cursorPosition++; + } catch (Exception e) { + e.printStackTrace(); + } + } + } + } + + @Override + public void backspace() { + try { + if (text.length() == 0) { + text = "0"; + cursorPosition = 1; + } + prop.value = Float.parseFloat(text); + ConfigManager.save(); + } catch (Exception e) { + e.printStackTrace(); + } + } + + @Override + public void checkReset() { + if (prop.isReset) { + this.text = String.valueOf(prop.value); + this.cursorPosition = 0; + prop.isReset = false; + } + } +} diff --git a/src/main/java/org/saturnclient/ui/components/inputs/HexInput.java b/src/main/java/org/saturnclient/ui/components/inputs/HexInput.java new file mode 100644 index 0000000..e72d1a5 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/components/inputs/HexInput.java @@ -0,0 +1,183 @@ +package org.saturnclient.ui.components.inputs; + +import java.awt.Color; + +import org.saturnclient.config.manager.Property; +import org.saturnclient.ui.Element; +import org.saturnclient.ui.ElementContext; +import org.saturnclient.ui.RenderScope; + +public class HexInput extends Element { + public Property prop; + + // Picker state + private boolean open = false; + private float hue = 0f; + private float opacity = 1f; + private int selectedX = 0; + private int selectedY = 0; + + private boolean draggingOpacity = false; + + // Dimensions + private static final int PICKER_WIDTH = 100; + private static final int PICKER_HEIGHT = 100; + private static final int SLIDER_WIDTH = 100; + private static final int SLIDER_HEIGHT = 10; + private static final int HUE_SLIDER_HEIGHT = 10; + + public HexInput(Property prop) { + this.prop = prop; + this.width = 58; + this.height = 20; + syncFromColor(); + } + + @Override + public void click(int mouseX, int mouseY) { + open = !open; + } + + @Override + public void mouseClicked(double mouseX, double mouseY, int button) { + if (open) { + handlePickerClick(mouseX - width - 8, mouseY); + } + } + + @Override + public void mouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY) { + if (open) { + handlePickerDrag(mouseX - width - 8, mouseY); + } + } + + @Override + public void mouseReleased(double mouseX, double mouseY, int button) { + draggingOpacity = false; + } + + @Override + public void render(RenderScope renderScope, ElementContext ctx) { + // Draw the main color rectangle + renderScope.drawRoundedRectangle(0, 0, width, height, 6, prop.value); + + if (!open) + return; + + // Draw the picker relative to (width + 8, 0) + int pickerX = width + 8; + int pickerY = 0; + + renderColorSquare(renderScope, pickerX, pickerY); + renderOpacitySlider(renderScope, pickerX, pickerY - SLIDER_HEIGHT - 10); + renderHueSlider(renderScope, pickerX, pickerY + PICKER_HEIGHT + 10); + } + + private void renderColorSquare(RenderScope renderScope, int xStart, int yStart) { + for (int x = 0; x < PICKER_WIDTH; x++) { + for (int y = 0; y < PICKER_HEIGHT; y++) { + float saturation = x / (float) PICKER_WIDTH; + float value = 1f - y / (float) PICKER_HEIGHT; + int color = Color.HSBtoRGB(hue, saturation, value); + int alpha = (int) (opacity * 255) & 0xFF; + color = (alpha << 24) | (color & 0xFFFFFF); + renderScope.fill(xStart + x, yStart + y, xStart + x + 1, yStart + y + 1, color); + } + } + + // Draw selection square + int selX = xStart + selectedX - 4; + int selY = yStart + selectedY - 4; + renderScope.fill(selX, selY, selX + 8, selY + 8, 0xFF000000 | prop.value); + renderScope.drawBorder(selX, selY, 8, 8, 0xFFFFFFFF); + } + + private void renderOpacitySlider(RenderScope renderScope, int xStart, int yStart) { + for (int x = 0; x < SLIDER_WIDTH; x++) { + float localOpacity = x / (float) SLIDER_WIDTH; + int alpha = (int) (localOpacity * 255) & 0xFF; + int color = (alpha << 24) | (prop.value & 0xFFFFFF); + renderScope.fill(xStart + x, yStart, xStart + x + 1, yStart + SLIDER_HEIGHT, color); + } + + int knobX = xStart + (int) (opacity * SLIDER_WIDTH); + renderScope.fill(knobX - 1, yStart - 2, knobX + 1, yStart + SLIDER_HEIGHT + 2, 0xFF000000); + } + + private void renderHueSlider(RenderScope renderScope, int xStart, int yStart) { + for (int x = 0; x < SLIDER_WIDTH; x++) { + float localHue = x / (float) SLIDER_WIDTH; + int color = Color.HSBtoRGB(localHue, 1f, 1f); + renderScope.fill(xStart + x, yStart, xStart + x + 1, yStart + HUE_SLIDER_HEIGHT, 0xFF000000 | color); + } + + int knobX = xStart + (int) (hue * SLIDER_WIDTH); + renderScope.fill(knobX - 1, yStart - 2, knobX + 1, yStart + HUE_SLIDER_HEIGHT + 2, 0xFF000000); + } + + private void handlePickerClick(double mouseX, double mouseY) { + // Color square + if (mouseX >= 0 && mouseX < PICKER_WIDTH && mouseY >= 0 && mouseY < PICKER_HEIGHT) { + selectedX = (int) mouseX; + selectedY = (int) mouseY; + updateColorFromSelection(); + } + + // Opacity slider + int opY = -SLIDER_HEIGHT - 10; + if (mouseX >= 0 && mouseX < SLIDER_WIDTH && mouseY >= opY && mouseY <= opY + SLIDER_HEIGHT) { + updateOpacity(mouseX); + draggingOpacity = true; + } + + // Hue slider + int hueY = PICKER_HEIGHT + 10; + if (mouseX >= 0 && mouseX < SLIDER_WIDTH && mouseY >= hueY && mouseY <= hueY + HUE_SLIDER_HEIGHT) { + updateHue(mouseX); + } + } + + private void handlePickerDrag(double mouseX, double mouseY) { + // Opacity + if (draggingOpacity) + updateOpacity(mouseX); + + // Color square + if (mouseX >= 0 && mouseX < PICKER_WIDTH && mouseY >= 0 && mouseY < PICKER_HEIGHT) { + selectedX = (int) mouseX; + selectedY = (int) mouseY; + updateColorFromSelection(); + } + } + + private void updateColorFromSelection() { + float saturation = selectedX / (float) PICKER_WIDTH; + float value = 1f - selectedY / (float) PICKER_HEIGHT; + int color = Color.HSBtoRGB(hue, saturation, value); + int alpha = (int) (opacity * 255) & 0xFF; + prop.value = (alpha << 24) | (color & 0xFFFFFF); + } + + private void updateHue(double mouseX) { + hue = (float) Math.max(0, Math.min(1, mouseX / SLIDER_WIDTH)); + updateColorFromSelection(); + } + + private void updateOpacity(double mouseX) { + opacity = (float) Math.max(0, Math.min(1, mouseX / SLIDER_WIDTH)); + updateColorFromSelection(); + } + + private void syncFromColor() { + int rgb = prop.value & 0xFFFFFF; + float[] hsb = Color.RGBtoHSB((rgb >> 16) & 0xFF, (rgb >> 8) & 0xFF, rgb & 0xFF, null); + hue = hsb[0]; + selectedX = (int) (hsb[1] * PICKER_WIDTH); + selectedY = (int) ((1f - hsb[2]) * PICKER_HEIGHT); + int alpha = (prop.value >> 24) & 0xFF; + if (alpha == 0) + alpha = 255; + opacity = alpha / 255f; + } +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/ui/components/inputs/Input.java b/src/main/java/org/saturnclient/ui/components/inputs/Input.java new file mode 100644 index 0000000..c1cd845 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/components/inputs/Input.java @@ -0,0 +1,112 @@ +package org.saturnclient.ui.components.inputs; + +import org.saturnclient.config.Theme; +import org.saturnclient.config.manager.Key; +import org.saturnclient.ui.Element; +import org.saturnclient.ui.ElementContext; +import org.saturnclient.ui.RenderScope; +import org.saturnclient.ui.resources.Fonts; + +public abstract class Input extends Element { + String text = ""; + public int cursorPosition = 0; + + public abstract void checkReset(); + + public abstract void backspace(); + + public boolean validateBackspace() { + return true; + } + + @Override + public void keyPressed(int keyCode, int scanCode, int modifiers) { + if (keyCode == Key.GLFW_KEY_BACKSPACE) { + if (cursorPosition > 0 && validateBackspace()) { + text = text.substring(0, cursorPosition - 1) + + text.substring(cursorPosition); + cursorPosition--; + backspace(); + } + } else if (keyCode == Key.GLFW_KEY_LEFT) { + if (cursorPosition > 0) { + cursorPosition--; + } + } else if (keyCode == Key.GLFW_KEY_RIGHT) { + if (cursorPosition < text.length()) { + cursorPosition++; + } + } + } + + @Override + public void click(int mouseX, int mouseY) { + int scrollOffset = getScrollOffset(); + String visibleText = text.substring(scrollOffset); + + int newCursorPos = scrollOffset; + float textWidth = 0; + + for (int i = 0; i < visibleText.length(); i++) { + textWidth = Fonts.getWidth(visibleText.substring(0, i + 1), Theme.FONT.value) * 0.6f; + + if (textWidth > mouseX) { + break; + } + + newCursorPos++; + } + + cursorPosition = newCursorPos; + } + + @Override + public void render(RenderScope renderScope, ElementContext ctx) { + checkReset(); + + renderScope.drawRoundedRectangle(0, 0, width, height, 10, 0xFF000000); + + int scrollOffset = getScrollOffset(); + String visibleText = getVisibleText(scrollOffset); + int textColor = focused ? 0xFFFFFF : 0xAAAAAA; + renderScope.drawText(0.6f, visibleText, 4, 4, Theme.FONT.value, textColor); + + if (focused) { + int cursorX = 4 + + (int) (Fonts.getWidth(visibleText.substring(0, cursorPosition - scrollOffset), Theme.FONT.value) + * 0.6f); + + renderScope.drawRect(cursorX, 2, 1, height - 4, 0xFFFFFFFF); + } + } + + protected int getScrollOffset() { + if (text.isEmpty()) { + return 0; + } + + int offset = 0; + int maxWidth = width - 4; // Available width for text + while (offset < cursorPosition) { // Ensure cursor remains visible + String visibleText = text.substring(offset, cursorPosition); + if (Fonts.getWidth(visibleText, Theme.FONT.value) > maxWidth) { + offset++; + } else { + break; + } + } + return offset; + } + + protected String getVisibleText(int scrollOffset) { + String visibleText = text.substring(scrollOffset); + + // Ensure text does not overflow past the available width + for (int i = 1; i <= visibleText.length(); i++) { + if (Fonts.getWidth(visibleText.substring(0, i), Theme.FONT.value) > width - 4) { + return visibleText.substring(0, i - 1); // Trim overflow + } + } + return visibleText; + } +} diff --git a/src/main/java/org/saturnclient/ui/components/inputs/IntInput.java b/src/main/java/org/saturnclient/ui/components/inputs/IntInput.java new file mode 100644 index 0000000..4b8bea9 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/components/inputs/IntInput.java @@ -0,0 +1,59 @@ +package org.saturnclient.ui.components.inputs; + +import org.saturnclient.config.manager.ConfigManager; +import org.saturnclient.config.manager.Property; +import org.saturnclient.ui.resources.Fonts; + +public class IntInput extends Input { + public Property prop; + + public IntInput(Property prop) { + this.width = 120; + this.height = Fonts.getHeight(); + this.prop = prop; + this.text = String.valueOf(prop.value); + } + + @Override + public void charTyped(char chr) { + if ((Character.isDigit(chr) || chr == '.' || (chr == '-' && cursorPosition == 0)) && text.length() < 10) { + if (text.equals("0") && cursorPosition == 1) { + text = "" + chr; + } else { + text = text.substring(0, cursorPosition) + + chr + + text.substring(cursorPosition); + + try { + prop.value = text.isEmpty() ? 0 : Integer.parseInt(text); + cursorPosition++; + } catch (Exception e) { + e.printStackTrace(); + } + } + } + } + + @Override + public void backspace() { + try { + if (text.length() == 0) { + text = "0"; + cursorPosition = 1; + } + prop.value = Integer.parseInt(text); + ConfigManager.save(); + } catch (Exception e) { + e.printStackTrace(); + } + } + + @Override + public void checkReset() { + if (prop.isReset) { + this.text = String.valueOf(prop.value); + this.cursorPosition = 0; + prop.isReset = false; + } + } +} diff --git a/src/main/java/org/saturnclient/ui/components/inputs/KeybindingSelector.java b/src/main/java/org/saturnclient/ui/components/inputs/KeybindingSelector.java new file mode 100644 index 0000000..f3e9910 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/components/inputs/KeybindingSelector.java @@ -0,0 +1,42 @@ +package org.saturnclient.ui.components.inputs; + +import org.saturnclient.common.minecraft.MinecraftProvider; +import org.saturnclient.config.Theme; +import org.saturnclient.config.manager.Key; +import org.saturnclient.config.manager.Property; +import org.saturnclient.ui.Element; +import org.saturnclient.ui.ElementContext; +import org.saturnclient.ui.RenderScope; +import org.saturnclient.ui.resources.Fonts; + +public class KeybindingSelector extends Element { + Property prop; + + public KeybindingSelector(Property prop) { + this.prop = prop; + this.width = 120; + this.height = Fonts.getHeight(); + } + + @Override + public void render(RenderScope renderScope, ElementContext ctx) { + int textColor = focused ? 0xFFFFFF : 0xAAAAAA; + renderScope.drawRoundedRectangle(0, 0, width, height, 10, 0xFF000000); + String name = MinecraftProvider.PROVIDER.getKeyName(prop.value); + + renderScope.drawText(0.6f, + prop.value == -1 ? "" + : name != null ? name.toUpperCase() : "", + 4, 4, Theme.FONT.value, textColor); + } + + @Override + public void keyPressed(int keyCode, int scanCode, int modifiers) { + if (keyCode == Key.GLFW_KEY_BACKSPACE) { + prop.value = -1; + } else { + prop.value = keyCode; + } + focused = false; + } +} diff --git a/src/main/java/org/saturnclient/ui/components/inputs/Select.java b/src/main/java/org/saturnclient/ui/components/inputs/Select.java new file mode 100644 index 0000000..ef62975 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/components/inputs/Select.java @@ -0,0 +1,40 @@ +package org.saturnclient.ui.components.inputs; + +import org.saturnclient.config.Theme; +import org.saturnclient.config.manager.Property; +import org.saturnclient.ui.Element; +import org.saturnclient.ui.ElementContext; +import org.saturnclient.ui.RenderScope; +import org.saturnclient.ui.Utils; +import org.saturnclient.ui.resources.Fonts; + +public class Select extends Element { + private Property prop; + + public Select(Property prop) { + this.prop = prop; + this.width = 150; + this.height = 15; + } + + @Override + public void render(RenderScope renderScope, ElementContext ctx) { + renderScope.drawText(0.8f, "<", 0, 0, Theme.FONT.value, Theme.FOREGROUND.value); + + String text = prop.getSelection(); + + renderScope.drawText(0.6f, text, (int) (width - ((float) Fonts.getWidth(text, Theme.FONT.value) * 0.6f)) / 2, 1, + Theme.FONT.value, Theme.FOREGROUND.value); + + renderScope.drawText(0.8f, ">", width - 10, 0, Theme.FONT.value, Theme.FOREGROUND.value); + } + + @Override + public void click(int mouseX, int mouseY) { + if (Utils.isHovering(mouseX - (width - 10), mouseY, 10, height, 1.0f)) { + prop.next(); + } else if (Utils.isHovering(mouseX, mouseY, 10, height, 1.0f)) { + prop.prev(); + } + } +} diff --git a/src/main/java/org/saturnclient/ui/components/inputs/Toggle.java b/src/main/java/org/saturnclient/ui/components/inputs/Toggle.java new file mode 100644 index 0000000..6c4f3ec --- /dev/null +++ b/src/main/java/org/saturnclient/ui/components/inputs/Toggle.java @@ -0,0 +1,30 @@ +package org.saturnclient.ui.components.inputs; + +import org.saturnclient.config.Theme; +import org.saturnclient.config.manager.Property; +import org.saturnclient.ui.Element; +import org.saturnclient.ui.ElementContext; +import org.saturnclient.ui.RenderScope; + +public class Toggle extends Element { + private Property prop; + + public Toggle(Property prop) { + this.prop = prop; + this.width = 60; + this.height = 30; + } + + @Override + public void render(RenderScope renderScope, ElementContext ctx) { + renderScope.drawRoundedRectangle(0, 0, width, height, height, + Theme.withAlpha(0.5f, prop.value ? Theme.ACCENT.value : Theme.PRIMARY.value)); + renderScope.drawRoundedRectangle(prop.value ? 30 : 0, 0, 30, 30, 30, + prop.value ? Theme.ACCENT.value : Theme.PRIMARY.value); + } + + @Override + public void click(int mouseX, int mouseY) { + prop.value = !prop.value; + } +} diff --git a/src/main/java/org/saturnclient/ui/elements/AnimationStagger.java b/src/main/java/org/saturnclient/ui/elements/AnimationStagger.java new file mode 100644 index 0000000..3226e0f --- /dev/null +++ b/src/main/java/org/saturnclient/ui/elements/AnimationStagger.java @@ -0,0 +1,66 @@ +package org.saturnclient.ui.elements; + +import java.util.ArrayList; +import java.util.List; + +import org.saturnclient.config.AnimationConfig; +import org.saturnclient.config.Config; +import org.saturnclient.ui.Element; +import org.saturnclient.ui.ElementContext; +import org.saturnclient.ui.ElementRenderer; +import org.saturnclient.ui.RenderScope; + +public class AnimationStagger extends Element { + protected List children = new ArrayList<>(); + public int delay; + + public AnimationStagger(int delay) { + this.delay = delay; + } + + public AnimationStagger(AnimationConfig config) { + this.delay = config.stagger.value; + } + + public void draw(Element element) { + if (!Config.stagger.value) { + element.animation = null; + } + + if (element.animation != null) { + element.animation.delay = delay * children.size(); + } + + ElementRenderer.INSTANCE.draw(children, element); + + this.height = Math.max(this.height, element.y + element.height); + this.width = Math.max(this.width, element.x + element.width); + } + + @Override + public void render(RenderScope renderScope, ElementContext ctx) { + ElementRenderer.INSTANCE.render(children, ctx.elapsed, renderScope, + ctx.mouseX, + ctx.mouseY); + } + + @Override + public void mouseClicked(double mouseX, double mouseY, int button) { + ElementRenderer.INSTANCE.mouseClicked(children, mouseX, mouseY, button); + } + + @Override + public void keyPressed(int keyCode, int scanCode, int modifiers) { + ElementRenderer.INSTANCE.keyPressed(children, keyCode, scanCode, modifiers); + } + + @Override + public void mouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY) { + ElementRenderer.INSTANCE.mouseDragged(children, mouseX, mouseY, button, deltaX, deltaY); + } + + @Override + public void mouseReleased(double mouseX, double mouseY, int button) { + ElementRenderer.INSTANCE.mouseReleased(children, mouseX, mouseY, button); + } +} diff --git a/src/main/java/org/saturnclient/ui/elements/Button.java b/src/main/java/org/saturnclient/ui/elements/Button.java new file mode 100644 index 0000000..3c0d5ed --- /dev/null +++ b/src/main/java/org/saturnclient/ui/elements/Button.java @@ -0,0 +1,35 @@ +package org.saturnclient.ui.elements; + +import org.saturnclient.config.Theme; +import org.saturnclient.ui.Element; +import org.saturnclient.ui.ElementContext; +import org.saturnclient.ui.RenderScope; +import org.saturnclient.ui.resources.Fonts; + +public class Button extends Element { + private String text; + private Runnable onClick; + + public Button(String text, Runnable onClick) { + this.text = text; + this.onClick = onClick; + this.dimensions(Fonts.getWidth(text, Theme.FONT.value) + 50, 38); + } + + @Override + public void render(RenderScope renderScope, ElementContext ctx) { + renderScope.drawRoundedRectangle(0, 0, width, height, Theme.WIDGET_RADIUS.value, + ctx.isHovering() ? Theme.ACCENT.value : Theme.PRIMARY.value); + + renderScope.drawText(text, Fonts.centerX(width, text, Theme.FONT.value), Fonts.centerY(height), + Theme.FONT.value, + ctx.isHovering() ? Theme.ACCENT_FG.value : Theme.PRIMARY_FG.value); + } + + @Override + public void click(int mouseX, int mouseY) { + if (onClick != null) { + onClick.run(); + } + } +} diff --git a/src/main/java/org/saturnclient/ui/elements/ClickableTexture.java b/src/main/java/org/saturnclient/ui/elements/ClickableTexture.java new file mode 100644 index 0000000..1347b6d --- /dev/null +++ b/src/main/java/org/saturnclient/ui/elements/ClickableTexture.java @@ -0,0 +1,30 @@ +package org.saturnclient.ui.elements; + +import org.saturnclient.common.minecraft.bindings.SaturnIdentifier; +import org.saturnclient.config.Theme; +import org.saturnclient.ui.Element; +import org.saturnclient.ui.ElementContext; +import org.saturnclient.ui.RenderScope; + +public class ClickableTexture extends Element { + SaturnIdentifier sprite; + private Runnable onClick; + + public ClickableTexture(SaturnIdentifier sprite, Runnable onClick) { + this.sprite = sprite; + this.onClick = onClick; + } + + @Override + public void render(RenderScope renderScope, ElementContext ctx) { + renderScope.drawTexture(sprite, 0, 0, 0, 0, width, height, + ctx.isHovering() ? Theme.ACCENT.value : Theme.PRIMARY.value); + } + + @Override + public void click(int mouseX, int mouseY) { + if (onClick != null) { + onClick.run(); + } + } +} diff --git a/src/main/java/org/saturnclient/ui/elements/ImageTexture.java b/src/main/java/org/saturnclient/ui/elements/ImageTexture.java new file mode 100644 index 0000000..f10447f --- /dev/null +++ b/src/main/java/org/saturnclient/ui/elements/ImageTexture.java @@ -0,0 +1,38 @@ +package org.saturnclient.ui.elements; + +import org.saturnclient.common.minecraft.IMinecraftClient; +import org.saturnclient.common.minecraft.MinecraftProvider; +import org.saturnclient.common.minecraft.bindings.SaturnIdentifier; +import org.saturnclient.ui.Element; +import org.saturnclient.ui.ElementContext; +import org.saturnclient.ui.RenderScope; +import org.saturnclient.ui.resources.SvgTexture; + +public class ImageTexture extends Element { + SaturnIdentifier sprite; + + public ImageTexture(SaturnIdentifier sprite) { + this.sprite = sprite; + } + + @Override + public void render(RenderScope renderScope, ElementContext ctx) { + if (sprite.toString().endsWith(".svg")) { + IMinecraftClient client = MinecraftProvider.PROVIDER.getClient(); + + int renderWidth = (int) (width * client.getWindow().getFramebufferWidth() / client.getWindow().getWidth()); + int renderHeight = (int) (height * client.getWindow().getFramebufferHeight() + / client.getWindow().getHeight()); + + SaturnIdentifier pngId = SvgTexture.getSvg(client, sprite, renderWidth * 2, renderHeight * 2); + + this.sprite = pngId; + if (pngId == null) { + System.err.println("Failed to render SVG: " + sprite); + return; + } + } + + renderScope.drawTexture(this.sprite, 0, 0, 0, 0, width, height); + } +} diff --git a/src/main/java/org/saturnclient/ui/elements/Notification.java b/src/main/java/org/saturnclient/ui/elements/Notification.java new file mode 100644 index 0000000..110ff3c --- /dev/null +++ b/src/main/java/org/saturnclient/ui/elements/Notification.java @@ -0,0 +1,58 @@ +package org.saturnclient.ui.elements; + +import org.saturnclient.config.Theme; +import org.saturnclient.config.manager.Property; +import org.saturnclient.ui.Element; +import org.saturnclient.ui.ElementContext; +import org.saturnclient.ui.RenderScope; +import org.saturnclient.ui.anim.SlideX; +import org.saturnclient.ui.resources.Fonts; +import org.saturnclient.ui.resources.Textures; + +public class Notification extends Element { + private static Property error = Property.color(0xFFbf212f); + private static Property info = Property.color(0xFF264b96); + private static Property success = Property.color(0xFF27b376); + + public static enum NotificationKind { + Error, + Info, + Success, + } + + NotificationKind kind; + String text; + String title; + + public Notification(int width, int height, NotificationKind kind, String title, String text) { + this.kind = kind; + this.text = text; + this.title = title; + this.width = (int) Math.max(Fonts.getWidth(text, 1) * 0.6f, Fonts.getWidth(title, 1)) + 20; + this.height = 50; + this.x = width - this.width - 15; + this.y = height - this.height - 15; + this.animation = new SlideX(700, -width); + this.duration = 3000; + } + + @Override + public void render(RenderScope renderScope, ElementContext ctx) { + renderScope.drawRoundedRectangle(0, 0, width, height, 10, Theme.PRIMARY.value); + switch (kind) { + case Error: + renderScope.drawTexture(Textures.CIRCLE_X, 9, 9, 0, 0, 15, 15, error.value); + break; + + case Info: + renderScope.drawTexture(Textures.INFO, 9, 9, 0, 0, 15, 15, info.value); + break; + + case Success: + renderScope.drawTexture(Textures.CHECK, 9, 9, 0, 0, 15, 15, success.value); + break; + } + renderScope.drawText(0.7f, title, 32, 10, 1, -1); + renderScope.drawText(0.5f, text, 32, 28, 1, -1); + } +} diff --git a/src/main/java/org/saturnclient/ui/elements/Scroll.java b/src/main/java/org/saturnclient/ui/elements/Scroll.java new file mode 100644 index 0000000..859e225 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/elements/Scroll.java @@ -0,0 +1,132 @@ +package org.saturnclient.ui.elements; + +import java.util.ArrayList; +import java.util.List; + +import org.saturnclient.config.Theme; +import org.saturnclient.config.manager.Property; +import org.saturnclient.ui.Element; +import org.saturnclient.ui.ElementContext; +import org.saturnclient.ui.ElementRenderer; +import org.saturnclient.ui.RenderScope; + +public class Scroll extends Element { + private static Property scrollBarRadius = Property.integer(10); + private static Property scrollBarWidth = Property.integer(5); + private static Property scrollBarPadding = Property.integer(5); + + int padding = 0; + + protected List children = new ArrayList<>(); + int scroll = 0; + int maxScroll = 0; + + public Scroll(int padding) { + this.padding = padding; + } + + public void draw(Element element) { + ElementRenderer.INSTANCE.draw(children, element); + } + + @Override + public void render(RenderScope renderScope, ElementContext ctx) { + calculateMaxScroll(); + + renderScope.drawRoundedRectangle(0, 0, width, height, + Theme.BG_RADIUS.value, Theme.BACKGROUND.value); + + renderScope.enableScissor(padding, padding, width - padding, height - padding); + renderScope.getMatrixStack().push(); + renderScope.getMatrixStack().translate(padding, -scroll + padding, 0); + + ElementRenderer.INSTANCE.render(children, ctx.elapsed, renderScope, + ctx.mouseX - padding, + ctx.mouseY - padding + scroll); + + renderScope.getMatrixStack().pop(); + renderScope.disableScissor(); + + if (maxScroll > 0) { + renderScope.drawRoundedRectangle( + width - scrollBarWidth.value - scrollBarPadding.value, + calculateScrollBarY(), + scrollBarWidth.value, + calculateScrollBarHeight(), + scrollBarRadius.value, + Theme.SCROLL.value); + } + } + + @Override + public void scroll(int mouseX, int mouseY, double horizontalAmount, double verticalAmount) { + scroll -= verticalAmount; + if (scroll < 0) { + scroll = 0; + } else if (scroll > maxScroll) { + scroll = maxScroll; + } + } + + @Override + public Element dimensions(int width, int height) { + super.dimensions(width, height); + + maxScroll = 0; + for (Element element : children) { + maxScroll = Math.max(maxScroll, (element.y + element.height + padding) - (height - padding * 2)); + } + + return this; + } + + int calculateScrollBarHeight() { + if (maxScroll <= 0) + return height - (scrollBarPadding.value * 2); + return Math.max(20, (height * height) / (height + maxScroll + 10)) - (scrollBarPadding.value * 2); + } + + int calculateScrollBarY() { + int scrollBarHeight = calculateScrollBarHeight(); + if (maxScroll <= 0) + return scrollBarPadding.value; + int y = (scroll * (height - scrollBarHeight - scrollBarPadding.value * 2)) / maxScroll + scrollBarPadding.value; + return Math.min(y, height - scrollBarHeight - scrollBarPadding.value); + } + + private void calculateMaxScroll() { + maxScroll = 0; + + for (Element element : children) { + int bottom = element.y + element.height; + maxScroll = Math.max(maxScroll, bottom - height + padding); + } + + if (maxScroll > 0) { + maxScroll = maxScroll + 10; + } else { + maxScroll = 0; + } + } + + @Override + public void keyPressed(int keyCode, int scanCode, int modifiers) { + ElementRenderer.INSTANCE.keyPressed(children, keyCode, scanCode, modifiers); + } + + @Override + public void mouseClicked(double mouseX, double mouseY, int button) { + ElementRenderer.INSTANCE.mouseClicked(children, mouseX - padding, mouseY - padding + scroll, button); + } + + @Override + public void mouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY) { + ElementRenderer.INSTANCE.mouseDragged(children, mouseX - padding, mouseY - padding + scroll, button, deltaX, + deltaY); + } + + @Override + public void mouseReleased(double mouseX, double mouseY, int button) { + ElementRenderer.INSTANCE.mouseReleased(children, mouseX - padding, mouseY - padding + scroll, button); + } +} diff --git a/src/main/java/org/saturnclient/ui/elements/TabMenu.java b/src/main/java/org/saturnclient/ui/elements/TabMenu.java new file mode 100644 index 0000000..b87040a --- /dev/null +++ b/src/main/java/org/saturnclient/ui/elements/TabMenu.java @@ -0,0 +1,63 @@ +package org.saturnclient.ui.elements; + +import org.saturnclient.common.minecraft.bindings.SaturnIdentifier; +import org.saturnclient.config.Theme; +import org.saturnclient.ui.Element; +import org.saturnclient.ui.ElementContext; +import org.saturnclient.ui.RenderScope; +import org.saturnclient.ui.Utils; + +public class TabMenu extends Element { + public static class TabMenuComponent { + Runnable onClick; + SaturnIdentifier sprite; + + public TabMenuComponent(SaturnIdentifier sprite, Runnable onClick) { + this.onClick = onClick; + this.sprite = sprite; + } + } + + TabMenuComponent[] components; + public int selectedScreen = 0; + + public TabMenu(int active, TabMenuComponent... components) { + this.components = components; + width = 25 * components.length + 6; + height = 30; + this.selectedScreen = active; + } + + @Override + public void render(RenderScope renderScope, ElementContext ctx) { + renderScope.drawRoundedRectangle(0, 0, width, height, Theme.WIDGET_RADIUS.value, Theme.PRIMARY.value); + + int col = 0; + for (TabMenuComponent component : components) { + int x = 25 * col + 5; + + boolean hovering = ctx.isHovering(x, 5, 20, 20) || selectedScreen == col; + + if (hovering) { + renderScope.drawRoundedRectangle(x, 5, 20, 20, Theme.WIDGET_RADIUS.value, Theme.ACCENT.value); + } + + renderScope.drawTexture(component.sprite, x + 5, 10, 0, 0, 10, 10, + hovering ? Theme.ACCENT_FG.value : Theme.PRIMARY_FG.value); + + col++; + } + } + + @Override + public void click(int mouseX, int mouseY) { + int col = 0; + for (TabMenuComponent component : components) { + int x = 25 * col + 5; + if (Utils.isHovering(mouseX - x, mouseY - 5, 20, 20, 1.0f)) { + component.onClick.run(); + } + col++; + } + } +} diff --git a/src/main/java/org/saturnclient/ui/elements/Text.java b/src/main/java/org/saturnclient/ui/elements/Text.java new file mode 100644 index 0000000..7de1737 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/elements/Text.java @@ -0,0 +1,22 @@ +package org.saturnclient.ui.elements; + +import org.saturnclient.config.Theme; +import org.saturnclient.ui.Element; +import org.saturnclient.ui.ElementContext; +import org.saturnclient.ui.RenderScope; +import org.saturnclient.ui.resources.Fonts; + +public class Text extends Element { + private String text; + + public Text(String text) { + this.text = text; + width = Fonts.getWidth(text, Theme.FONT.value); + height = Fonts.getHeight(); + } + + @Override + public void render(RenderScope renderScope, ElementContext ctx) { + renderScope.drawText(this.text, 0, 0, Theme.FONT.value, Theme.FOREGROUND.value); + } +} diff --git a/src/main/java/org/saturnclient/ui/elements/TextureButton.java b/src/main/java/org/saturnclient/ui/elements/TextureButton.java new file mode 100644 index 0000000..51ee39f --- /dev/null +++ b/src/main/java/org/saturnclient/ui/elements/TextureButton.java @@ -0,0 +1,37 @@ +package org.saturnclient.ui.elements; + +import org.saturnclient.common.minecraft.bindings.SaturnIdentifier; +import org.saturnclient.config.Theme; +import org.saturnclient.ui.Element; +import org.saturnclient.ui.ElementContext; +import org.saturnclient.ui.RenderScope; + +public class TextureButton extends Element { + SaturnIdentifier sprite; + private Runnable onClick; + static int padding = 14; + + public TextureButton(SaturnIdentifier sprite, Runnable onClick) { + this.sprite = sprite; + this.onClick = onClick; + } + + @Override + public void render(RenderScope renderScope, ElementContext ctx) { + renderScope.drawRoundedRectangle(0, 0, width, height, Theme.WIDGET_RADIUS.value, + ctx.isHovering() ? Theme.ACCENT.value : Theme.PRIMARY.value); + + int texWidth = width - padding; + int texHeight = height - padding; + + renderScope.drawTexture(sprite, padding / 2, padding / 2, 0, 0, texWidth, texHeight, + ctx.isHovering() ? Theme.ACCENT_FG.value : Theme.PRIMARY_FG.value); + } + + @Override + public void click(int mouseX, int mouseY) { + if (onClick != null) { + onClick.run(); + } + } +} diff --git a/src/main/java/org/saturnclient/ui/resources/Fonts.java b/src/main/java/org/saturnclient/ui/resources/Fonts.java new file mode 100644 index 0000000..3e935b6 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/resources/Fonts.java @@ -0,0 +1,45 @@ +package org.saturnclient.ui.resources; + +import org.saturnclient.common.minecraft.MinecraftProvider; +import org.saturnclient.common.minecraft.bindings.SaturnIdentifier; + +public class Fonts { + public static final SaturnIdentifier INTER = SaturnIdentifier.of("saturnclient", "inter"); + public static final SaturnIdentifier INTER_BOLD = SaturnIdentifier.of("saturnclient", "inter_bold"); + public static final SaturnIdentifier DEFAULT = SaturnIdentifier.ofVanilla("default"); + + public static SaturnIdentifier getFont(int font) { + switch (font) { + case 0: + return DEFAULT; + case 1: + return INTER; + default: + return INTER_BOLD; + } + } + + public static int getWidth(String text, int font) { + int w = 0; + for (String line : text.split("\n")) { + w = Math.max(w, MinecraftProvider.PROVIDER.getWidth(line, font)); + } + if (font == 0) { + return w * 2; + } else { + return w; + } + } + + public static int getHeight() { + return 18; + } + + public static int centerX(int w, String text, int font) { + return (w - Fonts.getWidth(text, font)) / 2; + } + + public static int centerY(int h) { + return (h - 18) / 2; + } +} diff --git a/src/main/java/org/saturnclient/ui/resources/SvgTexture.java b/src/main/java/org/saturnclient/ui/resources/SvgTexture.java new file mode 100644 index 0000000..c4f4ea6 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/resources/SvgTexture.java @@ -0,0 +1,74 @@ +package org.saturnclient.ui.resources; + +import java.awt.Graphics2D; +import java.awt.RenderingHints; +import java.awt.image.BufferedImage; +import java.io.InputStream; +import java.util.ArrayList; +import java.util.List; + +import com.kitfox.svg.SVGDiagram; +import com.kitfox.svg.SVGUniverse; + +import org.saturnclient.common.minecraft.IMinecraftClient; +import org.saturnclient.common.minecraft.MinecraftProvider; +import org.saturnclient.common.minecraft.bindings.SaturnIdentifier; + +public class SvgTexture { + + private static List svgCache = new ArrayList<>(); + + private static BufferedImage renderSvg(InputStream svgStream, int width, int height) throws Exception { + // Load SVG + SVGUniverse universe = new SVGUniverse(); + java.net.URI uri = universe.loadSVG(svgStream, "tempSvg"); + SVGDiagram diagram = universe.getDiagram(uri); + + // Get intrinsic size of SVG + float svgWidth = (float) diagram.getWidth(); + float svgHeight = (float) diagram.getHeight(); + + // Compute scale factors + float scaleX = width / svgWidth; + float scaleY = height / svgHeight; + + // Create output image + BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); + Graphics2D g = image.createGraphics(); + + // Enable anti-aliasing for smooth scaling + g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); + g.setRenderingHint(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BICUBIC); + + // Apply scaling transform + g.scale(scaleX, scaleY); + + // Render SVG + diagram.render(g); + + g.dispose(); + return image; + } + + public static SaturnIdentifier getSvg(IMinecraftClient client, SaturnIdentifier svgImage, int width, int height) { + SaturnIdentifier id = SaturnIdentifier + .of(svgImage.toString().replaceAll("\\.svg$", (width + "_" + height).toString() + ".png")); + + if (svgCache.contains(id)) { + return id; + } + + try (InputStream svgStream = client.getResource(svgImage)) { + + BufferedImage image = renderSvg(svgStream, width, height); + + MinecraftProvider.PROVIDER.registerBufferedImageTexture(id, image); + + return id; + + } catch (Exception e) { + e.printStackTrace(); + return null; + } + } +} \ No newline at end of file diff --git a/src/main/java/org/saturnclient/ui/resources/Textures.java b/src/main/java/org/saturnclient/ui/resources/Textures.java new file mode 100644 index 0000000..9a8ea74 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/resources/Textures.java @@ -0,0 +1,80 @@ +package org.saturnclient.ui.resources; + +import org.saturnclient.common.minecraft.bindings.SaturnIdentifier; + +public class Textures { + public static final SaturnIdentifier CROSSHAIR_RANGE = new SaturnIdentifier("saturnclient", + "textures/gui/hud/crosshair_range.png"); + public static final SaturnIdentifier COSMETICS = new SaturnIdentifier("saturnclient", + "textures/gui/components/cosmetics.png"); + public static final SaturnIdentifier HUD_ICON = new SaturnIdentifier("saturnclient", + "textures/gui/components/hud.png"); + public static final SaturnIdentifier SEARCH = new SaturnIdentifier("saturnclient", + "textures/gui/components/search.png"); + public static final SaturnIdentifier CLOSE = new SaturnIdentifier("saturnclient", + "textures/gui/components/close.png"); + public static final SaturnIdentifier MODS_TAB = new SaturnIdentifier("saturnclient", + "textures/gui/components/mods_tab.png"); + public static final SaturnIdentifier SETTINGS = new SaturnIdentifier("saturnclient", + "textures/gui/components/settings.png"); + public static final SaturnIdentifier CLOAK = new SaturnIdentifier("saturnclient", + "textures/gui/components/cloak.png"); + public static final SaturnIdentifier HAT = new SaturnIdentifier("saturnclient", "textures/gui/components/hat.png"); + public static final SaturnIdentifier RESET = new SaturnIdentifier("saturnclient", + "textures/gui/components/reset.png"); + public static final SaturnIdentifier TOGGLE_INDICATOR = new SaturnIdentifier("saturnclient", + "textures/gui/components/toggle_indicator.png"); + public static final SaturnIdentifier LEFT = new SaturnIdentifier("saturnclient", + "textures/gui/components/left.png"); + public static final SaturnIdentifier RIGHT = new SaturnIdentifier("saturnclient", + "textures/gui/components/right.png"); + public static final SaturnIdentifier STORE = new SaturnIdentifier("saturnclient", + "textures/gui/components/store.png"); + public static final SaturnIdentifier COINS = new SaturnIdentifier("saturnclient", + "textures/gui/components/coins.png"); + public static final SaturnIdentifier SHIRT = new SaturnIdentifier("saturnclient", + "textures/gui/components/shirt.png"); + public static final SaturnIdentifier CIRCLE_X = new SaturnIdentifier("saturnclient", + "textures/gui/components/circle_x.png"); + public static final SaturnIdentifier INFO = new SaturnIdentifier("saturnclient", + "textures/gui/components/info.png"); + public static final SaturnIdentifier CHECK = new SaturnIdentifier("saturnclient", + "textures/gui/components/check.png"); + + public static final SaturnIdentifier LOGO = new SaturnIdentifier("saturnclient", "textures/logo/logo.png"); + public static final SaturnIdentifier REALISTIC_LOGO = new SaturnIdentifier("saturnclient", + "textures/logo/realistic.png"); + public static final SaturnIdentifier LOGO_TEXT = new SaturnIdentifier("saturnclient", "textures/logo/text.png"); + public static final SaturnIdentifier LOGO_TEXT_BIG = new SaturnIdentifier("saturnclient", + "textures/logo/text_big.png"); + public static final SaturnIdentifier SPLASH = new SaturnIdentifier("saturnclient", "textures/gui/splash.png"); + + // Widgets + public static final SaturnIdentifier BUTTON_BORDER = new SaturnIdentifier("saturnclient", "button_border"); + public static final SaturnIdentifier BUTTON = new SaturnIdentifier("saturnclient", "button"); + public static final SaturnIdentifier BUTTON_OP = new SaturnIdentifier("saturnclient", "button_op"); + public static final SaturnIdentifier SETTINGS_BG = new SaturnIdentifier("saturnclient", "settings_bg"); + public static final SaturnIdentifier RECT = new SaturnIdentifier("saturnclient", "rect"); + public static final SaturnIdentifier RECT_BORDER = new SaturnIdentifier("saturnclient", "rect_border"); + public static final SaturnIdentifier MOD = new SaturnIdentifier("saturnclient", "textures/gui/components/mod.png"); + public static final SaturnIdentifier MOD_BG = new SaturnIdentifier("saturnclient", + "textures/gui/components/mod_bg.png"); + + public static SaturnIdentifier getCloakPreview(String cloak) { + return new SaturnIdentifier("saturnclient", + "textures/gui/cloak/" + (cloak.isEmpty() ? "none" : cloak) + ".png"); + } + + public static SaturnIdentifier getHatPreview(String hat) { + return new SaturnIdentifier("saturnclient", "textures/gui/hat/" + (hat.isEmpty() ? "none" : hat) + ".png"); + } + + public static SaturnIdentifier getEmotePreview(String emote) { + return new SaturnIdentifier("saturnclient", "textures/gui/emote/" + (emote == null ? "none" : emote) + ".png"); + } + + public static SaturnIdentifier getModIcon(String modId) { + return new SaturnIdentifier("saturnclient", "textures/gui/mod/" + modId + ".svg"); + } + +} diff --git a/src/main/java/org/saturnclient/ui/screens/ConfigEditor.java b/src/main/java/org/saturnclient/ui/screens/ConfigEditor.java new file mode 100644 index 0000000..4701989 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/screens/ConfigEditor.java @@ -0,0 +1,131 @@ +package org.saturnclient.ui.screens; + +import java.util.Map; + +import org.saturnclient.config.Theme; +import org.saturnclient.config.manager.ConfigManager; +import org.saturnclient.config.manager.Property; +import org.saturnclient.ui.SaturnScreen; +import org.saturnclient.ui.components.Sidebar; +import org.saturnclient.ui.components.inputs.FloatInput; +import org.saturnclient.ui.components.inputs.HexInput; +import org.saturnclient.ui.components.inputs.IntInput; +import org.saturnclient.ui.components.inputs.KeybindingSelector; +import org.saturnclient.ui.components.inputs.Select; +import org.saturnclient.ui.components.inputs.Toggle; +import org.saturnclient.ui.elements.Scroll; +import org.saturnclient.ui.elements.Text; +import org.saturnclient.ui.resources.Fonts; + +public class ConfigEditor extends SaturnScreen { + private ConfigManager config; + + public ConfigEditor(ConfigManager config) { + super("Config Editor"); + + this.config = config; + } + + @Override + public void ui() { + int p = 10; + int g = 10; + + Scroll scroll = new Scroll(p); + + drawProperties(scroll, config.getProperties(), 0, 0, 480 + 10 + (g * 2)); + + int scrollWidth = 480 + 10 + (g * 2) + (p * 2); + + draw(scroll.dimensions(scrollWidth, 350).center(width, height)); + + draw(new Sidebar(1, this.provider::close).centerOffset(width, height, -(scrollWidth / 2 + 20), 0)); + } + + @SuppressWarnings("unchecked") + private int drawProperties(Scroll configScroll, Map> properties, int row, int col, int w) { + for (Map.Entry> propEntry : properties.entrySet()) { + Property prop = propEntry.getValue(); + String propName = propEntry.getKey(); + boolean full = isFull(prop); + + // Always reset to col 0 if full-width component needs to be drawn mid-row + if (full && col != 0) { + col = 0; + row++; + } + + int modX = (w / 2) * col; // two-column layout + int modY = 25 * row; + + if (prop.getType() == Property.PropertyType.NAMESPACE) { + configScroll.draw( + new Text( + propName).position(Fonts.centerX(520, propName, Theme.FONT.value), modY + 1) + .scale(0.7f)); + } else { + configScroll.draw( + new Text( + propName).position(modX, modY + 1).scale(0.7f)); + } + + switch (prop.getType()) { + case BOOLEAN: + configScroll.draw( + new Toggle((Property) prop) + .position(modX + (w / 2) - 40, modY) + .scale(0.5f)); + break; + + case HEX: + configScroll.draw(new HexInput((Property) prop).position(w / 2, modY)); + break; + + case INTEGER: + configScroll.draw(new IntInput((Property) prop).position(w / 2, modY)); + break; + + case FLOAT: + configScroll.draw(new FloatInput((Property) prop).position(w / 2, modY)); + break; + + case NAMESPACE: + Map> nestedProperties = (Map>) prop.value; + row = drawProperties(configScroll, nestedProperties, row + 1, col, w); + break; + + case SELECT: + configScroll.draw(new Select((Property) prop).position(w / 2, modY)); + break; + + case KEYBINDING: + configScroll.draw(new KeybindingSelector((Property) prop).position(w / 2, modY)); + break; + + case STRING: + } + + if (full) { + row++; // full-width takes a whole row + col = 0; + } else { + col++; + if (col > 1) { // max 2 columns + col = 0; + row++; + } + } + } + + return row; + } + + public static boolean isFull(Property prop) { + switch (prop.getType()) { + case BOOLEAN: + return false; + default: + return true; + } + } +} diff --git a/src/main/java/org/saturnclient/ui/screens/EmoteWheel.java b/src/main/java/org/saturnclient/ui/screens/EmoteWheel.java new file mode 100644 index 0000000..1e10a31 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/screens/EmoteWheel.java @@ -0,0 +1,111 @@ +package org.saturnclient.ui.screens; + +import org.saturnclient.cosmetics.Emotes; +import org.saturnclient.client.ServiceClient; +import org.saturnclient.common.minecraft.bindings.SaturnClientBindings; +import org.saturnclient.config.AnimationConfig; +import org.saturnclient.config.Config; +import org.saturnclient.ui.SaturnScreen; +import org.saturnclient.ui.Utils; +import org.saturnclient.ui.anim.Fade; +import org.saturnclient.ui.anim.SlideY; +import org.saturnclient.ui.elements.AnimationStagger; +import org.saturnclient.ui.elements.ImageTexture; +import org.saturnclient.ui.elements.TextureButton; +import org.saturnclient.ui.resources.Textures; + +public class EmoteWheel extends SaturnScreen { + int page = 1; + + public EmoteWheel() { + super("Emote Wheel"); + } + + @Override + public void ui() { + int row = 0; + int col = 0; + + // ============================= + // Logo + // ============================= + + draw(new ImageTexture(Textures.LOGO_TEXT) + .dimensions(98, 10) + .centerOffset(width, height, 0, -105) + .animation(new Fade(AnimationConfig.logo.duration.value))); + + draw(new ImageTexture(Config.getLogo()) + .dimensions(98, 98) + .centerOffset(width, height, 0, -149) + .animation(new SlideY(AnimationConfig.logo, -20))); + + // ============================= + // Navigation Buttons + // ============================= + + draw(new TextureButton(Textures.LEFT, () -> { + if (page > 1) { + page--; + elements.clear(); + ui(); + } + }).dimensions(30, 30) + .centerOffset(width, height, -50, 105) + .animation(new Fade(500))); + + draw(new TextureButton(Textures.RIGHT, () -> { + if ((page * 8) < Emotes.availableEmotes.size()) { + page++; + elements.clear(); + ui(); + } + }).dimensions(30, 30) + .centerOffset(width, height, 50, 105) + .animation(new Fade(500))); + + // ============================= + // Emote Grid (Staggered) + // ============================= + + AnimationStagger emoteStagger = new AnimationStagger(AnimationConfig.emoteWheel); + + while (row < 3) { + + int idx = (row * 3 + col) + ((page - 1) * 8); + + if (row == 1 && col == 1) { + col++; + } + + String emote = Utils.getOrNull(Emotes.availableEmotes, idx); + + emoteStagger.draw( + new TextureButton(Textures.getEmotePreview(emote), () -> { + if (emote != null) + SaturnClientBindings.emotes().setEmote(ServiceClient.uuid, emote); + + provider.close(); + }) + .dimensions(70, 70) + .centerOffset(width, height, + -80 + (col * 80), + -35 + (row * 80)) + .animation(new SlideY(AnimationConfig.emoteWheel, 12))); + + if (col < 2) { + col++; + } else { + col = 0; + row++; + } + } + + draw(emoteStagger); + } + + @Override + public boolean shouldPause() { + return false; + } +} diff --git a/src/main/java/org/saturnclient/ui/screens/HudEditor.java b/src/main/java/org/saturnclient/ui/screens/HudEditor.java new file mode 100644 index 0000000..178d068 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/screens/HudEditor.java @@ -0,0 +1,132 @@ +package org.saturnclient.ui.screens; + +import org.saturnclient.modules.HudMod; +import org.saturnclient.modules.ModDimensions; +import org.saturnclient.modules.ModManager; +import org.saturnclient.modules.Module; +import org.saturnclient.common.minecraft.render.IMatrixStack; +import org.saturnclient.config.manager.ConfigManager; +import org.saturnclient.ui.RenderScope; +import org.saturnclient.ui.SaturnScreen; + +import java.util.ArrayList; +import java.util.List; + +public class HudEditor extends SaturnScreen { + private final List hudMods = new ArrayList<>(); + private HudMod draggingMod = null; + private boolean resizing = false; + private int offsetX, offsetY; + private static final int RESIZE_MARGIN = 3; + + public HudEditor() { + super("HUD Editor"); + for (Module m : ModManager.ENABLED_MODS) { + if (m.isEnabled() && m instanceof HudMod) { + hudMods.add((HudMod) m); + } + } + } + + @Override + public boolean mouseClicked(double mouseX, double mouseY, int button) { + if (button == 0) { + for (int m = hudMods.size() - 1; m >= 0; m--) { + HudMod mod = hudMods.get(m); + ModDimensions dim = mod.getDimensions(); + + // Check if clicking the corner for resizing + if (isCorner(mouseX, mouseY, dim)) { + draggingMod = mod; + resizing = true; + offsetX = (int) (mouseX - (dim.x.value + dim.width * dim.scale.value)); + offsetY = (int) (mouseY - (dim.y.value + dim.height * dim.scale.value)); + return true; + } + + // Check if clicking inside the mod + if (isInside(mouseX, mouseY, dim)) { + draggingMod = mod; + resizing = false; + offsetX = (int) (mouseX - dim.x.value); + offsetY = (int) (mouseY - dim.y.value); + return true; + } + } + } + return super.mouseClicked(mouseX, mouseY, button); + } + + @Override + public boolean mouseReleased(double mouseX, double mouseY, int button) { + if (button == 0) { + draggingMod = null; + resizing = false; + } + return super.mouseReleased(mouseX, mouseY, button); + } + + @Override + public boolean mouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY) { + if (draggingMod != null) { + ModDimensions dim = draggingMod.getDimensions(); + + if (resizing) { + // Scale based on cursor movement + float newScale = Math.max(0.5f, ((float) (mouseX - dim.x.value) / dim.width)); + dim.scale.value = newScale; + } else { + // Move the mod + dim.x.value = (int) mouseX - offsetX; + dim.y.value = (int) mouseY - offsetY; + } + } + return super.mouseDragged(mouseX, mouseY, button, deltaX, deltaY); + } + + @Override + public void ui() { + } + + @Override + public void render(RenderScope renderScope, int mouseX, int mouseY, float delta, long elapsed) { + for (HudMod mod : hudMods) { + ModDimensions dim = mod.getDimensions(); + IMatrixStack matrices = renderScope.getMatrixStack(); + matrices.push(); + + matrices.translate(dim.x.value, dim.y.value, 0); + matrices.scale(dim.scale.value, dim.scale.value, 1.0f); + + // Render the mod + mod.renderDummy(renderScope); + + matrices.pop(); + + // Draw border around mod + int borderX = dim.x.value; + int borderY = dim.y.value; + int borderW = (int) (dim.width * dim.scale.value); + int borderH = (int) (dim.height * dim.scale.value); + + renderScope.drawBorder(borderX, borderY, borderW, borderH, 0xFFFFFFFF); // White border + } + } + + private boolean isInside(double mouseX, double mouseY, ModDimensions dim) { + return mouseX >= dim.x.value && mouseX <= dim.x.value + (dim.width * dim.scale.value) && + mouseY >= dim.y.value && mouseY <= dim.y.value + (dim.height * dim.scale.value); + } + + private boolean isCorner(double mouseX, double mouseY, ModDimensions dim) { + float rightX = dim.x.value + dim.width * dim.scale.value; + float bottomY = dim.y.value + dim.height * dim.scale.value; + + return Math.abs(mouseX - rightX) < RESIZE_MARGIN && Math.abs(mouseY - bottomY) < RESIZE_MARGIN; + } + + @Override + public void onClose() { + ConfigManager.save(); + } +} diff --git a/src/main/java/org/saturnclient/ui/screens/ModMenu.java b/src/main/java/org/saturnclient/ui/screens/ModMenu.java new file mode 100644 index 0000000..2c7e38c --- /dev/null +++ b/src/main/java/org/saturnclient/ui/screens/ModMenu.java @@ -0,0 +1,56 @@ +package org.saturnclient.ui.screens; + +import org.saturnclient.modules.ModManager; +import org.saturnclient.modules.Module; +import org.saturnclient.config.AnimationConfig; +import org.saturnclient.ui.SaturnScreen; +import org.saturnclient.ui.anim.SlideFade; +import org.saturnclient.ui.components.SaturnModule; +import org.saturnclient.ui.components.Sidebar; +import org.saturnclient.ui.elements.AnimationStagger; +import org.saturnclient.ui.elements.ImageTexture; +import org.saturnclient.ui.elements.Scroll; +import org.saturnclient.ui.resources.Textures; + +public class ModMenu extends SaturnScreen { + public ModMenu() { + super("Mod Menu"); + } + + @Override + public void ui() { + int p = 10; + int g = 10; + + Scroll scroll = new Scroll(p); + + int row = 0; + int col = 0; + + AnimationStagger moduleStagger = new AnimationStagger(AnimationConfig.modMenu); + + for (Module mod : ModManager.MODS) { + moduleStagger.draw( + new SaturnModule(mod) + .position((160 + g) * col, (50 + g) * row) + .animation(new SlideFade(AnimationConfig.modMenu, -12))); + + if (col == 2) { + col = 0; + row++; + } else { + col++; + } + } + + scroll.draw(moduleStagger); + + int scrollWidth = 480 + 10 + (g * 2) + (p * 2); + + draw(scroll.dimensions(scrollWidth, 350).center(width, height)); + + draw(new Sidebar(0, this.provider::close).centerOffset(width, height, -(scrollWidth / 2 + 20), 0)); + + draw(new ImageTexture(Textures.LOGO_TEXT_BIG).dimensions(180, 18).position(width - 180 - 20, height - 18 - 20)); + } +} diff --git a/src/main/java/org/saturnclient/ui/screens/ShiftMenu.java b/src/main/java/org/saturnclient/ui/screens/ShiftMenu.java new file mode 100644 index 0000000..fc2c062 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/screens/ShiftMenu.java @@ -0,0 +1,62 @@ +package org.saturnclient.ui.screens; + +import org.saturnclient.common.minecraft.MinecraftProvider; +import org.saturnclient.config.AnimationConfig; +import org.saturnclient.config.Config; +import org.saturnclient.ui.SaturnScreen; +import org.saturnclient.ui.anim.Fade; +import org.saturnclient.ui.anim.SlideY; +import org.saturnclient.ui.elements.AnimationStagger; +import org.saturnclient.ui.elements.Button; +import org.saturnclient.ui.elements.ImageTexture; +import org.saturnclient.ui.elements.TextureButton; +import org.saturnclient.ui.resources.Textures; +import org.saturnclient.ui.screens.cosmetics.CloakMenu; + +public class ShiftMenu extends SaturnScreen { + public ShiftMenu() { + super("Shift Menu"); + } + + @Override + public void ui() { + // Logo animations (unchanged) + draw(new ImageTexture(Textures.LOGO_TEXT) + .dimensions(98, 10) + .centerOffset(width, height, 0, -36) + .animation(new Fade(AnimationConfig.logo.duration.value))); + + draw(new ImageTexture(Config.getLogo()) + .dimensions(98, 98) + .centerOffset(width, height, 0, -80) + .animation(new SlideY(AnimationConfig.logo, -20))); + + // Spacing and sizes + int btnWidth = 120; + int btnHeight = 40; + int spacing = 4; + + // Create stagger + + AnimationStagger stagger = new AnimationStagger(AnimationConfig.shiftMenu.stagger.value); + + stagger.draw(new TextureButton(Textures.HUD_ICON, () -> { + MinecraftProvider.PROVIDER.setScreen(new HudEditor()); + }).dimensions(btnHeight, btnHeight).position(0, 0) + .animation(new Fade(AnimationConfig.shiftMenu))); + + stagger.draw(new Button("Settings", () -> { + MinecraftProvider.PROVIDER.setScreen(new ModMenu()); + }).dimensions(btnWidth, btnHeight).position(btnHeight + spacing, 0) + .animation(new Fade(AnimationConfig.shiftMenu))); + + stagger.draw(new TextureButton(Textures.COSMETICS, () -> { + MinecraftProvider.PROVIDER.setScreen(new CloakMenu()); + }).dimensions(btnHeight, btnHeight).position(btnWidth + btnHeight + (spacing * 2), 0) + .animation(new Fade(AnimationConfig.shiftMenu))); + + // Draw the stagger at the absolute center of the screen + draw(stagger.dimensions(btnWidth + (btnHeight * 2) + (spacing * 2), btnHeight).centerOffset(width, height, 0, + 0)); + } +} diff --git a/src/main/java/org/saturnclient/ui/screens/TitleMenu.java b/src/main/java/org/saturnclient/ui/screens/TitleMenu.java new file mode 100644 index 0000000..1da39b5 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/screens/TitleMenu.java @@ -0,0 +1,77 @@ +package org.saturnclient.ui.screens; + +import org.saturnclient.common.minecraft.MinecraftProvider; +import org.saturnclient.common.minecraft.MinecraftProvider.MinecraftScreen; +import org.saturnclient.config.AnimationConfig; +import org.saturnclient.config.Config; +import org.saturnclient.ui.SaturnScreen; +import org.saturnclient.ui.anim.Fade; +import org.saturnclient.ui.anim.SlideFade; +import org.saturnclient.ui.anim.SlideY; +import org.saturnclient.ui.elements.AnimationStagger; +import org.saturnclient.ui.elements.Button; +import org.saturnclient.ui.elements.ImageTexture; +import org.saturnclient.ui.elements.TextureButton; +import org.saturnclient.ui.resources.Fonts; +import org.saturnclient.ui.resources.Textures; +import org.saturnclient.ui.screens.cosmetics.CloakMenu; + +public class TitleMenu extends SaturnScreen { + public TitleMenu() { + super("Title Menu"); + } + + @Override + public void ui() { + backgroundBlur = 0; + + draw(new ImageTexture(Textures.LOGO_TEXT).dimensions(98, 10).centerOffset(width, height, 0, -40) + .animation(new Fade(AnimationConfig.logo.duration.value))); + draw(new ImageTexture(Config.getLogo()).dimensions(98, 98).centerOffset(width, height, 0, -84) + .animation(new SlideY(AnimationConfig.logo, -20))); + + AnimationStagger mainButtonStagger = new AnimationStagger(AnimationConfig.mainMenu); + + mainButtonStagger.draw(new Button("SINGLEPLAYER", () -> { + MinecraftProvider.PROVIDER.setScreen(MinecraftScreen.SelectWorld); + }).scale(0.69f).dimensions(420, 52).position(0, 0) + .animation(new SlideFade(AnimationConfig.mainMenu, -10))); + + mainButtonStagger.draw(new Button("MULTIPLAYER", () -> { + MinecraftProvider.PROVIDER.setScreen(MinecraftScreen.Multiplayer); + }).scale(0.69f).dimensions(420, 52).position(0, 40) + .animation(new SlideFade(AnimationConfig.mainMenu, -10))); + + mainButtonStagger.draw(new Button("OPTIONS", () -> { + MinecraftProvider.PROVIDER.setScreen(MinecraftScreen.Options); + }).scale(0.69f).dimensions(206, 52).position(0, 80) + .animation(new SlideFade(AnimationConfig.mainMenu, -10))); + + mainButtonStagger.draw(new Button("QUIT", () -> { + MinecraftProvider.PROVIDER.stop(); + }).scale(0.69f).dimensions(206, 52).position(146, 80) + .animation(new SlideFade(AnimationConfig.mainMenu, -10))); + + draw(mainButtonStagger.dimensions(289, 143).centerOffset(width, height, 0, 50)); + + int s = Fonts.getHeight() + 20; + + AnimationStagger saturnStagger = new AnimationStagger(AnimationConfig.mainMenu.stagger.value); + + saturnStagger.draw(new TextureButton(Textures.HUD_ICON, () -> { + MinecraftProvider.PROVIDER.setScreen(new HudEditor()); + }).dimensions(s, s).position(0, 0).animation(new SlideFade(AnimationConfig.mainMenu, s + 8))); + + saturnStagger.draw(new TextureButton(Textures.SETTINGS, () -> { + MinecraftProvider.PROVIDER.setScreen(new ModMenu()); + }).dimensions(s, s).position(s + 2, 0) + .animation(new SlideFade(AnimationConfig.mainMenu, s + 8))); + + saturnStagger.draw(new TextureButton(Textures.CLOAK, () -> { + MinecraftProvider.PROVIDER.setScreen(new CloakMenu()); + }).dimensions(s, s).position((s + 2) * 2, 0) + .animation(new SlideFade(AnimationConfig.mainMenu, s + 8))); + + draw(saturnStagger.dimensions(((s + 2) * 2) + s, s).centerHorizontal(width, height, 0, 8)); + } +} diff --git a/src/main/java/org/saturnclient/ui/screens/cosmetics/CloakMenu.java b/src/main/java/org/saturnclient/ui/screens/cosmetics/CloakMenu.java new file mode 100644 index 0000000..73338b8 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/screens/cosmetics/CloakMenu.java @@ -0,0 +1,82 @@ +package org.saturnclient.ui.screens.cosmetics; + +import org.saturnclient.client.player.SaturnPlayer; +// import org.saturnclient.cosmetics.cloak.Cloaks; +import org.saturnclient.common.minecraft.MinecraftProvider; +import org.saturnclient.config.AnimationConfig; +import org.saturnclient.ui.SaturnScreen; +import org.saturnclient.ui.anim.Fade; +import org.saturnclient.ui.anim.SlideY; +import org.saturnclient.ui.components.CosmeticPreview; +import org.saturnclient.ui.components.Sidebar; +import org.saturnclient.ui.components.SkinPreview; +import org.saturnclient.ui.elements.AnimationStagger; +import org.saturnclient.ui.elements.Scroll; +import org.saturnclient.ui.elements.TabMenu; +import org.saturnclient.ui.elements.TabMenu.TabMenuComponent; +import org.saturnclient.ui.resources.Textures; + +public class CloakMenu extends SaturnScreen { + public CloakMenu() { + super("Cloaks Menu"); + } + + @Override + public void ui() { + int p = 10; + int g = 10; + + Scroll scroll = new Scroll(p); + + int row = 0; + int col = 0; + + SaturnPlayer player = SaturnPlayer.get(); + + AnimationStagger stagger = new AnimationStagger(AnimationConfig.cosmeticsMenu); + + if (player != null) { + // for (String cloak : Cloaks.availableCloaks) { + + // stagger.draw( + // new CosmeticPreview( + // cloak == player.cloak, + // Textures.getCloakPreview(cloak), + // () -> Cloaks.setCloak(cloak)) + // .position((50 + g) * col, (111 + g) * row) + // .animation(new SlideY(AnimationConfig.cosmeticsMenu, 14))); + + // if (col == 5) { + // col = 0; + // row++; + // } else { + // col++; + // } + // } + } + + scroll.draw(stagger); + + int scrollWidth = 480 + 10 + (g * 2) + (p * 2); + + draw(scroll + .dimensions(scrollWidth, 350) + .center(width, height)); + + draw(new SkinPreview(-30.0f, false) + .scale(3.5f) + .position(scroll.x + (scrollWidth - 220), scroll.y + 40) + .animation(new Fade(500))); + + draw(new Sidebar(2, this.provider::close) + .centerOffset(width, height, -(scrollWidth / 2 + 20), 0)); + + draw(new TabMenu(0, + new TabMenuComponent(Textures.CLOAK, () -> { + }), + new TabMenuComponent(Textures.HAT, () -> { + MinecraftProvider.PROVIDER.setScreen(new HatMenu()); + })) + .centerOffset(width, height, 0, -195)); + } +} diff --git a/src/main/java/org/saturnclient/ui/screens/cosmetics/HatMenu.java b/src/main/java/org/saturnclient/ui/screens/cosmetics/HatMenu.java new file mode 100644 index 0000000..ac24d38 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/screens/cosmetics/HatMenu.java @@ -0,0 +1,82 @@ +package org.saturnclient.ui.screens.cosmetics; + +import org.saturnclient.client.player.SaturnPlayer; +import org.saturnclient.common.minecraft.MinecraftProvider; +import org.saturnclient.config.AnimationConfig; +import org.saturnclient.cosmetics.Hats; +import org.saturnclient.ui.SaturnScreen; +import org.saturnclient.ui.anim.Fade; +import org.saturnclient.ui.anim.SlideY; +import org.saturnclient.ui.components.CosmeticPreview; +import org.saturnclient.ui.components.Sidebar; +import org.saturnclient.ui.components.SkinPreview; +import org.saturnclient.ui.elements.AnimationStagger; +import org.saturnclient.ui.elements.Scroll; +import org.saturnclient.ui.elements.TabMenu; +import org.saturnclient.ui.elements.TabMenu.TabMenuComponent; +import org.saturnclient.ui.resources.Textures; + +public class HatMenu extends SaturnScreen { + public HatMenu() { + super("Hats Menu"); + } + + @Override + public void ui() { + int p = 10; + int g = 10; + + Scroll scroll = new Scroll(p); + + int row = 0; + int col = 0; + + SaturnPlayer player = SaturnPlayer.get(); + + AnimationStagger stagger = new AnimationStagger(AnimationConfig.cosmeticsMenu); + + if (player != null) { + for (String hat : Hats.availableHats) { + stagger.draw( + new CosmeticPreview( + hat == player.hat, + Textures.getHatPreview(hat), + () -> Hats.setHat(hat)) + .dimensions(50, 50) + .position((50 + g) * col, (50 + g) * row) + .animation(new SlideY(AnimationConfig.cosmeticsMenu, 14))); + + if (col == 5) { + col = 0; + row++; + } else { + col++; + } + } + } + + scroll.draw(stagger); + + int scrollWidth = 480 + 10 + (g * 2) + (p * 2); + + draw(scroll + .dimensions(scrollWidth, 350) + .center(width, height)); + + draw(new SkinPreview(170f, true) + .scale(3.5f) + .position(scroll.x + (scrollWidth - 220), scroll.y + 40) + .animation(new Fade(500))); + + draw(new Sidebar(2, this.provider::close) + .centerOffset(width, height, -(scrollWidth / 2 + 20), 0)); + + draw(new TabMenu(1, + new TabMenuComponent(Textures.CLOAK, () -> { + MinecraftProvider.PROVIDER.setScreen(new CloakMenu()); + }), + new TabMenuComponent(Textures.HAT, () -> { + })) + .centerOffset(width, height, 0, -195)); + } +} diff --git a/src/main/java/org/saturnclient/ui/screens/store/CloakStore.java b/src/main/java/org/saturnclient/ui/screens/store/CloakStore.java new file mode 100644 index 0000000..eef8406 --- /dev/null +++ b/src/main/java/org/saturnclient/ui/screens/store/CloakStore.java @@ -0,0 +1,141 @@ +package org.saturnclient.ui.screens.store; + +// import org.saturnclient.cosmetics.cloak.Cloaks; +import org.saturnclient.client.ServiceClient; +import org.saturnclient.client.player.SaturnPlayer; +import org.saturnclient.common.minecraft.MinecraftProvider; +import org.saturnclient.config.AnimationConfig; +import org.saturnclient.config.Theme; +import org.saturnclient.ui.SaturnScreen; +import org.saturnclient.ui.anim.Fade; +import org.saturnclient.ui.anim.SlideY; +import org.saturnclient.ui.components.CosmeticPreview; +import org.saturnclient.ui.components.Sidebar; +import org.saturnclient.ui.elements.AnimationStagger; +import org.saturnclient.ui.elements.ImageTexture; +import org.saturnclient.ui.elements.Scroll; +import org.saturnclient.ui.elements.TabMenu; +import org.saturnclient.ui.elements.Text; +import org.saturnclient.ui.elements.TabMenu.TabMenuComponent; +import org.saturnclient.ui.resources.Fonts; +import org.saturnclient.ui.resources.Textures; + +// import com.mojang.blaze3d.systems.RenderSystem; + +public class CloakStore extends SaturnScreen { + private long lastPurchaseTime = 0; + + public CloakStore() { + super("Cloak Store"); + } + + public CloakStore(long lastPurchaseTime) { + super("Cloak Store"); + this.lastPurchaseTime = lastPurchaseTime; + } + + @Override + public void ui() { + int p = 10; + int gx = 10; + int gy = 20; + + Scroll scroll = new Scroll(p); + + int row = 0; + int col = 0; + + SaturnPlayer player = SaturnPlayer.get(); + + AnimationStagger stagger = new AnimationStagger(AnimationConfig.cosmeticsMenu); + + if (player != null) { + // for (String cloak : Cloaks.ALL_CLOAKS) { + // if (!Cloaks.availableCloaks.contains(cloak)) { + + // int x = (50 + gx) * col; + // int y = (111 + gy) * row; + + // stagger.draw( + // new CosmeticPreview( + // cloak == player.cloak, + // Textures.getCloakPreview(cloak), + // () -> handlePurchase(cloak)) + // .position(x, y) + // .animation(new SlideY(AnimationConfig.cosmeticsMenu, 16))); + + // String t = "100"; + + // stagger.draw( + // new Text(t) + // .position(x + Fonts.centerX(50, t, Theme.FONT.value), y + 113) + // .scale(0.5f) + // .animation(new Fade(400))); + + // stagger.draw( + // new ImageTexture(Textures.COINS) + // .dimensions(16, 16) + // .position(x + Fonts.getWidth(t, Theme.FONT.value) - 1, y + 112) + // .scale(0.5f) + // .animation(new Fade(400))); + + // if (col == 8) { + // col = 0; + // row++; + // } else { + // col++; + // } + // } + // } + } + + scroll.draw(stagger); + + int scrollWidth = 480 + 40 + (gx * 2) + (p * 2); + + draw(scroll + .dimensions(scrollWidth, 350) + .centerOffset(width, height, 15, 0)); + + draw(new Sidebar(5, this.provider::close) + .centerOffset(width, height, -((scrollWidth - 30) / 2 + 20), 0)); + + draw(new TabMenu(0, + new TabMenuComponent(Textures.CLOAK, () -> { + }), + new TabMenuComponent(Textures.HAT, () -> { + MinecraftProvider.PROVIDER.setScreen(new HatStore()); + })) + .centerOffset(width, height, 0, -195)); + } + + private void handlePurchase(String cloak) { + long now = System.currentTimeMillis(); + + if (now - lastPurchaseTime >= 3000) { + // Utils.notify(NotificationKind.Info, "Purchase processing", "Please wait"); + + ServiceClient.buyCloak(cloak); + lastPurchaseTime = now; + + new Thread(() -> { + try { + Thread.sleep(5000); + } catch (InterruptedException ignored) { + } + + // RenderSystem.recordRenderCall(() -> { + // MinecraftProvider.PROVIDER.setScreen(new CloakStore(now)); + // // Utils.notify(NotificationKind.Success, + // // "Purchase complete", + // // "Congrats, enjoy your new cloak!"); + // }); + }).start(); + + } else { + // Utils.notify(NotificationKind.Error, + // "Timeout error", + // "Please wait 3 seconds"); + } + } +} diff --git a/src/main/java/org/saturnclient/ui/screens/store/HatStore.java b/src/main/java/org/saturnclient/ui/screens/store/HatStore.java new file mode 100644 index 0000000..f0fd11b --- /dev/null +++ b/src/main/java/org/saturnclient/ui/screens/store/HatStore.java @@ -0,0 +1,142 @@ +package org.saturnclient.ui.screens.store; + +import org.saturnclient.client.ServiceClient; +import org.saturnclient.client.player.SaturnPlayer; +import org.saturnclient.common.minecraft.MinecraftProvider; +import org.saturnclient.config.AnimationConfig; +import org.saturnclient.config.Theme; +import org.saturnclient.cosmetics.Hats; +import org.saturnclient.ui.SaturnScreen; +import org.saturnclient.ui.anim.Fade; +import org.saturnclient.ui.anim.SlideY; +import org.saturnclient.ui.components.CosmeticPreview; +import org.saturnclient.ui.components.Sidebar; +import org.saturnclient.ui.elements.AnimationStagger; +import org.saturnclient.ui.elements.ImageTexture; +import org.saturnclient.ui.elements.Scroll; +import org.saturnclient.ui.elements.TabMenu; +import org.saturnclient.ui.elements.Text; +import org.saturnclient.ui.elements.TabMenu.TabMenuComponent; +import org.saturnclient.ui.resources.Fonts; +import org.saturnclient.ui.resources.Textures; + +// import com.mojang.blaze3d.systems.RenderSystem; + +public class HatStore extends SaturnScreen { + private long lastPurchaseTime = 0; + + public HatStore() { + super("Hat Store"); + } + + public HatStore(long lastPurchaseTime) { + super("Hat Store"); + this.lastPurchaseTime = lastPurchaseTime; + } + + @Override + public void ui() { + int p = 10; + int gx = 10; + int gy = 20; + + Scroll scroll = new Scroll(p); + + int row = 0; + int col = 0; + + SaturnPlayer player = SaturnPlayer.get(); + + AnimationStagger stagger = new AnimationStagger(AnimationConfig.cosmeticsMenu); + + if (player != null) { + for (String hat : Hats.ALL_HATS) { + if (!Hats.availableHats.contains(hat)) { + + int x = (50 + gx) * col; + int y = (50 + gy) * row; + + stagger.draw( + new CosmeticPreview( + hat == player.hat, + Textures.getHatPreview(hat), + () -> handlePurchase(hat)) + .dimensions(50, 50) + .position(x, y) + .animation(new SlideY(AnimationConfig.cosmeticsMenu, 16))); + + String t = "50"; + + stagger.draw( + new Text(t) + .position(x + Fonts.centerX(50, t, Theme.FONT.value), y + 53) + .scale(0.5f) + .animation(new Fade(400))); + + stagger.draw( + new ImageTexture(Textures.COINS) + .dimensions(16, 16) + .position(x + Fonts.getWidth(t, Theme.FONT.value) + 4, y + 52) + .scale(0.5f) + .animation(new Fade(400))); + + if (col == 8) { + col = 0; + row++; + } else { + col++; + } + } + } + } + + scroll.draw(stagger); + + int scrollWidth = 480 + 40 + (gx * 2) + (p * 2); + + draw(scroll + .dimensions(scrollWidth, 350) + .centerOffset(width, height, 15, 0)); + + draw(new Sidebar(5, this.provider::close) + .centerOffset(width, height, -((scrollWidth - 30) / 2 + 20), 0)); + + draw(new TabMenu(1, + new TabMenuComponent(Textures.CLOAK, () -> { + MinecraftProvider.PROVIDER.setScreen(new CloakStore()); + }), + new TabMenuComponent(Textures.HAT, () -> { + })) + .centerOffset(width, height, 0, -195)); + } + + private void handlePurchase(String hat) { + long now = System.currentTimeMillis(); + + if (now - lastPurchaseTime >= 3000) { + // Utils.notify(NotificationKind.Info, "Purchase processing", "Please wait"); + + ServiceClient.buyHat(hat); + lastPurchaseTime = now; + + new Thread(() -> { + try { + Thread.sleep(5000); + } catch (InterruptedException ignored) { + } + + // RenderSystem.recordRenderCall(() -> { + // MinecraftProvider.PROVIDER.setScreen(new HatStore(now)); + // // Utils.notify(NotificationKind.Success, + // // "Purchase complete", + // // "Congrats, enjoy your new hat!"); + // }); + }).start(); + + } else { + // Utils.notify(NotificationKind.Error, + // "Timeout error", + // "Please wait 3 seconds"); + } + } +} diff --git a/src/main/resources/assets/minecraft/font/fonts.json b/src/main/resources/assets/minecraft/font/fonts.json new file mode 100644 index 0000000..7606077 --- /dev/null +++ b/src/main/resources/assets/minecraft/font/fonts.json @@ -0,0 +1,12 @@ +{ + "providers": [ + { + "type": "reference", + "id": "saturnclient:inter" + }, + { + "type": "reference", + "id": "saturnclient:inter_bold" + } + ] +} diff --git a/src/main/resources/assets/minecraft/font/include/default.json b/src/main/resources/assets/minecraft/font/include/default.json new file mode 100644 index 0000000..e3abe77 --- /dev/null +++ b/src/main/resources/assets/minecraft/font/include/default.json @@ -0,0 +1,18 @@ +{ + "providers": [ + { + "type": "bitmap", + "file": "minecraft:font/custom/saturn.png", + "ascent": 7, + "height": 8, + "chars": ["\uE002"] + }, + { + "type": "bitmap", + "file": "minecraft:font/custom/saturn_realistic.png", + "ascent": 7, + "height": 8, + "chars": ["\uE003"] + } + ] +} diff --git a/src/main/resources/assets/minecraft/textures/font/custom/saturn.png b/src/main/resources/assets/minecraft/textures/font/custom/saturn.png new file mode 100644 index 0000000..f464196 Binary files /dev/null and b/src/main/resources/assets/minecraft/textures/font/custom/saturn.png differ diff --git a/src/main/resources/assets/minecraft/textures/font/custom/saturn_realistic.png b/src/main/resources/assets/minecraft/textures/font/custom/saturn_realistic.png new file mode 100644 index 0000000..271937a Binary files /dev/null and b/src/main/resources/assets/minecraft/textures/font/custom/saturn_realistic.png differ diff --git a/src/main/resources/assets/saturnclient/font/README.md b/src/main/resources/assets/saturnclient/font/README.md new file mode 100644 index 0000000..4af02e8 --- /dev/null +++ b/src/main/resources/assets/saturnclient/font/README.md @@ -0,0 +1 @@ +Here is the font download: https://fonts.google.com/specimen/Inter \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/font/inter.json b/src/main/resources/assets/saturnclient/font/inter.json new file mode 100644 index 0000000..8ffca49 --- /dev/null +++ b/src/main/resources/assets/saturnclient/font/inter.json @@ -0,0 +1,12 @@ +{ + "providers": [ + { + "type": "ttf", + "file": "saturnclient:inter.ttf", + "shift": [0, 0], + "size": 18, + "oversample": 12.0, + "skip_missing": true + } + ] +} diff --git a/src/main/resources/assets/saturnclient/font/inter.ttf b/src/main/resources/assets/saturnclient/font/inter.ttf new file mode 100644 index 0000000..acae361 Binary files /dev/null and b/src/main/resources/assets/saturnclient/font/inter.ttf differ diff --git a/src/main/resources/assets/saturnclient/font/inter_bold.json b/src/main/resources/assets/saturnclient/font/inter_bold.json new file mode 100644 index 0000000..ff7a168 --- /dev/null +++ b/src/main/resources/assets/saturnclient/font/inter_bold.json @@ -0,0 +1,12 @@ +{ + "providers": [ + { + "type": "ttf", + "file": "saturnclient:inter_bold.ttf", + "shift": [0, 0], + "size": 18, + "oversample": 8.0, + "skip_missing": true + } + ] +} diff --git a/src/main/resources/assets/saturnclient/font/inter_bold.ttf b/src/main/resources/assets/saturnclient/font/inter_bold.ttf new file mode 100644 index 0000000..cd13f60 Binary files /dev/null and b/src/main/resources/assets/saturnclient/font/inter_bold.ttf differ diff --git a/src/main/resources/assets/saturnclient/icon.png b/src/main/resources/assets/saturnclient/icon.png new file mode 100644 index 0000000..39d03ec Binary files /dev/null and b/src/main/resources/assets/saturnclient/icon.png differ diff --git a/src/main/resources/assets/saturnclient/models/cosmetic/hat/halo/model.json b/src/main/resources/assets/saturnclient/models/cosmetic/hat/halo/model.json new file mode 100644 index 0000000..e1f2835 --- /dev/null +++ b/src/main/resources/assets/saturnclient/models/cosmetic/hat/halo/model.json @@ -0,0 +1,4 @@ +{ + "translate": [0.0, 0.62, 0.0], + "scale": [0.2, 0.1, 0.2] +} \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/models/cosmetic/hat/halo/model.obj b/src/main/resources/assets/saturnclient/models/cosmetic/hat/halo/model.obj new file mode 100644 index 0000000..0289ac5 --- /dev/null +++ b/src/main/resources/assets/saturnclient/models/cosmetic/hat/halo/model.obj @@ -0,0 +1,2083 @@ +# Blender 4.0.2 OBJ File: '' +# www.blender.org +mtllib ../white.mtl +o Torus +v 1.250000 0.000000 0.000000 +v 1.216506 0.125000 0.000000 +v 1.125000 0.216506 0.000000 +v 1.000000 0.250000 0.000000 +v 0.875000 0.216506 0.000000 +v 0.783494 0.125000 0.000000 +v 0.750000 0.000000 0.000000 +v 0.783494 -0.125000 0.000000 +v 0.875000 -0.216506 0.000000 +v 1.000000 -0.250000 0.000000 +v 1.125000 -0.216506 0.000000 +v 1.216506 -0.125000 0.000000 +v 1.239306 0.000000 -0.163158 +v 1.206099 0.125000 -0.158786 +v 1.115376 0.216506 -0.146842 +v 0.991445 0.250000 -0.130526 +v 0.867514 0.216506 -0.114210 +v 0.776791 0.125000 -0.102266 +v 0.743584 0.000000 -0.097895 +v 0.776791 -0.125000 -0.102266 +v 0.867514 -0.216506 -0.114210 +v 0.991445 -0.250000 -0.130526 +v 1.115376 -0.216506 -0.146842 +v 1.206099 -0.125000 -0.158786 +v 1.207407 0.000000 -0.323524 +v 1.175055 0.125000 -0.314855 +v 1.086667 0.216506 -0.291171 +v 0.965926 0.250000 -0.258819 +v 0.845185 0.216506 -0.226467 +v 0.756797 0.125000 -0.202783 +v 0.724444 0.000000 -0.194114 +v 0.756797 -0.125000 -0.202783 +v 0.845185 -0.216506 -0.226467 +v 0.965926 -0.250000 -0.258819 +v 1.086667 -0.216506 -0.291171 +v 1.175055 -0.125000 -0.314855 +v 1.154849 0.000000 -0.478354 +v 1.123905 0.125000 -0.465537 +v 1.039364 0.216506 -0.430519 +v 0.923880 0.250000 -0.382683 +v 0.808395 0.216506 -0.334848 +v 0.723854 0.125000 -0.299830 +v 0.692910 0.000000 -0.287013 +v 0.723854 -0.125000 -0.299830 +v 0.808395 -0.216506 -0.334848 +v 0.923880 -0.250000 -0.382683 +v 1.039364 -0.216506 -0.430519 +v 1.123905 -0.125000 -0.465537 +v 1.082532 0.000000 -0.625000 +v 1.053525 0.125000 -0.608253 +v 0.974279 0.216506 -0.562500 +v 0.866025 0.250000 -0.500000 +v 0.757772 0.216506 -0.437500 +v 0.678525 0.125000 -0.391747 +v 0.649519 0.000000 -0.375000 +v 0.678525 -0.125000 -0.391747 +v 0.757772 -0.216506 -0.437500 +v 0.866025 -0.250000 -0.500000 +v 0.974279 -0.216506 -0.562500 +v 1.053525 -0.125000 -0.608253 +v 0.991692 0.000000 -0.760952 +v 0.965119 0.125000 -0.740562 +v 0.892523 0.216506 -0.684856 +v 0.793353 0.250000 -0.608761 +v 0.694184 0.216506 -0.532666 +v 0.621587 0.125000 -0.476961 +v 0.595015 0.000000 -0.456571 +v 0.621587 -0.125000 -0.476961 +v 0.694184 -0.216506 -0.532666 +v 0.793353 -0.250000 -0.608761 +v 0.892523 -0.216506 -0.684856 +v 0.965119 -0.125000 -0.740562 +v 0.883883 0.000000 -0.883884 +v 0.860200 0.125000 -0.860200 +v 0.795495 0.216506 -0.795495 +v 0.707107 0.250000 -0.707107 +v 0.618718 0.216506 -0.618719 +v 0.554014 0.125000 -0.554014 +v 0.530330 0.000000 -0.530330 +v 0.554014 -0.125000 -0.554014 +v 0.618718 -0.216506 -0.618719 +v 0.707107 -0.250000 -0.707107 +v 0.795495 -0.216506 -0.795495 +v 0.860200 -0.125000 -0.860200 +v 0.760952 0.000000 -0.991691 +v 0.740562 0.125000 -0.965119 +v 0.684857 0.216506 -0.892522 +v 0.608762 0.250000 -0.793353 +v 0.532666 0.216506 -0.694184 +v 0.476961 0.125000 -0.621587 +v 0.456571 0.000000 -0.595015 +v 0.476961 -0.125000 -0.621587 +v 0.532666 -0.216506 -0.694184 +v 0.608762 -0.250000 -0.793353 +v 0.684857 -0.216506 -0.892522 +v 0.740562 -0.125000 -0.965119 +v 0.625000 0.000000 -1.082532 +v 0.608253 0.125000 -1.053525 +v 0.562500 0.216506 -0.974279 +v 0.500000 0.250000 -0.866025 +v 0.437500 0.216506 -0.757772 +v 0.391747 0.125000 -0.678525 +v 0.375000 0.000000 -0.649519 +v 0.391747 -0.125000 -0.678525 +v 0.437500 -0.216506 -0.757772 +v 0.500000 -0.250000 -0.866025 +v 0.562500 -0.216506 -0.974279 +v 0.608253 -0.125000 -1.053525 +v 0.478355 0.000000 -1.154849 +v 0.465537 0.125000 -1.123905 +v 0.430519 0.216506 -1.039364 +v 0.382684 0.250000 -0.923879 +v 0.334848 0.216506 -0.808394 +v 0.299830 0.125000 -0.723854 +v 0.287013 0.000000 -0.692910 +v 0.299830 -0.125000 -0.723854 +v 0.334848 -0.216506 -0.808394 +v 0.382684 -0.250000 -0.923879 +v 0.430519 -0.216506 -1.039364 +v 0.465537 -0.125000 -1.123905 +v 0.323524 0.000000 -1.207407 +v 0.314855 0.125000 -1.175055 +v 0.291171 0.216506 -1.086667 +v 0.258819 0.250000 -0.965926 +v 0.226467 0.216506 -0.845185 +v 0.202783 0.125000 -0.756797 +v 0.194114 0.000000 -0.724444 +v 0.202783 -0.125000 -0.756797 +v 0.226467 -0.216506 -0.845185 +v 0.258819 -0.250000 -0.965926 +v 0.291171 -0.216506 -1.086667 +v 0.314855 -0.125000 -1.175055 +v 0.163158 0.000000 -1.239306 +v 0.158786 0.125000 -1.206099 +v 0.146842 0.216506 -1.115376 +v 0.130526 0.250000 -0.991445 +v 0.114210 0.216506 -0.867514 +v 0.102266 0.125000 -0.776791 +v 0.097895 0.000000 -0.743584 +v 0.102266 -0.125000 -0.776791 +v 0.114210 -0.216506 -0.867514 +v 0.130526 -0.250000 -0.991445 +v 0.146842 -0.216506 -1.115376 +v 0.158786 -0.125000 -1.206099 +v 0.000000 0.000000 -1.250000 +v 0.000000 0.125000 -1.216506 +v 0.000000 0.216506 -1.125000 +v 0.000000 0.250000 -1.000000 +v 0.000000 0.216506 -0.875000 +v 0.000000 0.125000 -0.783494 +v 0.000000 0.000000 -0.750000 +v 0.000000 -0.125000 -0.783494 +v 0.000000 -0.216506 -0.875000 +v 0.000000 -0.250000 -1.000000 +v 0.000000 -0.216506 -1.125000 +v 0.000000 -0.125000 -1.216506 +v -0.163158 0.000000 -1.239306 +v -0.158786 0.125000 -1.206099 +v -0.146842 0.216506 -1.115375 +v -0.130526 0.250000 -0.991445 +v -0.114211 0.216506 -0.867514 +v -0.102267 0.125000 -0.776791 +v -0.097895 0.000000 -0.743584 +v -0.102267 -0.125000 -0.776791 +v -0.114211 -0.216506 -0.867514 +v -0.130526 -0.250000 -0.991445 +v -0.146842 -0.216506 -1.115375 +v -0.158786 -0.125000 -1.206099 +v -0.323524 0.000000 -1.207407 +v -0.314855 0.125000 -1.175055 +v -0.291171 0.216506 -1.086667 +v -0.258819 0.250000 -0.965926 +v -0.226467 0.216506 -0.845185 +v -0.202783 0.125000 -0.756797 +v -0.194114 0.000000 -0.724444 +v -0.202783 -0.125000 -0.756797 +v -0.226467 -0.216506 -0.845185 +v -0.258819 -0.250000 -0.965926 +v -0.291171 -0.216506 -1.086667 +v -0.314855 -0.125000 -1.175055 +v -0.478354 0.000000 -1.154849 +v -0.465537 0.125000 -1.123905 +v -0.430519 0.216506 -1.039364 +v -0.382684 0.250000 -0.923880 +v -0.334848 0.216506 -0.808395 +v -0.299830 0.125000 -0.723854 +v -0.287013 0.000000 -0.692910 +v -0.299830 -0.125000 -0.723854 +v -0.334848 -0.216506 -0.808395 +v -0.382684 -0.250000 -0.923880 +v -0.430519 -0.216506 -1.039364 +v -0.465537 -0.125000 -1.123905 +v -0.625000 0.000000 -1.082532 +v -0.608253 0.125000 -1.053526 +v -0.562500 0.216506 -0.974279 +v -0.500000 0.250000 -0.866026 +v -0.437500 0.216506 -0.757772 +v -0.391747 0.125000 -0.678525 +v -0.375000 0.000000 -0.649519 +v -0.391747 -0.125000 -0.678525 +v -0.437500 -0.216506 -0.757772 +v -0.500000 -0.250000 -0.866026 +v -0.562500 -0.216506 -0.974279 +v -0.608253 -0.125000 -1.053526 +v -0.760952 0.000000 -0.991692 +v -0.740562 0.125000 -0.965119 +v -0.684857 0.216506 -0.892522 +v -0.608761 0.250000 -0.793353 +v -0.532666 0.216506 -0.694184 +v -0.476961 0.125000 -0.621587 +v -0.456571 0.000000 -0.595015 +v -0.476961 -0.125000 -0.621587 +v -0.532666 -0.216506 -0.694184 +v -0.608761 -0.250000 -0.793353 +v -0.684857 -0.216506 -0.892522 +v -0.740562 -0.125000 -0.965119 +v -0.883884 0.000000 -0.883883 +v -0.860200 0.125000 -0.860200 +v -0.795495 0.216506 -0.795495 +v -0.707107 0.250000 -0.707107 +v -0.618719 0.216506 -0.618718 +v -0.554014 0.125000 -0.554013 +v -0.530330 0.000000 -0.530330 +v -0.554014 -0.125000 -0.554013 +v -0.618719 -0.216506 -0.618718 +v -0.707107 -0.250000 -0.707107 +v -0.795495 -0.216506 -0.795495 +v -0.860200 -0.125000 -0.860200 +v -0.991692 0.000000 -0.760952 +v -0.965119 0.125000 -0.740562 +v -0.892522 0.216506 -0.684857 +v -0.793353 0.250000 -0.608761 +v -0.694184 0.216506 -0.532666 +v -0.621587 0.125000 -0.476961 +v -0.595015 0.000000 -0.456571 +v -0.621587 -0.125000 -0.476961 +v -0.694184 -0.216506 -0.532666 +v -0.793353 -0.250000 -0.608761 +v -0.892522 -0.216506 -0.684857 +v -0.965119 -0.125000 -0.740562 +v -1.082532 0.000000 -0.625000 +v -1.053525 0.125000 -0.608253 +v -0.974278 0.216506 -0.562500 +v -0.866025 0.250000 -0.500000 +v -0.757772 0.216506 -0.437500 +v -0.678525 0.125000 -0.391747 +v -0.649519 0.000000 -0.375000 +v -0.678525 -0.125000 -0.391747 +v -0.757772 -0.216506 -0.437500 +v -0.866025 -0.250000 -0.500000 +v -0.974278 -0.216506 -0.562500 +v -1.053525 -0.125000 -0.608253 +v -1.154849 0.000000 -0.478354 +v -1.123905 0.125000 -0.465537 +v -1.039364 0.216506 -0.430519 +v -0.923880 0.250000 -0.382683 +v -0.808395 0.216506 -0.334848 +v -0.723854 0.125000 -0.299830 +v -0.692910 0.000000 -0.287013 +v -0.723854 -0.125000 -0.299830 +v -0.808395 -0.216506 -0.334848 +v -0.923880 -0.250000 -0.382683 +v -1.039364 -0.216506 -0.430519 +v -1.123905 -0.125000 -0.465537 +v -1.207407 0.000000 -0.323524 +v -1.175055 0.125000 -0.314855 +v -1.086667 0.216506 -0.291171 +v -0.965926 0.250000 -0.258819 +v -0.845185 0.216506 -0.226467 +v -0.756797 0.125000 -0.202783 +v -0.724444 0.000000 -0.194114 +v -0.756797 -0.125000 -0.202783 +v -0.845185 -0.216506 -0.226467 +v -0.965926 -0.250000 -0.258819 +v -1.086667 -0.216506 -0.291171 +v -1.175055 -0.125000 -0.314855 +v -1.239306 0.000000 -0.163158 +v -1.206099 0.125000 -0.158786 +v -1.115375 0.216506 -0.146842 +v -0.991445 0.250000 -0.130526 +v -0.867514 0.216506 -0.114211 +v -0.776791 0.125000 -0.102267 +v -0.743584 0.000000 -0.097895 +v -0.776791 -0.125000 -0.102267 +v -0.867514 -0.216506 -0.114211 +v -0.991445 -0.250000 -0.130526 +v -1.115375 -0.216506 -0.146842 +v -1.206099 -0.125000 -0.158786 +v -1.250000 0.000000 -0.000000 +v -1.216506 0.125000 -0.000000 +v -1.125000 0.216506 -0.000000 +v -1.000000 0.250000 -0.000000 +v -0.875000 0.216506 -0.000000 +v -0.783494 0.125000 -0.000000 +v -0.750000 0.000000 -0.000000 +v -0.783494 -0.125000 -0.000000 +v -0.875000 -0.216506 -0.000000 +v -1.000000 -0.250000 -0.000000 +v -1.125000 -0.216506 -0.000000 +v -1.216506 -0.125000 -0.000000 +v -1.239306 0.000000 0.163158 +v -1.206099 0.125000 0.158786 +v -1.115375 0.216506 0.146842 +v -0.991445 0.250000 0.130526 +v -0.867514 0.216506 0.114211 +v -0.776791 0.125000 0.102267 +v -0.743584 0.000000 0.097895 +v -0.776791 -0.125000 0.102267 +v -0.867514 -0.216506 0.114211 +v -0.991445 -0.250000 0.130526 +v -1.115375 -0.216506 0.146842 +v -1.206099 -0.125000 0.158786 +v -1.207407 0.000000 0.323524 +v -1.175055 0.125000 0.314855 +v -1.086667 0.216506 0.291171 +v -0.965926 0.250000 0.258819 +v -0.845185 0.216506 0.226467 +v -0.756797 0.125000 0.202783 +v -0.724444 0.000000 0.194114 +v -0.756797 -0.125000 0.202783 +v -0.845185 -0.216506 0.226467 +v -0.965926 -0.250000 0.258819 +v -1.086667 -0.216506 0.291171 +v -1.175055 -0.125000 0.314855 +v -1.154850 0.000000 0.478354 +v -1.123906 0.125000 0.465536 +v -1.039365 0.216506 0.430518 +v -0.923880 0.250000 0.382683 +v -0.808395 0.216506 0.334848 +v -0.723854 0.125000 0.299830 +v -0.692910 0.000000 0.287012 +v -0.723854 -0.125000 0.299830 +v -0.808395 -0.216506 0.334848 +v -0.923880 -0.250000 0.382683 +v -1.039365 -0.216506 0.430518 +v -1.123906 -0.125000 0.465536 +v -1.082532 0.000000 0.625000 +v -1.053526 0.125000 0.608253 +v -0.974279 0.216506 0.562500 +v -0.866026 0.250000 0.500000 +v -0.757772 0.216506 0.437500 +v -0.678525 0.125000 0.391747 +v -0.649519 0.000000 0.375000 +v -0.678525 -0.125000 0.391747 +v -0.757772 -0.216506 0.437500 +v -0.866026 -0.250000 0.500000 +v -0.974279 -0.216506 0.562500 +v -1.053526 -0.125000 0.608253 +v -0.991692 0.000000 0.760952 +v -0.965119 0.125000 0.740562 +v -0.892522 0.216506 0.684857 +v -0.793353 0.250000 0.608761 +v -0.694184 0.216506 0.532666 +v -0.621587 0.125000 0.476961 +v -0.595015 0.000000 0.456571 +v -0.621587 -0.125000 0.476961 +v -0.694184 -0.216506 0.532666 +v -0.793353 -0.250000 0.608761 +v -0.892522 -0.216506 0.684857 +v -0.965119 -0.125000 0.740562 +v -0.883884 0.000000 0.883883 +v -0.860200 0.125000 0.860200 +v -0.795495 0.216506 0.795495 +v -0.707107 0.250000 0.707107 +v -0.618719 0.216506 0.618718 +v -0.554014 0.125000 0.554013 +v -0.530330 0.000000 0.530330 +v -0.554014 -0.125000 0.554013 +v -0.618719 -0.216506 0.618718 +v -0.707107 -0.250000 0.707107 +v -0.795495 -0.216506 0.795495 +v -0.860200 -0.125000 0.860200 +v -0.760952 0.000000 0.991691 +v -0.740563 0.125000 0.965119 +v -0.684857 0.216506 0.892522 +v -0.608762 0.250000 0.793353 +v -0.532667 0.216506 0.694184 +v -0.476961 0.125000 0.621587 +v -0.456571 0.000000 0.595015 +v -0.476961 -0.125000 0.621587 +v -0.532667 -0.216506 0.694184 +v -0.608762 -0.250000 0.793353 +v -0.684857 -0.216506 0.892522 +v -0.740563 -0.125000 0.965119 +v -0.625000 0.000000 1.082532 +v -0.608253 0.125000 1.053526 +v -0.562500 0.216506 0.974279 +v -0.500000 0.250000 0.866026 +v -0.437500 0.216506 0.757772 +v -0.391747 0.125000 0.678525 +v -0.375000 0.000000 0.649519 +v -0.391747 -0.125000 0.678525 +v -0.437500 -0.216506 0.757772 +v -0.500000 -0.250000 0.866026 +v -0.562500 -0.216506 0.974279 +v -0.608253 -0.125000 1.053526 +v -0.478354 0.000000 1.154849 +v -0.465537 0.125000 1.123905 +v -0.430519 0.216506 1.039364 +v -0.382684 0.250000 0.923880 +v -0.334848 0.216506 0.808395 +v -0.299830 0.125000 0.723854 +v -0.287013 0.000000 0.692910 +v -0.299830 -0.125000 0.723854 +v -0.334848 -0.216506 0.808395 +v -0.382684 -0.250000 0.923880 +v -0.430519 -0.216506 1.039364 +v -0.465537 -0.125000 1.123905 +v -0.323524 0.000000 1.207407 +v -0.314855 0.125000 1.175055 +v -0.291172 0.216506 1.086666 +v -0.258819 0.250000 0.965926 +v -0.226467 0.216506 0.845185 +v -0.202783 0.125000 0.756797 +v -0.194115 0.000000 0.724444 +v -0.202783 -0.125000 0.756797 +v -0.226467 -0.216506 0.845185 +v -0.258819 -0.250000 0.965926 +v -0.291172 -0.216506 1.086666 +v -0.314855 -0.125000 1.175055 +v -0.163158 0.000000 1.239306 +v -0.158787 0.125000 1.206099 +v -0.146843 0.216506 1.115375 +v -0.130527 0.250000 0.991445 +v -0.114211 0.216506 0.867514 +v -0.102267 0.125000 0.776791 +v -0.097895 0.000000 0.743584 +v -0.102267 -0.125000 0.776791 +v -0.114211 -0.216506 0.867514 +v -0.130527 -0.250000 0.991445 +v -0.146843 -0.216506 1.115375 +v -0.158787 -0.125000 1.206099 +v 0.000000 0.000000 1.250000 +v 0.000000 0.125000 1.216506 +v 0.000000 0.216506 1.125000 +v 0.000000 0.250000 1.000000 +v 0.000000 0.216506 0.875000 +v 0.000000 0.125000 0.783494 +v 0.000000 0.000000 0.750000 +v 0.000000 -0.125000 0.783494 +v 0.000000 -0.216506 0.875000 +v 0.000000 -0.250000 1.000000 +v 0.000000 -0.216506 1.125000 +v 0.000000 -0.125000 1.216506 +v 0.163158 0.000000 1.239306 +v 0.158786 0.125000 1.206099 +v 0.146842 0.216506 1.115376 +v 0.130526 0.250000 0.991445 +v 0.114210 0.216506 0.867514 +v 0.102266 0.125000 0.776791 +v 0.097895 0.000000 0.743584 +v 0.102266 -0.125000 0.776791 +v 0.114210 -0.216506 0.867514 +v 0.130526 -0.250000 0.991445 +v 0.146842 -0.216506 1.115376 +v 0.158786 -0.125000 1.206099 +v 0.323523 0.000000 1.207407 +v 0.314854 0.125000 1.175055 +v 0.291171 0.216506 1.086667 +v 0.258819 0.250000 0.965926 +v 0.226466 0.216506 0.845185 +v 0.202783 0.125000 0.756797 +v 0.194114 0.000000 0.724444 +v 0.202783 -0.125000 0.756797 +v 0.226466 -0.216506 0.845185 +v 0.258819 -0.250000 0.965926 +v 0.291171 -0.216506 1.086667 +v 0.314854 -0.125000 1.175055 +v 0.478355 0.000000 1.154849 +v 0.465537 0.125000 1.123905 +v 0.430519 0.216506 1.039364 +v 0.382684 0.250000 0.923879 +v 0.334848 0.216506 0.808394 +v 0.299830 0.125000 0.723854 +v 0.287013 0.000000 0.692910 +v 0.299830 -0.125000 0.723854 +v 0.334848 -0.216506 0.808394 +v 0.382684 -0.250000 0.923879 +v 0.430519 -0.216506 1.039364 +v 0.465537 -0.125000 1.123905 +v 0.625000 0.000000 1.082532 +v 0.608253 0.125000 1.053525 +v 0.562500 0.216506 0.974279 +v 0.500000 0.250000 0.866025 +v 0.437500 0.216506 0.757772 +v 0.391747 0.125000 0.678525 +v 0.375000 0.000000 0.649519 +v 0.391747 -0.125000 0.678525 +v 0.437500 -0.216506 0.757772 +v 0.500000 -0.250000 0.866025 +v 0.562500 -0.216506 0.974279 +v 0.608253 -0.125000 1.053525 +v 0.760952 0.000000 0.991692 +v 0.740562 0.125000 0.965120 +v 0.684856 0.216506 0.892523 +v 0.608761 0.250000 0.793353 +v 0.532666 0.216506 0.694184 +v 0.476961 0.125000 0.621587 +v 0.456571 0.000000 0.595015 +v 0.476961 -0.125000 0.621587 +v 0.532666 -0.216506 0.694184 +v 0.608761 -0.250000 0.793353 +v 0.684856 -0.216506 0.892523 +v 0.740562 -0.125000 0.965120 +v 0.883883 0.000000 0.883884 +v 0.860199 0.125000 0.860200 +v 0.795495 0.216506 0.795496 +v 0.707106 0.250000 0.707107 +v 0.618718 0.216506 0.618719 +v 0.554013 0.125000 0.554014 +v 0.530330 0.000000 0.530330 +v 0.554013 -0.125000 0.554014 +v 0.618718 -0.216506 0.618719 +v 0.707106 -0.250000 0.707107 +v 0.795495 -0.216506 0.795496 +v 0.860199 -0.125000 0.860200 +v 0.991692 0.000000 0.760952 +v 0.965119 0.125000 0.740562 +v 0.892523 0.216506 0.684856 +v 0.793353 0.250000 0.608761 +v 0.694184 0.216506 0.532666 +v 0.621587 0.125000 0.476961 +v 0.595015 0.000000 0.456571 +v 0.621587 -0.125000 0.476961 +v 0.694184 -0.216506 0.532666 +v 0.793353 -0.250000 0.608761 +v 0.892523 -0.216506 0.684856 +v 0.965119 -0.125000 0.740562 +v 1.082532 0.000000 0.625000 +v 1.053525 0.125000 0.608253 +v 0.974279 0.216506 0.562500 +v 0.866025 0.250000 0.500000 +v 0.757772 0.216506 0.437500 +v 0.678525 0.125000 0.391747 +v 0.649519 0.000000 0.375000 +v 0.678525 -0.125000 0.391747 +v 0.757772 -0.216506 0.437500 +v 0.866025 -0.250000 0.500000 +v 0.974279 -0.216506 0.562500 +v 1.053525 -0.125000 0.608253 +v 1.154849 0.000000 0.478355 +v 1.123905 0.125000 0.465537 +v 1.039364 0.216506 0.430519 +v 0.923879 0.250000 0.382684 +v 0.808394 0.216506 0.334848 +v 0.723854 0.125000 0.299830 +v 0.692910 0.000000 0.287013 +v 0.723854 -0.125000 0.299830 +v 0.808394 -0.216506 0.334848 +v 0.923879 -0.250000 0.382684 +v 1.039364 -0.216506 0.430519 +v 1.123905 -0.125000 0.465537 +v 1.207407 0.000000 0.323523 +v 1.175055 0.125000 0.314855 +v 1.086667 0.216506 0.291171 +v 0.965926 0.250000 0.258819 +v 0.845185 0.216506 0.226466 +v 0.756797 0.125000 0.202783 +v 0.724444 0.000000 0.194114 +v 0.756797 -0.125000 0.202783 +v 0.845185 -0.216506 0.226466 +v 0.965926 -0.250000 0.258819 +v 1.086667 -0.216506 0.291171 +v 1.175055 -0.125000 0.314855 +v 1.239306 0.000000 0.163158 +v 1.206099 0.125000 0.158786 +v 1.115376 0.216506 0.146842 +v 0.991445 0.250000 0.130526 +v 0.867514 0.216506 0.114210 +v 0.776791 0.125000 0.102266 +v 0.743584 0.000000 0.097895 +v 0.776791 -0.125000 0.102266 +v 0.867514 -0.216506 0.114210 +v 0.991445 -0.250000 0.130526 +v 1.115376 -0.216506 0.146842 +v 1.206099 -0.125000 0.158786 +vn 0.9640 0.2583 -0.0632 +vn 0.7063 0.7063 -0.0463 +vn 0.2588 0.9658 -0.0170 +vn -0.2588 0.9658 0.0170 +vn -0.7063 0.7063 0.0463 +vn -0.9640 0.2583 0.0632 +vn -0.9640 -0.2583 0.0632 +vn -0.7063 -0.7063 0.0463 +vn -0.2588 -0.9658 0.0170 +vn 0.2588 -0.9658 -0.0170 +vn 0.7063 -0.7063 -0.0463 +vn 0.9640 -0.2583 -0.0632 +vn 0.9475 0.2583 -0.1885 +vn 0.6943 0.7063 -0.1381 +vn 0.2544 0.9658 -0.0506 +vn -0.2544 0.9658 0.0506 +vn -0.6943 0.7063 0.1381 +vn -0.9475 0.2583 0.1885 +vn -0.9475 -0.2583 0.1885 +vn -0.6943 -0.7063 0.1381 +vn -0.2544 -0.9658 0.0506 +vn 0.2544 -0.9658 -0.0506 +vn 0.6943 -0.7063 -0.1381 +vn 0.9475 -0.2583 -0.1885 +vn 0.9148 0.2583 -0.3105 +vn 0.6703 0.7063 -0.2275 +vn 0.2456 0.9658 -0.0834 +vn -0.2456 0.9658 0.0834 +vn -0.6703 0.7063 0.2275 +vn -0.9148 0.2583 0.3105 +vn -0.9148 -0.2583 0.3105 +vn -0.6703 -0.7063 0.2275 +vn -0.2456 -0.9658 0.0834 +vn 0.2456 -0.9658 -0.0834 +vn 0.6703 -0.7063 -0.2275 +vn 0.9148 -0.2583 -0.3105 +vn 0.8664 0.2583 -0.4273 +vn 0.6349 0.7063 -0.3131 +vn 0.2326 0.9658 -0.1147 +vn -0.2326 0.9658 0.1147 +vn -0.6349 0.7063 0.3131 +vn -0.8664 0.2583 0.4273 +vn -0.8664 -0.2583 0.4273 +vn -0.6349 -0.7063 0.3131 +vn -0.2326 -0.9658 0.1147 +vn 0.2326 -0.9658 -0.1147 +vn 0.6349 -0.7063 -0.3131 +vn 0.8664 -0.2583 -0.4273 +vn 0.8033 0.2583 -0.5367 +vn 0.5886 0.7063 -0.3933 +vn 0.2156 0.9658 -0.1441 +vn -0.2156 0.9658 0.1441 +vn -0.5886 0.7063 0.3933 +vn -0.8033 0.2583 0.5367 +vn -0.8033 -0.2583 0.5367 +vn -0.5886 -0.7063 0.3933 +vn -0.2156 -0.9658 0.1441 +vn 0.2156 -0.9658 -0.1441 +vn 0.5886 -0.7063 -0.3933 +vn 0.8033 -0.2583 -0.5367 +vn 0.7263 0.2583 -0.6370 +vn 0.5322 0.7063 -0.4667 +vn 0.1950 0.9658 -0.1710 +vn -0.1950 0.9658 0.1710 +vn -0.5322 0.7063 0.4667 +vn -0.7263 0.2583 0.6370 +vn -0.7263 -0.2583 0.6370 +vn -0.5322 -0.7063 0.4667 +vn -0.1950 -0.9658 0.1710 +vn 0.1950 -0.9658 -0.1710 +vn 0.5322 -0.7063 -0.4667 +vn 0.7263 -0.2583 -0.6370 +vn 0.6370 0.2583 -0.7263 +vn 0.4667 0.7063 -0.5322 +vn 0.1710 0.9658 -0.1950 +vn -0.1710 0.9658 0.1950 +vn -0.4667 0.7063 0.5322 +vn -0.6370 0.2583 0.7263 +vn -0.6370 -0.2583 0.7263 +vn -0.4667 -0.7063 0.5322 +vn -0.1710 -0.9658 0.1950 +vn 0.1710 -0.9658 -0.1950 +vn 0.4667 -0.7063 -0.5322 +vn 0.6370 -0.2583 -0.7263 +vn 0.5367 0.2583 -0.8033 +vn 0.3933 0.7063 -0.5886 +vn 0.1441 0.9658 -0.2156 +vn -0.1441 0.9658 0.2156 +vn -0.3933 0.7063 0.5886 +vn -0.5367 0.2583 0.8033 +vn -0.5367 -0.2583 0.8033 +vn -0.3933 -0.7063 0.5886 +vn -0.1441 -0.9658 0.2156 +vn 0.1441 -0.9658 -0.2156 +vn 0.3933 -0.7063 -0.5886 +vn 0.5367 -0.2583 -0.8033 +vn 0.4273 0.2583 -0.8664 +vn 0.3131 0.7063 -0.6349 +vn 0.1147 0.9658 -0.2326 +vn -0.1147 0.9658 0.2326 +vn -0.3131 0.7063 0.6349 +vn -0.4273 0.2583 0.8664 +vn -0.4273 -0.2583 0.8664 +vn -0.3131 -0.7063 0.6349 +vn -0.1147 -0.9658 0.2326 +vn 0.1147 -0.9658 -0.2326 +vn 0.3131 -0.7063 -0.6349 +vn 0.4273 -0.2583 -0.8664 +vn 0.3105 0.2583 -0.9148 +vn 0.2275 0.7063 -0.6703 +vn 0.0834 0.9658 -0.2456 +vn -0.0834 0.9658 0.2456 +vn -0.2275 0.7063 0.6703 +vn -0.3105 0.2583 0.9148 +vn -0.3105 -0.2583 0.9148 +vn -0.2275 -0.7063 0.6703 +vn -0.0834 -0.9658 0.2456 +vn 0.0834 -0.9658 -0.2456 +vn 0.2275 -0.7063 -0.6703 +vn 0.3105 -0.2583 -0.9148 +vn 0.1885 0.2583 -0.9475 +vn 0.1381 0.7063 -0.6943 +vn 0.0506 0.9658 -0.2544 +vn -0.0506 0.9658 0.2544 +vn -0.1381 0.7063 0.6943 +vn -0.1885 0.2583 0.9475 +vn -0.1885 -0.2583 0.9475 +vn -0.1381 -0.7063 0.6943 +vn -0.0506 -0.9658 0.2544 +vn 0.0506 -0.9658 -0.2544 +vn 0.1381 -0.7063 -0.6943 +vn 0.1885 -0.2583 -0.9475 +vn 0.0632 0.2583 -0.9640 +vn 0.0463 0.7063 -0.7063 +vn 0.0170 0.9658 -0.2588 +vn -0.0170 0.9658 0.2588 +vn -0.0463 0.7063 0.7063 +vn -0.0632 0.2583 0.9640 +vn -0.0632 -0.2583 0.9640 +vn -0.0463 -0.7063 0.7063 +vn -0.0170 -0.9658 0.2588 +vn 0.0170 -0.9658 -0.2588 +vn 0.0463 -0.7063 -0.7063 +vn 0.0632 -0.2583 -0.9640 +vn -0.0632 0.2583 -0.9640 +vn -0.0463 0.7063 -0.7063 +vn -0.0170 0.9658 -0.2588 +vn 0.0170 0.9658 0.2588 +vn 0.0463 0.7063 0.7063 +vn 0.0632 0.2583 0.9640 +vn 0.0632 -0.2583 0.9640 +vn 0.0463 -0.7063 0.7063 +vn 0.0170 -0.9658 0.2588 +vn -0.0170 -0.9658 -0.2588 +vn -0.0463 -0.7063 -0.7063 +vn -0.0632 -0.2583 -0.9640 +vn -0.1885 0.2583 -0.9475 +vn -0.1381 0.7063 -0.6943 +vn -0.0506 0.9658 -0.2544 +vn 0.0506 0.9658 0.2544 +vn 0.1381 0.7063 0.6943 +vn 0.1885 0.2583 0.9475 +vn 0.1885 -0.2583 0.9475 +vn 0.1381 -0.7063 0.6943 +vn 0.0506 -0.9658 0.2544 +vn -0.0506 -0.9658 -0.2544 +vn -0.1381 -0.7063 -0.6943 +vn -0.1885 -0.2583 -0.9475 +vn -0.3105 0.2583 -0.9148 +vn -0.2275 0.7063 -0.6703 +vn -0.0834 0.9658 -0.2456 +vn 0.0834 0.9658 0.2456 +vn 0.2275 0.7063 0.6703 +vn 0.3105 0.2583 0.9148 +vn 0.3105 -0.2583 0.9148 +vn 0.2275 -0.7063 0.6703 +vn 0.0834 -0.9658 0.2456 +vn -0.0834 -0.9658 -0.2456 +vn -0.2275 -0.7063 -0.6703 +vn -0.3105 -0.2583 -0.9148 +vn -0.4273 0.2583 -0.8664 +vn -0.3131 0.7063 -0.6349 +vn -0.1147 0.9658 -0.2326 +vn 0.1147 0.9658 0.2326 +vn 0.3131 0.7063 0.6349 +vn 0.4273 0.2583 0.8664 +vn 0.4273 -0.2583 0.8664 +vn 0.3131 -0.7063 0.6349 +vn 0.1147 -0.9658 0.2326 +vn -0.1147 -0.9658 -0.2326 +vn -0.3131 -0.7063 -0.6349 +vn -0.4273 -0.2583 -0.8664 +vn -0.5367 0.2583 -0.8033 +vn -0.3933 0.7063 -0.5886 +vn -0.1441 0.9658 -0.2156 +vn 0.1441 0.9658 0.2156 +vn 0.3933 0.7063 0.5886 +vn 0.5367 0.2583 0.8033 +vn 0.5367 -0.2583 0.8033 +vn 0.3933 -0.7063 0.5886 +vn 0.1441 -0.9658 0.2156 +vn -0.1441 -0.9658 -0.2156 +vn -0.3933 -0.7063 -0.5886 +vn -0.5367 -0.2583 -0.8033 +vn -0.6370 0.2583 -0.7263 +vn -0.4667 0.7063 -0.5322 +vn -0.1710 0.9658 -0.1950 +vn 0.1710 0.9658 0.1950 +vn 0.4667 0.7063 0.5322 +vn 0.6370 0.2583 0.7263 +vn 0.6370 -0.2583 0.7263 +vn 0.4667 -0.7063 0.5322 +vn 0.1710 -0.9658 0.1950 +vn -0.1710 -0.9658 -0.1950 +vn -0.4667 -0.7063 -0.5322 +vn -0.6370 -0.2583 -0.7263 +vn -0.7263 0.2583 -0.6370 +vn -0.5322 0.7063 -0.4667 +vn -0.1950 0.9658 -0.1710 +vn 0.1950 0.9658 0.1710 +vn 0.5322 0.7063 0.4667 +vn 0.7263 0.2583 0.6370 +vn 0.7263 -0.2583 0.6370 +vn 0.5322 -0.7063 0.4667 +vn 0.1950 -0.9658 0.1710 +vn -0.1950 -0.9658 -0.1710 +vn -0.5322 -0.7063 -0.4667 +vn -0.7263 -0.2583 -0.6370 +vn -0.8033 0.2583 -0.5367 +vn -0.5886 0.7063 -0.3933 +vn -0.2156 0.9658 -0.1441 +vn 0.2156 0.9658 0.1441 +vn 0.5886 0.7063 0.3933 +vn 0.8033 0.2583 0.5367 +vn 0.8033 -0.2583 0.5367 +vn 0.5886 -0.7063 0.3933 +vn 0.2156 -0.9658 0.1441 +vn -0.2156 -0.9658 -0.1441 +vn -0.5886 -0.7063 -0.3933 +vn -0.8033 -0.2583 -0.5367 +vn -0.8664 0.2583 -0.4273 +vn -0.6349 0.7063 -0.3131 +vn -0.2326 0.9658 -0.1147 +vn 0.2326 0.9658 0.1147 +vn 0.6349 0.7063 0.3131 +vn 0.8664 0.2583 0.4273 +vn 0.8664 -0.2583 0.4273 +vn 0.6349 -0.7063 0.3131 +vn 0.2326 -0.9658 0.1147 +vn -0.2326 -0.9658 -0.1147 +vn -0.6349 -0.7063 -0.3131 +vn -0.8664 -0.2583 -0.4273 +vn -0.9148 0.2583 -0.3105 +vn -0.6703 0.7063 -0.2275 +vn -0.2456 0.9658 -0.0834 +vn 0.2456 0.9658 0.0834 +vn 0.6703 0.7063 0.2275 +vn 0.9148 0.2583 0.3105 +vn 0.9148 -0.2583 0.3105 +vn 0.6703 -0.7063 0.2275 +vn 0.2456 -0.9658 0.0834 +vn -0.2456 -0.9658 -0.0834 +vn -0.6703 -0.7063 -0.2275 +vn -0.9148 -0.2583 -0.3105 +vn -0.9475 0.2583 -0.1885 +vn -0.6943 0.7063 -0.1381 +vn -0.2544 0.9658 -0.0506 +vn 0.2544 0.9658 0.0506 +vn 0.6943 0.7063 0.1381 +vn 0.9475 0.2583 0.1885 +vn 0.9475 -0.2583 0.1885 +vn 0.6943 -0.7063 0.1381 +vn 0.2544 -0.9658 0.0506 +vn -0.2544 -0.9658 -0.0506 +vn -0.6943 -0.7063 -0.1381 +vn -0.9475 -0.2583 -0.1885 +vn -0.9640 0.2583 -0.0632 +vn -0.7063 0.7063 -0.0463 +vn -0.2588 0.9658 -0.0170 +vn 0.2588 0.9658 0.0170 +vn 0.7063 0.7063 0.0463 +vn 0.9640 0.2583 0.0632 +vn 0.9640 -0.2583 0.0632 +vn 0.7063 -0.7063 0.0463 +vn 0.2588 -0.9658 0.0170 +vn -0.2588 -0.9658 -0.0170 +vn -0.7063 -0.7063 -0.0463 +vn -0.9640 -0.2583 -0.0632 +vt 0.500000 0.500000 +vt 0.520833 0.500000 +vt 0.520833 0.583333 +vt 0.500000 0.583333 +vt 0.520833 0.666667 +vt 0.500000 0.666667 +vt 0.520833 0.750000 +vt 0.500000 0.750000 +vt 0.520833 0.833333 +vt 0.500000 0.833333 +vt 0.520833 0.916667 +vt 0.500000 0.916667 +vt 0.520833 1.000000 +vt 0.500000 1.000000 +vt 0.500000 0.000000 +vt 0.520833 0.000000 +vt 0.520833 0.083333 +vt 0.500000 0.083333 +vt 0.520833 0.166667 +vt 0.500000 0.166667 +vt 0.520833 0.250000 +vt 0.500000 0.250000 +vt 0.520833 0.333333 +vt 0.500000 0.333333 +vt 0.520833 0.416667 +vt 0.500000 0.416667 +vt 0.541667 0.500000 +vt 0.541667 0.583333 +vt 0.541667 0.666667 +vt 0.541667 0.750000 +vt 0.541667 0.833333 +vt 0.541667 0.916667 +vt 0.541667 1.000000 +vt 0.541667 0.000000 +vt 0.541667 0.083333 +vt 0.541667 0.166667 +vt 0.541667 0.250000 +vt 0.541667 0.333333 +vt 0.541667 0.416667 +vt 0.562500 0.500000 +vt 0.562500 0.583333 +vt 0.562500 0.666667 +vt 0.562500 0.750000 +vt 0.562500 0.833333 +vt 0.562500 0.916667 +vt 0.562500 1.000000 +vt 0.562500 0.000000 +vt 0.562500 0.083333 +vt 0.562500 0.166667 +vt 0.562500 0.250000 +vt 0.562500 0.333333 +vt 0.562500 0.416667 +vt 0.583333 0.500000 +vt 0.583333 0.583333 +vt 0.583333 0.666667 +vt 0.583333 0.750000 +vt 0.583333 0.833333 +vt 0.583333 0.916667 +vt 0.583333 1.000000 +vt 0.583333 0.000000 +vt 0.583333 0.083333 +vt 0.583333 0.166667 +vt 0.583333 0.250000 +vt 0.583333 0.333333 +vt 0.583333 0.416667 +vt 0.604167 0.500000 +vt 0.604167 0.583333 +vt 0.604167 0.666667 +vt 0.604167 0.750000 +vt 0.604167 0.833333 +vt 0.604167 0.916667 +vt 0.604167 1.000000 +vt 0.604167 0.000000 +vt 0.604167 0.083333 +vt 0.604167 0.166667 +vt 0.604167 0.250000 +vt 0.604167 0.333333 +vt 0.604167 0.416667 +vt 0.625000 0.500000 +vt 0.625000 0.583333 +vt 0.625000 0.666667 +vt 0.625000 0.750000 +vt 0.625000 0.833333 +vt 0.625000 0.916667 +vt 0.625000 1.000000 +vt 0.625000 0.000000 +vt 0.625000 0.083333 +vt 0.625000 0.166667 +vt 0.625000 0.250000 +vt 0.625000 0.333333 +vt 0.625000 0.416667 +vt 0.645833 0.500000 +vt 0.645833 0.583333 +vt 0.645833 0.666667 +vt 0.645833 0.750000 +vt 0.645833 0.833333 +vt 0.645833 0.916667 +vt 0.645833 1.000000 +vt 0.645833 0.000000 +vt 0.645833 0.083333 +vt 0.645833 0.166667 +vt 0.645833 0.250000 +vt 0.645833 0.333333 +vt 0.645833 0.416667 +vt 0.666667 0.500000 +vt 0.666667 0.583333 +vt 0.666667 0.666667 +vt 0.666667 0.750000 +vt 0.666667 0.833333 +vt 0.666667 0.916667 +vt 0.666667 1.000000 +vt 0.666667 0.000000 +vt 0.666667 0.083333 +vt 0.666667 0.166667 +vt 0.666667 0.250000 +vt 0.666667 0.333333 +vt 0.666667 0.416667 +vt 0.687500 0.500000 +vt 0.687500 0.583333 +vt 0.687500 0.666667 +vt 0.687500 0.750000 +vt 0.687500 0.833333 +vt 0.687500 0.916667 +vt 0.687500 1.000000 +vt 0.687500 0.000000 +vt 0.687500 0.083333 +vt 0.687500 0.166667 +vt 0.687500 0.250000 +vt 0.687500 0.333333 +vt 0.687500 0.416667 +vt 0.708333 0.500000 +vt 0.708333 0.583333 +vt 0.708333 0.666667 +vt 0.708333 0.750000 +vt 0.708333 0.833333 +vt 0.708333 0.916667 +vt 0.708333 1.000000 +vt 0.708333 0.000000 +vt 0.708333 0.083333 +vt 0.708333 0.166667 +vt 0.708333 0.250000 +vt 0.708333 0.333333 +vt 0.708333 0.416667 +vt 0.729167 0.500000 +vt 0.729167 0.583333 +vt 0.729167 0.666667 +vt 0.729167 0.750000 +vt 0.729167 0.833333 +vt 0.729167 0.916667 +vt 0.729167 1.000000 +vt 0.729167 0.000000 +vt 0.729167 0.083333 +vt 0.729167 0.166667 +vt 0.729167 0.250000 +vt 0.729167 0.333333 +vt 0.729167 0.416667 +vt 0.750000 0.500000 +vt 0.750000 0.583333 +vt 0.750000 0.666667 +vt 0.750000 0.750000 +vt 0.750000 0.833333 +vt 0.750000 0.916667 +vt 0.750000 1.000000 +vt 0.750000 0.000000 +vt 0.750000 0.083333 +vt 0.750000 0.166667 +vt 0.750000 0.250000 +vt 0.750000 0.333333 +vt 0.750000 0.416667 +vt 0.770833 0.500000 +vt 0.770833 0.583333 +vt 0.770833 0.666667 +vt 0.770833 0.750000 +vt 0.770833 0.833333 +vt 0.770833 0.916667 +vt 0.770833 1.000000 +vt 0.770833 0.000000 +vt 0.770833 0.083333 +vt 0.770833 0.166667 +vt 0.770833 0.250000 +vt 0.770833 0.333333 +vt 0.770833 0.416667 +vt 0.791667 0.500000 +vt 0.791667 0.583333 +vt 0.791667 0.666667 +vt 0.791667 0.750000 +vt 0.791667 0.833333 +vt 0.791667 0.916667 +vt 0.791667 1.000000 +vt 0.791667 0.000000 +vt 0.791667 0.083333 +vt 0.791667 0.166667 +vt 0.791667 0.250000 +vt 0.791667 0.333333 +vt 0.791667 0.416667 +vt 0.812500 0.500000 +vt 0.812500 0.583333 +vt 0.812500 0.666667 +vt 0.812500 0.750000 +vt 0.812500 0.833333 +vt 0.812500 0.916667 +vt 0.812500 1.000000 +vt 0.812500 0.000000 +vt 0.812500 0.083333 +vt 0.812500 0.166667 +vt 0.812500 0.250000 +vt 0.812500 0.333333 +vt 0.812500 0.416667 +vt 0.833333 0.500000 +vt 0.833333 0.583333 +vt 0.833333 0.666667 +vt 0.833333 0.750000 +vt 0.833333 0.833333 +vt 0.833333 0.916667 +vt 0.833333 1.000000 +vt 0.833333 0.000000 +vt 0.833333 0.083333 +vt 0.833333 0.166667 +vt 0.833333 0.250000 +vt 0.833333 0.333333 +vt 0.833333 0.416667 +vt 0.854167 0.500000 +vt 0.854167 0.583333 +vt 0.854167 0.666667 +vt 0.854167 0.750000 +vt 0.854167 0.833333 +vt 0.854167 0.916667 +vt 0.854167 1.000000 +vt 0.854167 0.000000 +vt 0.854167 0.083333 +vt 0.854167 0.166667 +vt 0.854167 0.250000 +vt 0.854167 0.333333 +vt 0.854167 0.416667 +vt 0.875000 0.500000 +vt 0.875000 0.583333 +vt 0.875000 0.666667 +vt 0.875000 0.750000 +vt 0.875000 0.833333 +vt 0.875000 0.916667 +vt 0.875000 1.000000 +vt 0.875000 0.000000 +vt 0.875000 0.083333 +vt 0.875000 0.166667 +vt 0.875000 0.250000 +vt 0.875000 0.333333 +vt 0.875000 0.416667 +vt 0.895833 0.500000 +vt 0.895833 0.583333 +vt 0.895833 0.666667 +vt 0.895833 0.750000 +vt 0.895833 0.833333 +vt 0.895833 0.916667 +vt 0.895833 1.000000 +vt 0.895833 0.000000 +vt 0.895833 0.083333 +vt 0.895833 0.166667 +vt 0.895833 0.250000 +vt 0.895833 0.333333 +vt 0.895833 0.416667 +vt 0.916667 0.500000 +vt 0.916667 0.583333 +vt 0.916667 0.666667 +vt 0.916667 0.750000 +vt 0.916667 0.833333 +vt 0.916667 0.916667 +vt 0.916667 1.000000 +vt 0.916667 0.000000 +vt 0.916667 0.083333 +vt 0.916667 0.166667 +vt 0.916667 0.250000 +vt 0.916667 0.333333 +vt 0.916667 0.416667 +vt 0.937500 0.500000 +vt 0.937500 0.583333 +vt 0.937500 0.666667 +vt 0.937500 0.750000 +vt 0.937500 0.833333 +vt 0.937500 0.916667 +vt 0.937500 1.000000 +vt 0.937500 0.000000 +vt 0.937500 0.083333 +vt 0.937500 0.166667 +vt 0.937500 0.250000 +vt 0.937500 0.333333 +vt 0.937500 0.416667 +vt 0.958333 0.500000 +vt 0.958333 0.583333 +vt 0.958333 0.666667 +vt 0.958333 0.750000 +vt 0.958333 0.833333 +vt 0.958333 0.916667 +vt 0.958333 1.000000 +vt 0.958333 0.000000 +vt 0.958333 0.083333 +vt 0.958333 0.166667 +vt 0.958333 0.250000 +vt 0.958333 0.333333 +vt 0.958333 0.416667 +vt 0.979167 0.500000 +vt 0.979167 0.583333 +vt 0.979167 0.666667 +vt 0.979167 0.750000 +vt 0.979167 0.833333 +vt 0.979167 0.916667 +vt 0.979167 1.000000 +vt 0.979167 0.000000 +vt 0.979167 0.083333 +vt 0.979167 0.166667 +vt 0.979167 0.250000 +vt 0.979167 0.333333 +vt 0.979167 0.416667 +vt 1.000000 0.500000 +vt 1.000000 0.583333 +vt 1.000000 0.666667 +vt 1.000000 0.750000 +vt 1.000000 0.833333 +vt 1.000000 0.916667 +vt 1.000000 1.000000 +vt 1.000000 0.000000 +vt 1.000000 0.083333 +vt 1.000000 0.166667 +vt 1.000000 0.250000 +vt 1.000000 0.333333 +vt 1.000000 0.416667 +vt 0.000000 0.500000 +vt 0.020833 0.500000 +vt 0.020833 0.583333 +vt 0.000000 0.583333 +vt 0.020833 0.666667 +vt 0.000000 0.666667 +vt 0.020833 0.750000 +vt 0.000000 0.750000 +vt 0.020833 0.833333 +vt 0.000000 0.833333 +vt 0.020833 0.916667 +vt 0.000000 0.916667 +vt 0.020833 1.000000 +vt 0.000000 1.000000 +vt 0.000000 0.000000 +vt 0.020833 0.000000 +vt 0.020833 0.083333 +vt 0.000000 0.083333 +vt 0.020833 0.166667 +vt 0.000000 0.166667 +vt 0.020833 0.250000 +vt 0.000000 0.250000 +vt 0.020833 0.333333 +vt 0.000000 0.333333 +vt 0.020833 0.416667 +vt 0.000000 0.416667 +vt 0.041667 0.500000 +vt 0.041667 0.583333 +vt 0.041667 0.666667 +vt 0.041667 0.750000 +vt 0.041667 0.833333 +vt 0.041667 0.916667 +vt 0.041667 1.000000 +vt 0.041667 0.000000 +vt 0.041667 0.083333 +vt 0.041667 0.166667 +vt 0.041667 0.250000 +vt 0.041667 0.333333 +vt 0.041667 0.416667 +vt 0.062500 0.500000 +vt 0.062500 0.583333 +vt 0.062500 0.666667 +vt 0.062500 0.750000 +vt 0.062500 0.833333 +vt 0.062500 0.916667 +vt 0.062500 1.000000 +vt 0.062500 0.000000 +vt 0.062500 0.083333 +vt 0.062500 0.166667 +vt 0.062500 0.250000 +vt 0.062500 0.333333 +vt 0.062500 0.416667 +vt 0.083333 0.500000 +vt 0.083333 0.583333 +vt 0.083333 0.666667 +vt 0.083333 0.750000 +vt 0.083333 0.833333 +vt 0.083333 0.916667 +vt 0.083333 1.000000 +vt 0.083333 0.000000 +vt 0.083333 0.083333 +vt 0.083333 0.166667 +vt 0.083333 0.250000 +vt 0.083333 0.333333 +vt 0.083333 0.416667 +vt 0.104167 0.500000 +vt 0.104167 0.583333 +vt 0.104167 0.666667 +vt 0.104167 0.750000 +vt 0.104167 0.833333 +vt 0.104167 0.916667 +vt 0.104167 1.000000 +vt 0.104167 0.000000 +vt 0.104167 0.083333 +vt 0.104167 0.166667 +vt 0.104167 0.250000 +vt 0.104167 0.333333 +vt 0.104167 0.416667 +vt 0.125000 0.500000 +vt 0.125000 0.583333 +vt 0.125000 0.666667 +vt 0.125000 0.750000 +vt 0.125000 0.833333 +vt 0.125000 0.916667 +vt 0.125000 1.000000 +vt 0.125000 0.000000 +vt 0.125000 0.083333 +vt 0.125000 0.166667 +vt 0.125000 0.250000 +vt 0.125000 0.333333 +vt 0.125000 0.416667 +vt 0.145833 0.500000 +vt 0.145833 0.583333 +vt 0.145833 0.666667 +vt 0.145833 0.750000 +vt 0.145833 0.833333 +vt 0.145833 0.916667 +vt 0.145833 1.000000 +vt 0.145833 0.000000 +vt 0.145833 0.083333 +vt 0.145833 0.166667 +vt 0.145833 0.250000 +vt 0.145833 0.333333 +vt 0.145833 0.416667 +vt 0.166667 0.500000 +vt 0.166667 0.583333 +vt 0.166667 0.666667 +vt 0.166667 0.750000 +vt 0.166667 0.833333 +vt 0.166667 0.916667 +vt 0.166667 1.000000 +vt 0.166667 0.000000 +vt 0.166667 0.083333 +vt 0.166667 0.166667 +vt 0.166667 0.250000 +vt 0.166667 0.333333 +vt 0.166667 0.416667 +vt 0.187500 0.500000 +vt 0.187500 0.583333 +vt 0.187500 0.666667 +vt 0.187500 0.750000 +vt 0.187500 0.833333 +vt 0.187500 0.916667 +vt 0.187500 1.000000 +vt 0.187500 0.000000 +vt 0.187500 0.083333 +vt 0.187500 0.166667 +vt 0.187500 0.250000 +vt 0.187500 0.333333 +vt 0.187500 0.416667 +vt 0.208333 0.500000 +vt 0.208333 0.583333 +vt 0.208333 0.666667 +vt 0.208333 0.750000 +vt 0.208333 0.833333 +vt 0.208333 0.916667 +vt 0.208333 1.000000 +vt 0.208333 0.000000 +vt 0.208333 0.083333 +vt 0.208333 0.166667 +vt 0.208333 0.250000 +vt 0.208333 0.333333 +vt 0.208333 0.416667 +vt 0.229167 0.500000 +vt 0.229167 0.583333 +vt 0.229167 0.666667 +vt 0.229167 0.750000 +vt 0.229167 0.833333 +vt 0.229167 0.916667 +vt 0.229167 1.000000 +vt 0.229167 0.000000 +vt 0.229167 0.083333 +vt 0.229167 0.166667 +vt 0.229167 0.250000 +vt 0.229167 0.333333 +vt 0.229167 0.416667 +vt 0.250000 0.500000 +vt 0.250000 0.583333 +vt 0.250000 0.666667 +vt 0.250000 0.750000 +vt 0.250000 0.833333 +vt 0.250000 0.916667 +vt 0.250000 1.000000 +vt 0.250000 0.000000 +vt 0.250000 0.083333 +vt 0.250000 0.166667 +vt 0.250000 0.250000 +vt 0.250000 0.333333 +vt 0.250000 0.416667 +vt 0.270833 0.500000 +vt 0.270833 0.583333 +vt 0.270833 0.666667 +vt 0.270833 0.750000 +vt 0.270833 0.833333 +vt 0.270833 0.916667 +vt 0.270833 1.000000 +vt 0.270833 0.000000 +vt 0.270833 0.083333 +vt 0.270833 0.166667 +vt 0.270833 0.250000 +vt 0.270833 0.333333 +vt 0.270833 0.416667 +vt 0.291667 0.500000 +vt 0.291667 0.583333 +vt 0.291667 0.666667 +vt 0.291667 0.750000 +vt 0.291667 0.833333 +vt 0.291667 0.916667 +vt 0.291667 1.000000 +vt 0.291667 0.000000 +vt 0.291667 0.083333 +vt 0.291667 0.166667 +vt 0.291667 0.250000 +vt 0.291667 0.333333 +vt 0.291667 0.416667 +vt 0.312500 0.500000 +vt 0.312500 0.583333 +vt 0.312500 0.666667 +vt 0.312500 0.750000 +vt 0.312500 0.833333 +vt 0.312500 0.916667 +vt 0.312500 1.000000 +vt 0.312500 0.000000 +vt 0.312500 0.083333 +vt 0.312500 0.166667 +vt 0.312500 0.250000 +vt 0.312500 0.333333 +vt 0.312500 0.416667 +vt 0.333333 0.500000 +vt 0.333333 0.583333 +vt 0.333333 0.666667 +vt 0.333333 0.750000 +vt 0.333333 0.833333 +vt 0.333333 0.916667 +vt 0.333333 1.000000 +vt 0.333333 0.000000 +vt 0.333333 0.083333 +vt 0.333333 0.166667 +vt 0.333333 0.250000 +vt 0.333333 0.333333 +vt 0.333333 0.416667 +vt 0.354167 0.500000 +vt 0.354167 0.583333 +vt 0.354167 0.666667 +vt 0.354167 0.750000 +vt 0.354167 0.833333 +vt 0.354167 0.916667 +vt 0.354167 1.000000 +vt 0.354167 0.000000 +vt 0.354167 0.083333 +vt 0.354167 0.166667 +vt 0.354167 0.250000 +vt 0.354167 0.333333 +vt 0.354167 0.416667 +vt 0.375000 0.500000 +vt 0.375000 0.583333 +vt 0.375000 0.666667 +vt 0.375000 0.750000 +vt 0.375000 0.833333 +vt 0.375000 0.916667 +vt 0.375000 1.000000 +vt 0.375000 0.000000 +vt 0.375000 0.083333 +vt 0.375000 0.166667 +vt 0.375000 0.250000 +vt 0.375000 0.333333 +vt 0.375000 0.416667 +vt 0.395833 0.500000 +vt 0.395833 0.583333 +vt 0.395833 0.666667 +vt 0.395833 0.750000 +vt 0.395833 0.833333 +vt 0.395833 0.916667 +vt 0.395833 1.000000 +vt 0.395833 0.000000 +vt 0.395833 0.083333 +vt 0.395833 0.166667 +vt 0.395833 0.250000 +vt 0.395833 0.333333 +vt 0.395833 0.416667 +vt 0.416667 0.500000 +vt 0.416667 0.583333 +vt 0.416667 0.666667 +vt 0.416667 0.750000 +vt 0.416667 0.833333 +vt 0.416667 0.916667 +vt 0.416667 1.000000 +vt 0.416667 0.000000 +vt 0.416667 0.083333 +vt 0.416667 0.166667 +vt 0.416667 0.250000 +vt 0.416667 0.333333 +vt 0.416667 0.416667 +vt 0.437500 0.500000 +vt 0.437500 0.583333 +vt 0.437500 0.666667 +vt 0.437500 0.750000 +vt 0.437500 0.833333 +vt 0.437500 0.916667 +vt 0.437500 1.000000 +vt 0.437500 0.000000 +vt 0.437500 0.083333 +vt 0.437500 0.166667 +vt 0.437500 0.250000 +vt 0.437500 0.333333 +vt 0.437500 0.416667 +vt 0.458333 0.500000 +vt 0.458333 0.583333 +vt 0.458333 0.666667 +vt 0.458333 0.750000 +vt 0.458333 0.833333 +vt 0.458333 0.916667 +vt 0.458333 1.000000 +vt 0.458333 0.000000 +vt 0.458333 0.083333 +vt 0.458333 0.166667 +vt 0.458333 0.250000 +vt 0.458333 0.333333 +vt 0.458333 0.416667 +vt 0.479167 0.500000 +vt 0.479167 0.583333 +vt 0.479167 0.666667 +vt 0.479167 0.750000 +vt 0.479167 0.833333 +vt 0.479167 0.916667 +vt 0.479167 1.000000 +vt 0.479167 0.000000 +vt 0.479167 0.083333 +vt 0.479167 0.166667 +vt 0.479167 0.250000 +vt 0.479167 0.333333 +vt 0.479167 0.416667 +usemtl tex +s off +f 1/1/1 13/2/1 14/3/1 2/4/1 +f 2/4/2 14/3/2 15/5/2 3/6/2 +f 3/6/3 15/5/3 16/7/3 4/8/3 +f 4/8/4 16/7/4 17/9/4 5/10/4 +f 5/10/5 17/9/5 18/11/5 6/12/5 +f 6/12/6 18/11/6 19/13/6 7/14/6 +f 7/15/7 19/16/7 20/17/7 8/18/7 +f 8/18/8 20/17/8 21/19/8 9/20/8 +f 9/20/9 21/19/9 22/21/9 10/22/9 +f 10/22/10 22/21/10 23/23/10 11/24/10 +f 11/24/11 23/23/11 24/25/11 12/26/11 +f 12/26/12 24/25/12 13/2/12 1/1/12 +f 13/2/13 25/27/13 26/28/13 14/3/13 +f 14/3/14 26/28/14 27/29/14 15/5/14 +f 15/5/15 27/29/15 28/30/15 16/7/15 +f 16/7/16 28/30/16 29/31/16 17/9/16 +f 17/9/17 29/31/17 30/32/17 18/11/17 +f 18/11/18 30/32/18 31/33/18 19/13/18 +f 19/16/19 31/34/19 32/35/19 20/17/19 +f 20/17/20 32/35/20 33/36/20 21/19/20 +f 21/19/21 33/36/21 34/37/21 22/21/21 +f 22/21/22 34/37/22 35/38/22 23/23/22 +f 23/23/23 35/38/23 36/39/23 24/25/23 +f 24/25/24 36/39/24 25/27/24 13/2/24 +f 25/27/25 37/40/25 38/41/25 26/28/25 +f 26/28/26 38/41/26 39/42/26 27/29/26 +f 27/29/27 39/42/27 40/43/27 28/30/27 +f 28/30/28 40/43/28 41/44/28 29/31/28 +f 29/31/29 41/44/29 42/45/29 30/32/29 +f 30/32/30 42/45/30 43/46/30 31/33/30 +f 31/34/31 43/47/31 44/48/31 32/35/31 +f 32/35/32 44/48/32 45/49/32 33/36/32 +f 33/36/33 45/49/33 46/50/33 34/37/33 +f 34/37/34 46/50/34 47/51/34 35/38/34 +f 35/38/35 47/51/35 48/52/35 36/39/35 +f 36/39/36 48/52/36 37/40/36 25/27/36 +f 37/40/37 49/53/37 50/54/37 38/41/37 +f 38/41/38 50/54/38 51/55/38 39/42/38 +f 39/42/39 51/55/39 52/56/39 40/43/39 +f 40/43/40 52/56/40 53/57/40 41/44/40 +f 41/44/41 53/57/41 54/58/41 42/45/41 +f 42/45/42 54/58/42 55/59/42 43/46/42 +f 43/47/43 55/60/43 56/61/43 44/48/43 +f 44/48/44 56/61/44 57/62/44 45/49/44 +f 45/49/45 57/62/45 58/63/45 46/50/45 +f 46/50/46 58/63/46 59/64/46 47/51/46 +f 47/51/47 59/64/47 60/65/47 48/52/47 +f 48/52/48 60/65/48 49/53/48 37/40/48 +f 49/53/49 61/66/49 62/67/49 50/54/49 +f 50/54/50 62/67/50 63/68/50 51/55/50 +f 51/55/51 63/68/51 64/69/51 52/56/51 +f 52/56/52 64/69/52 65/70/52 53/57/52 +f 53/57/53 65/70/53 66/71/53 54/58/53 +f 54/58/54 66/71/54 67/72/54 55/59/54 +f 55/60/55 67/73/55 68/74/55 56/61/55 +f 56/61/56 68/74/56 69/75/56 57/62/56 +f 57/62/57 69/75/57 70/76/57 58/63/57 +f 58/63/58 70/76/58 71/77/58 59/64/58 +f 59/64/59 71/77/59 72/78/59 60/65/59 +f 60/65/60 72/78/60 61/66/60 49/53/60 +f 61/66/61 73/79/61 74/80/61 62/67/61 +f 62/67/62 74/80/62 75/81/62 63/68/62 +f 63/68/63 75/81/63 76/82/63 64/69/63 +f 64/69/64 76/82/64 77/83/64 65/70/64 +f 65/70/65 77/83/65 78/84/65 66/71/65 +f 66/71/66 78/84/66 79/85/66 67/72/66 +f 67/73/67 79/86/67 80/87/67 68/74/67 +f 68/74/68 80/87/68 81/88/68 69/75/68 +f 69/75/69 81/88/69 82/89/69 70/76/69 +f 70/76/70 82/89/70 83/90/70 71/77/70 +f 71/77/71 83/90/71 84/91/71 72/78/71 +f 72/78/72 84/91/72 73/79/72 61/66/72 +f 73/79/73 85/92/73 86/93/73 74/80/73 +f 74/80/74 86/93/74 87/94/74 75/81/74 +f 75/81/75 87/94/75 88/95/75 76/82/75 +f 76/82/76 88/95/76 89/96/76 77/83/76 +f 77/83/77 89/96/77 90/97/77 78/84/77 +f 78/84/78 90/97/78 91/98/78 79/85/78 +f 79/86/79 91/99/79 92/100/79 80/87/79 +f 80/87/80 92/100/80 93/101/80 81/88/80 +f 81/88/81 93/101/81 94/102/81 82/89/81 +f 82/89/82 94/102/82 95/103/82 83/90/82 +f 83/90/83 95/103/83 96/104/83 84/91/83 +f 84/91/84 96/104/84 85/92/84 73/79/84 +f 85/92/85 97/105/85 98/106/85 86/93/85 +f 86/93/86 98/106/86 99/107/86 87/94/86 +f 87/94/87 99/107/87 100/108/87 88/95/87 +f 88/95/88 100/108/88 101/109/88 89/96/88 +f 89/96/89 101/109/89 102/110/89 90/97/89 +f 90/97/90 102/110/90 103/111/90 91/98/90 +f 91/99/91 103/112/91 104/113/91 92/100/91 +f 92/100/92 104/113/92 105/114/92 93/101/92 +f 93/101/93 105/114/93 106/115/93 94/102/93 +f 94/102/94 106/115/94 107/116/94 95/103/94 +f 95/103/95 107/116/95 108/117/95 96/104/95 +f 96/104/96 108/117/96 97/105/96 85/92/96 +f 97/105/97 109/118/97 110/119/97 98/106/97 +f 98/106/98 110/119/98 111/120/98 99/107/98 +f 99/107/99 111/120/99 112/121/99 100/108/99 +f 100/108/100 112/121/100 113/122/100 101/109/100 +f 101/109/101 113/122/101 114/123/101 102/110/101 +f 102/110/102 114/123/102 115/124/102 103/111/102 +f 103/112/103 115/125/103 116/126/103 104/113/103 +f 104/113/104 116/126/104 117/127/104 105/114/104 +f 105/114/105 117/127/105 118/128/105 106/115/105 +f 106/115/106 118/128/106 119/129/106 107/116/106 +f 107/116/107 119/129/107 120/130/107 108/117/107 +f 108/117/108 120/130/108 109/118/108 97/105/108 +f 109/118/109 121/131/109 122/132/109 110/119/109 +f 110/119/110 122/132/110 123/133/110 111/120/110 +f 111/120/111 123/133/111 124/134/111 112/121/111 +f 112/121/112 124/134/112 125/135/112 113/122/112 +f 113/122/113 125/135/113 126/136/113 114/123/113 +f 114/123/114 126/136/114 127/137/114 115/124/114 +f 115/125/115 127/138/115 128/139/115 116/126/115 +f 116/126/116 128/139/116 129/140/116 117/127/116 +f 117/127/117 129/140/117 130/141/117 118/128/117 +f 118/128/118 130/141/118 131/142/118 119/129/118 +f 119/129/119 131/142/119 132/143/119 120/130/119 +f 120/130/120 132/143/120 121/131/120 109/118/120 +f 121/131/121 133/144/121 134/145/121 122/132/121 +f 122/132/122 134/145/122 135/146/122 123/133/122 +f 123/133/123 135/146/123 136/147/123 124/134/123 +f 124/134/124 136/147/124 137/148/124 125/135/124 +f 125/135/125 137/148/125 138/149/125 126/136/125 +f 126/136/126 138/149/126 139/150/126 127/137/126 +f 127/138/127 139/151/127 140/152/127 128/139/127 +f 128/139/128 140/152/128 141/153/128 129/140/128 +f 129/140/129 141/153/129 142/154/129 130/141/129 +f 130/141/130 142/154/130 143/155/130 131/142/130 +f 131/142/131 143/155/131 144/156/131 132/143/131 +f 132/143/132 144/156/132 133/144/132 121/131/132 +f 133/144/133 145/157/133 146/158/133 134/145/133 +f 134/145/134 146/158/134 147/159/134 135/146/134 +f 135/146/135 147/159/135 148/160/135 136/147/135 +f 136/147/136 148/160/136 149/161/136 137/148/136 +f 137/148/137 149/161/137 150/162/137 138/149/137 +f 138/149/138 150/162/138 151/163/138 139/150/138 +f 139/151/139 151/164/139 152/165/139 140/152/139 +f 140/152/140 152/165/140 153/166/140 141/153/140 +f 141/153/141 153/166/141 154/167/141 142/154/141 +f 142/154/142 154/167/142 155/168/142 143/155/142 +f 143/155/143 155/168/143 156/169/143 144/156/143 +f 144/156/144 156/169/144 145/157/144 133/144/144 +f 145/157/145 157/170/145 158/171/145 146/158/145 +f 146/158/146 158/171/146 159/172/146 147/159/146 +f 147/159/147 159/172/147 160/173/147 148/160/147 +f 148/160/148 160/173/148 161/174/148 149/161/148 +f 149/161/149 161/174/149 162/175/149 150/162/149 +f 150/162/150 162/175/150 163/176/150 151/163/150 +f 151/164/151 163/177/151 164/178/151 152/165/151 +f 152/165/152 164/178/152 165/179/152 153/166/152 +f 153/166/153 165/179/153 166/180/153 154/167/153 +f 154/167/154 166/180/154 167/181/154 155/168/154 +f 155/168/155 167/181/155 168/182/155 156/169/155 +f 156/169/156 168/182/156 157/170/156 145/157/156 +f 157/170/157 169/183/157 170/184/157 158/171/157 +f 158/171/158 170/184/158 171/185/158 159/172/158 +f 159/172/159 171/185/159 172/186/159 160/173/159 +f 160/173/160 172/186/160 173/187/160 161/174/160 +f 161/174/161 173/187/161 174/188/161 162/175/161 +f 162/175/162 174/188/162 175/189/162 163/176/162 +f 163/177/163 175/190/163 176/191/163 164/178/163 +f 164/178/164 176/191/164 177/192/164 165/179/164 +f 165/179/165 177/192/165 178/193/165 166/180/165 +f 166/180/166 178/193/166 179/194/166 167/181/166 +f 167/181/167 179/194/167 180/195/167 168/182/167 +f 168/182/168 180/195/168 169/183/168 157/170/168 +f 169/183/169 181/196/169 182/197/169 170/184/169 +f 170/184/170 182/197/170 183/198/170 171/185/170 +f 171/185/171 183/198/171 184/199/171 172/186/171 +f 172/186/172 184/199/172 185/200/172 173/187/172 +f 173/187/173 185/200/173 186/201/173 174/188/173 +f 174/188/174 186/201/174 187/202/174 175/189/174 +f 175/190/175 187/203/175 188/204/175 176/191/175 +f 176/191/176 188/204/176 189/205/176 177/192/176 +f 177/192/177 189/205/177 190/206/177 178/193/177 +f 178/193/178 190/206/178 191/207/178 179/194/178 +f 179/194/179 191/207/179 192/208/179 180/195/179 +f 180/195/180 192/208/180 181/196/180 169/183/180 +f 181/196/181 193/209/181 194/210/181 182/197/181 +f 182/197/182 194/210/182 195/211/182 183/198/182 +f 183/198/183 195/211/183 196/212/183 184/199/183 +f 184/199/184 196/212/184 197/213/184 185/200/184 +f 185/200/185 197/213/185 198/214/185 186/201/185 +f 186/201/186 198/214/186 199/215/186 187/202/186 +f 187/203/187 199/216/187 200/217/187 188/204/187 +f 188/204/188 200/217/188 201/218/188 189/205/188 +f 189/205/189 201/218/189 202/219/189 190/206/189 +f 190/206/190 202/219/190 203/220/190 191/207/190 +f 191/207/191 203/220/191 204/221/191 192/208/191 +f 192/208/192 204/221/192 193/209/192 181/196/192 +f 193/209/193 205/222/193 206/223/193 194/210/193 +f 194/210/194 206/223/194 207/224/194 195/211/194 +f 195/211/195 207/224/195 208/225/195 196/212/195 +f 196/212/196 208/225/196 209/226/196 197/213/196 +f 197/213/197 209/226/197 210/227/197 198/214/197 +f 198/214/198 210/227/198 211/228/198 199/215/198 +f 199/216/199 211/229/199 212/230/199 200/217/199 +f 200/217/200 212/230/200 213/231/200 201/218/200 +f 201/218/201 213/231/201 214/232/201 202/219/201 +f 202/219/202 214/232/202 215/233/202 203/220/202 +f 203/220/203 215/233/203 216/234/203 204/221/203 +f 204/221/204 216/234/204 205/222/204 193/209/204 +f 205/222/205 217/235/205 218/236/205 206/223/205 +f 206/223/206 218/236/206 219/237/206 207/224/206 +f 207/224/207 219/237/207 220/238/207 208/225/207 +f 208/225/208 220/238/208 221/239/208 209/226/208 +f 209/226/209 221/239/209 222/240/209 210/227/209 +f 210/227/210 222/240/210 223/241/210 211/228/210 +f 211/229/211 223/242/211 224/243/211 212/230/211 +f 212/230/212 224/243/212 225/244/212 213/231/212 +f 213/231/213 225/244/213 226/245/213 214/232/213 +f 214/232/214 226/245/214 227/246/214 215/233/214 +f 215/233/215 227/246/215 228/247/215 216/234/215 +f 216/234/216 228/247/216 217/235/216 205/222/216 +f 217/235/217 229/248/217 230/249/217 218/236/217 +f 218/236/218 230/249/218 231/250/218 219/237/218 +f 219/237/219 231/250/219 232/251/219 220/238/219 +f 220/238/220 232/251/220 233/252/220 221/239/220 +f 221/239/221 233/252/221 234/253/221 222/240/221 +f 222/240/222 234/253/222 235/254/222 223/241/222 +f 223/242/223 235/255/223 236/256/223 224/243/223 +f 224/243/224 236/256/224 237/257/224 225/244/224 +f 225/244/225 237/257/225 238/258/225 226/245/225 +f 226/245/226 238/258/226 239/259/226 227/246/226 +f 227/246/227 239/259/227 240/260/227 228/247/227 +f 228/247/228 240/260/228 229/248/228 217/235/228 +f 229/248/229 241/261/229 242/262/229 230/249/229 +f 230/249/230 242/262/230 243/263/230 231/250/230 +f 231/250/231 243/263/231 244/264/231 232/251/231 +f 232/251/232 244/264/232 245/265/232 233/252/232 +f 233/252/233 245/265/233 246/266/233 234/253/233 +f 234/253/234 246/266/234 247/267/234 235/254/234 +f 235/255/235 247/268/235 248/269/235 236/256/235 +f 236/256/236 248/269/236 249/270/236 237/257/236 +f 237/257/237 249/270/237 250/271/237 238/258/237 +f 238/258/238 250/271/238 251/272/238 239/259/238 +f 239/259/239 251/272/239 252/273/239 240/260/239 +f 240/260/240 252/273/240 241/261/240 229/248/240 +f 241/261/241 253/274/241 254/275/241 242/262/241 +f 242/262/242 254/275/242 255/276/242 243/263/242 +f 243/263/243 255/276/243 256/277/243 244/264/243 +f 244/264/244 256/277/244 257/278/244 245/265/244 +f 245/265/245 257/278/245 258/279/245 246/266/245 +f 246/266/246 258/279/246 259/280/246 247/267/246 +f 247/268/247 259/281/247 260/282/247 248/269/247 +f 248/269/248 260/282/248 261/283/248 249/270/248 +f 249/270/249 261/283/249 262/284/249 250/271/249 +f 250/271/250 262/284/250 263/285/250 251/272/250 +f 251/272/251 263/285/251 264/286/251 252/273/251 +f 252/273/252 264/286/252 253/274/252 241/261/252 +f 253/274/253 265/287/253 266/288/253 254/275/253 +f 254/275/254 266/288/254 267/289/254 255/276/254 +f 255/276/255 267/289/255 268/290/255 256/277/255 +f 256/277/256 268/290/256 269/291/256 257/278/256 +f 257/278/257 269/291/257 270/292/257 258/279/257 +f 258/279/258 270/292/258 271/293/258 259/280/258 +f 259/281/259 271/294/259 272/295/259 260/282/259 +f 260/282/260 272/295/260 273/296/260 261/283/260 +f 261/283/261 273/296/261 274/297/261 262/284/261 +f 262/284/262 274/297/262 275/298/262 263/285/262 +f 263/285/263 275/298/263 276/299/263 264/286/263 +f 264/286/264 276/299/264 265/287/264 253/274/264 +f 265/287/265 277/300/265 278/301/265 266/288/265 +f 266/288/266 278/301/266 279/302/266 267/289/266 +f 267/289/267 279/302/267 280/303/267 268/290/267 +f 268/290/268 280/303/268 281/304/268 269/291/268 +f 269/291/269 281/304/269 282/305/269 270/292/269 +f 270/292/270 282/305/270 283/306/270 271/293/270 +f 271/294/271 283/307/271 284/308/271 272/295/271 +f 272/295/272 284/308/272 285/309/272 273/296/272 +f 273/296/273 285/309/273 286/310/273 274/297/273 +f 274/297/274 286/310/274 287/311/274 275/298/274 +f 275/298/275 287/311/275 288/312/275 276/299/275 +f 276/299/276 288/312/276 277/300/276 265/287/276 +f 277/300/277 289/313/277 290/314/277 278/301/277 +f 278/301/278 290/314/278 291/315/278 279/302/278 +f 279/302/279 291/315/279 292/316/279 280/303/279 +f 280/303/280 292/316/280 293/317/280 281/304/280 +f 281/304/281 293/317/281 294/318/281 282/305/281 +f 282/305/282 294/318/282 295/319/282 283/306/282 +f 283/307/283 295/320/283 296/321/283 284/308/283 +f 284/308/284 296/321/284 297/322/284 285/309/284 +f 285/309/285 297/322/285 298/323/285 286/310/285 +f 286/310/286 298/323/286 299/324/286 287/311/286 +f 287/311/287 299/324/287 300/325/287 288/312/287 +f 288/312/288 300/325/288 289/313/288 277/300/288 +f 289/326/6 301/327/6 302/328/6 290/329/6 +f 290/329/5 302/328/5 303/330/5 291/331/5 +f 291/331/4 303/330/4 304/332/4 292/333/4 +f 292/333/3 304/332/3 305/334/3 293/335/3 +f 293/335/2 305/334/2 306/336/2 294/337/2 +f 294/337/1 306/336/1 307/338/1 295/339/1 +f 295/340/12 307/341/12 308/342/12 296/343/12 +f 296/343/11 308/342/11 309/344/11 297/345/11 +f 297/345/10 309/344/10 310/346/10 298/347/10 +f 298/347/9 310/346/9 311/348/9 299/349/9 +f 299/349/8 311/348/8 312/350/8 300/351/8 +f 300/351/7 312/350/7 301/327/7 289/326/7 +f 301/327/18 313/352/18 314/353/18 302/328/18 +f 302/328/17 314/353/17 315/354/17 303/330/17 +f 303/330/16 315/354/16 316/355/16 304/332/16 +f 304/332/15 316/355/15 317/356/15 305/334/15 +f 305/334/14 317/356/14 318/357/14 306/336/14 +f 306/336/13 318/357/13 319/358/13 307/338/13 +f 307/341/24 319/359/24 320/360/24 308/342/24 +f 308/342/23 320/360/23 321/361/23 309/344/23 +f 309/344/22 321/361/22 322/362/22 310/346/22 +f 310/346/21 322/362/21 323/363/21 311/348/21 +f 311/348/20 323/363/20 324/364/20 312/350/20 +f 312/350/19 324/364/19 313/352/19 301/327/19 +f 313/352/30 325/365/30 326/366/30 314/353/30 +f 314/353/29 326/366/29 327/367/29 315/354/29 +f 315/354/28 327/367/28 328/368/28 316/355/28 +f 316/355/27 328/368/27 329/369/27 317/356/27 +f 317/356/26 329/369/26 330/370/26 318/357/26 +f 318/357/25 330/370/25 331/371/25 319/358/25 +f 319/359/36 331/372/36 332/373/36 320/360/36 +f 320/360/35 332/373/35 333/374/35 321/361/35 +f 321/361/34 333/374/34 334/375/34 322/362/34 +f 322/362/33 334/375/33 335/376/33 323/363/33 +f 323/363/32 335/376/32 336/377/32 324/364/32 +f 324/364/31 336/377/31 325/365/31 313/352/31 +f 325/365/42 337/378/42 338/379/42 326/366/42 +f 326/366/41 338/379/41 339/380/41 327/367/41 +f 327/367/40 339/380/40 340/381/40 328/368/40 +f 328/368/39 340/381/39 341/382/39 329/369/39 +f 329/369/38 341/382/38 342/383/38 330/370/38 +f 330/370/37 342/383/37 343/384/37 331/371/37 +f 331/372/48 343/385/48 344/386/48 332/373/48 +f 332/373/47 344/386/47 345/387/47 333/374/47 +f 333/374/46 345/387/46 346/388/46 334/375/46 +f 334/375/45 346/388/45 347/389/45 335/376/45 +f 335/376/44 347/389/44 348/390/44 336/377/44 +f 336/377/43 348/390/43 337/378/43 325/365/43 +f 337/378/54 349/391/54 350/392/54 338/379/54 +f 338/379/53 350/392/53 351/393/53 339/380/53 +f 339/380/52 351/393/52 352/394/52 340/381/52 +f 340/381/51 352/394/51 353/395/51 341/382/51 +f 341/382/50 353/395/50 354/396/50 342/383/50 +f 342/383/49 354/396/49 355/397/49 343/384/49 +f 343/385/60 355/398/60 356/399/60 344/386/60 +f 344/386/59 356/399/59 357/400/59 345/387/59 +f 345/387/58 357/400/58 358/401/58 346/388/58 +f 346/388/57 358/401/57 359/402/57 347/389/57 +f 347/389/56 359/402/56 360/403/56 348/390/56 +f 348/390/55 360/403/55 349/391/55 337/378/55 +f 349/391/66 361/404/66 362/405/66 350/392/66 +f 350/392/65 362/405/65 363/406/65 351/393/65 +f 351/393/64 363/406/64 364/407/64 352/394/64 +f 352/394/63 364/407/63 365/408/63 353/395/63 +f 353/395/62 365/408/62 366/409/62 354/396/62 +f 354/396/61 366/409/61 367/410/61 355/397/61 +f 355/398/72 367/411/72 368/412/72 356/399/72 +f 356/399/71 368/412/71 369/413/71 357/400/71 +f 357/400/70 369/413/70 370/414/70 358/401/70 +f 358/401/69 370/414/69 371/415/69 359/402/69 +f 359/402/68 371/415/68 372/416/68 360/403/68 +f 360/403/67 372/416/67 361/404/67 349/391/67 +f 361/404/78 373/417/78 374/418/78 362/405/78 +f 362/405/77 374/418/77 375/419/77 363/406/77 +f 363/406/76 375/419/76 376/420/76 364/407/76 +f 364/407/75 376/420/75 377/421/75 365/408/75 +f 365/408/74 377/421/74 378/422/74 366/409/74 +f 366/409/73 378/422/73 379/423/73 367/410/73 +f 367/411/84 379/424/84 380/425/84 368/412/84 +f 368/412/83 380/425/83 381/426/83 369/413/83 +f 369/413/82 381/426/82 382/427/82 370/414/82 +f 370/414/81 382/427/81 383/428/81 371/415/81 +f 371/415/80 383/428/80 384/429/80 372/416/80 +f 372/416/79 384/429/79 373/417/79 361/404/79 +f 373/417/90 385/430/90 386/431/90 374/418/90 +f 374/418/89 386/431/89 387/432/89 375/419/89 +f 375/419/88 387/432/88 388/433/88 376/420/88 +f 376/420/87 388/433/87 389/434/87 377/421/87 +f 377/421/86 389/434/86 390/435/86 378/422/86 +f 378/422/85 390/435/85 391/436/85 379/423/85 +f 379/424/96 391/437/96 392/438/96 380/425/96 +f 380/425/95 392/438/95 393/439/95 381/426/95 +f 381/426/94 393/439/94 394/440/94 382/427/94 +f 382/427/93 394/440/93 395/441/93 383/428/93 +f 383/428/92 395/441/92 396/442/92 384/429/92 +f 384/429/91 396/442/91 385/430/91 373/417/91 +f 385/430/102 397/443/102 398/444/102 386/431/102 +f 386/431/101 398/444/101 399/445/101 387/432/101 +f 387/432/100 399/445/100 400/446/100 388/433/100 +f 388/433/99 400/446/99 401/447/99 389/434/99 +f 389/434/98 401/447/98 402/448/98 390/435/98 +f 390/435/97 402/448/97 403/449/97 391/436/97 +f 391/437/108 403/450/108 404/451/108 392/438/108 +f 392/438/107 404/451/107 405/452/107 393/439/107 +f 393/439/106 405/452/106 406/453/106 394/440/106 +f 394/440/105 406/453/105 407/454/105 395/441/105 +f 395/441/104 407/454/104 408/455/104 396/442/104 +f 396/442/103 408/455/103 397/443/103 385/430/103 +f 397/443/114 409/456/114 410/457/114 398/444/114 +f 398/444/113 410/457/113 411/458/113 399/445/113 +f 399/445/112 411/458/112 412/459/112 400/446/112 +f 400/446/111 412/459/111 413/460/111 401/447/111 +f 401/447/110 413/460/110 414/461/110 402/448/110 +f 402/448/109 414/461/109 415/462/109 403/449/109 +f 403/450/120 415/463/120 416/464/120 404/451/120 +f 404/451/119 416/464/119 417/465/119 405/452/119 +f 405/452/118 417/465/118 418/466/118 406/453/118 +f 406/453/117 418/466/117 419/467/117 407/454/117 +f 407/454/116 419/467/116 420/468/116 408/455/116 +f 408/455/115 420/468/115 409/456/115 397/443/115 +f 409/456/126 421/469/126 422/470/126 410/457/126 +f 410/457/125 422/470/125 423/471/125 411/458/125 +f 411/458/124 423/471/124 424/472/124 412/459/124 +f 412/459/123 424/472/123 425/473/123 413/460/123 +f 413/460/122 425/473/122 426/474/122 414/461/122 +f 414/461/121 426/474/121 427/475/121 415/462/121 +f 415/463/132 427/476/132 428/477/132 416/464/132 +f 416/464/131 428/477/131 429/478/131 417/465/131 +f 417/465/130 429/478/130 430/479/130 418/466/130 +f 418/466/129 430/479/129 431/480/129 419/467/129 +f 419/467/128 431/480/128 432/481/128 420/468/128 +f 420/468/127 432/481/127 421/469/127 409/456/127 +f 421/469/138 433/482/138 434/483/138 422/470/138 +f 422/470/137 434/483/137 435/484/137 423/471/137 +f 423/471/136 435/484/136 436/485/136 424/472/136 +f 424/472/135 436/485/135 437/486/135 425/473/135 +f 425/473/134 437/486/134 438/487/134 426/474/134 +f 426/474/133 438/487/133 439/488/133 427/475/133 +f 427/476/144 439/489/144 440/490/144 428/477/144 +f 428/477/143 440/490/143 441/491/143 429/478/143 +f 429/478/142 441/491/142 442/492/142 430/479/142 +f 430/479/141 442/492/141 443/493/141 431/480/141 +f 431/480/140 443/493/140 444/494/140 432/481/140 +f 432/481/139 444/494/139 433/482/139 421/469/139 +f 433/482/150 445/495/150 446/496/150 434/483/150 +f 434/483/149 446/496/149 447/497/149 435/484/149 +f 435/484/148 447/497/148 448/498/148 436/485/148 +f 436/485/147 448/498/147 449/499/147 437/486/147 +f 437/486/146 449/499/146 450/500/146 438/487/146 +f 438/487/145 450/500/145 451/501/145 439/488/145 +f 439/489/156 451/502/156 452/503/156 440/490/156 +f 440/490/155 452/503/155 453/504/155 441/491/155 +f 441/491/154 453/504/154 454/505/154 442/492/154 +f 442/492/153 454/505/153 455/506/153 443/493/153 +f 443/493/152 455/506/152 456/507/152 444/494/152 +f 444/494/151 456/507/151 445/495/151 433/482/151 +f 445/495/162 457/508/162 458/509/162 446/496/162 +f 446/496/161 458/509/161 459/510/161 447/497/161 +f 447/497/160 459/510/160 460/511/160 448/498/160 +f 448/498/159 460/511/159 461/512/159 449/499/159 +f 449/499/158 461/512/158 462/513/158 450/500/158 +f 450/500/157 462/513/157 463/514/157 451/501/157 +f 451/502/168 463/515/168 464/516/168 452/503/168 +f 452/503/167 464/516/167 465/517/167 453/504/167 +f 453/504/166 465/517/166 466/518/166 454/505/166 +f 454/505/165 466/518/165 467/519/165 455/506/165 +f 455/506/164 467/519/164 468/520/164 456/507/164 +f 456/507/163 468/520/163 457/508/163 445/495/163 +f 457/508/174 469/521/174 470/522/174 458/509/174 +f 458/509/173 470/522/173 471/523/173 459/510/173 +f 459/510/172 471/523/172 472/524/172 460/511/172 +f 460/511/171 472/524/171 473/525/171 461/512/171 +f 461/512/170 473/525/170 474/526/170 462/513/170 +f 462/513/169 474/526/169 475/527/169 463/514/169 +f 463/515/180 475/528/180 476/529/180 464/516/180 +f 464/516/179 476/529/179 477/530/179 465/517/179 +f 465/517/178 477/530/178 478/531/178 466/518/178 +f 466/518/177 478/531/177 479/532/177 467/519/177 +f 467/519/176 479/532/176 480/533/176 468/520/176 +f 468/520/175 480/533/175 469/521/175 457/508/175 +f 469/521/186 481/534/186 482/535/186 470/522/186 +f 470/522/185 482/535/185 483/536/185 471/523/185 +f 471/523/184 483/536/184 484/537/184 472/524/184 +f 472/524/183 484/537/183 485/538/183 473/525/183 +f 473/525/182 485/538/182 486/539/182 474/526/182 +f 474/526/181 486/539/181 487/540/181 475/527/181 +f 475/528/192 487/541/192 488/542/192 476/529/192 +f 476/529/191 488/542/191 489/543/191 477/530/191 +f 477/530/190 489/543/190 490/544/190 478/531/190 +f 478/531/189 490/544/189 491/545/189 479/532/189 +f 479/532/188 491/545/188 492/546/188 480/533/188 +f 480/533/187 492/546/187 481/534/187 469/521/187 +f 481/534/198 493/547/198 494/548/198 482/535/198 +f 482/535/197 494/548/197 495/549/197 483/536/197 +f 483/536/196 495/549/196 496/550/196 484/537/196 +f 484/537/195 496/550/195 497/551/195 485/538/195 +f 485/538/194 497/551/194 498/552/194 486/539/194 +f 486/539/193 498/552/193 499/553/193 487/540/193 +f 487/541/204 499/554/204 500/555/204 488/542/204 +f 488/542/203 500/555/203 501/556/203 489/543/203 +f 489/543/202 501/556/202 502/557/202 490/544/202 +f 490/544/201 502/557/201 503/558/201 491/545/201 +f 491/545/200 503/558/200 504/559/200 492/546/200 +f 492/546/199 504/559/199 493/547/199 481/534/199 +f 493/547/210 505/560/210 506/561/210 494/548/210 +f 494/548/209 506/561/209 507/562/209 495/549/209 +f 495/549/208 507/562/208 508/563/208 496/550/208 +f 496/550/207 508/563/207 509/564/207 497/551/207 +f 497/551/206 509/564/206 510/565/206 498/552/206 +f 498/552/205 510/565/205 511/566/205 499/553/205 +f 499/554/216 511/567/216 512/568/216 500/555/216 +f 500/555/215 512/568/215 513/569/215 501/556/215 +f 501/556/214 513/569/214 514/570/214 502/557/214 +f 502/557/213 514/570/213 515/571/213 503/558/213 +f 503/558/212 515/571/212 516/572/212 504/559/212 +f 504/559/211 516/572/211 505/560/211 493/547/211 +f 505/560/222 517/573/222 518/574/222 506/561/222 +f 506/561/221 518/574/221 519/575/221 507/562/221 +f 507/562/220 519/575/220 520/576/220 508/563/220 +f 508/563/219 520/576/219 521/577/219 509/564/219 +f 509/564/218 521/577/218 522/578/218 510/565/218 +f 510/565/217 522/578/217 523/579/217 511/566/217 +f 511/567/228 523/580/228 524/581/228 512/568/228 +f 512/568/227 524/581/227 525/582/227 513/569/227 +f 513/569/226 525/582/226 526/583/226 514/570/226 +f 514/570/225 526/583/225 527/584/225 515/571/225 +f 515/571/224 527/584/224 528/585/224 516/572/224 +f 516/572/223 528/585/223 517/573/223 505/560/223 +f 517/573/234 529/586/234 530/587/234 518/574/234 +f 518/574/233 530/587/233 531/588/233 519/575/233 +f 519/575/232 531/588/232 532/589/232 520/576/232 +f 520/576/231 532/589/231 533/590/231 521/577/231 +f 521/577/230 533/590/230 534/591/230 522/578/230 +f 522/578/229 534/591/229 535/592/229 523/579/229 +f 523/580/240 535/593/240 536/594/240 524/581/240 +f 524/581/239 536/594/239 537/595/239 525/582/239 +f 525/582/238 537/595/238 538/596/238 526/583/238 +f 526/583/237 538/596/237 539/597/237 527/584/237 +f 527/584/236 539/597/236 540/598/236 528/585/236 +f 528/585/235 540/598/235 529/586/235 517/573/235 +f 529/586/246 541/599/246 542/600/246 530/587/246 +f 530/587/245 542/600/245 543/601/245 531/588/245 +f 531/588/244 543/601/244 544/602/244 532/589/244 +f 532/589/243 544/602/243 545/603/243 533/590/243 +f 533/590/242 545/603/242 546/604/242 534/591/242 +f 534/591/241 546/604/241 547/605/241 535/592/241 +f 535/593/252 547/606/252 548/607/252 536/594/252 +f 536/594/251 548/607/251 549/608/251 537/595/251 +f 537/595/250 549/608/250 550/609/250 538/596/250 +f 538/596/249 550/609/249 551/610/249 539/597/249 +f 539/597/248 551/610/248 552/611/248 540/598/248 +f 540/598/247 552/611/247 541/599/247 529/586/247 +f 541/599/258 553/612/258 554/613/258 542/600/258 +f 542/600/257 554/613/257 555/614/257 543/601/257 +f 543/601/256 555/614/256 556/615/256 544/602/256 +f 544/602/255 556/615/255 557/616/255 545/603/255 +f 545/603/254 557/616/254 558/617/254 546/604/254 +f 546/604/253 558/617/253 559/618/253 547/605/253 +f 547/606/264 559/619/264 560/620/264 548/607/264 +f 548/607/263 560/620/263 561/621/263 549/608/263 +f 549/608/262 561/621/262 562/622/262 550/609/262 +f 550/609/261 562/622/261 563/623/261 551/610/261 +f 551/610/260 563/623/260 564/624/260 552/611/260 +f 552/611/259 564/624/259 553/612/259 541/599/259 +f 553/612/270 565/625/270 566/626/270 554/613/270 +f 554/613/269 566/626/269 567/627/269 555/614/269 +f 555/614/268 567/627/268 568/628/268 556/615/268 +f 556/615/267 568/628/267 569/629/267 557/616/267 +f 557/616/266 569/629/266 570/630/266 558/617/266 +f 558/617/265 570/630/265 571/631/265 559/618/265 +f 559/619/276 571/632/276 572/633/276 560/620/276 +f 560/620/275 572/633/275 573/634/275 561/621/275 +f 561/621/274 573/634/274 574/635/274 562/622/274 +f 562/622/273 574/635/273 575/636/273 563/623/273 +f 563/623/272 575/636/272 576/637/272 564/624/272 +f 564/624/271 576/637/271 565/625/271 553/612/271 +f 565/625/282 1/1/282 2/4/282 566/626/282 +f 566/626/281 2/4/281 3/6/281 567/627/281 +f 567/627/280 3/6/280 4/8/280 568/628/280 +f 568/628/279 4/8/279 5/10/279 569/629/279 +f 569/629/278 5/10/278 6/12/278 570/630/278 +f 570/630/277 6/12/277 7/14/277 571/631/277 +f 571/632/288 7/15/288 8/18/288 572/633/288 +f 572/633/287 8/18/287 9/20/287 573/634/287 +f 573/634/286 9/20/286 10/22/286 574/635/286 +f 574/635/285 10/22/285 11/24/285 575/636/285 +f 575/636/284 11/24/284 12/26/284 576/637/284 +f 576/637/283 12/26/283 1/1/283 565/625/283 diff --git a/src/main/resources/assets/saturnclient/models/cosmetic/hat/horns/model.json b/src/main/resources/assets/saturnclient/models/cosmetic/hat/horns/model.json new file mode 100644 index 0000000..1387e00 --- /dev/null +++ b/src/main/resources/assets/saturnclient/models/cosmetic/hat/horns/model.json @@ -0,0 +1,4 @@ +{ + "translate": [0.0, 0.25, 0.0], + "scale": [0.25, 0.25, 0.25] +} \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/models/cosmetic/hat/horns/model.obj b/src/main/resources/assets/saturnclient/models/cosmetic/hat/horns/model.obj new file mode 100644 index 0000000..ae6f75c --- /dev/null +++ b/src/main/resources/assets/saturnclient/models/cosmetic/hat/horns/model.obj @@ -0,0 +1,1109 @@ +# Blender 4.4.0 +# www.blender.org +mtllib horns.mtl +o Cylinder.002 +v -1.242236 1.125547 0.100000 +v -0.992896 1.414159 0.021275 +v -1.261081 1.130596 0.098079 +v -0.996905 1.415234 0.020866 +v -1.279201 1.135451 0.092388 +v -1.000761 1.416267 0.019656 +v -1.295900 1.139926 0.083147 +v -1.004313 1.417219 0.017690 +v -1.310538 1.143848 0.070711 +v -1.007428 1.418053 0.015044 +v -1.322550 1.147067 0.055557 +v -1.009983 1.418738 0.011820 +v -1.331476 1.149459 0.038268 +v -1.011882 1.419247 0.008142 +v -1.336973 1.150931 0.019509 +v -1.013052 1.419560 0.004151 +v -1.338829 1.151429 0.000000 +v -1.013447 1.419666 -0.000000 +v -1.336973 1.150931 -0.019509 +v -1.013052 1.419560 -0.004151 +v -1.331476 1.149459 -0.038268 +v -1.011882 1.419247 -0.008142 +v -1.322550 1.147067 -0.055557 +v -1.009983 1.418738 -0.011820 +v -1.310538 1.143848 -0.070711 +v -1.007428 1.418053 -0.015044 +v -1.295900 1.139926 -0.083147 +v -1.004313 1.417219 -0.017690 +v -1.279201 1.135451 -0.092388 +v -1.000761 1.416267 -0.019656 +v -1.261081 1.130596 -0.098079 +v -0.996905 1.415234 -0.020866 +v -1.242236 1.125547 -0.100000 +v -0.992896 1.414159 -0.021275 +v -1.223392 1.120497 -0.098079 +v -0.988887 1.413085 -0.020866 +v -1.205272 1.115642 -0.092388 +v -0.985032 1.412052 -0.019656 +v -1.188572 1.111168 -0.083147 +v -0.981479 1.411100 -0.017690 +v -1.173935 1.107245 -0.070711 +v -0.978365 1.410266 -0.015044 +v -1.161923 1.104027 -0.055557 +v -0.975809 1.409581 -0.011820 +v -1.152996 1.101635 -0.038268 +v -0.973910 1.409072 -0.008142 +v -1.147500 1.100162 -0.019509 +v -0.972741 1.408759 -0.004151 +v -1.145644 1.099665 -0.000000 +v -0.972346 1.408653 -0.000000 +v -1.147500 1.100162 0.019509 +v -0.972741 1.408759 0.004151 +v -1.152996 1.101635 0.038268 +v -0.973910 1.409072 0.008142 +v -1.161923 1.104027 0.055557 +v -0.975809 1.409581 0.011820 +v -1.173935 1.107245 0.070711 +v -0.978365 1.410266 0.015044 +v -1.188572 1.111168 0.083147 +v -0.981479 1.411100 0.017690 +v -1.205272 1.115642 0.092388 +v -0.985032 1.412052 0.019656 +v -1.223392 1.120497 0.098079 +v -0.988887 1.413085 0.020866 +v -1.211112 0.788704 0.150000 +v -1.235372 0.772340 0.147118 +v -1.258701 0.756605 0.138582 +v -1.280200 0.742103 0.124720 +v -1.299044 0.729392 0.106066 +v -1.314510 0.718961 0.083336 +v -1.326001 0.711210 0.057403 +v -1.333078 0.706437 0.029264 +v -1.335467 0.704825 0.000000 +v -1.333078 0.706437 -0.029264 +v -1.326001 0.711210 -0.057403 +v -1.314510 0.718961 -0.083336 +v -1.299044 0.729392 -0.106066 +v -1.280200 0.742103 -0.124720 +v -1.258701 0.756605 -0.138582 +v -1.235372 0.772340 -0.147118 +v -1.211112 0.788704 -0.150000 +v -1.186851 0.805068 -0.147118 +v -1.163523 0.820803 -0.138582 +v -1.142023 0.835304 -0.124720 +v -1.123179 0.848015 -0.106066 +v -1.107714 0.858447 -0.083336 +v -1.096222 0.866198 -0.057403 +v -1.089146 0.870971 -0.029264 +v -1.086756 0.872583 -0.000000 +v -1.089146 0.870971 0.029264 +v -1.096222 0.866198 0.057403 +v -1.107714 0.858447 0.083336 +v -1.123179 0.848015 0.106066 +v -1.142023 0.835304 0.124720 +v -1.163523 0.820803 0.138582 +v -1.186851 0.805068 0.147118 +v -0.880525 0.487694 0.190000 +v -1.067972 0.630938 0.190000 +v -0.901786 0.457330 0.186349 +v -1.089233 0.600574 0.186349 +v -0.922230 0.428133 0.175537 +v -1.109677 0.571377 0.175537 +v -0.941071 0.401225 0.157979 +v -1.128518 0.544469 0.157979 +v -0.957585 0.377640 0.134350 +v -1.145033 0.520884 0.134350 +v -0.971138 0.358285 0.105558 +v -1.158586 0.501529 0.105558 +v -0.981209 0.343902 0.072710 +v -1.168656 0.487146 0.072710 +v -0.987411 0.335045 0.037067 +v -1.174858 0.478289 0.037067 +v -0.989505 0.332055 -0.000000 +v -1.176952 0.475299 -0.000000 +v -0.987411 0.335045 -0.037067 +v -1.174858 0.478289 -0.037067 +v -0.981209 0.343902 -0.072710 +v -1.168656 0.487146 -0.072710 +v -0.971138 0.358285 -0.105558 +v -1.158586 0.501529 -0.105558 +v -0.957585 0.377640 -0.134350 +v -1.145033 0.520884 -0.134350 +v -0.941071 0.401225 -0.157979 +v -1.128518 0.544469 -0.157979 +v -0.922230 0.428133 -0.175537 +v -1.109677 0.571377 -0.175537 +v -0.901786 0.457330 -0.186349 +v -1.089233 0.600574 -0.186349 +v -0.880525 0.487694 -0.190000 +v -1.067972 0.630938 -0.190000 +v -0.859264 0.518057 -0.186349 +v -1.046712 0.661301 -0.186349 +v -0.838820 0.547254 -0.175537 +v -1.026268 0.690498 -0.175537 +v -0.819979 0.574162 -0.157979 +v -1.007427 0.717406 -0.157979 +v -0.803465 0.597747 -0.134350 +v -0.990912 0.740991 -0.134350 +v -0.789912 0.617103 -0.105558 +v -0.977359 0.760347 -0.105558 +v -0.779841 0.631485 -0.072710 +v -0.967288 0.774729 -0.072710 +v -0.773640 0.640342 -0.037067 +v -0.961087 0.783586 -0.037067 +v -0.771546 0.643333 -0.000000 +v -0.958993 0.786576 -0.000000 +v -0.773640 0.640342 0.037067 +v -0.961087 0.783586 0.037067 +v -0.779841 0.631485 0.072710 +v -0.967288 0.774729 0.072710 +v -0.789912 0.617103 0.105558 +v -0.977359 0.760347 0.105558 +v -0.803465 0.597747 0.134350 +v -0.990912 0.740991 0.134350 +v -0.819979 0.574162 0.157979 +v -1.007427 0.717406 0.157979 +v -0.838820 0.547254 0.175537 +v -1.026268 0.690498 0.175537 +v -0.859264 0.518057 0.186349 +v -1.046712 0.661301 0.186349 +vn -0.0225 0.2811 0.9594 +vn -0.1736 0.4046 0.8979 +vn -0.3068 0.5120 0.8023 +vn -0.4181 0.6006 0.6815 +vn -0.5061 0.6697 0.5434 +vn -0.5708 0.7202 0.3943 +vn -0.6132 0.7530 0.2388 +vn -0.6341 0.7691 0.0799 +vn -0.6341 0.7691 -0.0799 +vn -0.6132 0.7530 -0.2388 +vn -0.5708 0.7202 -0.3943 +vn -0.5061 0.6697 -0.5434 +vn -0.4181 0.6006 -0.6815 +vn -0.3068 0.5120 -0.8023 +vn -0.1736 0.4046 -0.8979 +vn -0.0225 0.2811 -0.9594 +vn 0.1392 0.1469 -0.9793 +vn 0.3019 0.0096 -0.9533 +vn 0.4554 -0.1219 -0.8819 +vn 0.5905 -0.2396 -0.7706 +vn 0.7015 -0.3374 -0.6277 +vn 0.7851 -0.4120 -0.4624 +vn 0.8407 -0.4620 -0.2826 +vn 0.8682 -0.4870 -0.0950 +vn 0.8682 -0.4870 0.0950 +vn 0.8407 -0.4620 0.2826 +vn 0.7851 -0.4120 0.4624 +vn 0.7015 -0.3374 0.6277 +vn 0.5905 -0.2396 0.7706 +vn 0.4554 -0.1219 0.8819 +vn 0.2588 0.9659 -0.0000 +vn 0.3019 0.0096 0.9533 +vn 0.1392 0.1469 0.9793 +vn 0.0687 0.1567 0.9853 +vn 0.0722 0.3343 0.9397 +vn -0.0596 -0.0779 0.9952 +vn -0.1764 -0.2308 0.9569 +vn -0.2864 -0.3748 0.8818 +vn -0.3854 -0.5043 0.7727 +vn -0.4695 -0.6144 0.6341 +vn -0.5356 -0.7009 0.4711 +vn -0.5811 -0.7604 0.2901 +vn -0.6043 -0.7907 0.0979 +vn -0.6043 -0.7907 -0.0979 +vn -0.5811 -0.7604 -0.2901 +vn -0.5356 -0.7009 -0.4711 +vn -0.4695 -0.6144 -0.6341 +vn -0.3854 -0.5043 -0.7727 +vn -0.2864 -0.3748 -0.8818 +vn -0.1764 -0.2308 -0.9569 +vn -0.0596 -0.0779 -0.9952 +vn 0.0596 0.0779 -0.9952 +vn 0.1764 0.2308 -0.9569 +vn 0.2864 0.3748 -0.8818 +vn 0.3854 0.5043 -0.7727 +vn 0.4695 0.6144 -0.6341 +vn 0.5356 0.7009 -0.4711 +vn 0.5811 0.7604 -0.2901 +vn 0.6043 0.7907 -0.0979 +vn 0.6043 0.7907 0.0979 +vn 0.5811 0.7604 0.2901 +vn 0.5356 0.7009 0.4711 +vn 0.4695 0.6144 0.6341 +vn 0.3854 0.5043 0.7727 +vn 0.2864 0.3748 0.8818 +vn -0.0628 0.1980 0.9782 +vn 0.1764 0.2308 0.9569 +vn 0.0596 0.0779 0.9952 +vn 0.8192 -0.5736 -0.0000 +vn 0.1987 0.4621 0.8642 +vn 0.3116 0.5764 0.7554 +vn 0.4067 0.6728 0.6180 +vn 0.4805 0.7479 0.4579 +vn 0.5310 0.7993 0.2814 +vn 0.5565 0.8254 0.0949 +vn 0.5565 0.8254 -0.0949 +vn 0.5310 0.7993 -0.2814 +vn 0.4805 0.7479 -0.4579 +vn 0.4067 0.6728 -0.6180 +vn 0.3116 0.5764 -0.7554 +vn 0.1987 0.4621 -0.8642 +vn 0.0722 0.3343 -0.9397 +vn -0.0628 0.1980 -0.9782 +vn -0.2008 0.0589 -0.9779 +vn -0.3357 -0.0772 -0.9388 +vn -0.4620 -0.2046 -0.8629 +vn -0.5747 -0.3184 -0.7539 +vn -0.6696 -0.4141 -0.6166 +vn -0.7434 -0.4887 -0.4567 +vn -0.7938 -0.5396 -0.2806 +vn -0.8194 -0.5654 -0.0946 +vn -0.8194 -0.5654 0.0946 +vn -0.7938 -0.5396 0.2806 +vn -0.7434 -0.4887 0.4567 +vn -0.6696 -0.4141 0.6166 +vn -0.5747 -0.3184 0.7539 +vn -0.4620 -0.2046 0.8629 +vn -0.3357 -0.0772 0.9388 +vn -0.2008 0.0589 0.9779 +vn 0.2759 0.1827 0.9437 +vn 0.4667 0.2045 0.8604 +vn 0.6317 0.2217 0.7429 +vn 0.7653 0.2341 0.5996 +vn 0.8653 0.2424 0.4388 +vn 0.9314 0.2474 0.2671 +vn 0.9642 0.2497 0.0896 +vn 0.9642 0.2497 -0.0896 +vn 0.9314 0.2474 -0.2671 +vn 0.8653 0.2424 -0.4388 +vn 0.7653 0.2341 -0.5996 +vn 0.6317 0.2217 -0.7429 +vn 0.4667 0.2045 -0.8604 +vn 0.2759 0.1827 -0.9437 +vn 0.0687 0.1567 -0.9853 +vn -0.1430 0.1281 -0.9814 +vn -0.3462 0.0988 -0.9330 +vn -0.5298 0.0708 -0.8452 +vn -0.6862 0.0458 -0.7260 +vn -0.8115 0.0249 -0.5838 +vn -0.9046 0.0090 -0.4262 +vn -0.9659 -0.0018 -0.2591 +vn -0.9962 -0.0072 -0.0869 +vn -0.9962 -0.0072 0.0869 +vn -0.9659 -0.0018 0.2591 +vn -0.9046 0.0090 0.4262 +vn -0.8115 0.0249 0.5838 +vn -0.6862 0.0458 0.7260 +vn -0.5298 0.0708 0.8452 +vn -0.3462 0.0988 0.9330 +vn -0.1430 0.1281 0.9814 +vt 1.000000 0.500000 +vt 1.000000 1.000000 +vt 0.968750 1.000000 +vt 0.968750 0.500000 +vt 0.937500 1.000000 +vt 0.937500 0.500000 +vt 0.906250 1.000000 +vt 0.906250 0.500000 +vt 0.875000 1.000000 +vt 0.875000 0.500000 +vt 0.843750 1.000000 +vt 0.843750 0.500000 +vt 0.812500 1.000000 +vt 0.812500 0.500000 +vt 0.781250 1.000000 +vt 0.781250 0.500000 +vt 0.750000 1.000000 +vt 0.750000 0.500000 +vt 0.718750 1.000000 +vt 0.718750 0.500000 +vt 0.687500 1.000000 +vt 0.687500 0.500000 +vt 0.656250 1.000000 +vt 0.656250 0.500000 +vt 0.625000 1.000000 +vt 0.625000 0.500000 +vt 0.593750 1.000000 +vt 0.593750 0.500000 +vt 0.562500 1.000000 +vt 0.562500 0.500000 +vt 0.531250 1.000000 +vt 0.531250 0.500000 +vt 0.500000 1.000000 +vt 0.500000 0.500000 +vt 0.468750 1.000000 +vt 0.468750 0.500000 +vt 0.437500 1.000000 +vt 0.437500 0.500000 +vt 0.406250 1.000000 +vt 0.406250 0.500000 +vt 0.375000 1.000000 +vt 0.375000 0.500000 +vt 0.343750 1.000000 +vt 0.343750 0.500000 +vt 0.312500 1.000000 +vt 0.312500 0.500000 +vt 0.281250 1.000000 +vt 0.281250 0.500000 +vt 0.250000 1.000000 +vt 0.250000 0.500000 +vt 0.218750 1.000000 +vt 0.218750 0.500000 +vt 0.187500 1.000000 +vt 0.187500 0.500000 +vt 0.156250 1.000000 +vt 0.156250 0.500000 +vt 0.125000 1.000000 +vt 0.125000 0.500000 +vt 0.093750 1.000000 +vt 0.093750 0.500000 +vt 0.062500 1.000000 +vt 0.062500 0.500000 +vt 0.296822 0.485388 +vt 0.250000 0.490000 +vt 0.203178 0.485388 +vt 0.158156 0.471731 +vt 0.116663 0.449553 +vt 0.080294 0.419706 +vt 0.050447 0.383337 +vt 0.028269 0.341844 +vt 0.014612 0.296822 +vt 0.010000 0.250000 +vt 0.014612 0.203178 +vt 0.028269 0.158156 +vt 0.050447 0.116663 +vt 0.080294 0.080294 +vt 0.116663 0.050447 +vt 0.158156 0.028269 +vt 0.203178 0.014612 +vt 0.250000 0.010000 +vt 0.296822 0.014612 +vt 0.341844 0.028269 +vt 0.383337 0.050447 +vt 0.419706 0.080294 +vt 0.449553 0.116663 +vt 0.471731 0.158156 +vt 0.485388 0.203178 +vt 0.490000 0.250000 +vt 0.485388 0.296822 +vt 0.471731 0.341844 +vt 0.449553 0.383337 +vt 0.419706 0.419706 +vt 0.383337 0.449553 +vt 0.341844 0.471731 +vt 0.031250 1.000000 +vt 0.031250 0.500000 +vt 0.000000 1.000000 +vt 0.000000 0.500000 +vt 0.750000 0.490000 +vt 0.796822 0.485388 +vt 0.841844 0.471731 +vt 0.883337 0.449553 +vt 0.919706 0.419706 +vt 0.949553 0.383337 +vt 0.971731 0.341844 +vt 0.985388 0.296822 +vt 0.990000 0.250000 +vt 0.985388 0.203178 +vt 0.971731 0.158156 +vt 0.949553 0.116663 +vt 0.919706 0.080294 +vt 0.883337 0.050447 +vt 0.841844 0.028269 +vt 0.796822 0.014612 +vt 0.750000 0.010000 +vt 0.703178 0.014612 +vt 0.658156 0.028269 +vt 0.616663 0.050447 +vt 0.580294 0.080294 +vt 0.550447 0.116663 +vt 0.528269 0.158156 +vt 0.514612 0.203178 +vt 0.510000 0.250000 +vt 0.514612 0.296822 +vt 0.528269 0.341844 +vt 0.550447 0.383337 +vt 0.580294 0.419706 +vt 0.616663 0.449553 +vt 0.658156 0.471731 +vt 0.703178 0.485388 +usemtl tex +s off +f 1/1/1 2/2/1 4/3/1 3/4/1 +f 3/4/2 4/3/2 6/5/2 5/6/2 +f 5/6/3 6/5/3 8/7/3 7/8/3 +f 7/8/4 8/7/4 10/9/4 9/10/4 +f 9/10/5 10/9/5 12/11/5 11/12/5 +f 11/12/6 12/11/6 14/13/6 13/14/6 +f 13/14/7 14/13/7 16/15/7 15/16/7 +f 15/16/8 16/15/8 18/17/8 17/18/8 +f 17/18/9 18/17/9 20/19/9 19/20/9 +f 19/20/10 20/19/10 22/21/10 21/22/10 +f 21/22/11 22/21/11 24/23/11 23/24/11 +f 23/24/12 24/23/12 26/25/12 25/26/12 +f 25/26/13 26/25/13 28/27/13 27/28/13 +f 27/28/14 28/27/14 30/29/14 29/30/14 +f 29/30/15 30/29/15 32/31/15 31/32/15 +f 31/32/16 32/31/16 34/33/16 33/34/16 +f 33/34/17 34/33/17 36/35/17 35/36/17 +f 35/36/18 36/35/18 38/37/18 37/38/18 +f 37/38/19 38/37/19 40/39/19 39/40/19 +f 39/40/20 40/39/20 42/41/20 41/42/20 +f 41/42/21 42/41/21 44/43/21 43/44/21 +f 43/44/22 44/43/22 46/45/22 45/46/22 +f 45/46/23 46/45/23 48/47/23 47/48/23 +f 47/48/24 48/47/24 50/49/24 49/50/24 +f 49/50/25 50/49/25 52/51/25 51/52/25 +f 51/52/26 52/51/26 54/53/26 53/54/26 +f 53/54/27 54/53/27 56/55/27 55/56/27 +f 55/56/28 56/55/28 58/57/28 57/58/28 +f 57/58/29 58/57/29 60/59/29 59/60/29 +f 59/60/30 60/59/30 62/61/30 61/62/30 +f 4/63/31 2/64/31 64/65/31 62/66/31 60/67/31 58/68/31 56/69/31 54/70/31 52/71/31 50/72/31 48/73/31 46/74/31 44/75/31 42/76/31 40/77/31 38/78/31 36/79/31 34/80/31 32/81/31 30/82/31 28/83/31 26/84/31 24/85/31 22/86/31 20/87/31 18/88/31 16/89/31 14/90/31 12/91/31 10/92/31 8/93/31 6/94/31 +f 61/62/32 62/61/32 64/95/32 63/96/32 +f 63/96/33 64/95/33 2/97/33 1/98/33 +f 65/98/34 96/96/34 63/96/34 1/98/34 +f 160/95/35 158/61/35 95/62/35 96/96/35 +f 97/1/36 98/2/36 100/3/36 99/4/36 +f 99/4/37 100/3/37 102/5/37 101/6/37 +f 101/6/38 102/5/38 104/7/38 103/8/38 +f 103/8/39 104/7/39 106/9/39 105/10/39 +f 105/10/40 106/9/40 108/11/40 107/12/40 +f 107/12/41 108/11/41 110/13/41 109/14/41 +f 109/14/42 110/13/42 112/15/42 111/16/42 +f 111/16/43 112/15/43 114/17/43 113/18/43 +f 113/18/44 114/17/44 116/19/44 115/20/44 +f 115/20/45 116/19/45 118/21/45 117/22/45 +f 117/22/46 118/21/46 120/23/46 119/24/46 +f 119/24/47 120/23/47 122/25/47 121/26/47 +f 121/26/48 122/25/48 124/27/48 123/28/48 +f 123/28/49 124/27/49 126/29/49 125/30/49 +f 125/30/50 126/29/50 128/31/50 127/32/50 +f 127/32/51 128/31/51 130/33/51 129/34/51 +f 129/34/52 130/33/52 132/35/52 131/36/52 +f 131/36/53 132/35/53 134/37/53 133/38/53 +f 133/38/54 134/37/54 136/39/54 135/40/54 +f 135/40/55 136/39/55 138/41/55 137/42/55 +f 137/42/56 138/41/56 140/43/56 139/44/56 +f 139/44/57 140/43/57 142/45/57 141/46/57 +f 141/46/58 142/45/58 144/47/58 143/48/58 +f 143/48/59 144/47/59 146/49/59 145/50/59 +f 145/50/60 146/49/60 148/51/60 147/52/60 +f 147/52/61 148/51/61 150/53/61 149/54/61 +f 149/54/62 150/53/62 152/55/62 151/56/62 +f 151/56/63 152/55/63 154/57/63 153/58/63 +f 153/58/64 154/57/64 156/59/64 155/60/64 +f 155/60/65 156/59/65 158/61/65 157/62/65 +f 98/97/66 160/95/66 96/96/66 65/98/66 +f 157/62/67 158/61/67 160/95/67 159/96/67 +f 159/96/68 160/95/68 98/97/68 97/98/68 +f 97/99/69 99/100/69 101/101/69 103/102/69 105/103/69 107/104/69 109/105/69 111/106/69 113/107/69 115/108/69 117/109/69 119/110/69 121/111/69 123/112/69 125/113/69 127/114/69 129/115/69 131/116/69 133/117/69 135/118/69 137/119/69 139/120/69 141/121/69 143/122/69 145/123/69 147/124/69 149/125/69 151/126/69 153/127/69 155/128/69 157/129/69 159/130/69 +f 158/61/70 156/59/70 94/60/70 95/62/70 +f 156/59/71 154/57/71 93/58/71 94/60/71 +f 154/57/72 152/55/72 92/56/72 93/58/72 +f 152/55/73 150/53/73 91/54/73 92/56/73 +f 150/53/74 148/51/74 90/52/74 91/54/74 +f 148/51/75 146/49/75 89/50/75 90/52/75 +f 146/49/76 144/47/76 88/48/76 89/50/76 +f 144/47/77 142/45/77 87/46/77 88/48/77 +f 142/45/78 140/43/78 86/44/78 87/46/78 +f 140/43/79 138/41/79 85/42/79 86/44/79 +f 138/41/80 136/39/80 84/40/80 85/42/80 +f 136/39/81 134/37/81 83/38/81 84/40/81 +f 134/37/82 132/35/82 82/36/82 83/38/82 +f 132/35/83 130/33/83 81/34/83 82/36/83 +f 130/33/84 128/31/84 80/32/84 81/34/84 +f 128/31/85 126/29/85 79/30/85 80/32/85 +f 126/29/86 124/27/86 78/28/86 79/30/86 +f 124/27/87 122/25/87 77/26/87 78/28/87 +f 122/25/88 120/23/88 76/24/88 77/26/88 +f 120/23/89 118/21/89 75/22/89 76/24/89 +f 118/21/90 116/19/90 74/20/90 75/22/90 +f 116/19/91 114/17/91 73/18/91 74/20/91 +f 114/17/92 112/15/92 72/16/92 73/18/92 +f 112/15/93 110/13/93 71/14/93 72/16/93 +f 110/13/94 108/11/94 70/12/94 71/14/94 +f 108/11/95 106/9/95 69/10/95 70/12/95 +f 106/9/96 104/7/96 68/8/96 69/10/96 +f 104/7/97 102/5/97 67/6/97 68/8/97 +f 102/5/98 100/3/98 66/4/98 67/6/98 +f 100/3/99 98/2/99 65/1/99 66/4/99 +f 96/96/100 95/62/100 61/62/100 63/96/100 +f 95/62/101 94/60/101 59/60/101 61/62/101 +f 94/60/102 93/58/102 57/58/102 59/60/102 +f 93/58/103 92/56/103 55/56/103 57/58/103 +f 92/56/104 91/54/104 53/54/104 55/56/104 +f 91/54/105 90/52/105 51/52/105 53/54/105 +f 90/52/106 89/50/106 49/50/106 51/52/106 +f 89/50/107 88/48/107 47/48/107 49/50/107 +f 88/48/108 87/46/108 45/46/108 47/48/108 +f 87/46/109 86/44/109 43/44/109 45/46/109 +f 86/44/110 85/42/110 41/42/110 43/44/110 +f 85/42/111 84/40/111 39/40/111 41/42/111 +f 84/40/112 83/38/112 37/38/112 39/40/112 +f 83/38/113 82/36/113 35/36/113 37/38/113 +f 82/36/114 81/34/114 33/34/114 35/36/114 +f 81/34/115 80/32/115 31/32/115 33/34/115 +f 80/32/116 79/30/116 29/30/116 31/32/116 +f 79/30/117 78/28/117 27/28/117 29/30/117 +f 78/28/118 77/26/118 25/26/118 27/28/118 +f 77/26/119 76/24/119 23/24/119 25/26/119 +f 76/24/120 75/22/120 21/22/120 23/24/120 +f 75/22/121 74/20/121 19/20/121 21/22/121 +f 74/20/122 73/18/122 17/18/122 19/20/122 +f 73/18/123 72/16/123 15/16/123 17/18/123 +f 72/16/124 71/14/124 13/14/124 15/16/124 +f 71/14/125 70/12/125 11/12/125 13/14/125 +f 70/12/126 69/10/126 9/10/126 11/12/126 +f 69/10/127 68/8/127 7/8/127 9/10/127 +f 68/8/128 67/6/128 5/6/128 7/8/128 +f 67/6/129 66/4/129 3/4/129 5/6/129 +f 66/4/130 65/1/130 1/1/130 3/4/130 +o Cylinder.003 +v 1.242236 1.125547 -0.100000 +v 0.992896 1.414159 -0.021275 +v 1.261081 1.130596 -0.098079 +v 0.996905 1.415234 -0.020866 +v 1.279201 1.135451 -0.092388 +v 1.000761 1.416267 -0.019656 +v 1.295900 1.139926 -0.083147 +v 1.004313 1.417219 -0.017690 +v 1.310538 1.143848 -0.070711 +v 1.007428 1.418053 -0.015044 +v 1.322550 1.147067 -0.055557 +v 1.009983 1.418738 -0.011820 +v 1.331476 1.149459 -0.038268 +v 1.011882 1.419247 -0.008142 +v 1.336973 1.150931 -0.019509 +v 1.013052 1.419560 -0.004151 +v 1.338829 1.151429 0.000000 +v 1.013447 1.419666 0.000000 +v 1.336973 1.150931 0.019509 +v 1.013052 1.419560 0.004151 +v 1.331476 1.149459 0.038268 +v 1.011882 1.419247 0.008142 +v 1.322550 1.147067 0.055557 +v 1.009983 1.418738 0.011820 +v 1.310538 1.143848 0.070711 +v 1.007428 1.418053 0.015044 +v 1.295900 1.139926 0.083147 +v 1.004313 1.417219 0.017690 +v 1.279201 1.135451 0.092388 +v 1.000761 1.416267 0.019656 +v 1.261081 1.130596 0.098079 +v 0.996905 1.415234 0.020866 +v 1.242236 1.125547 0.100000 +v 0.992896 1.414159 0.021275 +v 1.223392 1.120497 0.098079 +v 0.988887 1.413085 0.020866 +v 1.205272 1.115642 0.092388 +v 0.985032 1.412052 0.019656 +v 1.188572 1.111168 0.083147 +v 0.981479 1.411100 0.017690 +v 1.173935 1.107245 0.070711 +v 0.978365 1.410266 0.015044 +v 1.161923 1.104027 0.055557 +v 0.975809 1.409581 0.011820 +v 1.152996 1.101635 0.038268 +v 0.973910 1.409072 0.008142 +v 1.147500 1.100162 0.019509 +v 0.972741 1.408759 0.004151 +v 1.145644 1.099665 0.000000 +v 0.972346 1.408653 0.000000 +v 1.147500 1.100162 -0.019509 +v 0.972741 1.408759 -0.004151 +v 1.152996 1.101635 -0.038268 +v 0.973910 1.409072 -0.008142 +v 1.161923 1.104027 -0.055557 +v 0.975809 1.409581 -0.011820 +v 1.173935 1.107245 -0.070711 +v 0.978365 1.410266 -0.015044 +v 1.188572 1.111168 -0.083147 +v 0.981479 1.411100 -0.017690 +v 1.205272 1.115642 -0.092388 +v 0.985032 1.412052 -0.019656 +v 1.223392 1.120497 -0.098079 +v 0.988887 1.413085 -0.020866 +v 1.211112 0.788704 -0.150000 +v 1.235372 0.772340 -0.147118 +v 1.258701 0.756605 -0.138582 +v 1.280200 0.742103 -0.124720 +v 1.299044 0.729392 -0.106066 +v 1.314510 0.718961 -0.083336 +v 1.326001 0.711210 -0.057403 +v 1.333078 0.706437 -0.029264 +v 1.335467 0.704825 0.000000 +v 1.333078 0.706437 0.029264 +v 1.326001 0.711210 0.057403 +v 1.314510 0.718961 0.083336 +v 1.299044 0.729392 0.106066 +v 1.280200 0.742103 0.124720 +v 1.258701 0.756605 0.138582 +v 1.235372 0.772340 0.147118 +v 1.211112 0.788704 0.150000 +v 1.186851 0.805068 0.147118 +v 1.163523 0.820803 0.138582 +v 1.142023 0.835304 0.124720 +v 1.123179 0.848015 0.106066 +v 1.107714 0.858447 0.083336 +v 1.096222 0.866198 0.057403 +v 1.089146 0.870971 0.029264 +v 1.086756 0.872583 0.000000 +v 1.089146 0.870971 -0.029264 +v 1.096222 0.866198 -0.057403 +v 1.107714 0.858447 -0.083336 +v 1.123179 0.848015 -0.106066 +v 1.142023 0.835304 -0.124720 +v 1.163523 0.820803 -0.138582 +v 1.186851 0.805068 -0.147118 +v 0.880525 0.487694 -0.190000 +v 1.067972 0.630938 -0.190000 +v 0.901786 0.457330 -0.186349 +v 1.089233 0.600574 -0.186349 +v 0.922230 0.428133 -0.175537 +v 1.109677 0.571377 -0.175537 +v 0.941071 0.401225 -0.157979 +v 1.128518 0.544469 -0.157979 +v 0.957585 0.377640 -0.134350 +v 1.145033 0.520884 -0.134350 +v 0.971138 0.358285 -0.105558 +v 1.158586 0.501529 -0.105558 +v 0.981209 0.343902 -0.072710 +v 1.168656 0.487146 -0.072710 +v 0.987411 0.335045 -0.037067 +v 1.174858 0.478289 -0.037067 +v 0.989505 0.332055 -0.000000 +v 1.176952 0.475299 0.000000 +v 0.987411 0.335045 0.037067 +v 1.174858 0.478289 0.037067 +v 0.981209 0.343902 0.072710 +v 1.168656 0.487146 0.072710 +v 0.971138 0.358285 0.105558 +v 1.158586 0.501529 0.105558 +v 0.957585 0.377640 0.134350 +v 1.145033 0.520884 0.134350 +v 0.941071 0.401225 0.157979 +v 1.128518 0.544469 0.157979 +v 0.922230 0.428133 0.175537 +v 1.109677 0.571377 0.175537 +v 0.901786 0.457330 0.186349 +v 1.089233 0.600574 0.186349 +v 0.880525 0.487694 0.190000 +v 1.067972 0.630938 0.190000 +v 0.859264 0.518057 0.186349 +v 1.046712 0.661301 0.186349 +v 0.838820 0.547254 0.175537 +v 1.026268 0.690498 0.175537 +v 0.819979 0.574162 0.157979 +v 1.007427 0.717406 0.157979 +v 0.803465 0.597747 0.134350 +v 0.990912 0.740991 0.134350 +v 0.789912 0.617103 0.105558 +v 0.977359 0.760347 0.105558 +v 0.779841 0.631485 0.072710 +v 0.967288 0.774729 0.072710 +v 0.773640 0.640342 0.037067 +v 0.961087 0.783586 0.037067 +v 0.771546 0.643333 -0.000000 +v 0.958993 0.786576 0.000000 +v 0.773640 0.640342 -0.037067 +v 0.961087 0.783586 -0.037067 +v 0.779841 0.631485 -0.072710 +v 0.967288 0.774729 -0.072710 +v 0.789912 0.617103 -0.105558 +v 0.977359 0.760347 -0.105558 +v 0.803465 0.597747 -0.134350 +v 0.990912 0.740991 -0.134350 +v 0.819979 0.574162 -0.157979 +v 1.007427 0.717406 -0.157979 +v 0.838820 0.547254 -0.175537 +v 1.026268 0.690498 -0.175537 +v 0.859264 0.518057 -0.186349 +v 1.046712 0.661301 -0.186349 +vn 0.0225 0.2811 -0.9594 +vn 0.1736 0.4046 -0.8979 +vn 0.3068 0.5120 -0.8023 +vn 0.4181 0.6006 -0.6815 +vn 0.5061 0.6697 -0.5434 +vn 0.5708 0.7202 -0.3943 +vn 0.6132 0.7530 -0.2388 +vn 0.6341 0.7691 -0.0799 +vn 0.6341 0.7691 0.0799 +vn 0.6132 0.7530 0.2388 +vn 0.5708 0.7202 0.3943 +vn 0.5061 0.6697 0.5434 +vn 0.4181 0.6006 0.6815 +vn 0.3068 0.5120 0.8023 +vn 0.1736 0.4046 0.8979 +vn 0.0225 0.2811 0.9594 +vn -0.1392 0.1469 0.9793 +vn -0.3019 0.0096 0.9533 +vn -0.4554 -0.1219 0.8819 +vn -0.5905 -0.2396 0.7706 +vn -0.7015 -0.3374 0.6277 +vn -0.7851 -0.4120 0.4624 +vn -0.8407 -0.4620 0.2826 +vn -0.8682 -0.4870 0.0950 +vn -0.8682 -0.4870 -0.0950 +vn -0.8407 -0.4620 -0.2826 +vn -0.7851 -0.4120 -0.4624 +vn -0.7015 -0.3374 -0.6277 +vn -0.5905 -0.2396 -0.7706 +vn -0.4554 -0.1219 -0.8819 +vn -0.2588 0.9659 -0.0000 +vn -0.3019 0.0096 -0.9533 +vn -0.1392 0.1469 -0.9793 +vn -0.0687 0.1567 -0.9853 +vn -0.0722 0.3343 -0.9397 +vn 0.0596 -0.0779 -0.9952 +vn 0.1764 -0.2308 -0.9569 +vn 0.2864 -0.3748 -0.8818 +vn 0.3854 -0.5043 -0.7727 +vn 0.4695 -0.6144 -0.6341 +vn 0.5356 -0.7009 -0.4711 +vn 0.5811 -0.7604 -0.2901 +vn 0.6043 -0.7907 -0.0979 +vn 0.6043 -0.7907 0.0979 +vn 0.5811 -0.7604 0.2901 +vn 0.5356 -0.7009 0.4711 +vn 0.4695 -0.6144 0.6341 +vn 0.3854 -0.5043 0.7727 +vn 0.2864 -0.3748 0.8818 +vn 0.1764 -0.2308 0.9569 +vn 0.0596 -0.0779 0.9952 +vn -0.0596 0.0779 0.9952 +vn -0.1764 0.2308 0.9569 +vn -0.2864 0.3748 0.8818 +vn -0.3854 0.5043 0.7727 +vn -0.4695 0.6144 0.6341 +vn -0.5356 0.7009 0.4711 +vn -0.5811 0.7604 0.2901 +vn -0.6043 0.7907 0.0979 +vn -0.6043 0.7907 -0.0979 +vn -0.5811 0.7604 -0.2901 +vn -0.5356 0.7009 -0.4711 +vn -0.4695 0.6144 -0.6341 +vn -0.3854 0.5043 -0.7727 +vn -0.2864 0.3748 -0.8818 +vn 0.0628 0.1980 -0.9782 +vn -0.1764 0.2308 -0.9569 +vn -0.0596 0.0779 -0.9952 +vn -0.8192 -0.5736 -0.0000 +vn -0.1987 0.4621 -0.8642 +vn -0.3116 0.5764 -0.7554 +vn -0.4067 0.6728 -0.6180 +vn -0.4805 0.7479 -0.4579 +vn -0.5310 0.7993 -0.2814 +vn -0.5565 0.8254 -0.0949 +vn -0.5565 0.8254 0.0949 +vn -0.5310 0.7993 0.2814 +vn -0.4805 0.7479 0.4579 +vn -0.4067 0.6728 0.6180 +vn -0.3116 0.5764 0.7554 +vn -0.1987 0.4621 0.8642 +vn -0.0722 0.3343 0.9397 +vn 0.0628 0.1980 0.9782 +vn 0.2008 0.0589 0.9779 +vn 0.3357 -0.0772 0.9388 +vn 0.4620 -0.2046 0.8629 +vn 0.5747 -0.3184 0.7539 +vn 0.6696 -0.4141 0.6166 +vn 0.7434 -0.4887 0.4567 +vn 0.7938 -0.5396 0.2806 +vn 0.8194 -0.5654 0.0946 +vn 0.8194 -0.5654 -0.0946 +vn 0.7938 -0.5396 -0.2806 +vn 0.7434 -0.4887 -0.4567 +vn 0.6696 -0.4141 -0.6166 +vn 0.5747 -0.3184 -0.7539 +vn 0.4620 -0.2046 -0.8629 +vn 0.3357 -0.0772 -0.9388 +vn 0.2008 0.0589 -0.9779 +vn -0.2759 0.1827 -0.9437 +vn -0.4667 0.2045 -0.8604 +vn -0.6317 0.2217 -0.7429 +vn -0.7653 0.2341 -0.5996 +vn -0.8653 0.2424 -0.4388 +vn -0.9314 0.2474 -0.2671 +vn -0.9642 0.2497 -0.0896 +vn -0.9642 0.2497 0.0896 +vn -0.9314 0.2474 0.2671 +vn -0.8653 0.2424 0.4388 +vn -0.7653 0.2341 0.5996 +vn -0.6317 0.2217 0.7429 +vn -0.4667 0.2045 0.8604 +vn -0.2759 0.1827 0.9437 +vn -0.0687 0.1567 0.9853 +vn 0.1430 0.1281 0.9814 +vn 0.3462 0.0988 0.9330 +vn 0.5298 0.0708 0.8452 +vn 0.6862 0.0458 0.7260 +vn 0.8115 0.0249 0.5838 +vn 0.9046 0.0090 0.4262 +vn 0.9659 -0.0018 0.2591 +vn 0.9962 -0.0072 0.0869 +vn 0.9962 -0.0072 -0.0869 +vn 0.9659 -0.0018 -0.2591 +vn 0.9046 0.0090 -0.4262 +vn 0.8115 0.0249 -0.5838 +vn 0.6862 0.0458 -0.7260 +vn 0.5298 0.0708 -0.8452 +vn 0.3462 0.0988 -0.9330 +vn 0.1430 0.1281 -0.9814 +vt 1.000000 0.500000 +vt 1.000000 1.000000 +vt 0.968750 1.000000 +vt 0.968750 0.500000 +vt 0.937500 1.000000 +vt 0.937500 0.500000 +vt 0.906250 1.000000 +vt 0.906250 0.500000 +vt 0.875000 1.000000 +vt 0.875000 0.500000 +vt 0.843750 1.000000 +vt 0.843750 0.500000 +vt 0.812500 1.000000 +vt 0.812500 0.500000 +vt 0.781250 1.000000 +vt 0.781250 0.500000 +vt 0.750000 1.000000 +vt 0.750000 0.500000 +vt 0.718750 1.000000 +vt 0.718750 0.500000 +vt 0.687500 1.000000 +vt 0.687500 0.500000 +vt 0.656250 1.000000 +vt 0.656250 0.500000 +vt 0.625000 1.000000 +vt 0.625000 0.500000 +vt 0.593750 1.000000 +vt 0.593750 0.500000 +vt 0.562500 1.000000 +vt 0.562500 0.500000 +vt 0.531250 1.000000 +vt 0.531250 0.500000 +vt 0.500000 1.000000 +vt 0.500000 0.500000 +vt 0.468750 1.000000 +vt 0.468750 0.500000 +vt 0.437500 1.000000 +vt 0.437500 0.500000 +vt 0.406250 1.000000 +vt 0.406250 0.500000 +vt 0.375000 1.000000 +vt 0.375000 0.500000 +vt 0.343750 1.000000 +vt 0.343750 0.500000 +vt 0.312500 1.000000 +vt 0.312500 0.500000 +vt 0.281250 1.000000 +vt 0.281250 0.500000 +vt 0.250000 1.000000 +vt 0.250000 0.500000 +vt 0.218750 1.000000 +vt 0.218750 0.500000 +vt 0.187500 1.000000 +vt 0.187500 0.500000 +vt 0.156250 1.000000 +vt 0.156250 0.500000 +vt 0.125000 1.000000 +vt 0.125000 0.500000 +vt 0.093750 1.000000 +vt 0.093750 0.500000 +vt 0.062500 1.000000 +vt 0.062500 0.500000 +vt 0.296822 0.485388 +vt 0.250000 0.490000 +vt 0.203178 0.485388 +vt 0.158156 0.471731 +vt 0.116663 0.449553 +vt 0.080294 0.419706 +vt 0.050447 0.383337 +vt 0.028269 0.341844 +vt 0.014612 0.296822 +vt 0.010000 0.250000 +vt 0.014612 0.203178 +vt 0.028269 0.158156 +vt 0.050447 0.116663 +vt 0.080294 0.080294 +vt 0.116663 0.050447 +vt 0.158156 0.028269 +vt 0.203178 0.014612 +vt 0.250000 0.010000 +vt 0.296822 0.014612 +vt 0.341844 0.028269 +vt 0.383337 0.050447 +vt 0.419706 0.080294 +vt 0.449553 0.116663 +vt 0.471731 0.158156 +vt 0.485388 0.203178 +vt 0.490000 0.250000 +vt 0.485388 0.296822 +vt 0.471731 0.341844 +vt 0.449553 0.383337 +vt 0.419706 0.419706 +vt 0.383337 0.449553 +vt 0.341844 0.471731 +vt 0.031250 1.000000 +vt 0.031250 0.500000 +vt 0.000000 1.000000 +vt 0.000000 0.500000 +vt 0.750000 0.490000 +vt 0.796822 0.485388 +vt 0.841844 0.471731 +vt 0.883337 0.449553 +vt 0.919706 0.419706 +vt 0.949553 0.383337 +vt 0.971731 0.341844 +vt 0.985388 0.296822 +vt 0.990000 0.250000 +vt 0.985388 0.203178 +vt 0.971731 0.158156 +vt 0.949553 0.116663 +vt 0.919706 0.080294 +vt 0.883337 0.050447 +vt 0.841844 0.028269 +vt 0.796822 0.014612 +vt 0.750000 0.010000 +vt 0.703178 0.014612 +vt 0.658156 0.028269 +vt 0.616663 0.050447 +vt 0.580294 0.080294 +vt 0.550447 0.116663 +vt 0.528269 0.158156 +vt 0.514612 0.203178 +vt 0.510000 0.250000 +vt 0.514612 0.296822 +vt 0.528269 0.341844 +vt 0.550447 0.383337 +vt 0.580294 0.419706 +vt 0.616663 0.449553 +vt 0.658156 0.471731 +vt 0.703178 0.485388 +usemtl tex +s off +f 161/131/131 162/132/131 164/133/131 163/134/131 +f 163/134/132 164/133/132 166/135/132 165/136/132 +f 165/136/133 166/135/133 168/137/133 167/138/133 +f 167/138/134 168/137/134 170/139/134 169/140/134 +f 169/140/135 170/139/135 172/141/135 171/142/135 +f 171/142/136 172/141/136 174/143/136 173/144/136 +f 173/144/137 174/143/137 176/145/137 175/146/137 +f 175/146/138 176/145/138 178/147/138 177/148/138 +f 177/148/139 178/147/139 180/149/139 179/150/139 +f 179/150/140 180/149/140 182/151/140 181/152/140 +f 181/152/141 182/151/141 184/153/141 183/154/141 +f 183/154/142 184/153/142 186/155/142 185/156/142 +f 185/156/143 186/155/143 188/157/143 187/158/143 +f 187/158/144 188/157/144 190/159/144 189/160/144 +f 189/160/145 190/159/145 192/161/145 191/162/145 +f 191/162/146 192/161/146 194/163/146 193/164/146 +f 193/164/147 194/163/147 196/165/147 195/166/147 +f 195/166/148 196/165/148 198/167/148 197/168/148 +f 197/168/149 198/167/149 200/169/149 199/170/149 +f 199/170/150 200/169/150 202/171/150 201/172/150 +f 201/172/151 202/171/151 204/173/151 203/174/151 +f 203/174/152 204/173/152 206/175/152 205/176/152 +f 205/176/153 206/175/153 208/177/153 207/178/153 +f 207/178/154 208/177/154 210/179/154 209/180/154 +f 209/180/155 210/179/155 212/181/155 211/182/155 +f 211/182/156 212/181/156 214/183/156 213/184/156 +f 213/184/157 214/183/157 216/185/157 215/186/157 +f 215/186/158 216/185/158 218/187/158 217/188/158 +f 217/188/159 218/187/159 220/189/159 219/190/159 +f 219/190/160 220/189/160 222/191/160 221/192/160 +f 164/193/161 162/194/161 224/195/161 222/196/161 220/197/161 218/198/161 216/199/161 214/200/161 212/201/161 210/202/161 208/203/161 206/204/161 204/205/161 202/206/161 200/207/161 198/208/161 196/209/161 194/210/161 192/211/161 190/212/161 188/213/161 186/214/161 184/215/161 182/216/161 180/217/161 178/218/161 176/219/161 174/220/161 172/221/161 170/222/161 168/223/161 166/224/161 +f 221/192/162 222/191/162 224/225/162 223/226/162 +f 223/226/163 224/225/163 162/227/163 161/228/163 +f 225/228/164 256/226/164 223/226/164 161/228/164 +f 320/225/165 318/191/165 255/192/165 256/226/165 +f 257/131/166 258/132/166 260/133/166 259/134/166 +f 259/134/167 260/133/167 262/135/167 261/136/167 +f 261/136/168 262/135/168 264/137/168 263/138/168 +f 263/138/169 264/137/169 266/139/169 265/140/169 +f 265/140/170 266/139/170 268/141/170 267/142/170 +f 267/142/171 268/141/171 270/143/171 269/144/171 +f 269/144/172 270/143/172 272/145/172 271/146/172 +f 271/146/173 272/145/173 274/147/173 273/148/173 +f 273/148/174 274/147/174 276/149/174 275/150/174 +f 275/150/175 276/149/175 278/151/175 277/152/175 +f 277/152/176 278/151/176 280/153/176 279/154/176 +f 279/154/177 280/153/177 282/155/177 281/156/177 +f 281/156/178 282/155/178 284/157/178 283/158/178 +f 283/158/179 284/157/179 286/159/179 285/160/179 +f 285/160/180 286/159/180 288/161/180 287/162/180 +f 287/162/181 288/161/181 290/163/181 289/164/181 +f 289/164/182 290/163/182 292/165/182 291/166/182 +f 291/166/183 292/165/183 294/167/183 293/168/183 +f 293/168/184 294/167/184 296/169/184 295/170/184 +f 295/170/185 296/169/185 298/171/185 297/172/185 +f 297/172/186 298/171/186 300/173/186 299/174/186 +f 299/174/187 300/173/187 302/175/187 301/176/187 +f 301/176/188 302/175/188 304/177/188 303/178/188 +f 303/178/189 304/177/189 306/179/189 305/180/189 +f 305/180/190 306/179/190 308/181/190 307/182/190 +f 307/182/191 308/181/191 310/183/191 309/184/191 +f 309/184/192 310/183/192 312/185/192 311/186/192 +f 311/186/193 312/185/193 314/187/193 313/188/193 +f 313/188/194 314/187/194 316/189/194 315/190/194 +f 315/190/195 316/189/195 318/191/195 317/192/195 +f 258/227/196 320/225/196 256/226/196 225/228/196 +f 317/192/197 318/191/197 320/225/197 319/226/197 +f 319/226/198 320/225/198 258/227/198 257/228/198 +f 257/229/199 259/230/199 261/231/199 263/232/199 265/233/199 267/234/199 269/235/199 271/236/199 273/237/199 275/238/199 277/239/199 279/240/199 281/241/199 283/242/199 285/243/199 287/244/199 289/245/199 291/246/199 293/247/199 295/248/199 297/249/199 299/250/199 301/251/199 303/252/199 305/253/199 307/254/199 309/255/199 311/256/199 313/257/199 315/258/199 317/259/199 319/260/199 +f 318/191/200 316/189/200 254/190/200 255/192/200 +f 316/189/201 314/187/201 253/188/201 254/190/201 +f 314/187/202 312/185/202 252/186/202 253/188/202 +f 312/185/203 310/183/203 251/184/203 252/186/203 +f 310/183/204 308/181/204 250/182/204 251/184/204 +f 308/181/205 306/179/205 249/180/205 250/182/205 +f 306/179/206 304/177/206 248/178/206 249/180/206 +f 304/177/207 302/175/207 247/176/207 248/178/207 +f 302/175/208 300/173/208 246/174/208 247/176/208 +f 300/173/209 298/171/209 245/172/209 246/174/209 +f 298/171/210 296/169/210 244/170/210 245/172/210 +f 296/169/211 294/167/211 243/168/211 244/170/211 +f 294/167/212 292/165/212 242/166/212 243/168/212 +f 292/165/213 290/163/213 241/164/213 242/166/213 +f 290/163/214 288/161/214 240/162/214 241/164/214 +f 288/161/215 286/159/215 239/160/215 240/162/215 +f 286/159/216 284/157/216 238/158/216 239/160/216 +f 284/157/217 282/155/217 237/156/217 238/158/217 +f 282/155/218 280/153/218 236/154/218 237/156/218 +f 280/153/219 278/151/219 235/152/219 236/154/219 +f 278/151/220 276/149/220 234/150/220 235/152/220 +f 276/149/221 274/147/221 233/148/221 234/150/221 +f 274/147/222 272/145/222 232/146/222 233/148/222 +f 272/145/223 270/143/223 231/144/223 232/146/223 +f 270/143/224 268/141/224 230/142/224 231/144/224 +f 268/141/225 266/139/225 229/140/225 230/142/225 +f 266/139/226 264/137/226 228/138/226 229/140/226 +f 264/137/227 262/135/227 227/136/227 228/138/227 +f 262/135/228 260/133/228 226/134/228 227/136/228 +f 260/133/229 258/132/229 225/131/229 226/134/229 +f 256/226/230 255/192/230 221/192/230 223/226/230 +f 255/192/231 254/190/231 219/190/231 221/192/231 +f 254/190/232 253/188/232 217/188/232 219/190/232 +f 253/188/233 252/186/233 215/186/233 217/188/233 +f 252/186/234 251/184/234 213/184/234 215/186/234 +f 251/184/235 250/182/235 211/182/235 213/184/235 +f 250/182/236 249/180/236 209/180/236 211/182/236 +f 249/180/237 248/178/237 207/178/237 209/180/237 +f 248/178/238 247/176/238 205/176/238 207/178/238 +f 247/176/239 246/174/239 203/174/239 205/176/239 +f 246/174/240 245/172/240 201/172/240 203/174/240 +f 245/172/241 244/170/241 199/170/241 201/172/241 +f 244/170/242 243/168/242 197/168/242 199/170/242 +f 243/168/243 242/166/243 195/166/243 197/168/243 +f 242/166/244 241/164/244 193/164/244 195/166/244 +f 241/164/245 240/162/245 191/162/245 193/164/245 +f 240/162/246 239/160/246 189/160/246 191/162/246 +f 239/160/247 238/158/247 187/158/247 189/160/247 +f 238/158/248 237/156/248 185/156/248 187/158/248 +f 237/156/249 236/154/249 183/154/249 185/156/249 +f 236/154/250 235/152/250 181/152/250 183/154/250 +f 235/152/251 234/150/251 179/150/251 181/152/251 +f 234/150/252 233/148/252 177/148/252 179/150/252 +f 233/148/253 232/146/253 175/146/253 177/148/253 +f 232/146/254 231/144/254 173/144/254 175/146/254 +f 231/144/255 230/142/255 171/142/255 173/144/255 +f 230/142/256 229/140/256 169/140/256 171/142/256 +f 229/140/257 228/138/257 167/138/257 169/140/257 +f 228/138/258 227/136/258 165/136/258 167/138/258 +f 227/136/259 226/134/259 163/134/259 165/136/259 +f 226/134/260 225/131/260 161/131/260 163/134/260 diff --git a/src/main/resources/assets/saturnclient/models/cosmetic/materials/black.mtl b/src/main/resources/assets/saturnclient/models/cosmetic/materials/black.mtl new file mode 100644 index 0000000..3661766 --- /dev/null +++ b/src/main/resources/assets/saturnclient/models/cosmetic/materials/black.mtl @@ -0,0 +1,13 @@ +# Blender MTL File: 'None' +# Material Count: 1 + +newmtl tex +Ns 250.000000 +Ka 1.000000 1.000000 1.000000 +Kd 0.800000 0.800000 0.800000 +Ks 0.500000 0.500000 0.500000 +Ke 0.000000 0.000000 0.000000 +Ni 1.450000 +d 1.000000 +illum 2 +map_Kd saturnclient:textures/item/halo_black.png diff --git a/src/main/resources/assets/saturnclient/models/cosmetic/materials/white.mtl b/src/main/resources/assets/saturnclient/models/cosmetic/materials/white.mtl new file mode 100644 index 0000000..9c0dc53 --- /dev/null +++ b/src/main/resources/assets/saturnclient/models/cosmetic/materials/white.mtl @@ -0,0 +1,13 @@ +# Blender MTL File: 'None' +# Material Count: 1 + +newmtl tex +Ns 250.000000 +Ka 1.000000 1.000000 1.000000 +Kd 0.800000 0.800000 0.800000 +Ks 0.500000 0.500000 0.500000 +Ke 0.000000 0.000000 0.000000 +Ni 1.450000 +d 1.000000 +illum 2 +map_Kd saturnclient:textures/item/halo.png diff --git a/src/main/resources/assets/saturnclient/player_animations/back_flip.json b/src/main/resources/assets/saturnclient/player_animations/back_flip.json new file mode 100644 index 0000000..3a15c12 --- /dev/null +++ b/src/main/resources/assets/saturnclient/player_animations/back_flip.json @@ -0,0 +1,1385 @@ +{ + "name": "back_flip", + "author": "Kale Ko", + "description": "Makes You Do A Back Flip", + "uuid": "ebfb1e69-330a-4970-8bca-f5625c90681a", + "emote":{ + "isLoop": "false", + "returnTick": 2, + "beginTick":0, + "endTick":80, + "stopTick":81, + "degrees":false, + "moves":[ + + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "head":{ + "y":-0.0 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "head":{ + "y":-0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "head":{ + "z":-0.0 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "head":{ + "z":-0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "head":{ + "x":-0.0 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "head":{ + "x":-0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "head":{ + "yaw":-0.0 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "head":{ + "yaw":-0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "head":{ + "roll":0.0 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "head":{ + "roll":0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "head":{ + "pitch":-0.2994975745677948 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "head":{ + "pitch":-0.0 + } + }, + { + "tick":10, + "easing": "EASEOUTQUAD", + "turn": 0, + "torso":{ + "yaw":0.0 + } + }, + { + "tick":15, + "easing": "EASEINSINE", + "turn": 0, + "torso":{ + "yaw":0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "torso":{ + "yaw":0.0 + } + }, + { + "tick":55, + "easing": "EASEOUTSINE", + "turn": 0, + "torso":{ + "yaw":0.0 + } + }, + { + "tick":70, + "easing": "CONSTANT", + "turn": 0, + "torso":{ + "yaw":0.0 + } + }, + { + "tick":71, + "easing": "LINEAR", + "turn": 0, + "torso":{ + "yaw":0.0 + } + }, + { + "tick":10, + "easing": "EASEOUTQUAD", + "turn": 0, + "torso":{ + "roll":-0.0 + } + }, + { + "tick":15, + "easing": "EASEINSINE", + "turn": 0, + "torso":{ + "roll":0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "torso":{ + "roll":0.0 + } + }, + { + "tick":55, + "easing": "EASEOUTSINE", + "turn": 0, + "torso":{ + "roll":0.0 + } + }, + { + "tick":70, + "easing": "CONSTANT", + "turn": 0, + "torso":{ + "roll":0.0 + } + }, + { + "tick":71, + "easing": "LINEAR", + "turn": 0, + "torso":{ + "roll":-0.0 + } + }, + { + "tick":10, + "easing": "EASEOUTQUAD", + "turn": 0, + "torso":{ + "pitch":0.0 + } + }, + { + "tick":15, + "easing": "EASEINSINE", + "turn": 0, + "torso":{ + "pitch":-0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "torso":{ + "pitch":0.9649674892425537 + } + }, + { + "tick":55, + "easing": "EASEOUTSINE", + "turn": 0, + "torso":{ + "pitch":5.110422611236572 + } + }, + { + "tick":70, + "easing": "CONSTANT", + "turn": 0, + "torso":{ + "pitch":6.2831854820251465 + } + }, + { + "tick":71, + "easing": "LINEAR", + "turn": 0, + "torso":{ + "pitch":0.0 + } + }, + { + "tick":10, + "easing": "EASEOUTQUAD", + "turn": 0, + "torso":{ + "y":-0.05682346969842911 + } + }, + { + "tick":40, + "easing": "EASEINQUAD", + "turn": 0, + "torso":{ + "y":1.46522855758667 + } + }, + { + "tick":71, + "easing": "LINEAR", + "turn": 0, + "torso":{ + "y":0.0 + } + }, + { + "tick":10, + "easing": "EASEOUTQUAD", + "turn": 0, + "torso":{ + "x":0.0 + } + }, + { + "tick":40, + "easing": "EASEINQUAD", + "turn": 0, + "torso":{ + "x":0.0 + } + }, + { + "tick":71, + "easing": "LINEAR", + "turn": 0, + "torso":{ + "x":0.0 + } + }, + { + "tick":10, + "easing": "EASEOUTQUAD", + "turn": 0, + "torso":{ + "z":-0.0 + } + }, + { + "tick":40, + "easing": "EASEINQUAD", + "turn": 0, + "torso":{ + "z":-0.0 + } + }, + { + "tick":71, + "easing": "LINEAR", + "turn": 0, + "torso":{ + "z":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "rightArm":{ + "yaw":-0.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "rightArm":{ + "yaw":-0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "yaw":-0.0 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightArm":{ + "yaw":-0.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "yaw":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "rightArm":{ + "roll":-0.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "rightArm":{ + "roll":0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "roll":-0.0 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightArm":{ + "roll":-0.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "roll":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "rightArm":{ + "y":2.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "rightArm":{ + "y":2.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "y":2.0 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightArm":{ + "y":2.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "y":2.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "rightArm":{ + "z":-0.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "rightArm":{ + "z":-0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "z":-0.0 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightArm":{ + "z":-0.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "z":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "rightArm":{ + "x":-5.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "rightArm":{ + "x":-5.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "x":-5.0 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightArm":{ + "x":-5.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "x":-5.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "rightArm":{ + "pitch":-0.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "rightArm":{ + "pitch":-3.4906585216522217 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "pitch":-3.665191411972046 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightArm":{ + "pitch":-2.7925267219543457 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "pitch":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "leftArm":{ + "roll":0.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "leftArm":{ + "roll":0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "roll":0.0 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftArm":{ + "roll":0.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "roll":0.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "leftArm":{ + "yaw":-0.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "leftArm":{ + "yaw":-0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "yaw":-0.0 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftArm":{ + "yaw":-0.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "yaw":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "leftArm":{ + "pitch":0.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "leftArm":{ + "pitch":-3.4906585216522217 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "pitch":-3.665191411972046 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftArm":{ + "pitch":-2.7925267219543457 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "pitch":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "leftArm":{ + "y":2.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "leftArm":{ + "y":2.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "y":2.0 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftArm":{ + "y":2.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "y":2.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "leftArm":{ + "z":-0.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "leftArm":{ + "z":-0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "z":-0.0 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftArm":{ + "z":-0.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "z":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "leftArm":{ + "x":5.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "leftArm":{ + "x":5.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "x":5.0 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftArm":{ + "x":5.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "x":5.0 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "rightLeg":{ + "yaw":-0.0 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "yaw":-0.0 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "yaw":-0.0 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "yaw":-0.0 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "yaw":-0.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "yaw":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "rightLeg":{ + "roll":-0.0 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "roll":-0.0 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "roll":0.0 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "roll":0.0 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "roll":0.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "roll":0.0 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "rightLeg":{ + "pitch":-0.0 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "pitch":0.2617993950843811 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "pitch":-0.0 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "pitch":0.45378559827804565 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "pitch":-0.1745329201221466 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "pitch":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "rightLeg":{ + "x":-1.9 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "x":-1.9 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "x":-1.9 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "x":-1.9 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "x":-1.9 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "x":-1.9 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "rightLeg":{ + "y":12.0 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "y":12.0 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "y":12.0 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "y":12.0 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "y":12.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "y":12.0 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "rightLeg":{ + "z":0.1 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "z":0.1 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "z":0.1 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "z":0.1 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "z":0.1 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "z":0.1 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "leftLeg":{ + "yaw":-0.0 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "yaw":-0.0 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "yaw":-0.0 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "yaw":-0.0 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "yaw":-0.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "yaw":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "leftLeg":{ + "roll":0.0 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "roll":-0.0 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "roll":-0.0 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "roll":-0.0 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "roll":-0.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "roll":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "leftLeg":{ + "pitch":-0.0 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "pitch":0.2617993950843811 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "pitch":-0.0 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "pitch":0.45378559827804565 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "pitch":-0.1745329201221466 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "pitch":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "leftLeg":{ + "y":12.0 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "y":12.0 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "y":12.0 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "y":12.0 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "y":12.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "y":12.0 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "leftLeg":{ + "z":-0.1 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "z":-0.1 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "z":-0.1 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "z":-0.1 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "z":-0.1 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "z":-0.1 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "leftLeg":{ + "x":1.9 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "x":1.9 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "x":1.9 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "x":1.9 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "x":1.9 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "x":1.9 + } + } + ] + } +} \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/player_animations/cry.json b/src/main/resources/assets/saturnclient/player_animations/cry.json new file mode 100644 index 0000000..d6a1817 --- /dev/null +++ b/src/main/resources/assets/saturnclient/player_animations/cry.json @@ -0,0 +1,305 @@ +{ + "version": 1, + "valid": true, + "name": "cry", + "description": "T_T", + "author": "dsty", + "emote": { + "beginTick": 0, + "endTick": 60, + "stopTick": 61, + "isLoop": true, + "returnTick": 5, + "nsfw": false, + "degrees": false, + "moves": [ + { + "tick": 5, + "easing": "INOUTQUAD", + "head": { + "x": -0.0 + } + }, + { + "tick": 60, + "easing": "INOUTQUAD", + "head": { + "x": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "head": { + "y": -0.0 + } + }, + { + "tick": 60, + "easing": "INOUTQUAD", + "head": { + "y": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "head": { + "z": -0.0 + } + }, + { + "tick": 60, + "easing": "INOUTQUAD", + "head": { + "z": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.34134695 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.22808763 + } + }, + { + "tick": 25, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.21269174 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.32248768 + } + }, + { + "tick": 45, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.0874397 + } + }, + { + "tick": 55, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.17582592 + } + }, + { + "tick": 60, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.21476103 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "head": { + "yaw": -6.320644E-4 + } + }, + { + "tick": 25, + "easing": "INOUTQUAD", + "head": { + "yaw": 0.029434478 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.039604172 + } + }, + { + "tick": 45, + "easing": "INOUTQUAD", + "head": { + "yaw": 0.037607383 + } + }, + { + "tick": 55, + "easing": "INOUTQUAD", + "head": { + "yaw": 0.050604735 + } + }, + { + "tick": 60, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "head": { + "roll": 0.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "head": { + "roll": -0.00930274 + } + }, + { + "tick": 25, + "easing": "INOUTQUAD", + "head": { + "roll": 0.0010032838 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "head": { + "roll": -0.009209918 + } + }, + { + "tick": 45, + "easing": "INOUTQUAD", + "head": { + "roll": -0.012478679 + } + }, + { + "tick": 55, + "easing": "INOUTQUAD", + "head": { + "roll": 0.031160546 + } + }, + { + "tick": 60, + "easing": "INOUTQUAD", + "head": { + "roll": 0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightArm": { + "x": -5.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightArm": { + "y": 2.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightArm": { + "z": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -1.8700758 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.4349194 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 0.4970688 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightArm": { + "bend": -0.9622451 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "leftArm": { + "x": 5.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "leftArm": { + "y": 2.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "leftArm": { + "z": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -1.9203311 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 0.6307226 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "leftArm": { + "roll": -0.2971223 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "leftArm": { + "bend": -0.8864816 + } + } + ] + } +} \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/player_animations/facepalm.json b/src/main/resources/assets/saturnclient/player_animations/facepalm.json new file mode 100644 index 0000000..cf79018 --- /dev/null +++ b/src/main/resources/assets/saturnclient/player_animations/facepalm.json @@ -0,0 +1,389 @@ +{ + "version": 1, + "valid": true, + "name": "facepalm", + "description": "just facepalm", + "author": "dsty", + "emote": { + "beginTick": 0, + "endTick": 60, + "stopTick": 61, + "isLoop": false, + "returnTick": 2, + "nsfw": false, + "degrees": false, + "moves": [ + { + "tick": 10, + "easing": "INOUTQUAD", + "head": { + "x": -0.0 + } + }, + { + "tick": 60, + "easing": "INOUTQUAD", + "head": { + "x": -0.0 + } + }, + { + "tick": 10, + "easing": "INOUTQUAD", + "head": { + "y": -0.0 + } + }, + { + "tick": 60, + "easing": "INOUTQUAD", + "head": { + "y": -0.0 + } + }, + { + "tick": 10, + "easing": "INOUTQUAD", + "head": { + "z": -0.0 + } + }, + { + "tick": 60, + "easing": "INOUTQUAD", + "head": { + "z": -0.0 + } + }, + { + "tick": 10, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.067995355 + } + }, + { + "tick": 20, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.14453278 + } + }, + { + "tick": 30, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.11871816 + } + }, + { + "tick": 40, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.19018666 + } + }, + { + "tick": 50, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.20064461 + } + }, + { + "tick": 60, + "easing": "INOUTQUAD", + "head": { + "pitch": -0.0 + } + }, + { + "tick": 10, + "easing": "INOUTQUAD", + "head": { + "yaw": 0.060454715 + } + }, + { + "tick": 20, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.086299464 + } + }, + { + "tick": 30, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.087619215 + } + }, + { + "tick": 40, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.083825104 + } + }, + { + "tick": 50, + "easing": "INOUTQUAD", + "head": { + "yaw": 0.036273066 + } + }, + { + "tick": 60, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.0 + } + }, + { + "tick": 10, + "easing": "INOUTQUAD", + "head": { + "roll": 0.0041144555 + } + }, + { + "tick": 20, + "easing": "INOUTQUAD", + "head": { + "roll": 0.12942825 + } + }, + { + "tick": 30, + "easing": "INOUTQUAD", + "head": { + "roll": -0.050149817 + } + }, + { + "tick": 40, + "easing": "INOUTQUAD", + "head": { + "roll": 0.08701207 + } + }, + { + "tick": 50, + "easing": "INOUTQUAD", + "head": { + "roll": 0.08676299 + } + }, + { + "tick": 60, + "easing": "INOUTQUAD", + "head": { + "roll": 0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightArm": { + "x": -3.8523226 + } + }, + { + "tick": 50, + "easing": "INOUTQUAD", + "rightArm": { + "x": -3.8523226 + } + }, + { + "tick": 60, + "easing": "INOUTQUAD", + "rightArm": { + "x": -5.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightArm": { + "y": 2.0 + } + }, + { + "tick": 60, + "easing": "INOUTQUAD", + "rightArm": { + "y": 2.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightArm": { + "z": -0.0 + } + }, + { + "tick": 60, + "easing": "INOUTQUAD", + "rightArm": { + "z": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -2.0664942 + } + }, + { + "tick": 20, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -2.074402 + } + }, + { + "tick": 30, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -2.074402 + } + }, + { + "tick": 40, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -2.02932 + } + }, + { + "tick": 50, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -2.02932 + } + }, + { + "tick": 60, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.47555572 + } + }, + { + "tick": 20, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.5093512 + } + }, + { + "tick": 30, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.5093512 + } + }, + { + "tick": 40, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.38563538 + } + }, + { + "tick": 50, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.38563538 + } + }, + { + "tick": 60, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 0.20147677 + } + }, + { + "tick": 20, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 0.20521602 + } + }, + { + "tick": 30, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 0.3274244 + } + }, + { + "tick": 40, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 0.30787703 + } + }, + { + "tick": 50, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 0.40478125 + } + }, + { + "tick": 60, + "easing": "INOUTQUAD", + "rightArm": { + "roll": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightArm": { + "bend": -0.49199954 + } + }, + { + "tick": 20, + "easing": "INOUTQUAD", + "rightArm": { + "bend": -0.54730254 + } + }, + { + "tick": 40, + "easing": "INOUTQUAD", + "rightArm": { + "bend": -0.52019864 + } + }, + { + "tick": 60, + "easing": "INOUTQUAD", + "rightArm": { + "bend": -0.0 + } + } + ] + } +} \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/player_animations/front_flip.json b/src/main/resources/assets/saturnclient/player_animations/front_flip.json new file mode 100644 index 0000000..c97d782 --- /dev/null +++ b/src/main/resources/assets/saturnclient/player_animations/front_flip.json @@ -0,0 +1,697 @@ +{ + "version": 1, + "valid": true, + "name": "front_flip", + "description": "Parkour!!!!1", + "author": "DKinchik", + "emote": { + "beginTick": 0, + "endTick": 17, + "stopTick": 18, + "isLoop": false, + "returnTick": 1, + "nsfw": false, + "degrees": false, + "moves": [ + { + "tick": 2, + "easing": "INOUTQUAD", + "head": { + "x": -0.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "head": { + "x": -0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "head": { + "y": -0.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "head": { + "y": -0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "head": { + "z": -0.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "head": { + "z": -0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "head": { + "pitch": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.7020477 + } + }, + { + "tick": 10, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.7020477 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "head": { + "pitch": -0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "head": { + "roll": 0.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "head": { + "roll": 0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "rightLeg": { + "x": -1.9 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "rightLeg": { + "x": -1.9 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "rightLeg": { + "y": 11.169379 + } + }, + { + "tick": 3, + "easing": "INOUTQUAD", + "rightLeg": { + "y": 12.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "rightLeg": { + "y": 12.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "rightLeg": { + "z": -0.39214998 + } + }, + { + "tick": 3, + "easing": "INOUTQUAD", + "rightLeg": { + "z": 0.1 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "rightLeg": { + "z": 0.1 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -0.0 + } + }, + { + "tick": 3, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -1.9707682 + } + }, + { + "tick": 10, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -1.9707682 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": -0.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": -0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": -0.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": -0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "rightLeg": { + "bend": -0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "rightArm": { + "x": -5.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "rightArm": { + "x": -5.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "rightArm": { + "y": 2.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "rightArm": { + "y": 2.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "rightArm": { + "z": -0.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "rightArm": { + "z": -0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -1.3665518 + } + }, + { + "tick": 10, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -1.3665518 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "rightArm": { + "roll": -0.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "rightArm": { + "roll": -0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "rightArm": { + "bend": -0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "leftArm": { + "x": 5.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "leftArm": { + "x": 5.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "leftArm": { + "y": 2.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "leftArm": { + "y": 2.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "leftArm": { + "z": -0.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "leftArm": { + "z": -0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": 0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -1.0793308 + } + }, + { + "tick": 10, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -1.0793308 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": 0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": -0.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": -0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "leftArm": { + "roll": 0.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "leftArm": { + "roll": 0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "leftArm": { + "bend": -0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "leftLeg": { + "x": 1.9 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "leftLeg": { + "x": 1.9 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "leftLeg": { + "y": 10.861001 + } + }, + { + "tick": 3, + "easing": "INOUTQUAD", + "leftLeg": { + "y": 12.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "leftLeg": { + "y": 12.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "leftLeg": { + "z": -0.5082285 + } + }, + { + "tick": 3, + "easing": "INOUTQUAD", + "leftLeg": { + "z": -0.1 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "leftLeg": { + "z": -0.1 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": -0.0 + } + }, + { + "tick": 3, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": -1.9850811 + } + }, + { + "tick": 10, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": -1.9850811 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": -0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": 0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "leftLeg": { + "bend": -0.0 + } + }, + { + "tick": 2, + "easing": "INQUAD", + "body": { + "x": 0.0 + } + }, + { + "tick": 16, + "easing": "INQUAD", + "body": { + "x": 0.0 + } + }, + { + "tick": 2, + "easing": "INQUAD", + "body": { + "y": -0.061333913 + } + }, + { + "tick": 7, + "easing": "OUTQUAD", + "body": { + "y": 0.48852682 + } + }, + { + "tick": 15, + "easing": "CONSTANT", + "body": { + "y": 0.0 + } + }, + { + "tick": 16, + "easing": "INQUAD", + "body": { + "y": 0.0 + } + }, + { + "tick": 2, + "easing": "INQUAD", + "body": { + "z": -0.0 + } + }, + { + "tick": 16, + "easing": "INQUAD", + "body": { + "z": -0.0 + } + }, + { + "tick": 2, + "easing": "INQUAD", + "body": { + "pitch": 0.0 + } + }, + { + "tick": 7, + "easing": "OUTQUAD", + "body": { + "pitch": -2.8362873 + } + }, + { + "tick": 15, + "easing": "CONSTANT", + "body": { + "pitch": -6.2831855 + } + }, + { + "tick": 16, + "easing": "INQUAD", + "body": { + "pitch": 0.0 + } + }, + { + "tick": 2, + "easing": "INQUAD", + "body": { + "yaw": 0.0 + } + }, + { + "tick": 16, + "easing": "INQUAD", + "body": { + "yaw": 0.0 + } + }, + { + "tick": 2, + "easing": "INQUAD", + "body": { + "roll": -0.0 + } + }, + { + "tick": 16, + "easing": "INQUAD", + "body": { + "roll": 0.0 + } + }, + { + "tick": 2, + "easing": "INOUTQUAD", + "body": { + "bend": -0.0 + } + } + ] + } +} \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/player_animations/giga_chad.json b/src/main/resources/assets/saturnclient/player_animations/giga_chad.json new file mode 100644 index 0000000..da2ae51 --- /dev/null +++ b/src/main/resources/assets/saturnclient/player_animations/giga_chad.json @@ -0,0 +1,5135 @@ +{ + "version": 1, + "valid": true, + "name": "giga_chad", + "description": "The Chaddest of them all", + "author": "Wah0o", + "emote": { + "beginTick": 0, + "endTick": 165, + "stopTick": 166, + "isLoop": true, + "returnTick": 5, + "nsfw": false, + "degrees": false, + "moves": [ + { + "tick": 4, + "easing": "INOUTQUAD", + "head": { + "x": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "head": { + "x": -0.0 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "head": { + "x": -0.0 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "head": { + "y": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "head": { + "y": -0.0 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "head": { + "y": -0.0 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "head": { + "z": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "head": { + "z": -0.0 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "head": { + "z": -0.0 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "head": { + "pitch": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.0 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "head": { + "pitch": -0.13989598 + } + }, + { + "tick": 24, + "easing": "INOUTQUAD", + "head": { + "pitch": -0.13989598 + } + }, + { + "tick": 25, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.032506067 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.032506067 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "head": { + "pitch": -0.0 + } + }, + { + "tick": 44, + "easing": "INOUTQUAD", + "head": { + "pitch": -0.0 + } + }, + { + "tick": 45, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.04490119 + } + }, + { + "tick": 54, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.04490119 + } + }, + { + "tick": 55, + "easing": "INOUTQUAD", + "head": { + "pitch": -0.0 + } + }, + { + "tick": 64, + "easing": "INOUTQUAD", + "head": { + "pitch": -0.0 + } + }, + { + "tick": 65, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.13459775 + } + }, + { + "tick": 74, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.13459775 + } + }, + { + "tick": 75, + "easing": "INOUTQUAD", + "head": { + "pitch": -1.5314963 + } + }, + { + "tick": 84, + "easing": "INOUTQUAD", + "head": { + "pitch": -1.5314963 + } + }, + { + "tick": 85, + "easing": "INOUTQUAD", + "head": { + "pitch": -1.1120538 + } + }, + { + "tick": 94, + "easing": "INOUTQUAD", + "head": { + "pitch": -1.1120538 + } + }, + { + "tick": 95, + "easing": "INOUTQUAD", + "head": { + "pitch": -0.14775816 + } + }, + { + "tick": 104, + "easing": "INOUTQUAD", + "head": { + "pitch": -0.14775816 + } + }, + { + "tick": 105, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.037381746 + } + }, + { + "tick": 114, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.037381746 + } + }, + { + "tick": 115, + "easing": "INOUTQUAD", + "head": { + "pitch": -0.037799735 + } + }, + { + "tick": 124, + "easing": "INOUTQUAD", + "head": { + "pitch": -0.037799735 + } + }, + { + "tick": 125, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.060097966 + } + }, + { + "tick": 134, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.060097966 + } + }, + { + "tick": 135, + "easing": "INOUTQUAD", + "head": { + "pitch": -1.286084 + } + }, + { + "tick": 144, + "easing": "INOUTQUAD", + "head": { + "pitch": -1.286084 + } + }, + { + "tick": 145, + "easing": "INOUTQUAD", + "head": { + "pitch": -0.0 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "head": { + "pitch": 0.0 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.4168441 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.4168441 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "head": { + "yaw": -1.00269 + } + }, + { + "tick": 24, + "easing": "INOUTQUAD", + "head": { + "yaw": -1.00269 + } + }, + { + "tick": 25, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.11216698 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.11216698 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "head": { + "yaw": 0.24195862 + } + }, + { + "tick": 44, + "easing": "INOUTQUAD", + "head": { + "yaw": 0.24195862 + } + }, + { + "tick": 45, + "easing": "INOUTQUAD", + "head": { + "yaw": 0.002758297 + } + }, + { + "tick": 54, + "easing": "INOUTQUAD", + "head": { + "yaw": 0.002758297 + } + }, + { + "tick": 55, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.0 + } + }, + { + "tick": 64, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.0 + } + }, + { + "tick": 65, + "easing": "INOUTQUAD", + "head": { + "yaw": 0.0013488329 + } + }, + { + "tick": 74, + "easing": "INOUTQUAD", + "head": { + "yaw": 0.0013488329 + } + }, + { + "tick": 75, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.0029103598 + } + }, + { + "tick": 84, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.0029103598 + } + }, + { + "tick": 85, + "easing": "INOUTQUAD", + "head": { + "yaw": -1.4095863 + } + }, + { + "tick": 94, + "easing": "INOUTQUAD", + "head": { + "yaw": -1.4095863 + } + }, + { + "tick": 95, + "easing": "INOUTQUAD", + "head": { + "yaw": 1.0407902E-4 + } + }, + { + "tick": 104, + "easing": "INOUTQUAD", + "head": { + "yaw": 1.0407902E-4 + } + }, + { + "tick": 105, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.0 + } + }, + { + "tick": 114, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.0 + } + }, + { + "tick": 115, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.15502043 + } + }, + { + "tick": 124, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.15502043 + } + }, + { + "tick": 125, + "easing": "INOUTQUAD", + "head": { + "yaw": 0.20529102 + } + }, + { + "tick": 134, + "easing": "INOUTQUAD", + "head": { + "yaw": 0.20529102 + } + }, + { + "tick": 135, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.013530715 + } + }, + { + "tick": 144, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.013530715 + } + }, + { + "tick": 145, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.0 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.0 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "head": { + "yaw": -0.4168441 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "head": { + "roll": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "head": { + "roll": 0.0 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "head": { + "roll": 0.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "head": { + "roll": 0.21926047 + } + }, + { + "tick": 24, + "easing": "INOUTQUAD", + "head": { + "roll": 0.21926047 + } + }, + { + "tick": 25, + "easing": "INOUTQUAD", + "head": { + "roll": -0.025936412 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "head": { + "roll": -0.025936412 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "head": { + "roll": -0.0 + } + }, + { + "tick": 44, + "easing": "INOUTQUAD", + "head": { + "roll": -0.0 + } + }, + { + "tick": 45, + "easing": "INOUTQUAD", + "head": { + "roll": 0.015539514 + } + }, + { + "tick": 54, + "easing": "INOUTQUAD", + "head": { + "roll": 0.015539514 + } + }, + { + "tick": 55, + "easing": "INOUTQUAD", + "head": { + "roll": 0.054117903 + } + }, + { + "tick": 64, + "easing": "INOUTQUAD", + "head": { + "roll": 0.054117903 + } + }, + { + "tick": 65, + "easing": "INOUTQUAD", + "head": { + "roll": 9.091206E-5 + } + }, + { + "tick": 74, + "easing": "INOUTQUAD", + "head": { + "roll": 9.091206E-5 + } + }, + { + "tick": 75, + "easing": "INOUTQUAD", + "head": { + "roll": 0.0027981726 + } + }, + { + "tick": 84, + "easing": "INOUTQUAD", + "head": { + "roll": 0.0027981726 + } + }, + { + "tick": 85, + "easing": "INOUTQUAD", + "head": { + "roll": 0.78003484 + } + }, + { + "tick": 94, + "easing": "INOUTQUAD", + "head": { + "roll": 0.78003484 + } + }, + { + "tick": 95, + "easing": "INOUTQUAD", + "head": { + "roll": 0.0014062009 + } + }, + { + "tick": 104, + "easing": "INOUTQUAD", + "head": { + "roll": 0.0014062009 + } + }, + { + "tick": 105, + "easing": "INOUTQUAD", + "head": { + "roll": -0.0 + } + }, + { + "tick": 114, + "easing": "INOUTQUAD", + "head": { + "roll": -0.0 + } + }, + { + "tick": 115, + "easing": "INOUTQUAD", + "head": { + "roll": 0.0016081737 + } + }, + { + "tick": 124, + "easing": "INOUTQUAD", + "head": { + "roll": 0.0016081737 + } + }, + { + "tick": 125, + "easing": "INOUTQUAD", + "head": { + "roll": 0.017228942 + } + }, + { + "tick": 134, + "easing": "INOUTQUAD", + "head": { + "roll": 0.017228942 + } + }, + { + "tick": 135, + "easing": "INOUTQUAD", + "head": { + "roll": -0.018058004 + } + }, + { + "tick": 144, + "easing": "INOUTQUAD", + "head": { + "roll": -0.018058004 + } + }, + { + "tick": 145, + "easing": "INOUTQUAD", + "head": { + "roll": -0.0 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "head": { + "roll": 0.0 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "rightLeg": { + "x": -1.9 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightLeg": { + "x": -2.252326 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "rightLeg": { + "x": -2.252326 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "rightLeg": { + "x": -2.9982228 + } + }, + { + "tick": 24, + "easing": "INOUTQUAD", + "rightLeg": { + "x": -2.9982228 + } + }, + { + "tick": 25, + "easing": "INOUTQUAD", + "rightLeg": { + "x": -2.5480254 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "rightLeg": { + "x": -2.5480254 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "rightLeg": { + "x": -1.9 + } + }, + { + "tick": 144, + "easing": "INOUTQUAD", + "rightLeg": { + "x": -1.9 + } + }, + { + "tick": 145, + "easing": "INOUTQUAD", + "rightLeg": { + "x": -1.7722428 + } + }, + { + "tick": 154, + "easing": "INOUTQUAD", + "rightLeg": { + "x": -1.7722428 + } + }, + { + "tick": 155, + "easing": "INOUTQUAD", + "rightLeg": { + "x": -3.169594 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "rightLeg": { + "x": -3.169594 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "rightLeg": { + "x": -2.252326 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "rightLeg": { + "y": 12.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightLeg": { + "y": 10.195459 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "rightLeg": { + "y": 10.195459 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "rightLeg": { + "y": 10.277176 + } + }, + { + "tick": 24, + "easing": "INOUTQUAD", + "rightLeg": { + "y": 10.277176 + } + }, + { + "tick": 25, + "easing": "INOUTQUAD", + "rightLeg": { + "y": 10.025742 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "rightLeg": { + "y": 10.025742 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "rightLeg": { + "y": 12.0 + } + }, + { + "tick": 144, + "easing": "INOUTQUAD", + "rightLeg": { + "y": 12.0 + } + }, + { + "tick": 145, + "easing": "INOUTQUAD", + "rightLeg": { + "y": 11.914537 + } + }, + { + "tick": 154, + "easing": "INOUTQUAD", + "rightLeg": { + "y": 11.914537 + } + }, + { + "tick": 155, + "easing": "INOUTQUAD", + "rightLeg": { + "y": 12.0 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "rightLeg": { + "y": 12.0 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "rightLeg": { + "y": 10.195459 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "rightLeg": { + "z": 0.1 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightLeg": { + "z": -2.9733403 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "rightLeg": { + "z": -2.9733403 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "rightLeg": { + "z": -3.4964054 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "rightLeg": { + "z": -3.4964054 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "rightLeg": { + "z": 0.1 + } + }, + { + "tick": 154, + "easing": "INOUTQUAD", + "rightLeg": { + "z": 0.1 + } + }, + { + "tick": 155, + "easing": "INOUTQUAD", + "rightLeg": { + "z": -1.5458566 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "rightLeg": { + "z": -1.5458566 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "rightLeg": { + "z": -2.9733403 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -0.33713692 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -0.33713692 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -0.3196764 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -0.3196764 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -0.0 + } + }, + { + "tick": 44, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -0.0 + } + }, + { + "tick": 45, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -0.027517445 + } + }, + { + "tick": 54, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -0.027517445 + } + }, + { + "tick": 55, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": 0.047809538 + } + }, + { + "tick": 64, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": 0.047809538 + } + }, + { + "tick": 65, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -0.0026976853 + } + }, + { + "tick": 74, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -0.0026976853 + } + }, + { + "tick": 75, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": 0.03274877 + } + }, + { + "tick": 84, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": 0.03274877 + } + }, + { + "tick": 85, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -0.007906961 + } + }, + { + "tick": 94, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -0.007906961 + } + }, + { + "tick": 95, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -0.07262061 + } + }, + { + "tick": 104, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -0.07262061 + } + }, + { + "tick": 105, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": 5.0244353E-10 + } + }, + { + "tick": 114, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": 5.0244353E-10 + } + }, + { + "tick": 115, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -0.0 + } + }, + { + "tick": 124, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": 0.0 + } + }, + { + "tick": 125, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": 0.22003074 + } + }, + { + "tick": 134, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": 0.22003074 + } + }, + { + "tick": 135, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -1.5668823 + } + }, + { + "tick": 144, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -1.5668823 + } + }, + { + "tick": 145, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": 0.9465621 + } + }, + { + "tick": 154, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": 0.9465621 + } + }, + { + "tick": 155, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -0.0 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -0.0 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": -0.33713692 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.37796307 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.37796307 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.76882756 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.76882756 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.27188113 + } + }, + { + "tick": 44, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.27188113 + } + }, + { + "tick": 45, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.26609528 + } + }, + { + "tick": 54, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.26609528 + } + }, + { + "tick": 55, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.2948 + } + }, + { + "tick": 64, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.2948 + } + }, + { + "tick": 65, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.26220575 + } + }, + { + "tick": 74, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.26220575 + } + }, + { + "tick": 75, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.039796446 + } + }, + { + "tick": 84, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.039796446 + } + }, + { + "tick": 85, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.39853075 + } + }, + { + "tick": 94, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.39853075 + } + }, + { + "tick": 95, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 2.5175512E-5 + } + }, + { + "tick": 104, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 2.5175512E-5 + } + }, + { + "tick": 105, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.38755667 + } + }, + { + "tick": 114, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.38755667 + } + }, + { + "tick": 115, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.10965421 + } + }, + { + "tick": 124, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.10965421 + } + }, + { + "tick": 125, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.660008 + } + }, + { + "tick": 134, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.660008 + } + }, + { + "tick": 135, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": -0.018245801 + } + }, + { + "tick": 144, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": -0.018245801 + } + }, + { + "tick": 145, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 1.5213028 + } + }, + { + "tick": 154, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 1.5213028 + } + }, + { + "tick": 155, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.6063431 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.6063431 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "rightLeg": { + "yaw": 0.37796307 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": -0.025020538 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": -0.025020538 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": 0.048341107 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": 0.048341107 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": 0.069259174 + } + }, + { + "tick": 44, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": 0.069259174 + } + }, + { + "tick": 45, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": 0.1402302 + } + }, + { + "tick": 54, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": 0.1402302 + } + }, + { + "tick": 55, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": 0.20118771 + } + }, + { + "tick": 64, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": 0.20118771 + } + }, + { + "tick": 65, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": 0.095185064 + } + }, + { + "tick": 74, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": 0.095185064 + } + }, + { + "tick": 75, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": -7.341183E-7 + } + }, + { + "tick": 84, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": -7.341183E-7 + } + }, + { + "tick": 85, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": 0.21809976 + } + }, + { + "tick": 94, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": 0.21809976 + } + }, + { + "tick": 95, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": 6.93035E-4 + } + }, + { + "tick": 104, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": 6.93035E-4 + } + }, + { + "tick": 105, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": 0.061397005 + } + }, + { + "tick": 114, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": 0.061397005 + } + }, + { + "tick": 115, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": -0.0 + } + }, + { + "tick": 124, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": 0.0 + } + }, + { + "tick": 125, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": 0.22244482 + } + }, + { + "tick": 134, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": 0.22244482 + } + }, + { + "tick": 135, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": 0.08971669 + } + }, + { + "tick": 144, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": 0.08971669 + } + }, + { + "tick": 145, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": 2.2946439 + } + }, + { + "tick": 154, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": 2.2946439 + } + }, + { + "tick": 155, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": -0.0 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": -0.0 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "rightLeg": { + "roll": -0.025020538 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "rightArm": { + "x": -5.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightArm": { + "x": -5.9686313 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "rightArm": { + "x": -5.9686313 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "rightArm": { + "x": -5.0 + } + }, + { + "tick": 154, + "easing": "INOUTQUAD", + "rightArm": { + "x": -5.0 + } + }, + { + "tick": 155, + "easing": "INOUTQUAD", + "rightArm": { + "x": -6.0498323 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "rightArm": { + "x": -6.0498323 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "rightArm": { + "x": -5.9686313 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "rightArm": { + "y": 2.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightArm": { + "y": 2.0 + } + }, + { + "tick": 154, + "easing": "INOUTQUAD", + "rightArm": { + "y": 2.0 + } + }, + { + "tick": 155, + "easing": "INOUTQUAD", + "rightArm": { + "y": 3.9937258 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "rightArm": { + "y": 3.9937258 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "rightArm": { + "y": 2.0 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "rightArm": { + "z": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightArm": { + "z": -1.961665 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "rightArm": { + "z": -1.961665 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "rightArm": { + "z": -0.0 + } + }, + { + "tick": 154, + "easing": "INOUTQUAD", + "rightArm": { + "z": -0.0 + } + }, + { + "tick": 155, + "easing": "INOUTQUAD", + "rightArm": { + "z": -1.9947729E-8 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "rightArm": { + "z": -1.9947729E-8 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "rightArm": { + "z": -1.961665 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": 0.0 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": 0.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -0.87733024 + } + }, + { + "tick": 24, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -0.87733024 + } + }, + { + "tick": 25, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -0.8773303 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -0.8773303 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -0.0 + } + }, + { + "tick": 44, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -0.0 + } + }, + { + "tick": 45, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -0.037967823 + } + }, + { + "tick": 54, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -0.037967823 + } + }, + { + "tick": 55, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": 0.67362005 + } + }, + { + "tick": 64, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": 0.67362005 + } + }, + { + "tick": 65, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -0.67564476 + } + }, + { + "tick": 74, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -0.67564476 + } + }, + { + "tick": 75, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -3.142549 + } + }, + { + "tick": 84, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -3.142549 + } + }, + { + "tick": 85, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": 2.9807994 + } + }, + { + "tick": 94, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": 2.9807994 + } + }, + { + "tick": 95, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": 1.693267 + } + }, + { + "tick": 104, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": 1.693267 + } + }, + { + "tick": 105, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -0.0014576487 + } + }, + { + "tick": 114, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -0.0014576487 + } + }, + { + "tick": 115, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": 0.65763783 + } + }, + { + "tick": 124, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": 0.65763783 + } + }, + { + "tick": 125, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -3.4441948 + } + }, + { + "tick": 134, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -3.4441948 + } + }, + { + "tick": 135, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -3.149893 + } + }, + { + "tick": 144, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -3.149893 + } + }, + { + "tick": 145, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -0.65401036 + } + }, + { + "tick": 154, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -0.65401036 + } + }, + { + "tick": 155, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -3.1320117 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -3.1320117 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": 0.0 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.7990288 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.7990288 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.8078986 + } + }, + { + "tick": 24, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.8078986 + } + }, + { + "tick": 25, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.8078987 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.8078987 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.31803387 + } + }, + { + "tick": 44, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.31803387 + } + }, + { + "tick": 45, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.14138679 + } + }, + { + "tick": 54, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.14138679 + } + }, + { + "tick": 55, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.0 + } + }, + { + "tick": 64, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.0 + } + }, + { + "tick": 65, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.9297993 + } + }, + { + "tick": 74, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.9297993 + } + }, + { + "tick": 75, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": 0.2030788 + } + }, + { + "tick": 84, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": 0.2030788 + } + }, + { + "tick": 85, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": 1.0315573 + } + }, + { + "tick": 94, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": 1.0315573 + } + }, + { + "tick": 95, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": 0.010718631 + } + }, + { + "tick": 104, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": 0.010718631 + } + }, + { + "tick": 105, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.049475487 + } + }, + { + "tick": 114, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.049475487 + } + }, + { + "tick": 115, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.21283935 + } + }, + { + "tick": 124, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.21283935 + } + }, + { + "tick": 125, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": 0.88883036 + } + }, + { + "tick": 134, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": 0.88883036 + } + }, + { + "tick": 135, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.0376238 + } + }, + { + "tick": 144, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.0376238 + } + }, + { + "tick": 145, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": 1.4946102 + } + }, + { + "tick": 154, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": 1.4946102 + } + }, + { + "tick": 155, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -1.3037015 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -1.3037015 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.7990288 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "rightArm": { + "roll": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "rightArm": { + "roll": -0.30187678 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "rightArm": { + "roll": -0.30187678 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 0.2721525 + } + }, + { + "tick": 24, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 0.2721525 + } + }, + { + "tick": 25, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 0.18416819 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 0.18416819 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "rightArm": { + "roll": -0.09789227 + } + }, + { + "tick": 44, + "easing": "INOUTQUAD", + "rightArm": { + "roll": -0.09789227 + } + }, + { + "tick": 45, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 0.2198998 + } + }, + { + "tick": 54, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 0.2198998 + } + }, + { + "tick": 55, + "easing": "INOUTQUAD", + "rightArm": { + "roll": -0.48504347 + } + }, + { + "tick": 64, + "easing": "INOUTQUAD", + "rightArm": { + "roll": -0.48504347 + } + }, + { + "tick": 65, + "easing": "INOUTQUAD", + "rightArm": { + "roll": -0.67907065 + } + }, + { + "tick": 74, + "easing": "INOUTQUAD", + "rightArm": { + "roll": -0.67907065 + } + }, + { + "tick": 75, + "easing": "INOUTQUAD", + "rightArm": { + "roll": -6.110932E-5 + } + }, + { + "tick": 84, + "easing": "INOUTQUAD", + "rightArm": { + "roll": -6.110932E-5 + } + }, + { + "tick": 85, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 4.3807907 + } + }, + { + "tick": 94, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 4.3807907 + } + }, + { + "tick": 95, + "easing": "INOUTQUAD", + "rightArm": { + "roll": -0.009480219 + } + }, + { + "tick": 104, + "easing": "INOUTQUAD", + "rightArm": { + "roll": -0.009480219 + } + }, + { + "tick": 105, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 0.029465547 + } + }, + { + "tick": 114, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 0.029465547 + } + }, + { + "tick": 115, + "easing": "INOUTQUAD", + "rightArm": { + "roll": -0.6154332 + } + }, + { + "tick": 124, + "easing": "INOUTQUAD", + "rightArm": { + "roll": -0.6154332 + } + }, + { + "tick": 125, + "easing": "INOUTQUAD", + "rightArm": { + "roll": -0.8863503 + } + }, + { + "tick": 134, + "easing": "INOUTQUAD", + "rightArm": { + "roll": -0.8863503 + } + }, + { + "tick": 135, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 1.5616314E-4 + } + }, + { + "tick": 144, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 1.5616314E-4 + } + }, + { + "tick": 145, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 1.8965981 + } + }, + { + "tick": 154, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 1.8965981 + } + }, + { + "tick": 155, + "easing": "INOUTQUAD", + "rightArm": { + "roll": -0.2532393 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "rightArm": { + "roll": -0.2532393 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "rightArm": { + "roll": -0.30187678 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "leftArm": { + "x": 5.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "leftArm": { + "x": 5.0 + } + }, + { + "tick": 64, + "easing": "INOUTQUAD", + "leftArm": { + "x": 5.0 + } + }, + { + "tick": 65, + "easing": "INOUTQUAD", + "leftArm": { + "x": 2.9568586 + } + }, + { + "tick": 74, + "easing": "INOUTQUAD", + "leftArm": { + "x": 2.9568586 + } + }, + { + "tick": 75, + "easing": "INOUTQUAD", + "leftArm": { + "x": 5.0 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "leftArm": { + "x": 5.0 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "leftArm": { + "y": 2.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "leftArm": { + "y": 4.0875206 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "leftArm": { + "y": 4.0875206 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "leftArm": { + "y": 2.0 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "leftArm": { + "y": 2.0 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "leftArm": { + "y": 4.0875206 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "leftArm": { + "z": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "leftArm": { + "z": -0.0 + } + }, + { + "tick": 64, + "easing": "INOUTQUAD", + "leftArm": { + "z": -0.0 + } + }, + { + "tick": 65, + "easing": "INOUTQUAD", + "leftArm": { + "z": -2.203474 + } + }, + { + "tick": 74, + "easing": "INOUTQUAD", + "leftArm": { + "z": -2.203474 + } + }, + { + "tick": 75, + "easing": "INOUTQUAD", + "leftArm": { + "z": -0.0 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "leftArm": { + "z": -0.0 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -0.51976997 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -0.51976997 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -0.6709974 + } + }, + { + "tick": 24, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -0.6709974 + } + }, + { + "tick": 25, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -0.6709973 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -0.6709973 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -0.0 + } + }, + { + "tick": 44, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -0.0 + } + }, + { + "tick": 45, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -0.30776563 + } + }, + { + "tick": 54, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -0.30776563 + } + }, + { + "tick": 55, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": 0.65677315 + } + }, + { + "tick": 64, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": 0.65677315 + } + }, + { + "tick": 65, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -1.6417192 + } + }, + { + "tick": 74, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -1.6417192 + } + }, + { + "tick": 75, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": 3.1355157 + } + }, + { + "tick": 84, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": 3.1355157 + } + }, + { + "tick": 85, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": 0.0010496362 + } + }, + { + "tick": 94, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": 0.0010496362 + } + }, + { + "tick": 95, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": 1.6392988 + } + }, + { + "tick": 104, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": 1.6392988 + } + }, + { + "tick": 105, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -0.0025698922 + } + }, + { + "tick": 114, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -0.0025698922 + } + }, + { + "tick": 115, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": 0.5024246 + } + }, + { + "tick": 124, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": 0.5024246 + } + }, + { + "tick": 125, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -2.8041947 + } + }, + { + "tick": 134, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -2.8041947 + } + }, + { + "tick": 135, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -3.1532238 + } + }, + { + "tick": 144, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -3.1532238 + } + }, + { + "tick": 145, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -0.0 + } + }, + { + "tick": 154, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -0.0 + } + }, + { + "tick": 155, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -1.1308259 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -1.1308259 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -0.51976997 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 1.172347 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 1.172347 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 0.037808705 + } + }, + { + "tick": 24, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 0.037808705 + } + }, + { + "tick": 25, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 0.037808713 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 0.037808713 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 0.62366265 + } + }, + { + "tick": 44, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 0.62366265 + } + }, + { + "tick": 45, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 0.7531556 + } + }, + { + "tick": 54, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 0.7531556 + } + }, + { + "tick": 55, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": -0.0 + } + }, + { + "tick": 64, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": -0.0 + } + }, + { + "tick": 65, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 1.2664338 + } + }, + { + "tick": 74, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 1.2664338 + } + }, + { + "tick": 75, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": -0.13954905 + } + }, + { + "tick": 84, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": -0.13954905 + } + }, + { + "tick": 85, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": -0.013174082 + } + }, + { + "tick": 94, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": -0.013174082 + } + }, + { + "tick": 95, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 0.010205563 + } + }, + { + "tick": 104, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 0.010205563 + } + }, + { + "tick": 105, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 0.06644766 + } + }, + { + "tick": 114, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 0.06644766 + } + }, + { + "tick": 115, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": -0.010088136 + } + }, + { + "tick": 124, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": -0.010088136 + } + }, + { + "tick": 125, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 0.6029994 + } + }, + { + "tick": 134, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 0.6029994 + } + }, + { + "tick": 135, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": -0.03762318 + } + }, + { + "tick": 144, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": -0.03762318 + } + }, + { + "tick": 145, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": -0.0 + } + }, + { + "tick": 154, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": -0.0 + } + }, + { + "tick": 155, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 0.44563633 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 0.44563633 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 1.172347 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "leftArm": { + "roll": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "leftArm": { + "roll": 0.48641014 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "leftArm": { + "roll": 0.48641014 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "leftArm": { + "roll": 0.10834044 + } + }, + { + "tick": 24, + "easing": "INOUTQUAD", + "leftArm": { + "roll": 0.10834044 + } + }, + { + "tick": 25, + "easing": "INOUTQUAD", + "leftArm": { + "roll": 0.5676788 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "leftArm": { + "roll": 0.5676788 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "leftArm": { + "roll": 0.07504642 + } + }, + { + "tick": 44, + "easing": "INOUTQUAD", + "leftArm": { + "roll": 0.07504642 + } + }, + { + "tick": 45, + "easing": "INOUTQUAD", + "leftArm": { + "roll": 0.006862871 + } + }, + { + "tick": 54, + "easing": "INOUTQUAD", + "leftArm": { + "roll": 0.006862871 + } + }, + { + "tick": 55, + "easing": "INOUTQUAD", + "leftArm": { + "roll": 0.5692944 + } + }, + { + "tick": 64, + "easing": "INOUTQUAD", + "leftArm": { + "roll": 0.5692944 + } + }, + { + "tick": 65, + "easing": "INOUTQUAD", + "leftArm": { + "roll": -0.0 + } + }, + { + "tick": 74, + "easing": "INOUTQUAD", + "leftArm": { + "roll": -0.0 + } + }, + { + "tick": 75, + "easing": "INOUTQUAD", + "leftArm": { + "roll": -2.8592016E-5 + } + }, + { + "tick": 84, + "easing": "INOUTQUAD", + "leftArm": { + "roll": -2.8592016E-5 + } + }, + { + "tick": 85, + "easing": "INOUTQUAD", + "leftArm": { + "roll": -1.7287096 + } + }, + { + "tick": 94, + "easing": "INOUTQUAD", + "leftArm": { + "roll": -1.7287096 + } + }, + { + "tick": 95, + "easing": "INOUTQUAD", + "leftArm": { + "roll": -0.009529364 + } + }, + { + "tick": 104, + "easing": "INOUTQUAD", + "leftArm": { + "roll": -0.009529364 + } + }, + { + "tick": 105, + "easing": "INOUTQUAD", + "leftArm": { + "roll": -0.038684685 + } + }, + { + "tick": 114, + "easing": "INOUTQUAD", + "leftArm": { + "roll": -0.038684685 + } + }, + { + "tick": 115, + "easing": "INOUTQUAD", + "leftArm": { + "roll": 0.31971967 + } + }, + { + "tick": 124, + "easing": "INOUTQUAD", + "leftArm": { + "roll": 0.31971967 + } + }, + { + "tick": 125, + "easing": "INOUTQUAD", + "leftArm": { + "roll": 0.88968116 + } + }, + { + "tick": 134, + "easing": "INOUTQUAD", + "leftArm": { + "roll": 0.88968116 + } + }, + { + "tick": 135, + "easing": "INOUTQUAD", + "leftArm": { + "roll": 2.188246E-4 + } + }, + { + "tick": 144, + "easing": "INOUTQUAD", + "leftArm": { + "roll": 2.188246E-4 + } + }, + { + "tick": 145, + "easing": "INOUTQUAD", + "leftArm": { + "roll": -2.1538641 + } + }, + { + "tick": 154, + "easing": "INOUTQUAD", + "leftArm": { + "roll": -2.1538641 + } + }, + { + "tick": 155, + "easing": "INOUTQUAD", + "leftArm": { + "roll": -0.0 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "leftArm": { + "roll": 0.0 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "leftArm": { + "roll": 0.48641014 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "leftLeg": { + "x": 1.9 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "leftLeg": { + "x": 2.338033 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "leftLeg": { + "x": 2.338033 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "leftLeg": { + "x": 2.4034452 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "leftLeg": { + "x": 2.4034452 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "leftLeg": { + "x": 1.9 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "leftLeg": { + "x": 1.9 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "leftLeg": { + "x": 2.338033 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "leftLeg": { + "y": 12.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "leftLeg": { + "y": 9.917855 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "leftLeg": { + "y": 9.917855 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "leftLeg": { + "y": 10.922021 + } + }, + { + "tick": 24, + "easing": "INOUTQUAD", + "leftLeg": { + "y": 10.922021 + } + }, + { + "tick": 25, + "easing": "INOUTQUAD", + "leftLeg": { + "y": 10.576937 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "leftLeg": { + "y": 10.576937 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "leftLeg": { + "y": 12.0 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "leftLeg": { + "y": 12.0 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "leftLeg": { + "y": 9.917855 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "leftLeg": { + "z": -0.1 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "leftLeg": { + "z": -3.7886016 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "leftLeg": { + "z": -3.7886016 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "leftLeg": { + "z": -3.7174206 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "leftLeg": { + "z": -3.7174206 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "leftLeg": { + "z": -0.1 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "leftLeg": { + "z": -0.1 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "leftLeg": { + "z": -3.7886016 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": -0.28943428 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": -0.28943428 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": -0.29512814 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": -0.29512814 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": -0.0 + } + }, + { + "tick": 44, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": -0.0 + } + }, + { + "tick": 45, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": 0.01708789 + } + }, + { + "tick": 54, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": 0.01708789 + } + }, + { + "tick": 55, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": 0.04704775 + } + }, + { + "tick": 64, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": 0.04704775 + } + }, + { + "tick": 65, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": 0.0030718336 + } + }, + { + "tick": 74, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": 0.0030718336 + } + }, + { + "tick": 75, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": 0.043501973 + } + }, + { + "tick": 84, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": 0.043501973 + } + }, + { + "tick": 85, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": -0.0 + } + }, + { + "tick": 94, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": 0.0 + } + }, + { + "tick": 95, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": -1.5781744 + } + }, + { + "tick": 104, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": -1.5781744 + } + }, + { + "tick": 105, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": 3.203295E-12 + } + }, + { + "tick": 114, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": 3.203295E-12 + } + }, + { + "tick": 115, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": 0.13094698 + } + }, + { + "tick": 124, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": 0.13094698 + } + }, + { + "tick": 125, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": 0.109108955 + } + }, + { + "tick": 134, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": 0.109108955 + } + }, + { + "tick": 135, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": -1.5687531 + } + }, + { + "tick": 144, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": -1.5687531 + } + }, + { + "tick": 145, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": -0.0 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": 0.0 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": -0.28943428 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.24234551 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.24234551 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.04647371 + } + }, + { + "tick": 24, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.04647371 + } + }, + { + "tick": 25, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.046473704 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.046473704 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.14872508 + } + }, + { + "tick": 44, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.14872508 + } + }, + { + "tick": 45, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.27384213 + } + }, + { + "tick": 54, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.27384213 + } + }, + { + "tick": 55, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.22910896 + } + }, + { + "tick": 64, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.22910896 + } + }, + { + "tick": 65, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.29659358 + } + }, + { + "tick": 74, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.29659358 + } + }, + { + "tick": 75, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.09799422 + } + }, + { + "tick": 84, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.09799422 + } + }, + { + "tick": 85, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.0 + } + }, + { + "tick": 94, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.0 + } + }, + { + "tick": 95, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": 0.009622238 + } + }, + { + "tick": 104, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": 0.009622238 + } + }, + { + "tick": 105, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.37212652 + } + }, + { + "tick": 114, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.37212652 + } + }, + { + "tick": 115, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": 0.22992273 + } + }, + { + "tick": 124, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": 0.22992273 + } + }, + { + "tick": 125, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.297723 + } + }, + { + "tick": 134, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.297723 + } + }, + { + "tick": 135, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.01908363 + } + }, + { + "tick": 144, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.01908363 + } + }, + { + "tick": 145, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.0 + } + }, + { + "tick": 154, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.0 + } + }, + { + "tick": 155, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.16646482 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.16646482 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "leftLeg": { + "yaw": -0.24234551 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.07622462 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.07622462 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.066452764 + } + }, + { + "tick": 24, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.066452764 + } + }, + { + "tick": 25, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.18356355 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.18356355 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.04682022 + } + }, + { + "tick": 44, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.04682022 + } + }, + { + "tick": 45, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.0011612747 + } + }, + { + "tick": 54, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.0011612747 + } + }, + { + "tick": 55, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.16643818 + } + }, + { + "tick": 64, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.16643818 + } + }, + { + "tick": 65, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.09162157 + } + }, + { + "tick": 74, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.09162157 + } + }, + { + "tick": 75, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -1.1308775E-5 + } + }, + { + "tick": 84, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -1.1308775E-5 + } + }, + { + "tick": 85, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": 0.19563156 + } + }, + { + "tick": 94, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": 0.19563156 + } + }, + { + "tick": 95, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": 0.009551507 + } + }, + { + "tick": 104, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": 0.009551507 + } + }, + { + "tick": 105, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.08669772 + } + }, + { + "tick": 114, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.08669772 + } + }, + { + "tick": 115, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.02894436 + } + }, + { + "tick": 124, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.02894436 + } + }, + { + "tick": 125, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.1509232 + } + }, + { + "tick": 134, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.1509232 + } + }, + { + "tick": 135, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.1525886 + } + }, + { + "tick": 144, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.1525886 + } + }, + { + "tick": 145, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.73833025 + } + }, + { + "tick": 154, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.73833025 + } + }, + { + "tick": 155, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.0 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": 0.0 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "leftLeg": { + "roll": -0.07622462 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "body": { + "x": 0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "body": { + "x": -0.04586473 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "body": { + "x": 0.019460544 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "body": { + "x": -0.14749607 + } + }, + { + "tick": 24, + "easing": "INOUTQUAD", + "body": { + "x": -0.055940144 + } + }, + { + "tick": 25, + "easing": "INOUTQUAD", + "body": { + "x": -0.04586473 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "body": { + "x": 0.019460544 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "body": { + "x": -0.16599017 + } + }, + { + "tick": 44, + "easing": "INOUTQUAD", + "body": { + "x": 0.0 + } + }, + { + "tick": 45, + "easing": "INOUTQUAD", + "body": { + "x": -0.15493058 + } + }, + { + "tick": 54, + "easing": "INOUTQUAD", + "body": { + "x": 0.0 + } + }, + { + "tick": 55, + "easing": "INOUTQUAD", + "body": { + "x": -0.1035458 + } + }, + { + "tick": 64, + "easing": "INOUTQUAD", + "body": { + "x": 0.025333587 + } + }, + { + "tick": 65, + "easing": "INOUTQUAD", + "body": { + "x": -0.11034301 + } + }, + { + "tick": 74, + "easing": "INOUTQUAD", + "body": { + "x": 0.0 + } + }, + { + "tick": 75, + "easing": "INOUTQUAD", + "body": { + "x": -0.21000633 + } + }, + { + "tick": 84, + "easing": "INOUTQUAD", + "body": { + "x": 0.0 + } + }, + { + "tick": 85, + "easing": "INOUTQUAD", + "body": { + "x": 0.0 + } + }, + { + "tick": 94, + "easing": "INOUTQUAD", + "body": { + "x": 0.26974648 + } + }, + { + "tick": 95, + "easing": "INOUTQUAD", + "body": { + "x": -0.22764045 + } + }, + { + "tick": 104, + "easing": "INOUTQUAD", + "body": { + "x": 0.0 + } + }, + { + "tick": 105, + "easing": "INOUTQUAD", + "body": { + "x": -0.15241866 + } + }, + { + "tick": 114, + "easing": "INOUTQUAD", + "body": { + "x": 0.0 + } + }, + { + "tick": 115, + "easing": "INOUTQUAD", + "body": { + "x": -0.16667084 + } + }, + { + "tick": 124, + "easing": "INOUTQUAD", + "body": { + "x": 0.0 + } + }, + { + "tick": 125, + "easing": "INOUTQUAD", + "body": { + "x": -0.21193272 + } + }, + { + "tick": 134, + "easing": "INOUTQUAD", + "body": { + "x": 0.0 + } + }, + { + "tick": 135, + "easing": "INOUTQUAD", + "body": { + "x": -0.29072618 + } + }, + { + "tick": 144, + "easing": "INOUTQUAD", + "body": { + "x": 0.0 + } + }, + { + "tick": 145, + "easing": "INOUTQUAD", + "body": { + "x": 0.0 + } + }, + { + "tick": 154, + "easing": "INOUTQUAD", + "body": { + "x": 0.2166983 + } + }, + { + "tick": 155, + "easing": "INOUTQUAD", + "body": { + "x": -0.14110439 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "body": { + "x": 0.0 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "body": { + "x": -0.04586473 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "body": { + "y": 0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "body": { + "y": -0.1720419 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "body": { + "y": -0.1720419 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "body": { + "y": 0.0 + } + }, + { + "tick": 24, + "easing": "INOUTQUAD", + "body": { + "y": 0.0 + } + }, + { + "tick": 25, + "easing": "INOUTQUAD", + "body": { + "y": -0.1720419 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "body": { + "y": -0.1720419 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "body": { + "y": 0.0 + } + }, + { + "tick": 74, + "easing": "INOUTQUAD", + "body": { + "y": 0.0 + } + }, + { + "tick": 75, + "easing": "INOUTQUAD", + "body": { + "y": 0.5178939 + } + }, + { + "tick": 84, + "easing": "INOUTQUAD", + "body": { + "y": 0.5178939 + } + }, + { + "tick": 85, + "easing": "INOUTQUAD", + "body": { + "y": 0.28458548 + } + }, + { + "tick": 94, + "easing": "INOUTQUAD", + "body": { + "y": 0.28458548 + } + }, + { + "tick": 95, + "easing": "INOUTQUAD", + "body": { + "y": 0.0 + } + }, + { + "tick": 134, + "easing": "INOUTQUAD", + "body": { + "y": 0.0 + } + }, + { + "tick": 135, + "easing": "INOUTQUAD", + "body": { + "y": 0.4809237 + } + }, + { + "tick": 144, + "easing": "INOUTQUAD", + "body": { + "y": 0.4809237 + } + }, + { + "tick": 145, + "easing": "INOUTQUAD", + "body": { + "y": 0.4706339 + } + }, + { + "tick": 154, + "easing": "INOUTQUAD", + "body": { + "y": 0.4706339 + } + }, + { + "tick": 155, + "easing": "INOUTQUAD", + "body": { + "y": 0.0 + } + }, + { + "tick": 164, + "easing": "INOUTQUAD", + "body": { + "y": 0.0 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "body": { + "y": -0.1720419 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "body": { + "z": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "body": { + "z": -0.0 + } + }, + { + "tick": 54, + "easing": "INOUTQUAD", + "body": { + "z": -0.0 + } + }, + { + "tick": 55, + "easing": "INOUTQUAD", + "body": { + "z": 0.011486796 + } + }, + { + "tick": 64, + "easing": "INOUTQUAD", + "body": { + "z": 0.011486796 + } + }, + { + "tick": 65, + "easing": "INOUTQUAD", + "body": { + "z": -0.0 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "body": { + "z": -0.0 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "body": { + "pitch": 0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "body": { + "pitch": 0.0 + } + }, + { + "tick": 124, + "easing": "INOUTQUAD", + "body": { + "pitch": -0.0 + } + }, + { + "tick": 125, + "easing": "INOUTQUAD", + "body": { + "pitch": 0.23216064 + } + }, + { + "tick": 134, + "easing": "INOUTQUAD", + "body": { + "pitch": 0.23216064 + } + }, + { + "tick": 135, + "easing": "INOUTQUAD", + "body": { + "pitch": 0.0 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "body": { + "pitch": 0.0 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "body": { + "yaw": 0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "body": { + "yaw": 0.0 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "body": { + "yaw": 0.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "body": { + "yaw": -1.3986131 + } + }, + { + "tick": 24, + "easing": "INOUTQUAD", + "body": { + "yaw": -1.3986131 + } + }, + { + "tick": 25, + "easing": "INOUTQUAD", + "body": { + "yaw": 0.0 + } + }, + { + "tick": 34, + "easing": "INOUTQUAD", + "body": { + "yaw": 0.0 + } + }, + { + "tick": 35, + "easing": "INOUTQUAD", + "body": { + "yaw": -0.07036926 + } + }, + { + "tick": 44, + "easing": "INOUTQUAD", + "body": { + "yaw": -0.07036926 + } + }, + { + "tick": 45, + "easing": "INOUTQUAD", + "body": { + "yaw": -0.07036925 + } + }, + { + "tick": 54, + "easing": "INOUTQUAD", + "body": { + "yaw": -0.07036925 + } + }, + { + "tick": 55, + "easing": "INOUTQUAD", + "body": { + "yaw": 0.0 + } + }, + { + "tick": 94, + "easing": "INOUTQUAD", + "body": { + "yaw": 0.0 + } + }, + { + "tick": 95, + "easing": "INOUTQUAD", + "body": { + "yaw": 1.5803477 + } + }, + { + "tick": 104, + "easing": "INOUTQUAD", + "body": { + "yaw": 1.5803477 + } + }, + { + "tick": 105, + "easing": "INOUTQUAD", + "body": { + "yaw": 0.0 + } + }, + { + "tick": 114, + "easing": "INOUTQUAD", + "body": { + "yaw": 0.0 + } + }, + { + "tick": 115, + "easing": "INOUTQUAD", + "body": { + "yaw": -0.11275339 + } + }, + { + "tick": 124, + "easing": "INOUTQUAD", + "body": { + "yaw": -0.11275339 + } + }, + { + "tick": 125, + "easing": "INOUTQUAD", + "body": { + "yaw": 0.43098667 + } + }, + { + "tick": 134, + "easing": "INOUTQUAD", + "body": { + "yaw": 0.43098667 + } + }, + { + "tick": 135, + "easing": "INOUTQUAD", + "body": { + "yaw": -1.5896086 + } + }, + { + "tick": 144, + "easing": "INOUTQUAD", + "body": { + "yaw": -1.5896086 + } + }, + { + "tick": 145, + "easing": "INOUTQUAD", + "body": { + "yaw": 0.0 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "body": { + "yaw": 0.0 + } + }, + { + "tick": 4, + "easing": "INOUTQUAD", + "body": { + "roll": -0.0 + } + }, + { + "tick": 5, + "easing": "INOUTQUAD", + "body": { + "roll": -0.0 + } + }, + { + "tick": 14, + "easing": "INOUTQUAD", + "body": { + "roll": 0.0 + } + }, + { + "tick": 15, + "easing": "INOUTQUAD", + "body": { + "roll": -0.10164733 + } + }, + { + "tick": 24, + "easing": "INOUTQUAD", + "body": { + "roll": -0.10164733 + } + }, + { + "tick": 25, + "easing": "INOUTQUAD", + "body": { + "roll": -0.0 + } + }, + { + "tick": 44, + "easing": "INOUTQUAD", + "body": { + "roll": -0.0 + } + }, + { + "tick": 45, + "easing": "INOUTQUAD", + "body": { + "roll": -0.061503474 + } + }, + { + "tick": 54, + "easing": "INOUTQUAD", + "body": { + "roll": -0.061503474 + } + }, + { + "tick": 55, + "easing": "INOUTQUAD", + "body": { + "roll": -0.037977725 + } + }, + { + "tick": 64, + "easing": "INOUTQUAD", + "body": { + "roll": -0.037977725 + } + }, + { + "tick": 65, + "easing": "INOUTQUAD", + "body": { + "roll": -0.010051205 + } + }, + { + "tick": 74, + "easing": "INOUTQUAD", + "body": { + "roll": -0.010051205 + } + }, + { + "tick": 75, + "easing": "INOUTQUAD", + "body": { + "roll": -3.1445053 + } + }, + { + "tick": 84, + "easing": "INOUTQUAD", + "body": { + "roll": -3.1445053 + } + }, + { + "tick": 85, + "easing": "INOUTQUAD", + "body": { + "roll": 1.7155838 + } + }, + { + "tick": 94, + "easing": "INOUTQUAD", + "body": { + "roll": 1.7155838 + } + }, + { + "tick": 95, + "easing": "INOUTQUAD", + "body": { + "roll": -1.6908722 + } + }, + { + "tick": 104, + "easing": "INOUTQUAD", + "body": { + "roll": -1.6908722 + } + }, + { + "tick": 105, + "easing": "INOUTQUAD", + "body": { + "roll": -0.0 + } + }, + { + "tick": 124, + "easing": "INOUTQUAD", + "body": { + "roll": 0.0 + } + }, + { + "tick": 125, + "easing": "INOUTQUAD", + "body": { + "roll": 0.030365204 + } + }, + { + "tick": 134, + "easing": "INOUTQUAD", + "body": { + "roll": 0.030365204 + } + }, + { + "tick": 135, + "easing": "INOUTQUAD", + "body": { + "roll": -3.145151 + } + }, + { + "tick": 144, + "easing": "INOUTQUAD", + "body": { + "roll": -3.145151 + } + }, + { + "tick": 145, + "easing": "INOUTQUAD", + "body": { + "roll": 2.160377 + } + }, + { + "tick": 154, + "easing": "INOUTQUAD", + "body": { + "roll": 2.160377 + } + }, + { + "tick": 155, + "easing": "INOUTQUAD", + "body": { + "roll": -0.0 + } + }, + { + "tick": 165, + "easing": "INOUTQUAD", + "body": { + "roll": -0.0 + } + } + ] + } +} \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/player_animations/tpose.json b/src/main/resources/assets/saturnclient/player_animations/tpose.json new file mode 100644 index 0000000..abd421f --- /dev/null +++ b/src/main/resources/assets/saturnclient/player_animations/tpose.json @@ -0,0 +1,354 @@ +{ + "version": 1, + "valid": true, + "name": "tpose", + "description": "MENACING", + "author": "stephanieisdumb", + "emote": { + "beginTick": 0, + "endTick": 80, + "stopTick": 81, + "isLoop": true, + "returnTick": 20, + "nsfw": false, + "degrees": false, + "moves": [ + { + "tick": 10, + "easing": "INOUTQUAD", + "rightArm": { + "x": -5.0 + } + }, + { + "tick": 20, + "easing": "INOUTQUAD", + "rightArm": { + "x": -6.0 + } + }, + { + "tick": 80, + "easing": "INOUTQUAD", + "rightArm": { + "x": -6.0 + } + }, + { + "tick": 10, + "easing": "INOUTQUAD", + "rightArm": { + "y": 2.0 + } + }, + { + "tick": 20, + "easing": "INOUTQUAD", + "rightArm": { + "y": 3.0 + } + }, + { + "tick": 80, + "easing": "INOUTQUAD", + "rightArm": { + "y": 3.0 + } + }, + { + "tick": 10, + "easing": "INOUTQUAD", + "rightArm": { + "z": -0.0 + } + }, + { + "tick": 20, + "easing": "INOUTQUAD", + "rightArm": { + "z": -0.0 + } + }, + { + "tick": 80, + "easing": "INOUTQUAD", + "rightArm": { + "z": -0.0 + } + }, + { + "tick": 10, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -1.0704756 + } + }, + { + "tick": 20, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -0.0 + } + }, + { + "tick": 50, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": 0.059108086 + } + }, + { + "tick": 80, + "easing": "INOUTQUAD", + "rightArm": { + "pitch": -0.0 + } + }, + { + "tick": 10, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.61077195 + } + }, + { + "tick": 20, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.0 + } + }, + { + "tick": 50, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.008776078 + } + }, + { + "tick": 80, + "easing": "INOUTQUAD", + "rightArm": { + "yaw": -0.0 + } + }, + { + "tick": 10, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 0.6060502 + } + }, + { + "tick": 20, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 1.5707964 + } + }, + { + "tick": 50, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 1.5765934 + } + }, + { + "tick": 80, + "easing": "INOUTQUAD", + "rightArm": { + "roll": 1.5707964 + } + }, + { + "tick": 10, + "easing": "INOUTQUAD", + "rightArm": { + "bend": -1.3806202 + } + }, + { + "tick": 20, + "easing": "INOUTQUAD", + "rightArm": { + "bend": -0.0 + } + }, + { + "tick": 10, + "easing": "INOUTQUAD", + "leftArm": { + "x": 5.0 + } + }, + { + "tick": 20, + "easing": "INOUTQUAD", + "leftArm": { + "x": 6.0 + } + }, + { + "tick": 80, + "easing": "INOUTQUAD", + "leftArm": { + "x": 6.0 + } + }, + { + "tick": 10, + "easing": "INOUTQUAD", + "leftArm": { + "y": 2.0 + } + }, + { + "tick": 20, + "easing": "INOUTQUAD", + "leftArm": { + "y": 3.0 + } + }, + { + "tick": 80, + "easing": "INOUTQUAD", + "leftArm": { + "y": 3.0 + } + }, + { + "tick": 10, + "easing": "INOUTQUAD", + "leftArm": { + "z": -0.0 + } + }, + { + "tick": 20, + "easing": "INOUTQUAD", + "leftArm": { + "z": -0.0 + } + }, + { + "tick": 80, + "easing": "INOUTQUAD", + "leftArm": { + "z": -0.0 + } + }, + { + "tick": 10, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": -1.0045553 + } + }, + { + "tick": 20, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": 0.0 + } + }, + { + "tick": 50, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": 0.010133168 + } + }, + { + "tick": 80, + "easing": "INOUTQUAD", + "leftArm": { + "pitch": 0.0 + } + }, + { + "tick": 10, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 0.44322997 + } + }, + { + "tick": 20, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": -0.0 + } + }, + { + "tick": 50, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": 0.038214765 + } + }, + { + "tick": 80, + "easing": "INOUTQUAD", + "leftArm": { + "yaw": -0.0 + } + }, + { + "tick": 10, + "easing": "INOUTQUAD", + "leftArm": { + "roll": -0.5571526 + } + }, + { + "tick": 20, + "easing": "INOUTQUAD", + "leftArm": { + "roll": -1.5707964 + } + }, + { + "tick": 50, + "easing": "INOUTQUAD", + "leftArm": { + "roll": -1.5692185 + } + }, + { + "tick": 80, + "easing": "INOUTQUAD", + "leftArm": { + "roll": -1.5707964 + } + }, + { + "tick": 10, + "easing": "INOUTQUAD", + "leftArm": { + "bend": -1.3810014 + } + }, + { + "tick": 20, + "easing": "INOUTQUAD", + "leftArm": { + "bend": -0.0 + } + }, + { + "tick": 80, + "easing": "INOUTQUAD", + "leftLeg": { + "pitch": 0.0 + } + }, + { + "tick": 80, + "easing": "INOUTQUAD", + "rightLeg": { + "pitch": 0.0 + } + } + ] + } +} \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/textures/cloaks/amg.png b/src/main/resources/assets/saturnclient/textures/cloaks/amg.png new file mode 100644 index 0000000..ee63ca0 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/cloaks/amg.png differ diff --git a/src/main/resources/assets/saturnclient/textures/cloaks/amg_petronas.png b/src/main/resources/assets/saturnclient/textures/cloaks/amg_petronas.png new file mode 100644 index 0000000..ba0169d Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/cloaks/amg_petronas.png differ diff --git a/src/main/resources/assets/saturnclient/textures/cloaks/black_hole_amethyst.gif b/src/main/resources/assets/saturnclient/textures/cloaks/black_hole_amethyst.gif new file mode 100644 index 0000000..4efb183 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/cloaks/black_hole_amethyst.gif differ diff --git a/src/main/resources/assets/saturnclient/textures/cloaks/black_hole_amethyst.png b/src/main/resources/assets/saturnclient/textures/cloaks/black_hole_amethyst.png new file mode 100644 index 0000000..4b4c8c9 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/cloaks/black_hole_amethyst.png differ diff --git a/src/main/resources/assets/saturnclient/textures/cloaks/black_hole_flame.gif b/src/main/resources/assets/saturnclient/textures/cloaks/black_hole_flame.gif new file mode 100644 index 0000000..fa833b5 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/cloaks/black_hole_flame.gif differ diff --git a/src/main/resources/assets/saturnclient/textures/cloaks/black_hole_flame.png b/src/main/resources/assets/saturnclient/textures/cloaks/black_hole_flame.png new file mode 100644 index 0000000..0d30ca3 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/cloaks/black_hole_flame.png differ diff --git a/src/main/resources/assets/saturnclient/textures/cloaks/black_hole_white.gif b/src/main/resources/assets/saturnclient/textures/cloaks/black_hole_white.gif new file mode 100644 index 0000000..f534763 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/cloaks/black_hole_white.gif differ diff --git a/src/main/resources/assets/saturnclient/textures/cloaks/black_hole_white.png b/src/main/resources/assets/saturnclient/textures/cloaks/black_hole_white.png new file mode 100644 index 0000000..17fa98e Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/cloaks/black_hole_white.png differ diff --git a/src/main/resources/assets/saturnclient/textures/cloaks/bmw.png b/src/main/resources/assets/saturnclient/textures/cloaks/bmw.png new file mode 100644 index 0000000..2f3a171 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/cloaks/bmw.png differ diff --git a/src/main/resources/assets/saturnclient/textures/cloaks/crimson_mark.png b/src/main/resources/assets/saturnclient/textures/cloaks/crimson_mark.png new file mode 100644 index 0000000..ed56e71 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/cloaks/crimson_mark.png differ diff --git a/src/main/resources/assets/saturnclient/textures/cloaks/ferrari.png b/src/main/resources/assets/saturnclient/textures/cloaks/ferrari.png new file mode 100644 index 0000000..f7b2db6 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/cloaks/ferrari.png differ diff --git a/src/main/resources/assets/saturnclient/textures/cloaks/glitch.gif b/src/main/resources/assets/saturnclient/textures/cloaks/glitch.gif new file mode 100644 index 0000000..e7cdfbd Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/cloaks/glitch.gif differ diff --git a/src/main/resources/assets/saturnclient/textures/cloaks/glitch.png b/src/main/resources/assets/saturnclient/textures/cloaks/glitch.png new file mode 100644 index 0000000..beb3cd3 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/cloaks/glitch.png differ diff --git a/src/main/resources/assets/saturnclient/textures/cloaks/mercedes_flow.png b/src/main/resources/assets/saturnclient/textures/cloaks/mercedes_flow.png new file mode 100644 index 0000000..2f7ad61 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/cloaks/mercedes_flow.png differ diff --git a/src/main/resources/assets/saturnclient/textures/cloaks/redbull.png b/src/main/resources/assets/saturnclient/textures/cloaks/redbull.png new file mode 100644 index 0000000..7f1fa5c Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/cloaks/redbull.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/cloak/amg.png b/src/main/resources/assets/saturnclient/textures/gui/cloak/amg.png new file mode 100644 index 0000000..55c0cd4 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/cloak/amg.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/cloak/amg_petronas.png b/src/main/resources/assets/saturnclient/textures/gui/cloak/amg_petronas.png new file mode 100644 index 0000000..0013b33 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/cloak/amg_petronas.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/cloak/black_hole_amethyst.png b/src/main/resources/assets/saturnclient/textures/gui/cloak/black_hole_amethyst.png new file mode 100644 index 0000000..d68de7d Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/cloak/black_hole_amethyst.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/cloak/black_hole_flame.png b/src/main/resources/assets/saturnclient/textures/gui/cloak/black_hole_flame.png new file mode 100644 index 0000000..714a073 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/cloak/black_hole_flame.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/cloak/black_hole_white.png b/src/main/resources/assets/saturnclient/textures/gui/cloak/black_hole_white.png new file mode 100644 index 0000000..1fd6c4e Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/cloak/black_hole_white.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/cloak/bmw.png b/src/main/resources/assets/saturnclient/textures/gui/cloak/bmw.png new file mode 100644 index 0000000..db981dd Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/cloak/bmw.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/cloak/crimson_mark.png b/src/main/resources/assets/saturnclient/textures/gui/cloak/crimson_mark.png new file mode 100644 index 0000000..c946473 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/cloak/crimson_mark.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/cloak/ferrari.png b/src/main/resources/assets/saturnclient/textures/gui/cloak/ferrari.png new file mode 100644 index 0000000..210c9e2 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/cloak/ferrari.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/cloak/glitch.png b/src/main/resources/assets/saturnclient/textures/gui/cloak/glitch.png new file mode 100644 index 0000000..b0ea453 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/cloak/glitch.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/cloak/mercedes_flow.png b/src/main/resources/assets/saturnclient/textures/gui/cloak/mercedes_flow.png new file mode 100644 index 0000000..0e40488 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/cloak/mercedes_flow.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/cloak/none.png b/src/main/resources/assets/saturnclient/textures/gui/cloak/none.png new file mode 100644 index 0000000..57b0853 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/cloak/none.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/cloak/redbull.png b/src/main/resources/assets/saturnclient/textures/gui/cloak/redbull.png new file mode 100644 index 0000000..23e5add Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/cloak/redbull.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/components/check.png b/src/main/resources/assets/saturnclient/textures/gui/components/check.png new file mode 100644 index 0000000..039befb Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/components/check.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/components/circle_x.png b/src/main/resources/assets/saturnclient/textures/gui/components/circle_x.png new file mode 100644 index 0000000..11401de Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/components/circle_x.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/components/cloak.png b/src/main/resources/assets/saturnclient/textures/gui/components/cloak.png new file mode 100644 index 0000000..ab853dd Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/components/cloak.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/components/close.png b/src/main/resources/assets/saturnclient/textures/gui/components/close.png new file mode 100644 index 0000000..cf7f967 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/components/close.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/components/coins.png b/src/main/resources/assets/saturnclient/textures/gui/components/coins.png new file mode 100644 index 0000000..0946546 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/components/coins.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/components/cosmetics.png b/src/main/resources/assets/saturnclient/textures/gui/components/cosmetics.png new file mode 100644 index 0000000..725110f Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/components/cosmetics.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/components/hat.png b/src/main/resources/assets/saturnclient/textures/gui/components/hat.png new file mode 100644 index 0000000..b84414f Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/components/hat.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/components/hud.png b/src/main/resources/assets/saturnclient/textures/gui/components/hud.png new file mode 100644 index 0000000..a71c971 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/components/hud.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/components/info.png b/src/main/resources/assets/saturnclient/textures/gui/components/info.png new file mode 100644 index 0000000..81686b1 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/components/info.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/components/left.png b/src/main/resources/assets/saturnclient/textures/gui/components/left.png new file mode 100644 index 0000000..073a748 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/components/left.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/components/mods_tab.png b/src/main/resources/assets/saturnclient/textures/gui/components/mods_tab.png new file mode 100644 index 0000000..3c46cd0 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/components/mods_tab.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/components/reset.png b/src/main/resources/assets/saturnclient/textures/gui/components/reset.png new file mode 100644 index 0000000..fa62098 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/components/reset.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/components/right.png b/src/main/resources/assets/saturnclient/textures/gui/components/right.png new file mode 100644 index 0000000..fa6ee7c Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/components/right.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/components/search.png b/src/main/resources/assets/saturnclient/textures/gui/components/search.png new file mode 100644 index 0000000..ac03290 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/components/search.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/components/settings.png b/src/main/resources/assets/saturnclient/textures/gui/components/settings.png new file mode 100644 index 0000000..93074e0 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/components/settings.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/components/shirt.png b/src/main/resources/assets/saturnclient/textures/gui/components/shirt.png new file mode 100644 index 0000000..96a85f1 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/components/shirt.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/components/store.png b/src/main/resources/assets/saturnclient/textures/gui/components/store.png new file mode 100644 index 0000000..b067b97 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/components/store.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/emote/back_flip.png b/src/main/resources/assets/saturnclient/textures/gui/emote/back_flip.png new file mode 100644 index 0000000..7d8cdad Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/emote/back_flip.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/emote/cry.png b/src/main/resources/assets/saturnclient/textures/gui/emote/cry.png new file mode 100644 index 0000000..ac33bfe Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/emote/cry.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/emote/facepalm.png b/src/main/resources/assets/saturnclient/textures/gui/emote/facepalm.png new file mode 100644 index 0000000..b67f0b1 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/emote/facepalm.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/emote/giga_chad.png b/src/main/resources/assets/saturnclient/textures/gui/emote/giga_chad.png new file mode 100644 index 0000000..c0a166b Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/emote/giga_chad.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/emote/none.png b/src/main/resources/assets/saturnclient/textures/gui/emote/none.png new file mode 100644 index 0000000..515541c Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/emote/none.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/emote/tpose.png b/src/main/resources/assets/saturnclient/textures/gui/emote/tpose.png new file mode 100644 index 0000000..8a64524 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/emote/tpose.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/emote/with_bg/back_flip.png b/src/main/resources/assets/saturnclient/textures/gui/emote/with_bg/back_flip.png new file mode 100644 index 0000000..f2edac8 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/emote/with_bg/back_flip.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/emote/with_bg/cry.png b/src/main/resources/assets/saturnclient/textures/gui/emote/with_bg/cry.png new file mode 100644 index 0000000..2b743f6 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/emote/with_bg/cry.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/emote/with_bg/facepalm.png b/src/main/resources/assets/saturnclient/textures/gui/emote/with_bg/facepalm.png new file mode 100644 index 0000000..5afc49b Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/emote/with_bg/facepalm.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/emote/with_bg/giga_chad.png b/src/main/resources/assets/saturnclient/textures/gui/emote/with_bg/giga_chad.png new file mode 100644 index 0000000..9802c3f Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/emote/with_bg/giga_chad.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/emote/with_bg/tpose.png b/src/main/resources/assets/saturnclient/textures/gui/emote/with_bg/tpose.png new file mode 100644 index 0000000..c49dd68 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/emote/with_bg/tpose.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/hat/halo.png b/src/main/resources/assets/saturnclient/textures/gui/hat/halo.png new file mode 100644 index 0000000..cbdeafa Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/hat/halo.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/hat/halo_black.png b/src/main/resources/assets/saturnclient/textures/gui/hat/halo_black.png new file mode 100644 index 0000000..244aeca Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/hat/halo_black.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/hat/horns_black.png b/src/main/resources/assets/saturnclient/textures/gui/hat/horns_black.png new file mode 100644 index 0000000..446bf41 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/hat/horns_black.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/hat/horns_white.png b/src/main/resources/assets/saturnclient/textures/gui/hat/horns_white.png new file mode 100644 index 0000000..d411bb7 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/hat/horns_white.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/hat/none.png b/src/main/resources/assets/saturnclient/textures/gui/hat/none.png new file mode 100644 index 0000000..16c2bbe Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/hat/none.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/hud/crosshair_range.png b/src/main/resources/assets/saturnclient/textures/gui/hud/crosshair_range.png new file mode 100644 index 0000000..fe1e8cf Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/hud/crosshair_range.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/mod/armor.svg b/src/main/resources/assets/saturnclient/textures/gui/mod/armor.svg new file mode 100644 index 0000000..c5995e0 --- /dev/null +++ b/src/main/resources/assets/saturnclient/textures/gui/mod/armor.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/textures/gui/mod/clock.svg b/src/main/resources/assets/saturnclient/textures/gui/mod/clock.svg new file mode 100644 index 0000000..c928bd6 --- /dev/null +++ b/src/main/resources/assets/saturnclient/textures/gui/mod/clock.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/textures/gui/mod/coords.svg b/src/main/resources/assets/saturnclient/textures/gui/mod/coords.svg new file mode 100644 index 0000000..317f49b --- /dev/null +++ b/src/main/resources/assets/saturnclient/textures/gui/mod/coords.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/textures/gui/mod/crosshair.svg b/src/main/resources/assets/saturnclient/textures/gui/mod/crosshair.svg new file mode 100644 index 0000000..bb0cb50 --- /dev/null +++ b/src/main/resources/assets/saturnclient/textures/gui/mod/crosshair.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/textures/gui/mod/day.svg b/src/main/resources/assets/saturnclient/textures/gui/mod/day.svg new file mode 100644 index 0000000..9432885 --- /dev/null +++ b/src/main/resources/assets/saturnclient/textures/gui/mod/day.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/textures/gui/mod/effect.svg b/src/main/resources/assets/saturnclient/textures/gui/mod/effect.svg new file mode 100644 index 0000000..0e61d06 --- /dev/null +++ b/src/main/resources/assets/saturnclient/textures/gui/mod/effect.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/textures/gui/mod/fps.svg b/src/main/resources/assets/saturnclient/textures/gui/mod/fps.svg new file mode 100644 index 0000000..6e76d84 --- /dev/null +++ b/src/main/resources/assets/saturnclient/textures/gui/mod/fps.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/textures/gui/mod/freelook.svg b/src/main/resources/assets/saturnclient/textures/gui/mod/freelook.svg new file mode 100644 index 0000000..199e319 --- /dev/null +++ b/src/main/resources/assets/saturnclient/textures/gui/mod/freelook.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/textures/gui/mod/fullbright.svg b/src/main/resources/assets/saturnclient/textures/gui/mod/fullbright.svg new file mode 100644 index 0000000..3e8360d --- /dev/null +++ b/src/main/resources/assets/saturnclient/textures/gui/mod/fullbright.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/textures/gui/mod/health.svg b/src/main/resources/assets/saturnclient/textures/gui/mod/health.svg new file mode 100644 index 0000000..491bbd7 --- /dev/null +++ b/src/main/resources/assets/saturnclient/textures/gui/mod/health.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/textures/gui/mod/keystrokes.svg b/src/main/resources/assets/saturnclient/textures/gui/mod/keystrokes.svg new file mode 100644 index 0000000..f7e19c9 --- /dev/null +++ b/src/main/resources/assets/saturnclient/textures/gui/mod/keystrokes.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/textures/gui/mod/nametags.svg b/src/main/resources/assets/saturnclient/textures/gui/mod/nametags.svg new file mode 100644 index 0000000..876a0f0 --- /dev/null +++ b/src/main/resources/assets/saturnclient/textures/gui/mod/nametags.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/textures/gui/mod/nofog.svg b/src/main/resources/assets/saturnclient/textures/gui/mod/nofog.svg new file mode 100644 index 0000000..63a48cc --- /dev/null +++ b/src/main/resources/assets/saturnclient/textures/gui/mod/nofog.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/textures/gui/mod/particles.svg b/src/main/resources/assets/saturnclient/textures/gui/mod/particles.svg new file mode 100644 index 0000000..f4addd6 --- /dev/null +++ b/src/main/resources/assets/saturnclient/textures/gui/mod/particles.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/textures/gui/mod/ping.svg b/src/main/resources/assets/saturnclient/textures/gui/mod/ping.svg new file mode 100644 index 0000000..6eaafc9 --- /dev/null +++ b/src/main/resources/assets/saturnclient/textures/gui/mod/ping.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/textures/gui/mod/speed.svg b/src/main/resources/assets/saturnclient/textures/gui/mod/speed.svg new file mode 100644 index 0000000..e8ff01c --- /dev/null +++ b/src/main/resources/assets/saturnclient/textures/gui/mod/speed.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/textures/gui/mod/sprint.svg b/src/main/resources/assets/saturnclient/textures/gui/mod/sprint.svg new file mode 100644 index 0000000..35e91e7 --- /dev/null +++ b/src/main/resources/assets/saturnclient/textures/gui/mod/sprint.svg @@ -0,0 +1,35 @@ + + + + +Created by potrace 1.15, written by Peter Selinger 2001-2017 + + + + + + diff --git a/src/main/resources/assets/saturnclient/textures/gui/mod/tps.svg b/src/main/resources/assets/saturnclient/textures/gui/mod/tps.svg new file mode 100644 index 0000000..f2ad6c9 --- /dev/null +++ b/src/main/resources/assets/saturnclient/textures/gui/mod/tps.svg @@ -0,0 +1,7 @@ + + + + + + performance_line + \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/textures/gui/mod/zoom.svg b/src/main/resources/assets/saturnclient/textures/gui/mod/zoom.svg new file mode 100644 index 0000000..320a59d --- /dev/null +++ b/src/main/resources/assets/saturnclient/textures/gui/mod/zoom.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/assets/saturnclient/textures/gui/splash.png b/src/main/resources/assets/saturnclient/textures/gui/splash.png new file mode 100644 index 0000000..84f2988 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/splash.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/title/background/panorama_0.png b/src/main/resources/assets/saturnclient/textures/gui/title/background/panorama_0.png new file mode 100644 index 0000000..6653bad Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/title/background/panorama_0.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/title/background/panorama_1.png b/src/main/resources/assets/saturnclient/textures/gui/title/background/panorama_1.png new file mode 100644 index 0000000..523b7a4 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/title/background/panorama_1.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/title/background/panorama_2.png b/src/main/resources/assets/saturnclient/textures/gui/title/background/panorama_2.png new file mode 100644 index 0000000..354c1b1 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/title/background/panorama_2.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/title/background/panorama_3.png b/src/main/resources/assets/saturnclient/textures/gui/title/background/panorama_3.png new file mode 100644 index 0000000..da74054 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/title/background/panorama_3.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/title/background/panorama_4.png b/src/main/resources/assets/saturnclient/textures/gui/title/background/panorama_4.png new file mode 100644 index 0000000..f0c51f7 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/title/background/panorama_4.png differ diff --git a/src/main/resources/assets/saturnclient/textures/gui/title/background/panorama_5.png b/src/main/resources/assets/saturnclient/textures/gui/title/background/panorama_5.png new file mode 100644 index 0000000..93663f5 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/gui/title/background/panorama_5.png differ diff --git a/src/main/resources/assets/saturnclient/textures/item/halo.png b/src/main/resources/assets/saturnclient/textures/item/halo.png new file mode 100644 index 0000000..341eb3a Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/item/halo.png differ diff --git a/src/main/resources/assets/saturnclient/textures/item/halo_black.png b/src/main/resources/assets/saturnclient/textures/item/halo_black.png new file mode 100644 index 0000000..c0d7493 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/item/halo_black.png differ diff --git a/src/main/resources/assets/saturnclient/textures/logo/logo.png b/src/main/resources/assets/saturnclient/textures/logo/logo.png new file mode 100644 index 0000000..cff8085 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/logo/logo.png differ diff --git a/src/main/resources/assets/saturnclient/textures/logo/realistic.png b/src/main/resources/assets/saturnclient/textures/logo/realistic.png new file mode 100644 index 0000000..ee0a6ea Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/logo/realistic.png differ diff --git a/src/main/resources/assets/saturnclient/textures/logo/text.png b/src/main/resources/assets/saturnclient/textures/logo/text.png new file mode 100644 index 0000000..6fd0bf1 Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/logo/text.png differ diff --git a/src/main/resources/assets/saturnclient/textures/logo/text_big.png b/src/main/resources/assets/saturnclient/textures/logo/text_big.png new file mode 100644 index 0000000..62eb09c Binary files /dev/null and b/src/main/resources/assets/saturnclient/textures/logo/text_big.png differ