Class BlockClusterOutline
java.lang.Object
net.createmod.catnip.utility.outliner.Outline
net.createmod.catnip.utility.outliner.BlockClusterOutline
-
Nested Class Summary
Nested classes/interfaces inherited from class net.createmod.catnip.utility.outliner.Outline
Outline.OutlineParams -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.joml.Vector3fprotected final org.joml.Vector3fprotected final org.joml.Vector3fprotected final org.joml.Vector3fprotected final org.joml.Vector3fprotected final org.joml.Vector3fFields inherited from class net.createmod.catnip.utility.outliner.Outline
colorTemp, diffPosTemp, maxPosTemp, minPosTemp, normalTransformTemp, params, posTransformTemp -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddPos(float x, float y, float z, org.joml.Vector3f pos0, org.joml.Vector3f pos1, org.joml.Vector3f pos2, org.joml.Vector3f pos3) protected voidbufferBlockFace(com.mojang.blaze3d.vertex.PoseStack.Pose pose, com.mojang.blaze3d.vertex.VertexConsumer consumer, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction face, org.joml.Vector4f color, int lightmap) static voidloadFaceData(net.minecraft.core.Direction face, org.joml.Vector3f pos0, org.joml.Vector3f pos1, org.joml.Vector3f pos2, org.joml.Vector3f pos3, org.joml.Vector3f normal) voidrender(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 camera, float pt) protected voidrenderEdges(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 camera, float pt, org.joml.Vector4f color, int lightmap, boolean disableNormals) protected voidrenderFaces(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 camera, float pt, org.joml.Vector4f color, int lightmap) Methods inherited from class net.createmod.catnip.utility.outliner.Outline
bufferCuboid, bufferCuboidLine, bufferCuboidLine, bufferQuad, bufferQuad, getParams, tick
-
Field Details
-
pos0Temp
protected final org.joml.Vector3f pos0Temp -
pos1Temp
protected final org.joml.Vector3f pos1Temp -
pos2Temp
protected final org.joml.Vector3f pos2Temp -
pos3Temp
protected final org.joml.Vector3f pos3Temp -
normalTemp
protected final org.joml.Vector3f normalTemp -
originTemp
protected final org.joml.Vector3f originTemp
-
-
Constructor Details
-
BlockClusterOutline
-
-
Method Details
-
render
public void render(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 camera, float pt) -
renderFaces
protected void renderFaces(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 camera, float pt, org.joml.Vector4f color, int lightmap) -
renderEdges
protected void renderEdges(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 camera, float pt, org.joml.Vector4f color, int lightmap, boolean disableNormals) -
loadFaceData
public static void loadFaceData(net.minecraft.core.Direction face, org.joml.Vector3f pos0, org.joml.Vector3f pos1, org.joml.Vector3f pos2, org.joml.Vector3f pos3, org.joml.Vector3f normal) -
addPos
public static void addPos(float x, float y, float z, org.joml.Vector3f pos0, org.joml.Vector3f pos1, org.joml.Vector3f pos2, org.joml.Vector3f pos3) -
bufferBlockFace
protected void bufferBlockFace(com.mojang.blaze3d.vertex.PoseStack.Pose pose, com.mojang.blaze3d.vertex.VertexConsumer consumer, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction face, org.joml.Vector4f color, int lightmap)
-