Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
fe28f70
add message sent event, major modifications to share:
Antonio32A Jan 2, 2022
20dc8c5
rewrite message sent event, working shares, any char for bridge user
Desco1 Jan 4, 2022
12b6b12
remove unnecessary comment and fix one letter missing from the share …
Antonio32A Jan 4, 2022
08ac43e
DungeonCleanup, custom cape fix
Desco1 Jan 4, 2022
091dbfa
copy share embed, allow for share scrolling, potential fix to hypixel…
Desco1 Jan 4, 2022
e4d9783
Remove optifine's witch/santa hats, comments
Desco1 Jan 6, 2022
4712498
automatic building
Antonio32A Jan 7, 2022
5408c16
automatic building
Antonio32A Jan 7, 2022
bacb246
convert commits list to json
Antonio32A Jan 7, 2022
8721420
attempt to send commits as form data and fix secret header
Antonio32A Jan 7, 2022
4bd57d2
properly stringify commits (hopefully)
Antonio32A Jan 7, 2022
f39cd54
test 1
Antonio32A Jan 7, 2022
8304f00
test 2
Antonio32A Jan 7, 2022
e3dea5a
Search mode message now stays at the bottom of the chat.
Desco1 Jan 8, 2022
12183cf
Merge remote-tracking branch 'origin/main'
Desco1 Jan 8, 2022
65823f1
attempt to fix a script injection
Antonio32A Jan 8, 2022
3e5e765
Fix NEU removing keyboard repeat events for container chat.
Desco1 Jan 9, 2022
a8ee33c
Bridge compatibility for skytils' chattabs, wishing compass uses display
Desco1 Jan 14, 2022
ef58aab
remove unnecessary code for st's tab and bridge compatibility
Desco1 Jan 14, 2022
71ece9d
Chat inside portal (please compile correctly please)
Desco1 Jan 16, 2022
a764e4f
ContainerCommand (haha get it)
Desco1 Jan 17, 2022
1dc0a6b
i don kno what am i doin
Desco1 Jan 17, 2022
74a0f49
leather hex on shares, coop collection cleanup crash fix
Desco1 Jan 20, 2022
d4d89d4
leather hex on shares (for real this time), scuffed readme
Desco1 Jan 21, 2022
2cca26c
we dont talk about that. just dont
Desco1 Jan 21, 2022
1a3ff1d
oh lawd it's comin' (0.1.0)
Desco1 Jan 22, 2022
47a5ec8
screenshots in container chat and the most specific feature ever
Desco1 Jan 24, 2022
694fc89
no container chat in anvil when focused, bridge regex changes, LoreCl…
Desco1 Jan 24, 2022
6c124b6
hehe whoopsie i forgor
Desco1 Jan 24, 2022
04ec157
disco be like idk how to use reflection; do what you want with provid…
complexorigin Jan 25, 2022
f6f0d0b
Merge pull request #1 from complexorigin/dev
Desco1 Jan 25, 2022
053f2ab
wow, such a good change
complexorigin Jan 26, 2022
68cdc3f
tablist cleanup, superpairs ids and fixes for lorecleanup and contain…
Desco1 Jan 26, 2022
06c3f92
Merge pull request #2 from complexorigin/dev
Desco1 Jan 26, 2022
9e92b9e
turns out museum also has an arrow
Desco1 Jan 29, 2022
62b3d30
crash fix? maybe? idk
Desco1 Jan 29, 2022
0622132
meh (0.2.0)
Desco1 Jan 31, 2022
9c2f110
readme changelogs are neat
Desco1 Jan 31, 2022
8b9816e
fix for soulbound text being always removed, global better perspectiv…
Desco1 Mar 4, 2022
d8706f4
thank you owoplex very cool.
Desco1 Mar 12, 2022
b04aaea
walmart fix for coopcleanup and guild motd update
Desco1 Mar 30, 2022
256f10f
no way this fixes THE crash right
Desco1 Apr 26, 2022
25cde12
prepare.
Desco1 May 6, 2022
65038b9
prepare, but for real now (startup crash fix)
Desco1 May 6, 2022
4799996
"lock" for container chat, "fix" for old reforge messages
Desco1 May 6, 2022
a7ff6a6
ancestral spade triangulation (more to do)
Desco1 May 7, 2022
f16c9c7
meh (0.3.0)
Desco1 Jun 5, 2022
c355ae3
please be fine i dont want to review this again
Desco1 Jun 5, 2022
99216dc
(Preview)
Desco1 Jun 5, 2022
6bbb6a0
pet lore cleanup + whatever hotfix desco implemented for enchantment …
RayDeeUx Jun 9, 2022
b04ac9c
change ver
RayDeeUx Jun 9, 2022
c1c727f
config updates
RayDeeUx Jun 9, 2022
0b7ef10
version change
RayDeeUx Jun 9, 2022
ab85567
add pet detection
RayDeeUx Jun 9, 2022
1e9f382
whoops! fix example text for accuracy's sake
RayDeeUx Jun 9, 2022
2097f0a
LAST CALL FOR LASTMINUTE LINECHANGES
RayDeeUx Jun 9, 2022
5b84429
LAST CALL FOR LASTMINUTE LINECHANGES
RayDeeUx Jun 9, 2022
f7f4a35
LAST CALL FOR LASTMINUTE LINECHANGES
RayDeeUx Jun 9, 2022
9a76c9d
AAA VARIABLE NAME CHANGE BC TECHNICALITIES
RayDeeUx Jun 9, 2022
0145962
Merge pull request #3 from RayDeeUx/patch-1
Desco1 Jun 11, 2022
16df964
OccupancyOverlay feature
RayDeeUx Jun 16, 2022
442d394
typo
RayDeeUx Jun 16, 2022
0188969
technicalities are funnnnnnnnnnnnnnnnnnnn
RayDeeUx Jun 16, 2022
696f07e
finally revised the logic to range from red to yellow to green
RayDeeUx Jun 17, 2022
010b30f
spacing
RayDeeUx Jun 17, 2022
0377041
revise comment
RayDeeUx Jun 17, 2022
734a886
apparently friend highlight wasnt working as intended so this may or …
RayDeeUx Jun 17, 2022
2951101
AncestralSpade triangulation, but this time for real
Desco1 Jun 17, 2022
3b1037f
0.3.1 preparation i guess lmao
Desco1 Jun 17, 2022
734479b
custom beacon color, wait for spoon cd, another particle type, no bea…
Desco1 Jun 18, 2022
37ed656
Merge branch 'SynthesisMod:main' into main
RayDeeUx Jun 18, 2022
c147231
so whenever i make a PR the build always fails—i think i found out why
RayDeeUx Jun 18, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: build
on: [ pull_request, push ]

