private void renderBlockOutlines(Mode mode, EntityPlayer player, BlockPosEU posStart, BlockPosEU posEnd, float partialTicks)
{
GlStateManager.glLineWidth(2.0f);
float expand = mode == Mode.REPLACE ? 0.001f : 0f;
for (int i = 0; i < this.positions.size(); i++)
{
BlockPosEU pos = this.positions.get(i);
if (pos.equals(posStart) == false && pos.equals(posEnd) == false)
{
AxisAlignedBB aabb = createAABB(pos.getX(), pos.getY(), pos.getZ(), expand, partialTicks, player);
RenderGlobal.drawSelectionBoundingBox(aabb, 1.0f, 1.0f, 1.0f, 1.0f);
}
}
}
BuildersWandRenderer.java 文件源码
java
阅读 23
收藏 0
点赞 0
评论 0
项目:enderutilities
作者:
评论列表
文章目录