From 97eccfe5957c4c93b5c32d6f06af8553e05f698c Mon Sep 17 00:00:00 2001 From: Minecraftschurli Date: Tue, 28 Nov 2023 17:29:11 +0100 Subject: [PATCH] Rename parameters --- .../neoforge/debug/client/CustomSpriteSourceTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/src/main/java/net/neoforged/neoforge/debug/client/CustomSpriteSourceTest.java b/tests/src/main/java/net/neoforged/neoforge/debug/client/CustomSpriteSourceTest.java index 5ce282691e..367ecd8408 100644 --- a/tests/src/main/java/net/neoforged/neoforge/debug/client/CustomSpriteSourceTest.java +++ b/tests/src/main/java/net/neoforged/neoforge/debug/client/CustomSpriteSourceTest.java @@ -77,8 +77,8 @@ public SpriteSourceType type() { static final class CustomSpriteContents extends SpriteContents { - public CustomSpriteContents(ResourceLocation p_249787_, FrameSize p_251031_, NativeImage p_252131_, ResourceMetadata p_294742_) { - super(p_249787_, p_251031_, p_252131_, p_294742_); + public CustomSpriteContents(ResourceLocation name, FrameSize size, NativeImage image, ResourceMetadata metadata) { + super(name, size, image, metadata); } @Override @@ -90,9 +90,9 @@ class Ticker implements SpriteTicker { final RandomSource random = RandomSource.create(); @Override - public void tickAndUpload(int p_248847_, int p_250486_) { + public void tickAndUpload(int x, int y) { CustomSpriteContents.this.byMipLevel[0].fillRect(0, 0, 16, 16, 0xFF000000 | random.nextInt(0xFFFFFF)); - CustomSpriteContents.this.uploadFirstFrame(p_248847_, p_250486_); + CustomSpriteContents.this.uploadFirstFrame(x, y); } @Override