Package org.spoutcraft.api.block.design

Examples of org.spoutcraft.api.block.design.GenericBlockDesign.renderBlock()


                          oldBounds[2] = (float) block.minZ;
                          oldBounds[3] = (float) block.maxX;
                          oldBounds[4] = (float) block.maxY;
                          oldBounds[5] = (float) block.maxZ;
                          block.setBlockBounds(design.getLowXBound(), design.getLowYBound(), design.getLowZBound(), design.getHighXBound(), design.getHighYBound(), design.getHighZBound());
                          rendered |= design.renderBlock(mat, dx, dy, dz);
                          block.setBlockBounds(oldBounds[0], oldBounds[1], oldBounds[2], oldBounds[3], oldBounds[4], oldBounds[5]);
                        } else {
                          rendered |= blockRenderer.renderBlockByRenderType(block, dx, dy, dz);
                        }
                      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.