From 76e4c68669dfc64c56a4f2476c5e01bc11c8a084 Mon Sep 17 00:00:00 2001 From: FalsePattern Date: Sat, 20 Jul 2024 14:37:10 +0200 Subject: [PATCH] fix mixin warnings --- .../mixins/common/biome/owg/ChunkGeneratorBetaMixin.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/falsepattern/endlessids/mixin/mixins/common/biome/owg/ChunkGeneratorBetaMixin.java b/src/main/java/com/falsepattern/endlessids/mixin/mixins/common/biome/owg/ChunkGeneratorBetaMixin.java index abeadec..11fa20f 100644 --- a/src/main/java/com/falsepattern/endlessids/mixin/mixins/common/biome/owg/ChunkGeneratorBetaMixin.java +++ b/src/main/java/com/falsepattern/endlessids/mixin/mixins/common/biome/owg/ChunkGeneratorBetaMixin.java @@ -42,7 +42,8 @@ import java.util.Random; -@Mixin(ChunkGeneratorBeta.class) +@Mixin(value = ChunkGeneratorBeta.class, + remap = false) public abstract class ChunkGeneratorBetaMixin implements IChunkProvider { @Shadow private Random rand; @@ -64,6 +65,11 @@ public abstract class ChunkGeneratorBetaMixin implements IChunkProvider { @Shadow private int biomeSettings; + /** + * @author _ + * @reason _ + */ + @Overwrite public Chunk provideChunk(int i, int j) { this.rand.setSeed((long)i * 341873128712L + (long)j * 132897987541L); Block[] blocks = new Block[128 * 16 * 16];