Rename classes

This commit is contained in:
filoghost 2021-09-05 15:35:43 +02:00
parent b342a0b37e
commit f900dbe690
8 changed files with 12 additions and 12 deletions

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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);

View File

@ -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;

View File

@ -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();

View File

@ -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();