Guest User

Untitled

a guest
Dec 5th, 2014
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. if (player.getActivePotionEffect(BioWarfare.InvertedVision) != null && player.getActivePotionEffect(BioWarfare.InvertedVision).getDuration() != 1) {
  2.  
  3.  
  4. /* if (event.entityLiving.worldObj.rand.nextInt(200) == 0){
  5.  
  6. EntityCreeper creeper = new EntityCreeper(player.worldObj);
  7. try {
  8. ReflectionHelper.setProperty(creeper, 0, "explosionRadius", "field_82226_g");
  9. DataWatcher watcher = ReflectionHelper.getProperty(creeper, "dataWatcher", "field_70180_af");
  10.  
  11. } catch (Throwable t) {
  12. throw Throwables.propagate(t);
  13. }
  14.  
  15. creeper.setPosition(player.posX ,player.posY ,player.posZ );
  16. player.worldObj.spawnEntityInWorld(creeper);
  17.  
  18. }*/
  19.  
  20. if (event.entityLiving.worldObj.rand.nextInt(20) == 0){
  21. ClientProxy.flip(random, player);
  22.  
  23. }
  24.  
  25. }
  26.  
  27. if (player.getActivePotionEffect(BioWarfare.InvertedVision) != null && player.getActivePotionEffect(BioWarfare.InvertedVision).getDuration() == 1){
  28.  
  29. ClientProxy.noCurrentShader(random, player);
  30.  
  31. }
  32.  
  33.  
  34. if (player.getActivePotionEffect(BioWarfare.BlurredVision) != null && player.getActivePotionEffect(BioWarfare.BlurredVision).getDuration() != 1) {
  35.  
  36.  
  37.  
  38. if (event.entityLiving.worldObj.rand.nextInt(20) == 0){
  39. ClientProxy.Phosphor(random, player);
  40. }
  41.  
  42. }
  43. if (player.getActivePotionEffect(BioWarfare.BlurredVision) != null && player.getActivePotionEffect(BioWarfare.BlurredVision).getDuration() == 1){
  44.  
  45. ClientProxy.noCurrentShader(random, player);
  46. }
Advertisement
Add Comment
Please, Sign In to add comment