Class ColonyWorldRenderMacros

java.lang.Object
com.minecolonies.core.client.render.worldevent.ColonyWorldRenderMacros

public class ColonyWorldRenderMacros extends Object
Extra com.ldtteam.structurize.util.WorldRenderMacros. Maybe port it to Structurize at some point.
  • Constructor Details

    • ColonyWorldRenderMacros

      public ColonyWorldRenderMacros()
  • Method Details

    • renderLineBox

      public static void renderLineBox(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource.BufferSource bufferSource, net.minecraft.world.phys.AABB bounds, float width, int color, boolean showThroughBlocks)
      Render a wireframe box.
      Parameters:
      poseStack - pose stack
      bufferSource - buffer source
      bounds - bounding box to draw
      width - line width
      color - line color (ARGB)
      showThroughBlocks - true to render through existing blocks, false to only render in air
    • endRenderLineBox

      public static void endRenderLineBox(net.minecraft.client.renderer.MultiBufferSource.BufferSource bufferSource)
      Parameters:
      bufferSource - buffer source