0
0
mirror of https://github.com/Wurst-Imperium/Wurst7.git synced 2024-09-20 01:12:13 +02:00

Update to 22w17a (broken)

This commit is contained in:
Alexander01998 2022-04-28 12:58:32 +02:00
parent 854052413a
commit 479b0b7d6a
12 changed files with 19 additions and 19 deletions

View File

@ -4,15 +4,15 @@ org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these at https://fabricmc.net/develop/ and
# https://www.curseforge.com/minecraft/mc-mods/fabric-api
minecraft_version=22w16b
yarn_mappings=22w16b+build.5
loader_version=0.14.0
minecraft_version=22w17a
yarn_mappings=22w17a+build.2
loader_version=0.14.3
#Fabric api
fabric_version=0.51.2+1.19
fabric_version=0.51.3+1.19
# Mod Properties
mod_version = v7.24-MC22w16b
mod_version = v7.24-MC22w17a
maven_group = net.wurstclient
archives_base_name = Wurst-Client

View File

@ -56,7 +56,7 @@ public enum WurstClient
public static final IMinecraftClient IMC = (IMinecraftClient)MC;
public static final String VERSION = "7.24";
public static final String MC_VERSION = "22w16b";
public static final String MC_VERSION = "22w17a";
private WurstAnalytics analytics;
private EventManager eventManager;

View File

@ -209,7 +209,7 @@ public final class AutoFarmHack extends Hack
{
RenderSystem.setShaderColor(0, 1, 0, 0.5F);
greenBuffer.bind();
greenBuffer.setShader(viewMatrix, projMatrix, shader);
greenBuffer.draw(viewMatrix, projMatrix, shader);
VertexBuffer.unbind();
}
@ -217,7 +217,7 @@ public final class AutoFarmHack extends Hack
{
RenderSystem.setShaderColor(0, 1, 1, 0.5F);
cyanBuffer.bind();
cyanBuffer.setShader(viewMatrix, projMatrix, shader);
cyanBuffer.draw(viewMatrix, projMatrix, shader);
VertexBuffer.unbind();
}
@ -225,7 +225,7 @@ public final class AutoFarmHack extends Hack
{
RenderSystem.setShaderColor(1, 0, 0, 0.5F);
redBuffer.bind();
redBuffer.setShader(viewMatrix, projMatrix, shader);
redBuffer.draw(viewMatrix, projMatrix, shader);
VertexBuffer.unbind();
}

View File

@ -176,7 +176,7 @@ public final class BaseFinderHack extends Hack
Matrix4f projMatrix = RenderSystem.getProjectionMatrix();
Shader shader = RenderSystem.getShader();
vertexBuffer.bind();
vertexBuffer.setShader(viewMatrix, projMatrix, shader);
vertexBuffer.draw(viewMatrix, projMatrix, shader);
VertexBuffer.unbind();
}

View File

@ -246,7 +246,7 @@ public final class CaveFinderHack extends Hack
Matrix4f projMatrix = RenderSystem.getProjectionMatrix();
Shader shader = RenderSystem.getShader();
vertexBuffer.bind();
vertexBuffer.setShader(viewMatrix, projMatrix, shader);
vertexBuffer.draw(viewMatrix, projMatrix, shader);
VertexBuffer.unbind();
}

View File

@ -360,12 +360,12 @@ public class ChestEspHack extends Hack implements UpdateListener,
Matrix4f projMatrix = RenderSystem.getProjectionMatrix();
Shader shader = RenderSystem.getShader();
solidBox.bind();
solidBox.setShader(viewMatrix, projMatrix, shader);
solidBox.draw(viewMatrix, projMatrix, shader);
VertexBuffer.unbind();
RenderSystem.setShaderColor(colorF[0], colorF[1], colorF[2], 0.5F);
outlinedBox.bind();
outlinedBox.setShader(viewMatrix, projMatrix, shader);
outlinedBox.draw(viewMatrix, projMatrix, shader);
VertexBuffer.unbind();
matrixStack.pop();

View File

@ -172,7 +172,7 @@ public final class MobEspHack extends Hack implements UpdateListener,
Shader shader = RenderSystem.getShader();
Matrix4f matrix4f = RenderSystem.getProjectionMatrix();
mobBox.bind();
mobBox.setShader(matrixStack.peek().getPositionMatrix(), matrix4f,
mobBox.draw(matrixStack.peek().getPositionMatrix(), matrix4f,
shader);
VertexBuffer.unbind();

View File

@ -247,7 +247,7 @@ public final class MobSpawnEspHack extends Hack
Matrix4f projMatrix = RenderSystem.getProjectionMatrix();
Shader shader = RenderSystem.getShader();
scanner.vertexBuffer.bind();
scanner.vertexBuffer.setShader(viewMatrix, projMatrix, shader);
scanner.vertexBuffer.draw(viewMatrix, projMatrix, shader);
VertexBuffer.unbind();
matrixStack.pop();

View File

@ -241,7 +241,7 @@ public final class SearchHack extends Hack
Matrix4f projMatrix = RenderSystem.getProjectionMatrix();
Shader shader = RenderSystem.getShader();
vertexBuffer.bind();
vertexBuffer.setShader(viewMatrix, projMatrix, shader);
vertexBuffer.draw(viewMatrix, projMatrix, shader);
VertexBuffer.unbind();
}

View File

@ -325,7 +325,7 @@ public final class TreeBotHack extends Hack
Shader shader = RenderSystem.getShader();
tree.getVertexBuffer().bind();
tree.getVertexBuffer().setShader(viewMatrix, projMatrix, shader);
tree.getVertexBuffer().draw(viewMatrix, projMatrix, shader);
VertexBuffer.unbind();
matrixStack.pop();

View File

@ -225,7 +225,7 @@ public final class TunnellerHack extends Hack
Matrix4f projMatrix = RenderSystem.getProjectionMatrix();
Shader shader = RenderSystem.getShader();
buffer.bind();
buffer.setShader(viewMatrix, projMatrix, shader);
buffer.draw(viewMatrix, projMatrix, shader);
VertexBuffer.unbind();
}

View File

@ -29,7 +29,7 @@
"depends": {
"fabricloader": ">=0.14.0",
"fabric": ">=0.51.0",
"minecraft": "~1.19-alpha.22.16.a",
"minecraft": "~1.19-alpha.22.17.a",
"java": ">=17"
},
"suggests": {