Skip to content

Commit

Permalink
fix mixin warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
FalsePattern committed Jul 20, 2024
1 parent 25ddb78 commit 76e4c68
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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];
Expand Down

0 comments on commit 76e4c68

Please sign in to comment.