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 float
private final SkullModelBase
private final RenderType
-
Constructor Summary
ConstructorsConstructorDescriptionSkullSpecialRenderer
(SkullModelBase pModel, float pAnimation, RenderType pRenderType) -
Method Summary
Modifier and TypeMethodDescriptionvoid
getExtents
(Set<org.joml.Vector3f> pOutput) void
render
(ItemDisplayContext pDisplayContext, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, boolean pHasFoilType) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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 pDisplayContext, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, boolean pHasFoilType) - Specified by:
render
in interfaceNoDataSpecialModelRenderer
-
getExtents
- Specified by:
getExtents
in interfaceSpecialModelRenderer<Void>
-