类 SkullBlockEntityRenderer
- java.lang.Object
-
- net.minecraft.client.render.block.entity.SkullBlockEntityRenderer
-
- 所有已实现的接口:
BlockEntityRenderer<SkullBlockEntity>
@Environment(CLIENT) public class SkullBlockEntityRenderer extends Object implements BlockEntityRenderer<SkullBlockEntity>
- Mappings:
Namespace Name official eojintermediary net/minecraft/class_836named net/minecraft/client/render/block/entity/SkullBlockEntityRenderer
-
-
字段概要
字段 修饰符和类型 字段 说明 private Map<SkullBlock.SkullType,SkullBlockEntityModel>MODELSprivate static Map<SkullBlock.SkullType,Identifier>TEXTURES
-
构造器概要
构造器 构造器 说明 SkullBlockEntityRenderer(BlockEntityRendererFactory.Context ctx)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static Map<SkullBlock.SkullType,SkullBlockEntityModel>getModels(EntityModelLoader modelLoader)static RenderLayergetRenderLayer(SkullBlock.SkullType type, @Nullable com.mojang.authlib.GameProfile profile)voidrender(SkullBlockEntity skullBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3)static voidrenderSkull(@Nullable Direction direction, float yaw, float animationProgress, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, SkullBlockEntityModel model, RenderLayer renderLayer)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.render.block.entity.BlockEntityRenderer
method_33892, method_33893, rendersOutsideBoundingBox
-
-
-
-
字段详细资料
-
TEXTURES
private static final Map<SkullBlock.SkullType,Identifier> TEXTURES
- Mappings:
Namespace Name Mixin selector official bLeoj;b:Ljava/util/Map;intermediary field_4390Lnet/minecraft/class_836;field_4390:Ljava/util/Map;named TEXTURESLnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;TEXTURES:Ljava/util/Map;
-
MODELS
private final Map<SkullBlock.SkullType,SkullBlockEntityModel> MODELS
- Mappings:
Namespace Name Mixin selector official aLeoj;a:Ljava/util/Map;intermediary field_4391Lnet/minecraft/class_836;field_4391:Ljava/util/Map;named MODELSLnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;MODELS:Ljava/util/Map;
-
-
构造器详细资料
-
SkullBlockEntityRenderer
public SkullBlockEntityRenderer(BlockEntityRendererFactory.Context ctx)
- Mappings:
Namespace Name Mixin selector official <init>Leoj;<init>(Leny$a;)Vintermediary <init>Lnet/minecraft/class_836;<init>(Lnet/minecraft/class_5614$class_5615;)Vnamed <init>Lnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;<init>(Lnet/minecraft/client/render/block/entity/BlockEntityRendererFactory$Context;)V
-
-
方法详细资料
-
getModels
public static Map<SkullBlock.SkullType,SkullBlockEntityModel> getModels(EntityModelLoader modelLoader)
- Mappings:
Namespace Name Mixin selector official aLeoj;a(Lehc;)Ljava/util/Map;intermediary method_32160Lnet/minecraft/class_836;method_32160(Lnet/minecraft/class_5599;)Ljava/util/Map;named getModelsLnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;getModels(Lnet/minecraft/client/render/entity/model/EntityModelLoader;)Ljava/util/Map;
-
render
public void render(SkullBlockEntity skullBlockEntity, float float2, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3)
- 指定者:
render在接口中BlockEntityRenderer<SkullBlockEntity>- Mappings:
Namespace Name Mixin selector official aLeoj;a(Lciq;FLdpi;Lema;II)Vintermediary method_3577Lnet/minecraft/class_836;method_3577(Lnet/minecraft/class_2631;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;II)Vnamed renderLnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;render(Lnet/minecraft/block/entity/SkullBlockEntity;FLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;II)V
-
renderSkull
public static void renderSkull(@Nullable @Nullable Direction direction, float yaw, float animationProgress, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, SkullBlockEntityModel model, RenderLayer renderLayer)
- Mappings:
Namespace Name Mixin selector official aLeoj;a(Lgg;FFLdpi;Lema;ILegi;Lemi;)Vintermediary method_32161Lnet/minecraft/class_836;method_32161(Lnet/minecraft/class_2350;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_5598;Lnet/minecraft/class_1921;)Vnamed renderSkullLnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;renderSkull(Lnet/minecraft/util/math/Direction;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/client/render/block/entity/SkullBlockEntityModel;Lnet/minecraft/client/render/RenderLayer;)V
-
getRenderLayer
public static RenderLayer getRenderLayer(SkullBlock.SkullType type, @Nullable @Nullable com.mojang.authlib.GameProfile profile)
- Mappings:
Namespace Name Mixin selector official aLeoj;a(Lceu$a;Lcom/mojang/authlib/GameProfile;)Lemi;intermediary method_3578Lnet/minecraft/class_836;method_3578(Lnet/minecraft/class_2484$class_2485;Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/class_1921;named getRenderLayerLnet/minecraft/client/render/block/entity/SkullBlockEntityRenderer;getRenderLayer(Lnet/minecraft/block/SkullBlock$SkullType;Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/client/render/RenderLayer;
-
-