Class AABBOutline
java.lang.Object
net.createmod.catnip.utility.outliner.Outline
net.createmod.catnip.utility.outliner.AABBOutline
- Direct Known Subclasses:
ChasingAABBOutline
-
Nested Class Summary
Nested classes/interfaces inherited from class net.createmod.catnip.utility.outliner.Outline
Outline.OutlineParams -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected net.minecraft.world.phys.AABBprotected final com.mojang.math.Vector4fprotected final com.mojang.math.Vector3fprotected final com.mojang.math.Vector3fprotected final com.mojang.math.Vector3fprotected final com.mojang.math.Vector3fprotected final com.mojang.math.Vector3fprotected final com.mojang.math.Vector3fprotected final com.mojang.math.Vector3fprotected final com.mojang.math.Vector3fFields inherited from class net.createmod.catnip.utility.outliner.Outline
colorTemp, diffPosTemp, maxPosTemp, minPosTemp, normalTransformTemp, params, posTransformTemp -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.phys.AABBvoidrender(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 camera, float pt) protected voidrenderBox(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 camera, net.minecraft.world.phys.AABB box, com.mojang.math.Vector4f color, int lightmap, boolean disableLineNormals) protected voidrenderBoxEdges(com.mojang.blaze3d.vertex.PoseStack ms, com.mojang.blaze3d.vertex.VertexConsumer consumer, com.mojang.math.Vector3f minPos, com.mojang.math.Vector3f maxPos, float lineWidth, com.mojang.math.Vector4f color, int lightmap, boolean disableNormals) protected voidrenderBoxFace(com.mojang.blaze3d.vertex.PoseStack.Pose pose, com.mojang.blaze3d.vertex.VertexConsumer consumer, com.mojang.math.Vector3f minPos, com.mojang.math.Vector3f maxPos, net.minecraft.core.Direction face, com.mojang.math.Vector4f color, int lightmap) protected voidrenderBoxFace(com.mojang.blaze3d.vertex.PoseStack.Pose pose, SuperRenderTypeBuffer buffer, boolean cull, net.minecraft.core.Direction highlightedFace, com.mojang.math.Vector3f minPos, com.mojang.math.Vector3f maxPos, net.minecraft.core.Direction face, com.mojang.math.Vector4f color, int lightmap) protected voidrenderBoxFaces(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer, boolean cull, net.minecraft.core.Direction highlightedFace, com.mojang.math.Vector3f minPos, com.mojang.math.Vector3f maxPos, com.mojang.math.Vector4f color, int lightmap) voidsetBounds(net.minecraft.world.phys.AABB bb) Methods inherited from class net.createmod.catnip.utility.outliner.Outline
bufferCuboid, bufferCuboidLine, bufferCuboidLine, bufferQuad, bufferQuad, getParams, tick
-
Field Details
-
bb
protected net.minecraft.world.phys.AABB bb -
minPosTemp1
protected final com.mojang.math.Vector3f minPosTemp1 -
maxPosTemp1
protected final com.mojang.math.Vector3f maxPosTemp1 -
colorTemp1
protected final com.mojang.math.Vector4f colorTemp1 -
pos0Temp
protected final com.mojang.math.Vector3f pos0Temp -
pos1Temp
protected final com.mojang.math.Vector3f pos1Temp -
pos2Temp
protected final com.mojang.math.Vector3f pos2Temp -
pos3Temp
protected final com.mojang.math.Vector3f pos3Temp -
normalTemp
protected final com.mojang.math.Vector3f normalTemp -
originTemp
protected final com.mojang.math.Vector3f originTemp
-
-
Constructor Details
-
AABBOutline
public AABBOutline(net.minecraft.world.phys.AABB bb)
-
-
Method Details
-
getBounds
public net.minecraft.world.phys.AABB getBounds() -
setBounds
public void setBounds(net.minecraft.world.phys.AABB bb) -
render
public void render(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 camera, float pt) -
renderBox
protected void renderBox(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 camera, net.minecraft.world.phys.AABB box, com.mojang.math.Vector4f color, int lightmap, boolean disableLineNormals) -
renderBoxFaces
protected void renderBoxFaces(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer, boolean cull, net.minecraft.core.Direction highlightedFace, com.mojang.math.Vector3f minPos, com.mojang.math.Vector3f maxPos, com.mojang.math.Vector4f color, int lightmap) -
renderBoxFace
protected void renderBoxFace(com.mojang.blaze3d.vertex.PoseStack.Pose pose, SuperRenderTypeBuffer buffer, boolean cull, net.minecraft.core.Direction highlightedFace, com.mojang.math.Vector3f minPos, com.mojang.math.Vector3f maxPos, net.minecraft.core.Direction face, com.mojang.math.Vector4f color, int lightmap) -
renderBoxFace
protected void renderBoxFace(com.mojang.blaze3d.vertex.PoseStack.Pose pose, com.mojang.blaze3d.vertex.VertexConsumer consumer, com.mojang.math.Vector3f minPos, com.mojang.math.Vector3f maxPos, net.minecraft.core.Direction face, com.mojang.math.Vector4f color, int lightmap) -
renderBoxEdges
protected void renderBoxEdges(com.mojang.blaze3d.vertex.PoseStack ms, com.mojang.blaze3d.vertex.VertexConsumer consumer, com.mojang.math.Vector3f minPos, com.mojang.math.Vector3f maxPos, float lineWidth, com.mojang.math.Vector4f color, int lightmap, boolean disableNormals)
-