Class ItemModelGenerator
java.lang.Object
net.minecraft.client.renderer.block.model.ItemModelGenerator
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescription(package private) static class(package private) static enum
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidcheckTransition(ItemModelGenerator.SpanFacing p_251572_, List<ItemModelGenerator.Span> p_248882_, SpriteContents p_249847_, int p_250616_, int p_251416_, int p_249664_, int p_250174_, int p_250897_, boolean p_248773_) private voidcreateOrExpandSpan(List<ItemModelGenerator.Span> p_111666_, ItemModelGenerator.SpanFacing p_111667_, int p_111668_, int p_111669_) private List<BlockElement>createSideElements(SpriteContents p_248810_, String p_111663_, int p_111664_) generateBlockModel(Function<Material, TextureAtlasSprite> p_111671_, BlockModel p_111672_) private List<ItemModelGenerator.Span>getSpans(SpriteContents p_250338_) private booleanisTransparent(SpriteContents p_249650_, int p_250692_, int p_251914_, int p_252343_, int p_250258_, int p_248997_) processFrames(int p_111639_, String p_111640_, SpriteContents p_251768_) 
- 
Field Details- 
LAYERS
- 
MIN_Zprivate static final float MIN_Z- See Also:
 
- 
MAX_Zprivate static final float MAX_Z- See Also:
 
 
- 
- 
Constructor Details- 
ItemModelGeneratorpublic ItemModelGenerator()
 
- 
- 
Method Details- 
generateBlockModelpublic BlockModel generateBlockModel(Function<Material, TextureAtlasSprite> p_111671_, BlockModel p_111672_) 
- 
processFrames
- 
createSideElementsprivate List<BlockElement> createSideElements(SpriteContents p_248810_, String p_111663_, int p_111664_) 
- 
getSpans
- 
checkTransitionprivate void checkTransition(ItemModelGenerator.SpanFacing p_251572_, List<ItemModelGenerator.Span> p_248882_, SpriteContents p_249847_, int p_250616_, int p_251416_, int p_249664_, int p_250174_, int p_250897_, boolean p_248773_) 
- 
createOrExpandSpanprivate void createOrExpandSpan(List<ItemModelGenerator.Span> p_111666_, ItemModelGenerator.SpanFacing p_111667_, int p_111668_, int p_111669_) 
- 
isTransparentprivate boolean isTransparent(SpriteContents p_249650_, int p_250692_, int p_251914_, int p_252343_, int p_250258_, int p_248997_) 
 
-