All inventory stuff in org.bukkit moved to org.bukkit.inventory

This commit is contained in:
Dinnerbone 2011-01-15 21:27:29 +00:00
parent 9150e8d85d
commit 6b9ad41a05
8 changed files with 99 additions and 99 deletions

View File

@ -4,10 +4,10 @@ import java.util.HashMap;
import net.minecraft.server.IInventory;
import org.bukkit.ItemStack;
import org.bukkit.inventory.ItemStack;
import org.bukkit.Material;
public class CraftInventory implements org.bukkit.Inventory {
public class CraftInventory implements org.bukkit.inventory.Inventory {
protected IInventory inventory;
public CraftInventory(IInventory inventory) {

View File

@ -2,8 +2,8 @@ package org.bukkit.craftbukkit;
import net.minecraft.server.InventoryPlayer;
import org.bukkit.ItemStack;
import org.bukkit.PlayerInventory;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.PlayerInventory;
public class CraftInventoryPlayer extends CraftInventory implements PlayerInventory {
public CraftInventoryPlayer(net.minecraft.server.InventoryPlayer inventory) {

View File

@ -1,6 +1,6 @@
package org.bukkit.craftbukkit;
import org.bukkit.ItemStack;
import org.bukkit.inventory.ItemStack;
import org.bukkit.Material;
public class CraftItemStack extends ItemStack {

View File

@ -1,10 +1,10 @@
package org.bukkit.craftbukkit;
import org.bukkit.Inventory;
import org.bukkit.ItemStack;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
import net.minecraft.server.Slot;
public class CraftSlot implements org.bukkit.Slot {
public class CraftSlot implements org.bukkit.inventory.Slot {
private final Slot slot;
public CraftSlot(Slot slot) {

View File

@ -34,7 +34,7 @@ import org.bukkit.Block;
import org.bukkit.entity.Boat;
import org.bukkit.Chunk;
import org.bukkit.entity.ItemDrop;
import org.bukkit.ItemStack;
import org.bukkit.inventory.ItemStack;
import org.bukkit.Location;
import org.bukkit.entity.Minecart;
import org.bukkit.entity.PoweredMinecart;

View File

@ -3,8 +3,8 @@ package org.bukkit.craftbukkit.entity;
import net.minecraft.server.EntityPlayer;
import org.bukkit.entity.HumanEntity;
import org.bukkit.ItemStack;
import org.bukkit.PlayerInventory;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.PlayerInventory;
import org.bukkit.craftbukkit.CraftInventoryPlayer;
import org.bukkit.craftbukkit.CraftServer;

View File

@ -2,7 +2,7 @@ package org.bukkit.craftbukkit.entity;
import net.minecraft.server.EntityItem;
import org.bukkit.entity.ItemDrop;
import org.bukkit.ItemStack;
import org.bukkit.inventory.ItemStack;
import org.bukkit.craftbukkit.CraftItemStack;
import org.bukkit.craftbukkit.CraftServer;

View File

@ -2,7 +2,7 @@ package org.bukkit.craftbukkit.entity;
import net.minecraft.server.EntityMinecart;
import org.bukkit.Inventory;
import org.bukkit.inventory.Inventory;
import org.bukkit.craftbukkit.CraftInventory;
import org.bukkit.craftbukkit.CraftServer;
import org.bukkit.entity.StorageMinecart;