Class RadioModel
java.lang.Object
net.minecraft.client.model.Model
com.codinglitch.simpleradio.client.core.central.AnimatableModel
com.codinglitch.simpleradio.client.core.registry.models.RadioModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.client.model.geom.ModelLayerLocationstatic final net.minecraft.client.animation.AnimationDefinitionstatic final net.minecraft.resources.ResourceLocationFields inherited from class com.codinglitch.simpleradio.client.core.central.AnimatableModel
animationsFields inherited from class net.minecraft.client.model.Model
renderType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.client.model.geom.builders.LayerDefinitionvoidrenderToBuffer(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer vertexConsumer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) net.minecraft.client.model.geom.ModelPartroot()Methods inherited from class com.codinglitch.simpleradio.client.core.central.AnimatableModel
allocate, animate, getAnyDescendantWithName, setupAnimMethods inherited from class net.minecraft.client.model.Model
renderType
-
Field Details
-
LAYER_LOCATION
public static final net.minecraft.client.model.geom.ModelLayerLocation LAYER_LOCATION -
TEXTURE_LOCATION
public static final net.minecraft.resources.ResourceLocation TEXTURE_LOCATION -
RADIO_PLAYING
public static final net.minecraft.client.animation.AnimationDefinition RADIO_PLAYING
-
-
Constructor Details
-
RadioModel
public RadioModel(net.minecraft.client.model.geom.ModelPart root)
-
-
Method Details
-
createBodyLayer
public static net.minecraft.client.model.geom.builders.LayerDefinition createBodyLayer() -
root
public net.minecraft.client.model.geom.ModelPart root()- Specified by:
rootin classAnimatableModel
-
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:
renderToBufferin classAnimatableModel
-