public abstract class ModelFile
extends java.lang.Object
修飾子とタイプ | クラスと説明 |
---|---|
static class |
ModelFile.ExistingModelFile |
static class |
ModelFile.UncheckedModelFile |
修飾子とタイプ | フィールドと説明 |
---|---|
protected ResourceLocation |
location |
修飾子 | コンストラクタと説明 |
---|---|
protected |
ModelFile(ResourceLocation location) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
assertExistence()
Assert that this model exists.
|
protected abstract boolean |
exists() |
ResourceLocation |
getLocation() |
ResourceLocation |
getUncheckedLocation() |
protected ResourceLocation location
protected ModelFile(ResourceLocation location)
protected abstract boolean exists()
public ResourceLocation getLocation()
public void assertExistence()
java.lang.IllegalStateException
- if this model does not existpublic ResourceLocation getUncheckedLocation()