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();
}
}
TileEntityBeaconPotionRenderer.java 文件源码
java
阅读 46
收藏 0
点赞 0
评论 0
项目:Cyclic
作者:
评论列表
文章目录