net.minecraft.client.render.block.entity

public class SkullBlockEntityRenderer

implements BlockEntityRenderer<SkullBlockEntity, SkullBlockEntityRenderState>

net.minecraft.client.renderer.blockentity.SkullBlockRenderer
net.minecraft.class_836
net.minecraft.client.render.block.entity.SkullBlockEntityRenderer

Field summary

Modifier and TypeField
private final Function<SkullBlock$SkullType, SkullBlockEntityModel>
modelByType
field_4391
models
private static final Map<SkullBlock$SkullType, Identifier>
SKIN_BY_TYPE
field_4390
TEXTURES
private final PlayerSkinCache
playerSkinRenderCache
field_62253
skinCache

Constructor summary

ModifierConstructor
public (BlockEntityRendererFactory$Context context)

Method summary

Modifier and TypeMethod
public static SkullBlockEntityModel
createModel(EntityModelSet modelSet, SkullBlock$Type type)
method_32160(class_5599 arg0, class_2484$class_2485 arg1)
getModels(LoadedEntityModels models, SkullBlock$SkullType type)
public SkullBlockEntityRenderState
createRenderState()
method_74335()
createRenderState()
public void
extractRenderState(SkullBlockEntity blockEntity, SkullBlockRenderState state, float partialTicks, Vec3 cameraPosition, ModelFeatureRenderer$CrumblingOverlay breakProgress)
method_74386(class_2631 arg0, class_11972 arg1, float arg2, class_243 arg3, class_11683$class_11792 arg4)
updateRenderState(SkullBlockEntity arg0, SkullBlockEntityRenderState arg1, float arg2, Vec3d arg3, ModelCommandRenderer$CrumblingOverlayCommand arg4)
public void
submit(SkullBlockRenderState state, PoseStack poseStack, SubmitNodeCollector submitNodeCollector, CameraRenderState camera)
method_3577(class_11972 arg0, class_4587 arg1, class_11659 arg2, class_12075 arg3)
render(SkullBlockEntityRenderState arg0, MatrixStack arg1, OrderedRenderCommandQueue arg2, CameraRenderState arg3)
public static void
submitSkull(Direction direction, float rot, float animationValue, PoseStack poseStack, SubmitNodeCollector submitNodeCollector, int lightCoords, SkullModelBase model, RenderType renderType, int outlineColor, ModelFeatureRenderer$CrumblingOverlay breakProgress)
method_72958(class_2350 arg0, float arg1, float arg2, class_4587 arg3, class_11659 arg4, int arg5, class_5598 arg6, class_1921 arg7, int arg8, class_11683$class_11792 arg9)
render(Direction facing, float yaw, float poweredTicks, MatrixStack matrices, OrderedRenderCommandQueue queue, int light, SkullBlockEntityModel model, RenderLayer renderLayer, int outlineColor, ModelCommandRenderer$CrumblingOverlayCommand crumblingOverlay)
private RenderLayer
resolveSkullRenderType(SkullBlock$Type type, SkullBlockEntity entity)
method_32161(class_2484$class_2485 arg0, class_2631 arg1)
renderSkull(SkullBlock$SkullType skullType, SkullBlockEntity blockEntity)
public static RenderLayer
getSkullRenderType(SkullBlock$Type type, Identifier texture)
method_3578(class_2484$class_2485 arg0, class_2960 arg1)
getCutoutRenderLayer(SkullBlock$SkullType type, Identifier texture)
public static RenderLayer
getPlayerSkinRenderType(Identifier texture)
method_72165(class_2960 arg0)
getTranslucentRenderLayer(Identifier texture)
public void
submit(BlockEntityRenderState state, PoseStack poseStack, SubmitNodeCollector submitNodeCollector, CameraRenderState camera)
method_3569(class_11954 arg0, class_4587 arg1, class_11659 arg2, class_12075 arg3)
render(BlockEntityRenderState arg0, MatrixStack arg1, OrderedRenderCommandQueue arg2, CameraRenderState arg3)
public void
extractRenderState(BlockEntity blockEntity, BlockEntityRenderState state, float partialTicks, Vec3 cameraPosition, ModelFeatureRenderer$CrumblingOverlay breakProgress)
method_74331(class_2586 arg0, class_11954 arg1, float arg2, class_243 arg3, class_11683$class_11792 arg4)
updateRenderState(BlockEntity arg0, BlockEntityRenderState arg1, float arg2, Vec3d arg3, ModelCommandRenderer$CrumblingOverlayCommand arg4)
public BlockEntityRenderState
createRenderState()
method_74335()
createRenderState()
private static SkullBlockEntityModel
lambda$new$1(EntityModelSet arg0, SkullBlock$Type arg1)
method_65563(class_5599 arg0, class_2484$class_2485 arg1)
method_65563(LoadedEntityModels arg0, SkullBlock$SkullType type)
private static void
lambda$static$0(HashMap arg0)
method_3580(HashMap arg0)
method_3580(HashMap map)