Skip to content

1.20.1 - Cannot mixin to applyFrustum #18

Description

@GiantLuigi4
	@WrapOperation(
			method = "applyFrustum",
			at = @At(value = "FIELD", target = "Lnet/minecraft/client/renderer/LevelRenderer$RenderChunkInfo;chunk:Lnet/minecraft/client/renderer/chunk/ChunkRenderDispatcher$RenderChunk;", remap = true, opcode = Opcodes.GETFIELD),
			remap = true
	)
	public ChunkRenderDispatcher.RenderChunk wrapGetChunk(
			LevelRenderer.RenderChunkInfo inf,
			Operation<ChunkRenderDispatcher.RenderChunk> original
	) {
		ChunkRenderDispatcher.RenderChunk chnk = original.call(inf);
		return chnk;
	}

I wish I had more information to provide for this, but I honestly do not see any reason this would be happening

Not sure if there's other methods this applies to as well, but for some reason, any time I attempt to mixin to apply frustum, the game crashes with an InvocationTargetException

Using optifine OptiFine_1.20.1_HD_U_I6

This mixin works in a production environment with the same OF jar

Both my own bytecode dump and the OF dev tweaker bytecode dump indicate that this target should be valid

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions