Class Cube1x1
java.lang.Object
net.minecraft.client.model.Model<Void>
com.hammy275.immersivemc.client.model.Cube1x1
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.model.Model
net.minecraft.client.model.Model.Simple -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.client.model.geom.ModelLayerLocationstatic final net.minecraft.resources.IdentifierFields inherited from class net.minecraft.client.model.Model
renderType, root -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.client.model.geom.builders.LayerDefinitionvoidrender(com.mojang.blaze3d.vertex.PoseStack stack, com.mojang.blaze3d.vertex.VertexConsumer consumer, int color, float size, int light) Methods inherited from class net.minecraft.client.model.Model
allParts, renderToBuffer, renderToBuffer, renderType, resetPose, root, setupAnim
-
Field Details
-
textureLocation
public static final net.minecraft.resources.Identifier 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() -
render
public void render(com.mojang.blaze3d.vertex.PoseStack stack, com.mojang.blaze3d.vertex.VertexConsumer consumer, int color, float size, int light)
-