Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Release 1.13.0 (#703)
Browse files Browse the repository at this point in the history
Co-authored-by: TejasLamba2006 <tejas22feb@gmail.com>
  • Loading branch information
xia-mc and TejasLamba2006 authored Aug 5, 2024
1 parent 8a95278 commit 6cd70a5
Show file tree
Hide file tree
Showing 101 changed files with 1,743 additions and 3,009 deletions.
15 changes: 4 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import net.minecraftforge.gradle.user.IReobfuscator

buildscript {
repositories {
jcenter()
maven {
name = "forge"
url = "https://files.minecraftforge.net/maven"
Expand All @@ -24,7 +25,7 @@ apply plugin: 'java'

group = "keystrokesmod"
archivesBaseName = "raven-XD"
//version = "1.22-dev"
//version = "1.23-dev"

compileJava {
sourceCompatibility = '1.8'
Expand Down Expand Up @@ -76,18 +77,10 @@ dependencies {
}
implementation 'org.projectlombok:lombok:1.18.22'
implementation 'org.jetbrains:annotations:24.1.0'
implementation files('libraries/snakeyaml-2.1.jar')
implementation files('libraries/ViaRewind-3.1.2.jar')
implementation files('libraries/ViaBackwards-4.10.2.jar')
implementation files('libraries/ViaVersion-4.10.2.jar')
implementation files('libraries/json-20220924.jar')
implementation files('libraries/discord-rpc.jar')

// // Ensure these dependencies are also embedded
// embed files('libraries/snakeyaml-2.1.jar')
// embed files('libraries/ViaRewind-3.1.2.jar')
// embed files('libraries/ViaBackwards-4.10.2.jar')
// embed files('libraries/ViaVersion-4.10.2.jar')
embed files("libraries/discord-rpc.jar")
embed files('libraries/json-20220924.jar')
}
Expand Down Expand Up @@ -132,6 +125,6 @@ jar {

reobf {
jar {
mappingType = "searge"
mappingType = "SEARGE"
}
}
Binary file removed libraries/ViaBackwards-4.10.2.jar
Binary file not shown.
Binary file removed libraries/ViaRewind-3.1.2.jar
Binary file not shown.
Binary file removed libraries/ViaVersion-4.10.2.jar
Binary file not shown.
Binary file removed libraries/snakeyaml-2.1.jar
Binary file not shown.
12 changes: 0 additions & 12 deletions src/main/java/keystrokesmod/Raven.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;

import keystrokesmod.florianmichael.viamcp.ViaMCP;
import keystrokesmod.keystroke.KeySrokeRenderer;
import keystrokesmod.keystroke.KeyStrokeConfigGui;
import keystrokesmod.keystroke.keystrokeCommand;
Expand Down Expand Up @@ -78,17 +77,6 @@ public void init(FMLInitializationEvent ignored) {
FMLCommonHandler.instance().bus().register(ModuleManager.rotationHandler);
FMLCommonHandler.instance().bus().register(ModuleManager.slotHandler);
FMLCommonHandler.instance().bus().register(ModuleManager.dynamicManager);

try {
ViaMCP.create();

// In case you want a version slider like in the Minecraft options, you can use this code here, please choose one of those:

ViaMCP.INSTANCE.initAsyncSlider(); // For top left aligned slider
ViaMCP.INSTANCE.initAsyncSlider(10, 10, 110, 20); // For custom position and size slider
} catch (Throwable e) {
e.printStackTrace();
}
}

@SubscribeEvent
Expand Down
1 change: 0 additions & 1 deletion src/main/java/keystrokesmod/event/BlockWebEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@
public class BlockWebEvent extends Event {
private final BlockPos blockPos;
private final IBlockState blockState;
private final Entity entity;
}
17 changes: 17 additions & 0 deletions src/main/java/keystrokesmod/event/PreVelocityEvent.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package keystrokesmod.event;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import net.minecraftforge.fml.common.eventhandler.Cancelable;
import net.minecraftforge.fml.common.eventhandler.Event;

@Getter
@Setter
@Cancelable
@AllArgsConstructor
public class PreVelocityEvent extends Event {
private int motionX;
private int motionY;
private int motionZ;
}

This file was deleted.

This file was deleted.

Loading

0 comments on commit 6cd70a5

Please # to comment.