Class SkullSpecialRenderer
java.lang.Object
net.minecraft.client.renderer.special.SkullSpecialRenderer
- All Implemented Interfaces:
NoDataSpecialModelRenderer,SpecialModelRenderer<Void>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final floatprivate final SkullModelBaseprivate final RenderType -
Constructor Summary
ConstructorsConstructorDescriptionSkullSpecialRenderer(SkullModelBase model, float animation, RenderType renderType) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetExtents(Set<Vector3f> output) voidrender(ItemDisplayContext displayContext, PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, int packedOverlay, boolean hasFoilType) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.renderer.special.NoDataSpecialModelRenderer
extractArgument, render
-
Field Details
-
model
-
animation
private final float animation -
renderType
-
-
Constructor Details
-
SkullSpecialRenderer
-
-
Method Details
-
render
public void render(ItemDisplayContext displayContext, PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, int packedOverlay, boolean hasFoilType) - Specified by:
renderin interfaceNoDataSpecialModelRenderer
-
getExtents
- Specified by:
getExtentsin interfaceSpecialModelRenderer<Void>
-