类 SkullBlockRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.SkullBlockRenderer
- 所有已实现的接口:
BlockEntityRenderer<SkullBlockEntity>
-
字段概要
字段修饰符和类型字段说明private static Map
<SkullBlock.Type, Function<EntityModelSet, SkullModelBase>> private final Function
<SkullBlock.Type, SkullModelBase> static final Map
<SkullBlock.Type, ResourceLocation> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static SkullModelBase
createModel
(EntityModelSet p_376421_, SkullBlock.Type p_377655_) static RenderType
getRenderType
(SkullBlock.Type p_112524_, ResolvableProfile p_331125_) static RenderType
getRenderType
(SkullBlock.Type p_378169_, ResolvableProfile p_378722_, ResourceLocation p_376088_) void
render
(SkullBlockEntity p_112534_, float p_112535_, PoseStack p_112536_, MultiBufferSource p_112537_, int p_112538_, int p_112539_) static void
renderSkull
(Direction p_173664_, float p_173665_, float p_173666_, PoseStack p_173667_, MultiBufferSource p_173668_, int p_173669_, SkullModelBase p_173670_, RenderType p_173671_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.renderer.blockentity.BlockEntityRenderer
getViewDistance, shouldRender, shouldRenderOffScreen
-
字段详细资料
-
customModels
-
modelByType
-
SKIN_BY_TYPE
-
-
构造器详细资料
-
SkullBlockRenderer
-
-
方法详细资料
-
createModel
@Nullable public static SkullModelBase createModel(EntityModelSet p_376421_, SkullBlock.Type p_377655_) -
render
public void render(SkullBlockEntity p_112534_, float p_112535_, PoseStack p_112536_, MultiBufferSource p_112537_, int p_112538_, int p_112539_) - 指定者:
render
在接口中BlockEntityRenderer<SkullBlockEntity>
-
renderSkull
public static void renderSkull(@Nullable Direction p_173664_, float p_173665_, float p_173666_, PoseStack p_173667_, MultiBufferSource p_173668_, int p_173669_, SkullModelBase p_173670_, RenderType p_173671_) -
getRenderType
public static RenderType getRenderType(SkullBlock.Type p_112524_, @Nullable ResolvableProfile p_331125_) -
getRenderType
public static RenderType getRenderType(SkullBlock.Type p_378169_, @Nullable ResolvableProfile p_378722_, @Nullable ResourceLocation p_376088_)
-