mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 06:31:32 +01:00
test
This commit is contained in:
parent
cd44999f7c
commit
8f0d75142d
20
.github/workflows/build.yml
vendored
Normal file
20
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: Run Gradle on PRs
|
||||
on: [push
|
||||
jobs:
|
||||
gradle:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 11
|
||||
|
||||
- name: Setup Gradle
|
||||
uses: gradle/gradle-build-action@v2
|
||||
|
||||
- name: Execute Gradle build
|
||||
run: ./gradlew setupDecompWorkspace clean build
|
@ -21,7 +21,7 @@ apply plugin: 'net.minecraftforge.gradle.tweaker-client'
|
||||
apply plugin: 'org.spongepowered.mixin'
|
||||
apply plugin: 'java'
|
||||
|
||||
version = "1.0"
|
||||
version = "2.0.0"
|
||||
group= "net.silentclient" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
archivesBaseName = "client"
|
||||
|
||||
@ -60,6 +60,7 @@ dependencies {
|
||||
}
|
||||
|
||||
compile('org.spongepowered:mixin:0.7.11-SNAPSHOT')
|
||||
embed fileTree(include: ['*.jar'], dir: './libs')
|
||||
}
|
||||
|
||||
mixin {
|
||||
|
Binary file not shown.
BIN
libs/hypixel.jar
BIN
libs/hypixel.jar
Binary file not shown.
@ -0,0 +1,24 @@
|
||||
package net.silentclient.client.mixin.mixins;
|
||||
|
||||
import net.minecraft.client.gui.GuiIngame;
|
||||
import net.minecraft.client.renderer.GlStateManager;
|
||||
import net.silentclient.client.event.impl.RenderEvent;
|
||||
import org.lwjgl.opengl.GL11;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Inject;
|
||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
|
||||
@Mixin(GuiIngame.class)
|
||||
public abstract class GuiInGameMixin {
|
||||
@Inject(method = "renderGameOverlay", at = @At("RETURN"))
|
||||
public void renderEvent(float partialTicks, CallbackInfo ci) {
|
||||
GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F);
|
||||
GlStateManager.disableLighting();
|
||||
new RenderEvent().call();
|
||||
GL11.glColor4f(1, 1, 1, 1);
|
||||
GlStateManager.enableTexture2D();
|
||||
GlStateManager.disableBlend();
|
||||
GlStateManager.disableAlpha();
|
||||
}
|
||||
}
|
@ -22,5 +22,6 @@
|
||||
"mixins.EffectRendererMixin",
|
||||
"accessors.RenderManagerAccessor",
|
||||
"mixins.RenderPlayerMixin",
|
||||
"mixins.GuiInGameMixin"
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user