接口 BlockStateModelGenerator.StateFactory

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

    @FunctionalInterface
    static interface BlockStateModelGenerator.StateFactory
    Mappings:
    Namespace Name
    official iu$c
    intermediary net/minecraft/class_4910$class_5879
    named net/minecraft/data/client/model/BlockStateModelGenerator$StateFactory
    • 方法详细资料

      • create

        BlockStateSupplier create​(Block block,
                                  Identifier modelId,
                                  Texture texture,
                                  BiConsumer<Identifier,​Supplier<JsonElement>> modelCollector)
        Mappings:
        Namespace Name Mixin selector
        official create Liu$c;create(Lbyq;Lwp;Ljl;Ljava/util/function/BiConsumer;)Lix;
        intermediary create Lnet/minecraft/class_4910$class_5879;create(Lnet/minecraft/class_2248;Lnet/minecraft/class_2960;Lnet/minecraft/class_4944;Ljava/util/function/BiConsumer;)Lnet/minecraft/class_4917;
        named create Lnet/minecraft/data/client/model/BlockStateModelGenerator$StateFactory;create(Lnet/minecraft/block/Block;Lnet/minecraft/util/Identifier;Lnet/minecraft/data/client/model/Texture;Ljava/util/function/BiConsumer;)Lnet/minecraft/data/client/model/BlockStateSupplier;