Class Cube1x1
java.lang.Object
net.minecraft.client.model.Model
com.hammy275.immersivemc.client.model.Cube1x1
public class Cube1x1
extends net.minecraft.client.model.Model
-
Field Summary
Modifier and TypeFieldDescriptionstatic final net.minecraft.client.model.geom.ModelLayerLocation
static final net.minecraft.resources.ResourceLocation
Fields inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.client.model.geom.builders.LayerDefinition
void
render
(com.mojang.blaze3d.vertex.PoseStack stack, com.mojang.blaze3d.vertex.VertexConsumer consumer, float red, float green, float blue, float alpha, float size, int light) void
renderToBuffer
(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer vertexConsumer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) Methods inherited from class net.minecraft.client.model.Model
renderType
-
Field Details
-
textureLocation
public static final net.minecraft.resources.ResourceLocation textureLocation -
LAYER_LOCATION
public static final net.minecraft.client.model.geom.ModelLayerLocation LAYER_LOCATION
-
-
Constructor Details
-
Cube1x1
public Cube1x1(net.minecraft.client.model.geom.ModelPart root)
-
-
Method Details
-
createBodyLayer
public static net.minecraft.client.model.geom.builders.LayerDefinition createBodyLayer() -
renderToBuffer
public void renderToBuffer(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer vertexConsumer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) - Specified by:
renderToBuffer
in classnet.minecraft.client.model.Model
-
render
public void render(com.mojang.blaze3d.vertex.PoseStack stack, com.mojang.blaze3d.vertex.VertexConsumer consumer, float red, float green, float blue, float alpha, float size, int light)
-