Class Outline
java.lang.Object
net.createmod.catnip.utility.outliner.Outline
- Direct Known Subclasses:
AABBOutline,BlockClusterOutline,ItemOutline,LineOutline
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected 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 Outline.OutlineParamsprotected final com.mojang.math.Vector4f -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbufferCuboid(com.mojang.blaze3d.vertex.PoseStack.Pose pose, com.mojang.blaze3d.vertex.VertexConsumer consumer, com.mojang.math.Vector3f minPos, com.mojang.math.Vector3f maxPos, com.mojang.math.Vector4f color, int lightmap, boolean disableNormals) voidbufferCuboidLine(com.mojang.blaze3d.vertex.PoseStack.Pose pose, com.mojang.blaze3d.vertex.VertexConsumer consumer, com.mojang.math.Vector3f origin, net.minecraft.core.Direction direction, float length, float width, com.mojang.math.Vector4f color, int lightmap, boolean disableNormals) voidbufferCuboidLine(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer consumer, net.minecraft.world.phys.Vec3 camera, com.mojang.math.Vector3d start, com.mojang.math.Vector3d end, float width, com.mojang.math.Vector4f color, int lightmap, boolean disableNormals) voidbufferQuad(com.mojang.blaze3d.vertex.PoseStack.Pose pose, com.mojang.blaze3d.vertex.VertexConsumer consumer, com.mojang.math.Vector3f pos0, com.mojang.math.Vector3f pos1, com.mojang.math.Vector3f pos2, com.mojang.math.Vector3f pos3, com.mojang.math.Vector4f color, float minU, float minV, float maxU, float maxV, int lightmap, com.mojang.math.Vector3f normal) voidbufferQuad(com.mojang.blaze3d.vertex.PoseStack.Pose pose, com.mojang.blaze3d.vertex.VertexConsumer consumer, com.mojang.math.Vector3f pos0, com.mojang.math.Vector3f pos1, com.mojang.math.Vector3f pos2, com.mojang.math.Vector3f pos3, com.mojang.math.Vector4f color, int lightmap, com.mojang.math.Vector3f normal) abstract voidrender(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 camera, float pt) voidtick()
-
Field Details
-
params
-
colorTemp
protected final com.mojang.math.Vector4f colorTemp -
diffPosTemp
protected final com.mojang.math.Vector3f diffPosTemp -
minPosTemp
protected final com.mojang.math.Vector3f minPosTemp -
maxPosTemp
protected final com.mojang.math.Vector3f maxPosTemp -
posTransformTemp
protected final com.mojang.math.Vector4f posTransformTemp -
normalTransformTemp
protected final com.mojang.math.Vector3f normalTransformTemp
-
-
Constructor Details
-
Outline
public Outline()
-
-
Method Details
-
getParams
-
render
public abstract void render(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 camera, float pt) -
tick
public void tick() -
bufferCuboidLine
public void bufferCuboidLine(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer consumer, net.minecraft.world.phys.Vec3 camera, com.mojang.math.Vector3d start, com.mojang.math.Vector3d end, float width, com.mojang.math.Vector4f color, int lightmap, boolean disableNormals) -
bufferCuboidLine
public void bufferCuboidLine(com.mojang.blaze3d.vertex.PoseStack.Pose pose, com.mojang.blaze3d.vertex.VertexConsumer consumer, com.mojang.math.Vector3f origin, net.minecraft.core.Direction direction, float length, float width, com.mojang.math.Vector4f color, int lightmap, boolean disableNormals) -
bufferCuboid
public void bufferCuboid(com.mojang.blaze3d.vertex.PoseStack.Pose pose, com.mojang.blaze3d.vertex.VertexConsumer consumer, com.mojang.math.Vector3f minPos, com.mojang.math.Vector3f maxPos, com.mojang.math.Vector4f color, int lightmap, boolean disableNormals) -
bufferQuad
public void bufferQuad(com.mojang.blaze3d.vertex.PoseStack.Pose pose, com.mojang.blaze3d.vertex.VertexConsumer consumer, com.mojang.math.Vector3f pos0, com.mojang.math.Vector3f pos1, com.mojang.math.Vector3f pos2, com.mojang.math.Vector3f pos3, com.mojang.math.Vector4f color, int lightmap, com.mojang.math.Vector3f normal) -
bufferQuad
public void bufferQuad(com.mojang.blaze3d.vertex.PoseStack.Pose pose, com.mojang.blaze3d.vertex.VertexConsumer consumer, com.mojang.math.Vector3f pos0, com.mojang.math.Vector3f pos1, com.mojang.math.Vector3f pos2, com.mojang.math.Vector3f pos3, com.mojang.math.Vector4f color, float minU, float minV, float maxU, float maxV, int lightmap, com.mojang.math.Vector3f normal)
-