SPIGOT-2793: Revert Nameable changes

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2016-11-19 03:09:06 +11:00
parent 07f7249cf2
commit 0da3e1a443
10 changed files with 35 additions and 56 deletions

View File

@@ -1,7 +1,6 @@
package org.bukkit.block;
import java.util.Collection;
import org.bukkit.Nameable;
import org.bukkit.entity.LivingEntity;
import org.bukkit.inventory.InventoryHolder;
import org.bukkit.potion.PotionEffect;
@@ -10,7 +9,7 @@ import org.bukkit.potion.PotionEffectType;
/**
* Represents a beacon.
*/
public interface Beacon extends BlockState, InventoryHolder, Lockable, Nameable {
public interface Beacon extends BlockState, InventoryHolder, Lockable {
/**
* Returns the list of players within the beacon's range of effect.

View File

@@ -1,13 +1,12 @@
package org.bukkit.block;
import org.bukkit.Nameable;
import org.bukkit.inventory.BrewerInventory;
import org.bukkit.inventory.InventoryHolder;
/**
* Represents a brewing stand.
*/
public interface BrewingStand extends BlockState, InventoryHolder, Lockable, Nameable {
public interface BrewingStand extends BlockState, InventoryHolder, Lockable {
/**
* How much time is left in the brewing cycle

View File

@@ -1,13 +1,12 @@
package org.bukkit.block;
import org.bukkit.Nameable;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.InventoryHolder;
/**
* Represents a chest.
*/
public interface Chest extends BlockState, InventoryHolder, Lockable, Nameable {
public interface Chest extends BlockState, InventoryHolder, Lockable {
/**
* Returns the chest's inventory. If this is a double chest, it returns

View File

@@ -1,13 +1,12 @@
package org.bukkit.block;
import org.bukkit.Nameable;
import org.bukkit.inventory.InventoryHolder;
import org.bukkit.projectiles.BlockProjectileSource;
/**
* Represents a dispenser.
*/
public interface Dispenser extends BlockState, InventoryHolder, Lockable, Nameable {
public interface Dispenser extends BlockState, InventoryHolder, Lockable {
/**
* Gets the BlockProjectileSource object for this dispenser.

View File

@@ -1,13 +1,11 @@
package org.bukkit.block;
import org.bukkit.Nameable;
import org.bukkit.inventory.InventoryHolder;
/**
* Represents a dropper.
*/
public interface Dropper extends BlockState, InventoryHolder, Lockable, Nameable {
public interface Dropper extends BlockState, InventoryHolder, Lockable {
/**
* Tries to drop a randomly selected item from the Dropper's inventory,
* following the normal behavior of a Dropper.

View File

@@ -1,13 +1,12 @@
package org.bukkit.block;
import org.bukkit.Nameable;
import org.bukkit.inventory.FurnaceInventory;
import org.bukkit.inventory.InventoryHolder;
/**
* Represents a furnace.
*/
public interface Furnace extends BlockState, InventoryHolder, Lockable, Nameable {
public interface Furnace extends BlockState, InventoryHolder, Lockable {
/**
* Get burn time.

View File

@@ -1,9 +1,10 @@
package org.bukkit.block;
import org.bukkit.Nameable;
import org.bukkit.inventory.InventoryHolder;
/**
* Represents a hopper.
*/
public interface Hopper extends BlockState, InventoryHolder, Lockable, Nameable { }
public interface Hopper extends BlockState, InventoryHolder, Lockable {
}

View File

@@ -1,18 +1,8 @@
package org.bukkit.block;
import org.bukkit.DyeColor;
import org.bukkit.Nameable;
import org.bukkit.inventory.InventoryHolder;
/**
* Represents a ShulkerBox.
*/
public interface ShulkerBox extends BlockState, InventoryHolder, Lockable, Nameable {
/**
* Get the {@link DyeColor} corresponding to this ShulkerBox
*
* @return the {@link DyeColor} of this ShulkerBox
*/
public DyeColor getColor();
}
public interface ShulkerBox extends BlockState, InventoryHolder, Lockable { }