Package net.createmod.catnip.outliner
Class Outline.OutlineParams
java.lang.Object
net.createmod.catnip.outliner.Outline.OutlineParams
- Enclosing class:
- Outline
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected floatprotected booleanprotected booleanprotected BindableTextureprotected booleanprotected BindableTextureprotected intprotected Color -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncolored(int color) net.minecraft.core.DirectionfloathighlightFace(net.minecraft.core.Direction face) lightmap(int light) lineWidth(float width) voidloadColor(org.joml.Vector4f vec) withFaceTexture(BindableTexture texture) withFaceTextures(BindableTexture texture, BindableTexture highlightTexture)
-
Field Details
-
faceTexture
-
highlightedFaceTexture
-
fadeLineWidth
protected boolean fadeLineWidth -
disableCull
protected boolean disableCull -
disableLineNormals
protected boolean disableLineNormals -
alpha
protected float alpha -
lightmap
protected int lightmap -
rgb
-
-
Constructor Details
-
OutlineParams
public OutlineParams()
-
-
Method Details
-
colored
-
colored
-
lightmap
-
lineWidth
-
withFaceTexture
-
clearTextures
-
withFaceTextures
public Outline.OutlineParams withFaceTextures(@Nullable BindableTexture texture, @Nullable BindableTexture highlightTexture) -
highlightFace
-
disableLineNormals
-
disableCull
-
getLineWidth
public float getLineWidth() -
getHighlightedFace
@Nullable public net.minecraft.core.Direction getHighlightedFace() -
loadColor
public void loadColor(org.joml.Vector4f vec)
-