mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-11-19 00:45:10 +01:00
Rename classes
This commit is contained in:
parent
b342a0b37e
commit
f900dbe690
@ -7,10 +7,10 @@ package me.filoghost.holographicdisplays.plugin.api.current;
|
||||
|
||||
import me.filoghost.holographicdisplays.api.hologram.line.ClickListener;
|
||||
import me.filoghost.holographicdisplays.api.hologram.line.ClickableHologramLine;
|
||||
import me.filoghost.holographicdisplays.plugin.hologram.base.Clickable;
|
||||
import me.filoghost.holographicdisplays.plugin.hologram.base.ClickCallbackProvider;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
public interface APIClickableHologramLine extends ClickableHologramLine, APIHologramLine, Clickable {
|
||||
public interface APIClickableHologramLine extends ClickableHologramLine, APIHologramLine, ClickCallbackProvider {
|
||||
|
||||
@Override
|
||||
default boolean hasClickCallback() {
|
||||
|
@ -7,10 +7,10 @@ package me.filoghost.holographicdisplays.plugin.api.current;
|
||||
|
||||
import me.filoghost.holographicdisplays.api.hologram.line.CollectableHologramLine;
|
||||
import me.filoghost.holographicdisplays.api.hologram.line.PickupListener;
|
||||
import me.filoghost.holographicdisplays.plugin.hologram.base.Collectable;
|
||||
import me.filoghost.holographicdisplays.plugin.hologram.base.PickupCallbackProvider;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
public interface APICollectableHologramLine extends CollectableHologramLine, APIHologramLine, Collectable {
|
||||
public interface APICollectableHologramLine extends CollectableHologramLine, APIHologramLine, PickupCallbackProvider {
|
||||
|
||||
@Override
|
||||
default boolean hasPickupCallback() {
|
||||
|
@ -7,10 +7,10 @@ package me.filoghost.holographicdisplays.plugin.api.v2;
|
||||
|
||||
import com.gmail.filoghost.holographicdisplays.api.handler.PickupHandler;
|
||||
import com.gmail.filoghost.holographicdisplays.api.line.CollectableLine;
|
||||
import me.filoghost.holographicdisplays.plugin.hologram.base.Collectable;
|
||||
import me.filoghost.holographicdisplays.plugin.hologram.base.PickupCallbackProvider;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
public interface V2CollectableLine extends CollectableLine, V2HologramLine, Collectable {
|
||||
public interface V2CollectableLine extends CollectableLine, V2HologramLine, PickupCallbackProvider {
|
||||
|
||||
@Override
|
||||
default boolean hasPickupCallback() {
|
||||
|
@ -7,10 +7,10 @@ package me.filoghost.holographicdisplays.plugin.api.v2;
|
||||
|
||||
import com.gmail.filoghost.holographicdisplays.api.handler.TouchHandler;
|
||||
import com.gmail.filoghost.holographicdisplays.api.line.TouchableLine;
|
||||
import me.filoghost.holographicdisplays.plugin.hologram.base.Clickable;
|
||||
import me.filoghost.holographicdisplays.plugin.hologram.base.ClickCallbackProvider;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
public interface V2TouchableLine extends TouchableLine, V2HologramLine, Clickable {
|
||||
public interface V2TouchableLine extends TouchableLine, V2HologramLine, ClickCallbackProvider {
|
||||
|
||||
@Override
|
||||
default boolean hasClickCallback() {
|
||||
|
@ -9,7 +9,7 @@ import me.filoghost.holographicdisplays.common.PositionCoordinates;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
public abstract class BaseClickableHologramLine extends BaseHologramLine implements Clickable {
|
||||
public abstract class BaseClickableHologramLine extends BaseHologramLine implements ClickCallbackProvider {
|
||||
|
||||
protected BaseClickableHologramLine(BaseHologram hologram) {
|
||||
super(hologram);
|
||||
|
@ -13,7 +13,7 @@ import org.bukkit.entity.Player;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public abstract class BaseItemHologramLine extends BaseClickableHologramLine implements Collectable {
|
||||
public abstract class BaseItemHologramLine extends BaseClickableHologramLine implements PickupCallbackProvider {
|
||||
|
||||
private ItemStack itemStack;
|
||||
|
||||
|
@ -9,7 +9,7 @@ import me.filoghost.fcommons.logging.Log;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
|
||||
public interface Clickable {
|
||||
public interface ClickCallbackProvider {
|
||||
|
||||
boolean hasClickCallback();
|
||||
|
@ -9,7 +9,7 @@ import me.filoghost.fcommons.logging.Log;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
|
||||
public interface Collectable {
|
||||
public interface PickupCallbackProvider {
|
||||
|
||||
boolean hasPickupCallback();
|
||||
|
Loading…
Reference in New Issue
Block a user