public abstract class PositionalWand extends Object
Constructor and Description |
---|
PositionalWand(@NotNull ItemStack itemStack,
@NotNull Plugin plugin) |
Modifier and Type | Method and Description |
---|---|
void |
apply(@NotNull ItemStack itemStack) |
boolean |
bothSet() |
double |
distance() |
double |
distanceSquared() |
BoundingBox |
getBoundingBox() |
@Nullable Location |
getPos1() |
@Nullable Location |
getPos2() |
void |
reset() |
void |
setPos1(@Nullable Location pos1) |
void |
setPos2(@Nullable Location pos2) |
@Nullable public @Nullable Location getPos1()
public void setPos1(@Nullable @Nullable Location pos1)
@Nullable public @Nullable Location getPos2()
public void setPos2(@Nullable @Nullable Location pos2)
public boolean bothSet()
public BoundingBox getBoundingBox()
public double distanceSquared()
public double distance()
public void reset()
public void apply(@NotNull @NotNull ItemStack itemStack)
Copyright © 2020. All rights reserved.