TileEntityBeaconPotionRenderer.java 文件源码

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

项目:Cyclic 作者:
public void renderBeacon(double x, double y, double z, double partialTicks, double textureScale, List<TileEntityBeaconPotion.BeamSegment> beamSegments, double totalWorldTime) {
  GlStateManager.alphaFunc(516, 0.1F);
  this.bindTexture(TEXTURE_BEACON_BEAM);
  if (textureScale > 0.0D) {
    GlStateManager.disableFog();
    int i = 0;
    for (int j = 0; j < beamSegments.size(); ++j) {
      TileEntityBeaconPotion.BeamSegment tileentitybeacon$beamsegment = beamSegments.get(j);
      TileEntityBeaconRenderer.renderBeamSegment(x, y, z, partialTicks, textureScale, totalWorldTime, i, tileentitybeacon$beamsegment.getHeight(), tileentitybeacon$beamsegment.getColors());
      i += tileentitybeacon$beamsegment.getHeight();
    }
    GlStateManager.enableFog();
  }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号