public static class World.Spigot
extends java.lang.Object
Constructor | Description |
---|---|
Spigot() |
Modifier and Type | Method | Description |
---|---|---|
LightningStrike |
strikeLightning(Location loc,
boolean isSilent) |
Strikes lightning at the given
Location and possibly without sound |
LightningStrike |
strikeLightningEffect(Location loc,
boolean isSilent) |
Strikes lightning at the given
Location without doing damage and possibly without sound |
public LightningStrike strikeLightning(Location loc, boolean isSilent)
Location
and possibly without soundloc
- The location to strike lightningisSilent
- Whether this strike makes no soundpublic LightningStrike strikeLightningEffect(Location loc, boolean isSilent)
Location
without doing damage and possibly without soundloc
- The location to strike lightningisSilent
- Whether this strike makes no soundCopyright © 2018. All rights reserved.