| Package | Description |
|---|---|
| ctf |
| Modifier and Type | Method and Description |
|---|---|
int |
CTFBattleClass.createExplosion(org.bukkit.Location location,
float power)
Creates explosion in specified location and returns affected blocks in an
array.
No blocks are destroyed in the game world. |
org.bukkit.entity.Item |
CTFBattleClass.dropItem(org.bukkit.Location location,
org.bukkit.inventory.ItemStack itemstack,
int removedelay)
Drops an item in game world.
Negative values of removedelay will not start remove trigger. |
org.bukkit.entity.Item |
CTFBattleClass.dropItemNaturally(org.bukkit.Location location,
org.bukkit.inventory.ItemStack itemstack,
int removedelay)
Drops item with random offset in game world.
Negative values of removedelay will not start remove trigger. |
org.bukkit.entity.Player |
CTFBattleClass.getLastDamager()
Gets last player that damaged this player.
|
org.bukkit.entity.Player |
CTFBattleClass.getPlayer()
Gets player that chose this class.
|
TickTimer[] |
CTFBattleClass.getRegisteredTimers()
Gets immutable array of currently active timers this
CTFBattleClass instance has registered. |
void |
CTFBattleClass.modifyBlock(org.bukkit.block.Block block,
org.bukkit.Material material,
byte data,
int repairdelay)
Sets target block's material and byte data.
|
TickTimer |
CTFBattleClass.registerNewRepeatingTask(java.lang.Runnable runnable,
int delay)
Registers new timer to be run at specified rate.
|
void |
CTFBattleClass.resetBlock(org.bukkit.block.Block block)
Resets specified block to it's initial state if it was modified with
CTFBattleClass.modifyBlock(Block, Material, byte, int) call. |
org.bukkit.entity.Arrow |
CTFBattleClass.spawnArrow(org.bukkit.Location location,
org.bukkit.util.Vector vector,
float speed,
float spread,
int removedelay)
Spawns an arrow in game world.
Negative values of removedelay will not start remove trigger.Arrows have special support to be removed when in ground. |
org.bukkit.entity.LivingEntity |
CTFBattleClass.spawnCreature(org.bukkit.Location location,
org.bukkit.entity.CreatureType creaturetype,
int removedelay)
Spawns living entity in game world.
Negative values of removedelay will not start remove trigger. |
org.bukkit.entity.Entity |
CTFBattleClass.spawnEntity(org.bukkit.Location location,
org.bukkit.entity.EntityType entitytype,
int removedelay)
Spawns an entity in game world.
Negative values of removedelay will not start remove trigger. |