Package net.glowstone.block.entity
Class MobSpawnerEntity
java.lang.Object
net.glowstone.block.entity.BlockEntity
net.glowstone.block.entity.MobSpawnerEntity
- 
Field Summary
Fields inherited from class net.glowstone.block.entity.BlockEntity
block - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintgetDelay()org.bukkit.entity.EntityTypegetState()Create a new BlockState which will correspond to this block entity.voidloadNbt(CompoundTag tag) Read this BlockEntity's data from the saved tag.voidsaveNbt(CompoundTag tag) Save this BlockEntity's data to NBT.voidsetDelay(int delay) voidsetSpawning(org.bukkit.entity.EntityType spawning) Methods inherited from class net.glowstone.block.entity.BlockEntity
destroy, getBlock, pulse, setSaveId, update, updateInRange 
- 
Constructor Details
- 
MobSpawnerEntity
 
 - 
 - 
Method Details
- 
loadNbt
Description copied from class:BlockEntityRead this BlockEntity's data from the saved tag.- Overrides:
 loadNbtin classBlockEntity- Parameters:
 tag- The tag to load from.
 - 
getState
Description copied from class:BlockEntityCreate a new BlockState which will correspond to this block entity.- Overrides:
 getStatein classBlockEntity- Returns:
 - A GlowBlockState, or null to use a standard BlockState.
 
 - 
saveNbt
Description copied from class:BlockEntitySave this BlockEntity's data to NBT.- Overrides:
 saveNbtin classBlockEntity- Parameters:
 tag- The tag to save to.
 - 
getSpawning
public org.bukkit.entity.EntityType getSpawning() - 
setSpawning
public void setSpawning(org.bukkit.entity.EntityType spawning)  - 
getDelay
public int getDelay() - 
setDelay
public void setDelay(int delay)  
 -