类 BlockModelBuilder


@Deprecated(since="1.21.4", forRemoval=true) public class BlockModelBuilder extends ModelBuilder<BlockModelBuilder>
已过时, 待删除: 此 API 元素将从以后的版本中删除。
Use Vanilla's providers ModelProvider
Builder for block models, does not currently provide any additional functionality over ModelBuilder, purely a stub class with a concrete generic.
另请参阅:
  • 构造器详细资料

    • BlockModelBuilder

      public BlockModelBuilder(ResourceLocation outputLocation, ExistingFileHelper existingFileHelper)
      已过时, 待删除: 此 API 元素将从以后的版本中删除。
  • 方法详细资料

    • toJson

      public com.google.gson.JsonObject toJson()
      已过时, 待删除: 此 API 元素将从以后的版本中删除。
      覆盖:
      toJson 在类中 ModelBuilder<BlockModelBuilder>