| Package | Description | 
|---|---|
| org.bukkit | 
 More generalized classes in the API. 
 | 
| org.bukkit.block | 
 Classes used to manipulate the voxels in a  
world,
 including special states. | 
| org.bukkit.entity | 
 Interfaces for non-voxel objects that can exist in a  
world, including all players, monsters, projectiles, etc. | 
| org.bukkit.event.entity | |
| org.bukkit.event.player | 
| Modifier and Type | Method and Description | 
|---|---|
LivingEntity | 
World.spawnCreature(Location loc,
             CreatureType type)
Deprecated.  
 | 
| Modifier and Type | Method and Description | 
|---|---|
CreatureType | 
CreatureSpawner.getCreatureType()
Deprecated. 
 
In favour of  
CreatureSpawner.getSpawnedType(). | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
CreatureSpawner.setCreatureType(CreatureType creatureType)
Deprecated. 
 
In favour of  
CreatureSpawner.setSpawnedType(EntityType). | 
| Modifier and Type | Method and Description | 
|---|---|
static CreatureType | 
CreatureType.fromEntityType(EntityType creatureType)
Deprecated.  
  | 
static CreatureType | 
CreatureType.fromId(int id)
Deprecated. 
 
Magic value 
 | 
static CreatureType | 
CreatureType.fromName(String name)
Deprecated.  
  | 
static CreatureType | 
CreatureType.valueOf(String name)
Deprecated.  
Returns the enum constant of this type with the specified name. 
 | 
static CreatureType[] | 
CreatureType.values()
Deprecated.  
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CreatureType | 
CreatureSpawnEvent.getCreatureType()
Deprecated. 
 
In favour of  
EntityEvent.getEntityType(). | 
| Constructor and Description | 
|---|
CreatureSpawnEvent(Entity spawnee,
                  CreatureType type,
                  Location loc,
                  CreatureSpawnEvent.SpawnReason reason)
Deprecated.  
 | 
| Modifier and Type | Method and Description | 
|---|---|
CreatureType | 
PlayerEggThrowEvent.getHatchType()
Deprecated. 
 
In favour of  
PlayerEggThrowEvent.getHatchingType(). | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
PlayerEggThrowEvent.setHatchType(CreatureType hatchType)
Deprecated. 
 
In favour of  
PlayerEggThrowEvent.setHatchingType(EntityType). | 
| Constructor and Description | 
|---|
PlayerEggThrowEvent(Player player,
                   Egg egg,
                   boolean hatching,
                   byte numHatches,
                   CreatureType hatchingType)
Deprecated.  
 | 
Copyright © 2022. All rights reserved.