SimpleTexture.java
net.minecraft.client.renderer.texture.SimpleTexture
信息
- 全限定名:net.minecraft.client.renderer.texture.SimpleTexture
- 类型:public class
- 包:net.minecraft.client.renderer.texture
- 源码路径:src/main/java/net/minecraft/client/renderer/texture/SimpleTexture.java
- 起始行号:L10
- 继承:ReloadableTexture
- 职责:
TODO
字段/常量
- 无
内部类/嵌套类型
- 无
构造器
public SimpleTexture(Identifier location) @ L11
- 构造器名:SimpleTexture
- 源码定位:L11
- 修饰符:public
参数:
- location: Identifier
说明:
TODO
方法
下面的方法块按源码顺序生成。
public TextureContents loadContents(ResourceManager resourceManager) @ L15
- 方法名:loadContents
- 源码定位:L15
- 返回类型:TextureContents
- 修饰符:public
参数:
- resourceManager: ResourceManager
说明:
TODO
代码
@OnlyIn(Dist.CLIENT)
public class SimpleTexture extends ReloadableTexture {
public SimpleTexture(Identifier location) {
super(location);
}
@Override
public TextureContents loadContents(ResourceManager resourceManager) throws IOException {
return TextureContents.load(resourceManager, this.resourceId());
}
}引用的其他类
-
- 引用位置:
继承
- 引用位置:
-
- 引用位置:
方法调用/返回值 - 关联成员:
TextureContents.load()
- 引用位置:
-
- 引用位置:
参数
- 引用位置:
-
- 引用位置:
参数
- 引用位置: