public void addBlockState(IBlockState state, @Nonnull ItemStack stack, boolean allFacesToGeneral) {
if (state != null) {
if (Prep.isInvalid(stack)) {
stack = new ItemStack(state.getBlock(), 1, state.getBlock().damageDropped(state));
}
BlockModelShapes modelShapes = Minecraft.getMinecraft().getBlockRendererDispatcher().getBlockModelShapes();
IBakedModel model = modelShapes.getModelForState(state);
addBakedModel(model, stack, allFacesToGeneral);
}
}
ItemQuadCollector.java 文件源码
java
阅读 19
收藏 0
点赞 0
评论 0
项目:EnderIO
作者:
评论列表
文章目录