Update to 1.21.4
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user