From 2fe673741c4afc9523895393e3da536fc7fec709 Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Sat, 15 Jan 2011 21:29:17 +0000 Subject: [PATCH] All inventory stuff in org.bukkit.craftbukkit moved to org.bukkit.craftbukkit.inventory --- src/main/java/net/minecraft/server/ItemBlock.java | 2 +- src/main/java/net/minecraft/server/ItemBoat.java | 2 +- src/main/java/net/minecraft/server/ItemBucket.java | 2 +- src/main/java/net/minecraft/server/ItemFlintAndSteel.java | 2 +- src/main/java/net/minecraft/server/ItemHoe.java | 2 +- src/main/java/net/minecraft/server/ItemMinecart.java | 2 +- src/main/java/net/minecraft/server/ItemRedstone.java | 2 +- src/main/java/net/minecraft/server/ItemSeeds.java | 2 +- src/main/java/net/minecraft/server/ItemSign.java | 2 +- src/main/java/net/minecraft/server/NetServerHandler.java | 2 +- .../java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java | 2 +- src/main/java/org/bukkit/craftbukkit/entity/CraftItemDrop.java | 2 +- .../org/bukkit/craftbukkit/entity/CraftStorageMinecart.java | 2 +- .../org/bukkit/craftbukkit/{ => inventory}/CraftInventory.java | 2 +- .../craftbukkit/{ => inventory}/CraftInventoryPlayer.java | 2 +- .../org/bukkit/craftbukkit/{ => inventory}/CraftItemStack.java | 2 +- .../java/org/bukkit/craftbukkit/{ => inventory}/CraftSlot.java | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) rename src/main/java/org/bukkit/craftbukkit/{ => inventory}/CraftInventory.java (99%) rename src/main/java/org/bukkit/craftbukkit/{ => inventory}/CraftInventoryPlayer.java (97%) rename src/main/java/org/bukkit/craftbukkit/{ => inventory}/CraftItemStack.java (98%) rename src/main/java/org/bukkit/craftbukkit/{ => inventory}/CraftSlot.java (92%) diff --git a/src/main/java/net/minecraft/server/ItemBlock.java b/src/main/java/net/minecraft/server/ItemBlock.java index 38e0ee734e..abe9ce6787 100644 --- a/src/main/java/net/minecraft/server/ItemBlock.java +++ b/src/main/java/net/minecraft/server/ItemBlock.java @@ -3,7 +3,7 @@ package net.minecraft.server; // CraftBukkit start import org.bukkit.BlockFace; import org.bukkit.craftbukkit.CraftBlock; -import org.bukkit.craftbukkit.CraftItemStack; +import org.bukkit.craftbukkit.inventory.CraftItemStack; import org.bukkit.craftbukkit.entity.CraftPlayer; import org.bukkit.event.Event.Type; import org.bukkit.event.block.BlockPlaceEvent; diff --git a/src/main/java/net/minecraft/server/ItemBoat.java b/src/main/java/net/minecraft/server/ItemBoat.java index 1a6d92d56c..571efb9264 100644 --- a/src/main/java/net/minecraft/server/ItemBoat.java +++ b/src/main/java/net/minecraft/server/ItemBoat.java @@ -2,7 +2,7 @@ package net.minecraft.server; // CraftBukkit start import org.bukkit.craftbukkit.CraftBlock; -import org.bukkit.craftbukkit.CraftItemStack; +import org.bukkit.craftbukkit.inventory.CraftItemStack; import org.bukkit.craftbukkit.entity.CraftPlayer; import org.bukkit.event.Event.Type; import org.bukkit.event.player.PlayerItemEvent; diff --git a/src/main/java/net/minecraft/server/ItemBucket.java b/src/main/java/net/minecraft/server/ItemBucket.java index fc85b5a701..a27e3811f8 100644 --- a/src/main/java/net/minecraft/server/ItemBucket.java +++ b/src/main/java/net/minecraft/server/ItemBucket.java @@ -5,7 +5,7 @@ import java.util.Random; // CraftBukkit start import org.bukkit.BlockFace; import org.bukkit.craftbukkit.CraftBlock; -import org.bukkit.craftbukkit.CraftItemStack; +import org.bukkit.craftbukkit.inventory.CraftItemStack; import org.bukkit.craftbukkit.entity.CraftPlayer; import org.bukkit.craftbukkit.CraftWorld; import org.bukkit.event.Event.Type; diff --git a/src/main/java/net/minecraft/server/ItemFlintAndSteel.java b/src/main/java/net/minecraft/server/ItemFlintAndSteel.java index 57a9eb9e8d..a77217f51b 100644 --- a/src/main/java/net/minecraft/server/ItemFlintAndSteel.java +++ b/src/main/java/net/minecraft/server/ItemFlintAndSteel.java @@ -4,7 +4,7 @@ import java.util.Random; // CraftBukkit start import org.bukkit.craftbukkit.CraftBlock; -import org.bukkit.craftbukkit.CraftItemStack; +import org.bukkit.craftbukkit.inventory.CraftItemStack; import org.bukkit.craftbukkit.entity.CraftPlayer; import org.bukkit.event.Event.Type; import org.bukkit.event.player.PlayerItemEvent; diff --git a/src/main/java/net/minecraft/server/ItemHoe.java b/src/main/java/net/minecraft/server/ItemHoe.java index 9e656b1e21..58b0ac3abf 100644 --- a/src/main/java/net/minecraft/server/ItemHoe.java +++ b/src/main/java/net/minecraft/server/ItemHoe.java @@ -4,7 +4,7 @@ import java.util.Random; // CraftBukkit start import org.bukkit.craftbukkit.CraftBlock; -import org.bukkit.craftbukkit.CraftItemStack; +import org.bukkit.craftbukkit.inventory.CraftItemStack; import org.bukkit.craftbukkit.entity.CraftPlayer; import org.bukkit.event.Event.Type; import org.bukkit.event.player.PlayerItemEvent; diff --git a/src/main/java/net/minecraft/server/ItemMinecart.java b/src/main/java/net/minecraft/server/ItemMinecart.java index f8ad951969..c4388b5338 100644 --- a/src/main/java/net/minecraft/server/ItemMinecart.java +++ b/src/main/java/net/minecraft/server/ItemMinecart.java @@ -2,7 +2,7 @@ package net.minecraft.server; // CraftBukkit start import org.bukkit.craftbukkit.CraftBlock; -import org.bukkit.craftbukkit.CraftItemStack; +import org.bukkit.craftbukkit.inventory.CraftItemStack; import org.bukkit.craftbukkit.entity.CraftPlayer; import org.bukkit.event.Event.Type; import org.bukkit.event.player.PlayerItemEvent; diff --git a/src/main/java/net/minecraft/server/ItemRedstone.java b/src/main/java/net/minecraft/server/ItemRedstone.java index 4ea4705263..9403989846 100644 --- a/src/main/java/net/minecraft/server/ItemRedstone.java +++ b/src/main/java/net/minecraft/server/ItemRedstone.java @@ -2,7 +2,7 @@ package net.minecraft.server; // CraftBukkit start import org.bukkit.craftbukkit.CraftBlock; -import org.bukkit.craftbukkit.CraftItemStack; +import org.bukkit.craftbukkit.inventory.CraftItemStack; import org.bukkit.craftbukkit.entity.CraftPlayer; import org.bukkit.event.Event.Type; import org.bukkit.event.player.PlayerItemEvent; diff --git a/src/main/java/net/minecraft/server/ItemSeeds.java b/src/main/java/net/minecraft/server/ItemSeeds.java index cd086db0be..384c6e20c5 100644 --- a/src/main/java/net/minecraft/server/ItemSeeds.java +++ b/src/main/java/net/minecraft/server/ItemSeeds.java @@ -2,7 +2,7 @@ package net.minecraft.server; // CraftBukkit start import org.bukkit.craftbukkit.CraftBlock; -import org.bukkit.craftbukkit.CraftItemStack; +import org.bukkit.craftbukkit.inventory.CraftItemStack; import org.bukkit.craftbukkit.entity.CraftPlayer; import org.bukkit.event.Event.Type; import org.bukkit.event.player.PlayerItemEvent; diff --git a/src/main/java/net/minecraft/server/ItemSign.java b/src/main/java/net/minecraft/server/ItemSign.java index f8fedd37ff..716c6f6e14 100644 --- a/src/main/java/net/minecraft/server/ItemSign.java +++ b/src/main/java/net/minecraft/server/ItemSign.java @@ -2,7 +2,7 @@ package net.minecraft.server; // CraftBukkit start import org.bukkit.craftbukkit.CraftBlock; -import org.bukkit.craftbukkit.CraftItemStack; +import org.bukkit.craftbukkit.inventory.CraftItemStack; import org.bukkit.craftbukkit.entity.CraftPlayer; import org.bukkit.event.Event.Type; import org.bukkit.event.player.PlayerItemEvent; diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java index 81b7a994af..e282579991 100644 --- a/src/main/java/net/minecraft/server/NetServerHandler.java +++ b/src/main/java/net/minecraft/server/NetServerHandler.java @@ -9,7 +9,7 @@ import org.bukkit.BlockFace; import org.bukkit.BlockDamageLevel; import org.bukkit.Location; import org.bukkit.craftbukkit.CraftBlock; -import org.bukkit.craftbukkit.CraftItemStack; +import org.bukkit.craftbukkit.inventory.CraftItemStack; import org.bukkit.craftbukkit.entity.CraftPlayer; import org.bukkit.craftbukkit.CraftServer; import org.bukkit.event.Event.Type; diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java index 4df63732af..ef09a416ab 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java @@ -5,7 +5,7 @@ import net.minecraft.server.EntityPlayer; import org.bukkit.entity.HumanEntity; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.PlayerInventory; -import org.bukkit.craftbukkit.CraftInventoryPlayer; +import org.bukkit.craftbukkit.inventory.CraftInventoryPlayer; import org.bukkit.craftbukkit.CraftServer; public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity { diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftItemDrop.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftItemDrop.java index adf610412c..21e279d155 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftItemDrop.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftItemDrop.java @@ -3,7 +3,7 @@ package org.bukkit.craftbukkit.entity; import net.minecraft.server.EntityItem; import org.bukkit.entity.ItemDrop; import org.bukkit.inventory.ItemStack; -import org.bukkit.craftbukkit.CraftItemStack; +import org.bukkit.craftbukkit.inventory.CraftItemStack; import org.bukkit.craftbukkit.CraftServer; /** diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftStorageMinecart.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftStorageMinecart.java index af118dbdd6..aed9d8519e 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftStorageMinecart.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftStorageMinecart.java @@ -3,7 +3,7 @@ package org.bukkit.craftbukkit.entity; import net.minecraft.server.EntityMinecart; import org.bukkit.inventory.Inventory; -import org.bukkit.craftbukkit.CraftInventory; +import org.bukkit.craftbukkit.inventory.CraftInventory; import org.bukkit.craftbukkit.CraftServer; import org.bukkit.entity.StorageMinecart; diff --git a/src/main/java/org/bukkit/craftbukkit/CraftInventory.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventory.java similarity index 99% rename from src/main/java/org/bukkit/craftbukkit/CraftInventory.java rename to src/main/java/org/bukkit/craftbukkit/inventory/CraftInventory.java index 913e96bc42..a96b1b8317 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftInventory.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventory.java @@ -1,4 +1,4 @@ -package org.bukkit.craftbukkit; +package org.bukkit.craftbukkit.inventory; import java.util.HashMap; diff --git a/src/main/java/org/bukkit/craftbukkit/CraftInventoryPlayer.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryPlayer.java similarity index 97% rename from src/main/java/org/bukkit/craftbukkit/CraftInventoryPlayer.java rename to src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryPlayer.java index 9cb55fe7a5..7140d36f15 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftInventoryPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryPlayer.java @@ -1,4 +1,4 @@ -package org.bukkit.craftbukkit; +package org.bukkit.craftbukkit.inventory; import net.minecraft.server.InventoryPlayer; diff --git a/src/main/java/org/bukkit/craftbukkit/CraftItemStack.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java similarity index 98% rename from src/main/java/org/bukkit/craftbukkit/CraftItemStack.java rename to src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java index c2b277da0c..17aa929651 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftItemStack.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java @@ -1,4 +1,4 @@ -package org.bukkit.craftbukkit; +package org.bukkit.craftbukkit.inventory; import org.bukkit.inventory.ItemStack; import org.bukkit.Material; diff --git a/src/main/java/org/bukkit/craftbukkit/CraftSlot.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftSlot.java similarity index 92% rename from src/main/java/org/bukkit/craftbukkit/CraftSlot.java rename to src/main/java/org/bukkit/craftbukkit/inventory/CraftSlot.java index 3cd1edb363..aaa7426ee7 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftSlot.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftSlot.java @@ -1,4 +1,4 @@ -package org.bukkit.craftbukkit; +package org.bukkit.craftbukkit.inventory; import org.bukkit.inventory.Inventory; import org.bukkit.inventory.ItemStack;