mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-26 06:52:58 +00:00
Added pink.
This commit is contained in:
1 parent
03b7773eca
commit
f9c5af50e2
1 file changed
+4
-1
@@ -60,8 +60,9 @@ public class ItemFlightTiara extends ItemBauble implements IManaUsingItem {
|
||||
double x = event.entityLiving.posX - 0.5;
|
||||
double y = event.entityLiving.posY - 1.7;
|
||||
double z = event.entityLiving.posZ - 0.5;
|
||||
float pink = player.getGameProfile().getName().equals("Vazkii") ? (float) Math.random() * 0.75F + 0.25F : 0F;
|
||||
for(int i = 0; i < 3; i++)
|
||||
Botania.proxy.sparkleFX(event.entityLiving.worldObj, x + Math.random() * event.entityLiving.width, y + Math.random() * 0.4, z + Math.random() * event.entityLiving.width, 1F, 1F, 1F, 2F * (float) Math.random(), 20);
|
||||
Botania.proxy.sparkleFX(event.entityLiving.worldObj, x + Math.random() * event.entityLiving.width, y + Math.random() * 0.4, z + Math.random() * event.entityLiving.width, 1F, 1F - pink, 1F, 2F * (float) Math.random(), 20);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
@@ -76,6 +77,8 @@ public class ItemFlightTiara extends ItemBauble implements IManaUsingItem {
|
||||
playersWithFlight.add(playerStr(player));
|
||||
player.capabilities.allowFlying = true;
|
||||
}
|
||||
|
||||
if(player.capabilities.isFlying) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user