接口 IGeneratedBlockState

所有已知实现类:
MultiPartBlockStateBuilder, VariantBlockStateBuilder

@Deprecated(since="1.21.4", forRemoval=true) @VisibleForTesting public interface IGeneratedBlockState
已过时, 待删除: 此 API 元素将从以后的版本中删除。
Use Vanilla's providers ModelProvider
In 1.21.4 Mojang exposed their data generators for their models. So it should be feasible to just use theirs. If you find something lacking feel free to open a PR so that we can extend it.
  • 方法概要

    修饰符和类型
    方法
    说明
    com.google.gson.JsonObject
    已过时, 待删除: 此 API 元素将从以后的版本中删除。
     
  • 方法详细资料

    • toJson

      com.google.gson.JsonObject toJson()
      已过时, 待删除: 此 API 元素将从以后的版本中删除。