Class SkullSpecialRenderer
java.lang.Object
net.minecraft.client.renderer.special.SkullSpecialRenderer
- All Implemented Interfaces:
SpecialModelRenderer<ResolvableProfile>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final float
private final SkullModelBase
private final SkullBlock.Type
private final ResourceLocation
-
Constructor Summary
ConstructorsConstructorDescriptionSkullSpecialRenderer
(SkullBlock.Type p_388542_, SkullModelBase p_386930_, ResourceLocation p_389591_, float p_390424_) -
Method Summary
Modifier and TypeMethodDescriptionextractArgument
(ItemStack p_386712_) void
render
(ResolvableProfile p_388043_, ItemDisplayContext p_387716_, PoseStack p_386490_, MultiBufferSource p_388080_, int p_387930_, int p_387838_, boolean p_386959_)
-
Field Details
-
skullType
-
model
-
textureOverride
-
animation
private final float animation
-
-
Constructor Details
-
SkullSpecialRenderer
public SkullSpecialRenderer(SkullBlock.Type p_388542_, SkullModelBase p_386930_, @Nullable ResourceLocation p_389591_, float p_390424_)
-
-
Method Details
-
extractArgument
- Specified by:
extractArgument
in interfaceSpecialModelRenderer<ResolvableProfile>
-
render
public void render(@Nullable ResolvableProfile p_388043_, ItemDisplayContext p_387716_, PoseStack p_386490_, MultiBufferSource p_388080_, int p_387930_, int p_387838_, boolean p_386959_) - Specified by:
render
in interfaceSpecialModelRenderer<ResolvableProfile>
-