public enum B3DLoader extends java.lang.Enum<B3DLoader> implements ISelectiveResourceReloadListener
修飾子とタイプ | クラスと説明 |
---|---|
static class |
B3DLoader.B3DState |
IFutureReloadListener.IStage
列挙型定数と説明 |
---|
INSTANCE |
修飾子とタイプ | メソッドと説明 |
---|---|
IUnbakedModel |
loadModel(ResourceLocation modelLocation) |
void |
onResourceManagerReload(IResourceManager manager,
java.util.function.Predicate<IResourceType> resourcePredicate)
A version of onResourceManager that selectively chooses
IResourceType s
to reload. |
static B3DLoader |
valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static B3DLoader[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
onResourceManagerReload
getResourceType, reload
func_225594_i_
public static final B3DLoader INSTANCE
public static B3DLoader[] values()
for(B3DLoader c: B3DLoader.values()) System.out.println(c);
public static B3DLoader valueOf(java.lang.String name)
name
- 返される列挙型定数の名前。java.lang.IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合java.lang.NullPointerException
- 引数がnullの場合public void onResourceManagerReload(IResourceManager manager, java.util.function.Predicate<IResourceType> resourcePredicate)
ISelectiveResourceReloadListener
IResourceType
s
to reload.
When using this, the given predicate should be called to ensure the relevant resources should
be reloaded at this time.onResourceManagerReload
インタフェース内 ISelectiveResourceReloadListener
manager
- the resource manager being reloadedresourcePredicate
- predicate to test whether any given resource type should be reloadedpublic IUnbakedModel loadModel(ResourceLocation modelLocation) throws java.lang.Exception
java.lang.Exception