ModelLoader.java 文件源码

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

项目:MCAnm 作者:
public BakedModelWrapper(
        ModelMCMD model,
        IModelState state,
        VertexFormat format,
        ImmutableMap<String, TextureAtlasSprite> slotToSprite,
        ItemOverrideList itemOverrides) {
    this.actualModel = Objects.requireNonNull(model);
    this.slotToSprite = Objects.requireNonNull(slotToSprite);
    this.bakedState = Objects.requireNonNull(state);
    this.format = Objects.requireNonNull(format);
    // There is at least the "missingno" texture in the list
    particleSprite = getParticleSprite(slotToSprite);
    this.stateInformation = new ModelStateInformation();
    stateInformation.setAnimation(new AnimationStateProxy(state));
    stateInformation.setFrame(0);
    this.itemOverrides = Objects.requireNonNull(itemOverrides);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号