Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (player.getActivePotionEffect(BioWarfare.InvertedVision) != null && player.getActivePotionEffect(BioWarfare.InvertedVision).getDuration() != 1) {
- /* if (event.entityLiving.worldObj.rand.nextInt(200) == 0){
- EntityCreeper creeper = new EntityCreeper(player.worldObj);
- try {
- ReflectionHelper.setProperty(creeper, 0, "explosionRadius", "field_82226_g");
- DataWatcher watcher = ReflectionHelper.getProperty(creeper, "dataWatcher", "field_70180_af");
- } catch (Throwable t) {
- throw Throwables.propagate(t);
- }
- creeper.setPosition(player.posX ,player.posY ,player.posZ );
- player.worldObj.spawnEntityInWorld(creeper);
- }*/
- if (event.entityLiving.worldObj.rand.nextInt(20) == 0){
- ClientProxy.flip(random, player);
- }
- }
- if (player.getActivePotionEffect(BioWarfare.InvertedVision) != null && player.getActivePotionEffect(BioWarfare.InvertedVision).getDuration() == 1){
- ClientProxy.noCurrentShader(random, player);
- }
- if (player.getActivePotionEffect(BioWarfare.BlurredVision) != null && player.getActivePotionEffect(BioWarfare.BlurredVision).getDuration() != 1) {
- if (event.entityLiving.worldObj.rand.nextInt(20) == 0){
- ClientProxy.Phosphor(random, player);
- }
- }
- if (player.getActivePotionEffect(BioWarfare.BlurredVision) != null && player.getActivePotionEffect(BioWarfare.BlurredVision).getDuration() == 1){
- ClientProxy.noCurrentShader(random, player);
- }
Advertisement
Add Comment
Please, Sign In to add comment