public class SpawnEggMeta extends Object
Constructor and Description |
---|
SpawnEggMeta() |
Modifier and Type | Method and Description |
---|---|
static org.bukkit.entity.EntityType |
getEntityTypeFromItemStack(ShopChest plugin,
org.bukkit.inventory.ItemStack stack) |
public static org.bukkit.entity.EntityType getEntityTypeFromItemStack(ShopChest plugin, org.bukkit.inventory.ItemStack stack)
stack
- ItemStack
(Spawn Egg) of which the Entity should be gottenEntityType
the Spawn Egg will spawn or null if nbtEntityID is nullCopyright © 2017. All rights reserved.