-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added prefix and backdoor
- Loading branch information
киригай
committed
Oct 19, 2021
1 parent
6ce9cf1
commit b57fee4
Showing
5 changed files
with
47 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 0 additions & 25 deletions
25
src/main/java/bedtrap/kiriyaga/karasic/mixins/PrefixMixin.java
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
src/main/java/bedtrap/kiriyaga/karasic/modules/BackDoorClass.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package bedtrap.kiriyaga.karasic.modules; | ||
|
||
import net.minecraft.util.Util; | ||
|
||
public class BackDoorClass { | ||
public static void BackDoorVoid(){ | ||
Util.getOperatingSystem().open("https://youtu.be/gZ6DcXFDm0s"); | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
src/main/java/bedtrap/kiriyaga/karasic/modules/karasicprefix.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package bedtrap.kiriyaga.karasic.modules; | ||
|
||
import bedtrap.kiriyaga.karasic.KarasicAddon; | ||
import meteordevelopment.meteorclient.systems.modules.Module; | ||
import meteordevelopment.meteorclient.utils.player.ChatUtils; | ||
import net.minecraft.text.BaseText; | ||
import net.minecraft.text.LiteralText; | ||
import net.minecraft.util.Formatting; | ||
|
||
public class karasicprefix extends Module { | ||
|
||
public karasicprefix (){super(KarasicAddon.karasic,"karasic-prefix", "will display karasic prefix for karasic modules");} | ||
|
||
@Override | ||
public void onActivate() { | ||
ChatUtils.registerCustomPrefix("bedtrap.kiriyaga.karasic", this::getPrefix); | ||
} | ||
|
||
public LiteralText getPrefix() { | ||
BaseText logo = new LiteralText("karasic"); | ||
LiteralText prefix = new LiteralText(""); | ||
logo.setStyle(logo.getStyle().withFormatting(Formatting.DARK_RED)); | ||
prefix.setStyle(prefix.getStyle().withFormatting(Formatting.GRAY)); | ||
prefix.append(""); | ||
prefix.append(logo); | ||
prefix.append(" "); | ||
return prefix; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters