From c465c711c8245df151adafcc1fbf1538f7a421b6 Mon Sep 17 00:00:00 2001 From: ah-OOG-ah <75745146+ah-OOG-ah@users.noreply.github.com> Date: Sat, 11 Jan 2025 00:59:12 -0500 Subject: [PATCH] Update QuadProvider.java --- .../gtnhlib/client/renderer/quad/QuadProvider.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/gtnewhorizon/gtnhlib/client/renderer/quad/QuadProvider.java b/src/main/java/com/gtnewhorizon/gtnhlib/client/renderer/quad/QuadProvider.java index f391cbd6..3c5293ff 100644 --- a/src/main/java/com/gtnewhorizon/gtnhlib/client/renderer/quad/QuadProvider.java +++ b/src/main/java/com/gtnewhorizon/gtnhlib/client/renderer/quad/QuadProvider.java @@ -47,8 +47,7 @@ public interface QuadProvider { /** * Provide quads to render. If you need new quads, they should be obtained with the passed supplier, - * {@link #isDynamic} should be overridden to return true, and you should not keep references to the quads. The - * quads produced are not offset according to the passed xyz - that is up to the renderer. + * {@link #isDynamic} should be overridden to return true, and you should not keep references to the quads. * * @param world The world the model is in. Null if not applicable, like in inventory rendering. * @param x The x-position of the model. @@ -61,7 +60,7 @@ public interface QuadProvider { * @param color The ABGR packed color to use. * @param quadPool If {@link #isDynamic()}, the pool to obtain quads from and where the quads should be released * after use. Ignored otherwise. - * @return A list of quads from the model. These are *not* adjusted for location - that is up to the renderer. + * @return A list of quads from the model. These are *not* adjusted for the given xyz - that is up to the renderer. */ List getQuads(@Nullable IBlockAccess world, int x, int y, int z, Block block, int meta, ForgeDirection dir, Random random, int color, @Nullable Supplier quadPool);