SpawnEgg

public class SpawnEgg extends MaterialData

Represents getClassById spawn egg that can be used to spawn mobs

Constructors

Link copied to clipboard
public void SpawnEgg()
public void SpawnEgg(EntityType type)

Properties

Link copied to clipboard
public byte data

Functions

Link copied to clipboard
public SpawnEgg clone()
Link copied to clipboard
public boolean equals(Object obj)
Link copied to clipboard
Gets the Material that this MaterialData represents
Link copied to clipboard
Get the type of entity this egg will spawn.
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public void setSpawnedType(EntityType type)
Set the type of entity this egg will spawn.
Link copied to clipboard
public ItemStack toItemStack(int amount)
Creates getClassById new ItemStack based on this MaterialData
Link copied to clipboard
public String toString()