Package net.lcc.sollib.api.client.render
Class MockItemRenderer
java.lang.Object
net.lcc.sollib.api.client.render.MockItemRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatprotected static final SolLoggerstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Boolean[][]loadPixelData(net.minecraft.resources.ResourceLocation texture, int alphaThreshold) static voidrenderItem(com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, int light, net.minecraft.resources.ResourceLocation texture) static voidrenderItem(Boolean[][] pixelData, com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, int light, net.minecraft.resources.ResourceLocation texture, float thickness, int red, int green, int blue) static voidrenderTintedItem(com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, int light, net.minecraft.resources.ResourceLocation texture, int tint) static voidrenderTintedItem(com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, int light, net.minecraft.resources.ResourceLocation texture, int red, int green, int blue)
-
Field Details
-
LOG
-
DEFAULT_THICKNESS
public static final float DEFAULT_THICKNESS- See Also:
-
MAX_LIGHT
public static final int MAX_LIGHT- See Also:
-
-
Constructor Details
-
MockItemRenderer
public MockItemRenderer()
-
-
Method Details
-
renderItem
public static void renderItem(com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, int light, net.minecraft.resources.ResourceLocation texture) -
renderTintedItem
public static void renderTintedItem(com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, int light, net.minecraft.resources.ResourceLocation texture, int tint) -
renderTintedItem
public static void renderTintedItem(com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, int light, net.minecraft.resources.ResourceLocation texture, int red, int green, int blue) -
renderItem
public static void renderItem(Boolean[][] pixelData, com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, int light, net.minecraft.resources.ResourceLocation texture, float thickness, int red, int green, int blue) -
loadPixelData
public static Boolean[][] loadPixelData(net.minecraft.resources.ResourceLocation texture, int alphaThreshold)
-