类 ModelFile
java.lang.Object
net.minecraftforge.client.model.generators.ModelFile
已过时, 待删除: 此 API 元素将从以后的版本中删除。
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.
-
嵌套类概要
嵌套类修饰符和类型类说明static class
已过时, 待删除: 此 API 元素将从以后的版本中删除。static class
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
已过时, 待删除: 此 API 元素将从以后的版本中删除。Assert that this model exists.protected abstract boolean
exists()
已过时, 待删除: 此 API 元素将从以后的版本中删除。已过时, 待删除: 此 API 元素将从以后的版本中删除。已过时, 待删除: 此 API 元素将从以后的版本中删除。
-
字段详细资料
-
location
已过时, 待删除: 此 API 元素将从以后的版本中删除。
-
-
构造器详细资料
-
ModelFile
已过时, 待删除: 此 API 元素将从以后的版本中删除。
-
-
方法详细资料
-
exists
protected abstract boolean exists()已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
getLocation
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
assertExistence
public void assertExistence()已过时, 待删除: 此 API 元素将从以后的版本中删除。Assert that this model exists.- 抛出:
IllegalStateException
- if this model does not exist
-
getUncheckedLocation
已过时, 待删除: 此 API 元素将从以后的版本中删除。
-
ModelProvider