Interface PartStaticModelRegisterEvent.StaticModelRenderer

Enclosing interface:
PartStaticModelRegisterEvent

public static interface PartStaticModelRegisterEvent.StaticModelRenderer
  • Method Summary

    Modifier and Type Method Description
    default net.minecraft.client.texture.Sprite getBlockSprite​(java.lang.String id)  
    default net.minecraft.client.texture.Sprite getBlockSprite​(net.minecraft.util.Identifier id)  
    default net.minecraft.client.texture.Sprite getMissingBlockSprite()  
    default net.minecraft.client.texture.Sprite getSprite​(net.minecraft.client.util.SpriteIdentifier spriteId)  
    net.minecraft.client.texture.Sprite getSprite​(net.minecraft.util.Identifier atlasId, net.minecraft.util.Identifier spriteId)  
    <K extends PartModelKey>
    void
    register​(java.lang.Class<K> clazz, PartModelBaker<K> renderer)  
  • Method Details

    • register

      <K extends PartModelKey> void register​(java.lang.Class<K> clazz, PartModelBaker<K> renderer)
    • getMissingBlockSprite

      default net.minecraft.client.texture.Sprite getMissingBlockSprite()
    • getBlockSprite

      default net.minecraft.client.texture.Sprite getBlockSprite​(java.lang.String id)
    • getBlockSprite

      default net.minecraft.client.texture.Sprite getBlockSprite​(net.minecraft.util.Identifier id)
    • getSprite

      net.minecraft.client.texture.Sprite getSprite​(net.minecraft.util.Identifier atlasId, net.minecraft.util.Identifier spriteId)
    • getSprite

      default net.minecraft.client.texture.Sprite getSprite​(net.minecraft.client.util.SpriteIdentifier spriteId)