public interface ModelBakingContext
| Modifier and Type | Method and Description |
|---|---|
default net.minecraft.client.renderer.texture.TextureAtlasSprite |
getBlockTexture(net.minecraft.util.ResourceLocation texture)
Gets the sprite for the given texture on the block atlas.
|
ModelInstance<?> |
getModel(net.minecraft.util.ResourceLocation identifier)
Gets the model corresponding to the given identifier.
|
net.minecraft.util.ResourceLocation |
getModelIdentifier() |
default net.minecraft.client.renderer.texture.TextureAtlasSprite |
getTexture(net.minecraft.util.ResourceLocation atlas,
net.minecraft.util.ResourceLocation texture)
Gets the sprite for the given atlas and texture.
|
net.minecraft.client.renderer.texture.TextureAtlasSprite |
getTexture(SpriteIdentifier identifier)
Gets the sprite for the given material.
|
net.minecraftforge.common.model.IModelState |
getTransformation() |
net.minecraft.client.renderer.texture.TextureAtlasSprite getTexture(SpriteIdentifier identifier)
identifier - identifier for the spritedefault net.minecraft.client.renderer.texture.TextureAtlasSprite getTexture(net.minecraft.util.ResourceLocation atlas,
net.minecraft.util.ResourceLocation texture)
atlas - atlas which the texture is stitched totexture - texture identifierdefault net.minecraft.client.renderer.texture.TextureAtlasSprite getBlockTexture(net.minecraft.util.ResourceLocation texture)
texture - texture identifiernet.minecraftforge.common.model.IModelState getTransformation()
net.minecraft.util.ResourceLocation getModelIdentifier()
@Nullable ModelInstance<?> getModel(net.minecraft.util.ResourceLocation identifier)
ModelType.getModelDependencies(Object) may be requested.identifier - identifier for the model