Remove unnecessary class

This commit is contained in:
ceze88 2023-07-08 11:15:18 +02:00
parent 16e61d82f0
commit 250435cfa0
3 changed files with 4 additions and 18 deletions

View File

@ -1,13 +1,13 @@
package com.craftaro.ultimatestacker.api.stack.entity;
import com.craftaro.ultimatestacker.api.utils.StackableEntity;
import com.craftaro.ultimatestacker.api.utils.Stackable;
import org.bukkit.Location;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.LivingEntity;
import java.util.UUID;
public interface EntityStack extends StackableEntity {
public interface EntityStack extends Stackable {
EntityType getType();

View File

@ -1,9 +1,9 @@
package com.craftaro.ultimatestacker.api.stack.item;
import com.craftaro.ultimatestacker.api.utils.StackableEntity;
import com.craftaro.ultimatestacker.api.utils.Stackable;
import org.bukkit.entity.Item;
public interface StackedItem extends StackableEntity {
public interface StackedItem extends Stackable {
/**
* Get the Item entity for this StackedItem

View File

@ -1,14 +0,0 @@
package com.craftaro.ultimatestacker.api.utils;
public interface StackableEntity {
int getAmount();
void setAmount(int amount);
void add(int amount);
void take(int amount);
//int getMaxStackSize();
}