public class ItemModelGenerator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ItemModelGenerator.Span |
(package private) static class |
ItemModelGenerator.SpanFacing |
Modifier and Type | Field and Description |
---|---|
static java.util.List<java.lang.String> |
LAYERS |
Constructor and Description |
---|
ItemModelGenerator() |
Modifier and Type | Method and Description |
---|---|
private void |
checkTransition(ItemModelGenerator.SpanFacing p_178396_1_,
java.util.List<ItemModelGenerator.Span> p_178396_2_,
int[] p_178396_3_,
int p_178396_4_,
int p_178396_5_,
int p_178396_6_,
int p_178396_7_,
boolean p_178396_8_) |
private void |
createOrExpandSpan(java.util.List<ItemModelGenerator.Span> p_178395_1_,
ItemModelGenerator.SpanFacing p_178395_2_,
int p_178395_3_,
int p_178395_4_) |
private java.util.List<BlockPart> |
getBlockParts(int tintIndex,
java.lang.String p_178394_2_,
TextureAtlasSprite p_178394_3_) |
private java.util.List<BlockPart> |
getBlockParts(TextureAtlasSprite p_178397_1_,
java.lang.String p_178397_2_,
int p_178397_3_) |
private java.util.List<ItemModelGenerator.Span> |
getSpans(TextureAtlasSprite p_178393_1_) |
private boolean |
isTransparent(int[] p_178391_1_,
int p_178391_2_,
int p_178391_3_,
int p_178391_4_,
int p_178391_5_) |
ModelBlock |
makeItemModel(TextureMap textureMapIn,
ModelBlock blockModel) |
@Nullable public ModelBlock makeItemModel(TextureMap textureMapIn, ModelBlock blockModel)
private java.util.List<BlockPart> getBlockParts(int tintIndex, java.lang.String p_178394_2_, TextureAtlasSprite p_178394_3_)
private java.util.List<BlockPart> getBlockParts(TextureAtlasSprite p_178397_1_, java.lang.String p_178397_2_, int p_178397_3_)
private java.util.List<ItemModelGenerator.Span> getSpans(TextureAtlasSprite p_178393_1_)
private void checkTransition(ItemModelGenerator.SpanFacing p_178396_1_, java.util.List<ItemModelGenerator.Span> p_178396_2_, int[] p_178396_3_, int p_178396_4_, int p_178396_5_, int p_178396_6_, int p_178396_7_, boolean p_178396_8_)
private void createOrExpandSpan(java.util.List<ItemModelGenerator.Span> p_178395_1_, ItemModelGenerator.SpanFacing p_178395_2_, int p_178395_3_, int p_178395_4_)
private boolean isTransparent(int[] p_178391_1_, int p_178391_2_, int p_178391_3_, int p_178391_4_, int p_178391_5_)