Class ColonyWorldRenderMacros
java.lang.Object
com.minecolonies.core.client.render.worldevent.ColonyWorldRenderMacros
Extra
com.ldtteam.structurize.util.WorldRenderMacros. Maybe port it to Structurize at some point.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidendRenderLineBox(net.minecraft.client.renderer.MultiBufferSource.BufferSource bufferSource) Call after a series ofrenderLineBox(PoseStack, MultiBufferSource.BufferSource, AABB, float, int, boolean)static voidrenderLineBox(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.
-
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 stackbufferSource- buffer sourcebounds- bounding box to drawwidth- line widthcolor- 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) Call after a series ofrenderLineBox(PoseStack, MultiBufferSource.BufferSource, AABB, float, int, boolean)- Parameters:
bufferSource- buffer source
-