mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-20 04:19:50 +00:00
Pointless white beacon is now RAINBOW BEACON
This commit is contained in:
1 parent
0da2d13496
commit
5e17a34713
2 files changed
+9
-2
No files matched your search
@@ -41,7 +41,14 @@ public class RenderCarvableBeacon extends TileEntityBeaconRenderer implements IS
|
||||
|
||||
private void renderBeam(float f1, World world, double x, double y, double z, int meta, float partialTicks) {
|
||||
GL11.glAlphaFunc(GL11.GL_GREATER, 0.1F);
|
||||
Color color = new Color(ItemDye.field_150922_c[meta]);
|
||||
Color color;
|
||||
if (meta < 15) {
|
||||
color = new Color(ItemDye.field_150922_c[meta]);
|
||||
} else {
|
||||
float hue = ((float) world.getTotalWorldTime() % 256) / 256;
|
||||
color = new Color(Color.HSBtoRGB(hue + (partialTicks / 256), 1, 1));
|
||||
}
|
||||
|
||||
Tessellator tessellator = Tessellator.instance;
|
||||
this.bindTexture(texture);
|
||||
GL11.glTexParameterf(GL11.GL_TEXTURE_2D, GL11.GL_TEXTURE_WRAP_S, 10497.0F);
|
||||
|
||||
@@ -133,7 +133,7 @@ tile.beacon.orange.desc=Orange Beamed Beacon
|
||||
tile.beacon.pink.desc=Pink Beamed Beacon
|
||||
tile.beacon.purple.desc=Purple Beamed Beacon
|
||||
tile.beacon.red.desc=Red Beamed Beacon
|
||||
tile.beacon.white.desc=White Beamed Beacon
|
||||
tile.beacon.white.desc=Rainbow Beamed Beacon
|
||||
tile.beacon.yellow.desc=Yellow Beamed Beacon
|
||||
tile.beacon.gray.desc=Gray Beamed Beacon
|
||||
|
||||
|
||||
Reference in new issue
Block a user