Package org.bukkit.event.weather

Examples of org.bukkit.event.weather.LightningStrikeEvent


        return (LivingEntity) spawn(loc, type.getEntityClass());
    }

    private GlowLightningStrike strikeLightningFireEvent(final Location loc, final boolean effect) {
        final GlowLightningStrike strike = new GlowLightningStrike(loc, effect, random);
        final LightningStrikeEvent event = new LightningStrikeEvent(this, strike);
        if (EventFactory.callEvent(event).isCancelled()) {
            return null;
        }
        return strike;
    }
View Full Code Here

TOP

Related Classes of org.bukkit.event.weather.LightningStrikeEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.