Updated README for line-ending demands, also fixed line-endigs.
By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
@@ -1,54 +1,54 @@
|
||||
package org.bukkit.block;
|
||||
|
||||
import org.bukkit.entity.CreatureType;
|
||||
|
||||
|
||||
/**
|
||||
* Represents a creature spawner.
|
||||
*
|
||||
* @author sk89q
|
||||
* @author Cogito
|
||||
*/
|
||||
public interface CreatureSpawner extends BlockState {
|
||||
/**
|
||||
* Get the spawner's creature type.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public CreatureType getCreatureType();
|
||||
|
||||
/**
|
||||
* Set the spawner creature type.
|
||||
*
|
||||
* @param mobType
|
||||
*/
|
||||
public void setCreatureType(CreatureType creatureType);
|
||||
|
||||
/**
|
||||
* Get the spawner's creature type.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public String getCreatureTypeId();
|
||||
|
||||
/**
|
||||
* Set the spawner mob type.
|
||||
*
|
||||
* @param creatureType
|
||||
*/
|
||||
public void setCreatureTypeId(String creatureType);
|
||||
|
||||
/**
|
||||
* Get the spawner's delay.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public int getDelay();
|
||||
|
||||
/**
|
||||
* Set the spawner's delay.
|
||||
*
|
||||
* @param delay
|
||||
*/
|
||||
public void setDelay(int delay);
|
||||
}
|
||||
package org.bukkit.block;
|
||||
|
||||
import org.bukkit.entity.CreatureType;
|
||||
|
||||
|
||||
/**
|
||||
* Represents a creature spawner.
|
||||
*
|
||||
* @author sk89q
|
||||
* @author Cogito
|
||||
*/
|
||||
public interface CreatureSpawner extends BlockState {
|
||||
/**
|
||||
* Get the spawner's creature type.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public CreatureType getCreatureType();
|
||||
|
||||
/**
|
||||
* Set the spawner creature type.
|
||||
*
|
||||
* @param mobType
|
||||
*/
|
||||
public void setCreatureType(CreatureType creatureType);
|
||||
|
||||
/**
|
||||
* Get the spawner's creature type.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public String getCreatureTypeId();
|
||||
|
||||
/**
|
||||
* Set the spawner mob type.
|
||||
*
|
||||
* @param creatureType
|
||||
*/
|
||||
public void setCreatureTypeId(String creatureType);
|
||||
|
||||
/**
|
||||
* Get the spawner's delay.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public int getDelay();
|
||||
|
||||
/**
|
||||
* Set the spawner's delay.
|
||||
*
|
||||
* @param delay
|
||||
*/
|
||||
public void setDelay(int delay);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user