ModelBakery.java 文件源码

java
阅读 19 收藏 0 点赞 0 评论 0

项目:BaseClient 作者:
private Set<ResourceLocation> getTextureLocations(ModelBlock p_177585_1_)
{
    Set<ResourceLocation> set = Sets.<ResourceLocation>newHashSet();

    for (BlockPart blockpart : p_177585_1_.getElements())
    {
        for (BlockPartFace blockpartface : blockpart.mapFaces.values())
        {
            ResourceLocation resourcelocation = new ResourceLocation(p_177585_1_.resolveTextureName(blockpartface.texture));
            set.add(resourcelocation);
        }
    }

    set.add(new ResourceLocation(p_177585_1_.resolveTextureName("particle")));
    return set;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号