Update to 1.21.4

This commit is contained in:
mcrcortex
2025-01-11 20:04:37 +10:00
parent 316f42cf03
commit b8fda63ef3
4 changed files with 29 additions and 23 deletions

View File

@@ -26,7 +26,7 @@ public abstract class MixinWorldRenderer implements IGetVoxelCore {
@Unique private VoxelCore core;
@Inject(method = "render", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/render/WorldRenderer;setupTerrain(Lnet/minecraft/client/render/Camera;Lnet/minecraft/client/render/Frustum;ZZ)V", shift = At.Shift.AFTER))
private void injectSetup(ObjectAllocator allocator, RenderTickCounter tickCounter, boolean renderBlockOutline, Camera camera, GameRenderer gameRenderer, LightmapTextureManager lightmapTextureManager, Matrix4f positionMatrix, Matrix4f projectionMatrix, CallbackInfo ci) {
private void injectSetup(ObjectAllocator allocator, RenderTickCounter tickCounter, boolean renderBlockOutline, Camera camera, GameRenderer gameRenderer, Matrix4f positionMatrix, Matrix4f projectionMatrix, CallbackInfo ci) {
if (this.core != null) {
this.core.renderSetup(this.frustum, camera);
}

View File

@@ -35,7 +35,7 @@
"common.voxy.mixins.json"
],
"depends": {
"minecraft": "1.21.3",
"minecraft": "1.21.4",
"fabricloader": ">=0.14.22",
"fabric-api": ">=0.91.1",
"cloth-config": ">=13",