jobs:
build:
strategy:
matrix:
java: [ 8 ]
os: [ ubuntu-20.04 ]
runs-on: ${{ matrix.os }}
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: setup jdk ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: make gradle wrapper executable
run: chmod +x ./gradlew
- name: build
run: ./gradlew build
- name: capture build artifacts
uses: actions/upload-artifact@v2
with:
name: Artifacts
path: build/libs/
- name: send jar to webhook
env:
commits: ${{ toJSON(github.event.commits)}}
run: |
curl -H "secret:***" \
-F commits="$commits" \
-F filename=Synthesis.jar \
-F upload=@build/libs/Synthesis.jar \
${{ secrets.BUILD_URL }}
153 changes: 152 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,153 @@
# Synthesis
Hypixel SkyBlock QoL Mod. Don't use yet, this is so alpha it hurts.
Hypixel SkyBlock QoL Mod. A collection of random mod features that I couldn't find anywhere else.

Releases and announcements at the official [discord](https://discord.gg/vAUuKSwbp6).
Feedback such as suggestions, new features, bugs, etc. will also be collected there.

***

## Features
<details>
<summary>Cleanup</summary>

### Cleanup
Features that help the game feel more clean.
- Coop cleanup, fully customizable
- Auction creation messages
- Auction cancellation messages
- Auction collection messages
- Collection tooltips
- Beacon stat change messages
- Co-op member traveled to island messages
- Dungeon cleanup, fully customizable
- Potion effects message
- Solo dungeon class message
- Ultimate ability message
- Blessing stats messages
- Silverfish messages
- Wither/Blood key usage messages
- Watcher messages
- Doesn't remove the final message
- Lore cleanup, still customizable (0.2.0+)
- Gear score line
- HPB stat bonuses
- Reforge stat bonuses
- Gemstone stat bonuses
- Gemstone icons
- Enchantment descriptions
- And an option to remove enchantment names
- Item abilities
- Full armor set bonuses
- Soulbound text
- Obfuscated text from recombobulator
- Option to not cleanup lore when in the auction house
- Tablist cleanup (0.2.0+)
- Option to remove tablist header
- Option to remove the last 2 lines from the tablist footer
- Chat cleanup (0.3.0+)
- Option to remove old reforge messages when a new one is received
-

</details>

<details>
<summary>Future features</summary>

### Future features
Features from future versions of the game. Yes, I don't know to name this one.
- Chunk borders (F3 + G)
- Chat clear (F3 + D) not clearing sent messages, so up and down arrows still work.
</details>

<details>
<summary>Utilities</summary>

### Utilities
The actual collection of QoL features that doesn't fit any other category.
- Container Chat
- Allows you to type and chat while inside gui inventories
- Search Mode
- Allows you to toggle search mode by pressing Ctrl + F with chat open,
which will only display chat messages that contain what you type.
- Mode to scroll back to a message when you right click on it while on search mode.
- Backpack Retexturing
- HOTM Perk Level Display
- Displays perk level as stack size in the HOTM menu.
- Drop chance to drop rate
- Converts item drop chance to drop rate in the bestiary menu.
- Bestiary glance
- Displays bestiary level and progress in the bestiary menu.
- Armadillo fix
- Prevents your screen being blocked when you are inside a block while riding an armadillo pet.
- Wishing compass triangulation
- Locates where a wishing compass points to. Use one, wait for the particle trail to disappear, move away and use it again.
- Option to add a waypoint at the location while using [Skytils](https://github.com/Skytils/SkytilsMod/).
- Ancestral Spade triangulation
- Quite literally the same thing as wishing compass, but with a few changes.
- Wishing compass uses left display
- Displays a wishing compass' left uses as stack size.
- Visible links
- Makes clickable links in chat blue and underlined.
- Colorless panes
- Turns glass panes gray so glass blocks are more visible. Just used for some gemstone mining, really.
- Chat in portal
- Allows you to type and use chat while inside a nether portal, like the one in dungeon blood room.
- **Note**: It's possible to make portals not close containers such as player inventory, ender chest and others,
but won't for now since I don't know if Hypixel would like that.
- Better wither impact perspective (im good with names, 0.2.0+)
- Toggling perspective while holding a wither impact weapon will skip the front camera.
- Option to make it global instead of wither impact only (0.3.0+)
- Superpairs IDs (0.2.0+)
- Gives skyblock item IDs to items inside superpairs, so NEU and SBE can read them for price displays.
- Additionally, resource packs can also modify those items.
- This was made 1 minute before realizing [Skytils](https://github.com/Skytils/SkytilsMod/) has a working price display inside superpairs, so no need to use this if you use Skytils.
- Shares
- Shares are a way to showcase your items to other users using the mod.
- To show an item, hold it and type "[item]" (configurable) in chat.
- Option to be able to scroll through the share tooltip while using [ScrollableTooltips](https://github.com/Sk1erLLC/ScrollableTooltips)
- Option to click a share to copy an embed for discord. Simply copy it and paste it in a channel on discord.
- Bridge messages
- Formats guild messages sent by a bridge bot.
- Detects username and message based on message format.
- Currently, only works with the formats "ign > msg" and "ign: msg".
- If your bridge bot has another format, let me know.
- If you don't have a bridge bot, [get one](https://neppy.antonio32a.com/).
- Customizable bot name.
- Customizable message format.
- Working links sent from discord while using the format.
- Compatible with [Skytils](https://github.com/Skytils/SkytilsMod/)' guild chat tab regardless of format.
- Optifine
- Allows you to have any optifine user's cape. Only you see this cape!
- Options to bring back from early SkyBlock:
- Yeti with trans cape.
- Terracotta with trans cape.
- Bonzo with non binary cape.
- Grinch with candy cane cape.
- Option to disable all of them, but come on, why would you.
- Option to disable optifine's santa/witch hat.
- [Patcher](https://github.com/Sk1erLLC/Patcher)
- Option to fix an issue that would make compact chat not work under very specific circumstance.
Also when using search mode/container chat in some instances.
- Option to add custom trusted domains to Patcher's Image Preview.
- Some image hosts, like [boob.li](https://boob.li/), won't work with [Patcher](https://github.com/Sk1erLLC/Patcher) 's Image Preview, but will when trusted with this feature.
</details>
<details>
<summary>Commands</summary>

### Commands

The mod only really has one command, /synth, which hosts all other subcommands.
- /synth
- Aliases: /synthesis, /syn
- When used without an argument, it opens the config menu.
- Subcommands:
- bp
- Arguments: backpack number, texture name, texture meta.
- Re textures the backpack in the *backpack number* slot, with the texture *texture name* and *texture meta*
- For example, if you wanted the first backpack to be a fish, you would just use /synth bp fish. If you wanted a pufferfish instead, you would do /synth bp fish 3.
- To remove a backpack's texture, don't add any texture name or meta to the command.
- domains
- Arguments: "add/remove/list", domain
- Adds or removes a domain to or from the trusted domain list for [Patcher](https://github.com/Sk1erLLC/Patcher)'s Image Preview.
- Can also list all the current trusted domains.
</details>
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
repositories {
jcenter()
mavenCentral()
maven {
name = "forge"
url = "https://maven.minecraftforge.net/"
Expand All @@ -26,7 +26,7 @@ apply plugin: "net.minecraftforge.gradle.forge"
apply plugin: "com.github.johnrengelman.shadow"
apply plugin: "org.spongepowered.mixin"

version = "Alpha-v4"
version = "0.3.1"
group = "com.luna"
archivesBaseName = "Synthesis"

Expand Down Expand Up @@ -70,7 +70,7 @@ repositories {

dependencies {
embed "gg.essential:loader-launchwrapper:1.1.3"
compileOnly "gg.essential:essential-1.8.9-forge:1725"
compileOnly "gg.essential:essential-1.8.9-forge:1759"

annotationProcessor "org.spongepowered:mixin:0.8.4"
compileOnly "org.spongepowered:mixin:0.8.4"
Expand All @@ -86,7 +86,7 @@ dependencies {
}

shadowJar {
archiveName = tasks.jar.archiveName
archiveName = "Synthesis.jar"
classifier = ""
duplicatesStrategy = DuplicatesStrategy.EXCLUDE

Expand Down Expand Up @@ -130,4 +130,4 @@ processResources {
}

from(file("LICENSE"))
}
}
Empty file modified gradlew
100644 → 100755
Empty file.
11 changes: 0 additions & 11 deletions src/main/java/com/luna/synthesis/Comment.java

This file was deleted.

17 changes: 14 additions & 3 deletions src/main/java/com/luna/synthesis/Synthesis.java
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
package com.luna.synthesis;

import com.luna.synthesis.commands.CopyToClipboardCommand;
import com.luna.synthesis.commands.SynthesisCommand;
import com.luna.synthesis.core.Config;
import com.luna.synthesis.events.packet.PacketEvent;
import com.luna.synthesis.features.cleanup.CoopCleanup;
import com.luna.synthesis.features.cleanup.DungeonCleanup;
import com.luna.synthesis.features.cleanup.LoreCleanup;
import com.luna.synthesis.features.future.ChunkBorders;
import com.luna.synthesis.features.utilities.*;
import com.luna.synthesis.managers.BackpackManager;
import com.luna.synthesis.utils.ReflectionUtils;
import lombok.Getter;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.common.Mod;
Expand All @@ -24,7 +28,7 @@
public class Synthesis {
public static final String NAME = "Synthesis";
public static final String MODID = "synthesis";
public static final String VERSION = "Alpha-v4";
public static final String VERSION = "0.3.1";
public static final String configLocation = "./config/synthesis.toml";

@Getter private static Synthesis instance;
Expand All @@ -47,10 +51,17 @@ public void init(FMLInitializationEvent event) {
MinecraftForge.EVENT_BUS.register(new BestiaryDropRate());
MinecraftForge.EVENT_BUS.register(new ContainerChat());
MinecraftForge.EVENT_BUS.register(new WishingCompass());
MinecraftForge.EVENT_BUS.register(new OccupancyOverlay());
MinecraftForge.EVENT_BUS.register(new ChatBridge());
MinecraftForge.EVENT_BUS.register(new VisibleLinks());
MinecraftForge.EVENT_BUS.register(new ShareParser());
MinecraftForge.EVENT_BUS.register(new Share());
MinecraftForge.EVENT_BUS.register(new DungeonCleanup());
MinecraftForge.EVENT_BUS.register(new BetterWitherImpactPerspective());
MinecraftForge.EVENT_BUS.register(new LoreCleanup());
MinecraftForge.EVENT_BUS.register(new AncestralSpade());
config.preload();
new SynthesisCommand().register();
new CopyToClipboardCommand().register();
ReflectionUtils.onInit();
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
package com.luna.synthesis.commands;

import com.luna.synthesis.Synthesis;
import com.luna.synthesis.core.Config;
import com.luna.synthesis.utils.ChatLib;
import gg.essential.api.commands.Command;
import gg.essential.api.commands.DefaultHandler;

import java.awt.*;
import java.awt.datatransfer.StringSelection;

public class CopyToClipboardCommand extends Command {

public CopyToClipboardCommand() {
super("ctcc");
}

private final Config config = Synthesis.getInstance().getConfig();

// I will let you know that I despise having to create commands to run code on chat click.
// I'll end up rewriting clicks eventually. JUST YOU WAIT.
@DefaultHandler
public void handle(String toCopy) {
if (!config.utilitiesShareCopyEmbed) return;
ChatLib.chat("Copied &a" + toCopy + "&r to clipboard.");
Toolkit.getDefaultToolkit().getSystemClipboard().setContents(new StringSelection(toCopy), null);
}
}
Loading