summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-03-07 16:32:41 +0000
committerDinnerbone <dinnerbone@dinnerbone.com>2011-03-07 16:32:41 +0000
commite8e74992cbe4f9f2eea78c365019c357eca112e8 (patch)
tree3994fd8623ac86f653ddc932e63a02b15a862f0b /src/main/java/org/bukkit
parent6a99d8c412ab33930edd7e78b760510b7ebe3fab (diff)
downloadcraftbukkit-e8e74992cbe4f9f2eea78c365019c357eca112e8.tar
craftbukkit-e8e74992cbe4f9f2eea78c365019c357eca112e8.tar.gz
craftbukkit-e8e74992cbe4f9f2eea78c365019c357eca112e8.tar.lz
craftbukkit-e8e74992cbe4f9f2eea78c365019c357eca112e8.tar.xz
craftbukkit-e8e74992cbe4f9f2eea78c365019c357eca112e8.zip
Purged deprecated MobType and MobSpawner
Diffstat (limited to 'src/main/java/org/bukkit')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/block/CraftCreatureSpawner.java37
1 files changed, 1 insertions, 36 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftCreatureSpawner.java b/src/main/java/org/bukkit/craftbukkit/block/CraftCreatureSpawner.java
index 74c1b587..2acab116 100644
--- a/src/main/java/org/bukkit/craftbukkit/block/CraftCreatureSpawner.java
+++ b/src/main/java/org/bukkit/craftbukkit/block/CraftCreatureSpawner.java
@@ -3,12 +3,10 @@ package org.bukkit.craftbukkit.block;
import net.minecraft.server.TileEntityMobSpawner;
import org.bukkit.block.Block;
import org.bukkit.block.CreatureSpawner;
-import org.bukkit.block.MobSpawner;
import org.bukkit.craftbukkit.CraftWorld;
import org.bukkit.entity.CreatureType;
-import org.bukkit.entity.MobType;
-public class CraftCreatureSpawner extends CraftBlockState implements CreatureSpawner, MobSpawner {
+public class CraftCreatureSpawner extends CraftBlockState implements CreatureSpawner {
private final CraftWorld world;
private final TileEntityMobSpawner spawner;
@@ -48,37 +46,4 @@ public class CraftCreatureSpawner extends CraftBlockState implements CreatureSpa
spawner.a = delay;
}
- /**
- * @deprecated Use getCreatureType() instead.
- */
- public MobType getMobType() {
- return MobType.fromName(spawner.h);
- }
-
- /**
- * @deprecated Use setCreatureType() instead.
- */
- public void setMobType(MobType mobType) {
- spawner.h = mobType.getName();
-
- }
-
- /**
- * @deprecated Use getCreatureTypeId() instead.
- */
- public String getMobTypeId() {
- return spawner.h;
- }
-
- /**
- * @deprecated Use setCreatureTypeId() instead.
- */
- public void setMobTypeId(String mobType) {
- // Verify input
- MobType type = MobType.fromName(mobType);
- if (type == null) {
- return;
- }
- spawner.h = type.getName();
- }
}