Class ItemModelGenerator
java.lang.Object
net.minecraft.client.renderer.model.ItemModelGenerator
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
(package private) static enum
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
checkTransition
(ItemModelGenerator.SpanFacing p_199338_1_, List<ItemModelGenerator.Span> p_199338_2_, TextureAtlasSprite p_199338_3_, int p_199338_4_, int p_199338_5_, int p_199338_6_, int p_199338_7_, int p_199338_8_, boolean p_199338_9_) private void
createOrExpandSpan
(List<ItemModelGenerator.Span> p_178395_1_, ItemModelGenerator.SpanFacing p_178395_2_, int p_178395_3_, int p_178395_4_) createSideElements
(TextureAtlasSprite p_178397_1_, String p_178397_2_, int p_178397_3_) generateBlockModel
(Function<RenderMaterial, TextureAtlasSprite> p_209579_1_, BlockModel p_209579_2_) private List<ItemModelGenerator.Span>
getSpans
(TextureAtlasSprite p_178393_1_) private boolean
isTransparent
(TextureAtlasSprite p_199339_1_, int p_199339_2_, int p_199339_3_, int p_199339_4_, int p_199339_5_, int p_199339_6_) processFrames
(int p_178394_1_, String p_178394_2_, TextureAtlasSprite p_178394_3_)
-
Field Details
-
LAYERS
-
-
Constructor Details
-
ItemModelGenerator
public ItemModelGenerator()
-
-
Method Details
-
generateBlockModel
public BlockModel generateBlockModel(Function<RenderMaterial, TextureAtlasSprite> p_209579_1_, BlockModel p_209579_2_) -
processFrames
private List<BlockPart> processFrames(int p_178394_1_, String p_178394_2_, TextureAtlasSprite p_178394_3_) -
createSideElements
private List<BlockPart> createSideElements(TextureAtlasSprite p_178397_1_, String p_178397_2_, int p_178397_3_) -
getSpans
-
checkTransition
private void checkTransition(ItemModelGenerator.SpanFacing p_199338_1_, List<ItemModelGenerator.Span> p_199338_2_, TextureAtlasSprite p_199338_3_, int p_199338_4_, int p_199338_5_, int p_199338_6_, int p_199338_7_, int p_199338_8_, boolean p_199338_9_) -
createOrExpandSpan
private void createOrExpandSpan(List<ItemModelGenerator.Span> p_178395_1_, ItemModelGenerator.SpanFacing p_178395_2_, int p_178395_3_, int p_178395_4_) -
isTransparent
private boolean isTransparent(TextureAtlasSprite p_199339_1_, int p_199339_2_, int p_199339_3_, int p_199339_4_, int p_199339_5_, int p_199339_6_)
-