接口 BlockEntityRendererFactory<T extends BlockEntity>

  • 函数接口:
    这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

    @FunctionalInterface
    @Environment(CLIENT)
    public interface BlockEntityRendererFactory<T extends BlockEntity>
    Mappings:
    Namespace Name
    official eny
    intermediary net/minecraft/class_5614
    named net/minecraft/client/render/block/entity/BlockEntityRendererFactory
    • 方法详细资料

      • create

        BlockEntityRenderer<T> create​(BlockEntityRendererFactory.Context ctx)
        Mappings:
        Namespace Name Mixin selector
        official create Leny;create(Leny$a;)Lenx;
        intermediary create Lnet/minecraft/class_5614;create(Lnet/minecraft/class_5614$class_5615;)Lnet/minecraft/class_827;
        named create Lnet/minecraft/client/render/block/entity/BlockEntityRendererFactory;create(Lnet/minecraft/client/render/block/entity/BlockEntityRendererFactory$Context;)Lnet/minecraft/client/render/block/entity/BlockEntityRenderer;