Constructor and Description |
---|
Spigot() |
Modifier and Type | Method and 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 |
@NotNull public LightningStrike strikeLightning(@NotNull Location loc, boolean isSilent)
Location
and possibly without soundloc
- The location to strike lightningisSilent
- Whether this strike makes no sound@NotNull public LightningStrike strikeLightningEffect(@NotNull Location loc, boolean isSilent)
Location
without doing damage and possibly without soundloc
- The location to strike lightningisSilent
- Whether this strike makes no soundCopyright © 2022. All rights reserved.