public class ModelManager extends ReloadListener<ModelBakery> implements java.lang.AutoCloseable
IFutureReloadListener.IStage
コンストラクタと説明 |
---|
ModelManager(TextureManager textureManagerIn,
BlockColors blockColorsIn,
int maxMipmapLevelIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
protected void |
apply(ModelBakery objectIn,
IResourceManager resourceManagerIn,
IProfiler profilerIn) |
void |
close() |
AtlasTexture |
getAtlasTexture(ResourceLocation locationIn) |
BlockModelShapes |
getBlockModelShapes() |
IBakedModel |
getMissingModel() |
IBakedModel |
getModel(ModelResourceLocation modelLocation) |
IBakedModel |
getModel(ResourceLocation modelLocation) |
IResourceType |
getResourceType() |
boolean |
needsRenderUpdate(BlockState oldState,
BlockState newState) |
protected ModelBakery |
prepare(IResourceManager resourceManagerIn,
IProfiler profilerIn)
Performs any reloading that can be done off-thread, such as file IO
|
void |
setMaxMipmapLevel(int levelIn) |
reload
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
func_225594_i_
public ModelManager(TextureManager textureManagerIn, BlockColors blockColorsIn, int maxMipmapLevelIn)
public IBakedModel getModel(ResourceLocation modelLocation)
public IBakedModel getModel(ModelResourceLocation modelLocation)
public IBakedModel getMissingModel()
public BlockModelShapes getBlockModelShapes()
protected ModelBakery prepare(IResourceManager resourceManagerIn, IProfiler profilerIn)
prepare
クラス内 ReloadListener<ModelBakery>
protected void apply(ModelBakery objectIn, IResourceManager resourceManagerIn, IProfiler profilerIn)
apply
クラス内 ReloadListener<ModelBakery>
public boolean needsRenderUpdate(BlockState oldState, BlockState newState)
public AtlasTexture getAtlasTexture(ResourceLocation locationIn)
public void close()
close
インタフェース内 java.lang.AutoCloseable
public void setMaxMipmapLevel(int levelIn)
public IResourceType getResourceType()