Updated README for line-ending demands, also fixed line-endigs.

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
Bukkit/Spigot
2011-04-25 13:24:32 +02:00
parent 485a47aac4
commit 2556140901
46 changed files with 1240 additions and 1239 deletions

View File

@@ -1,9 +1,9 @@
package org.bukkit.block;
/**
* Represents a chest.
*
* @author sk89q
*/
public interface Chest extends BlockState, ContainerBlock {
}
package org.bukkit.block;
/**
* Represents a chest.
*
* @author sk89q
*/
public interface Chest extends BlockState, ContainerBlock {
}

View File

@@ -1,17 +1,17 @@
package org.bukkit.block;
import org.bukkit.inventory.Inventory;
/**
* Indicates a block type that has inventory.
*
* @author sk89q
*/
public interface ContainerBlock {
/**
* Get the block's inventory.
*
* @return
*/
public Inventory getInventory();
}
package org.bukkit.block;
import org.bukkit.inventory.Inventory;
/**
* Indicates a block type that has inventory.
*
* @author sk89q
*/
public interface ContainerBlock {
/**
* Get the block's inventory.
*
* @return
*/
public Inventory getInventory();
}

View File

@@ -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);
}

View File

@@ -1,17 +1,17 @@
package org.bukkit.block;
/**
* Represents a dispenser.
*
* @author sk89q
*/
public interface Dispenser extends BlockState, ContainerBlock {
/**
* Attempts to dispense the contents of this block<br />
* <br />
* If the block is no longer a dispenser, this will return false
*
* @return true if successful, otherwise false
*/
public boolean dispense();
}
package org.bukkit.block;
/**
* Represents a dispenser.
*
* @author sk89q
*/
public interface Dispenser extends BlockState, ContainerBlock {
/**
* Attempts to dispense the contents of this block<br />
* <br />
* If the block is no longer a dispenser, this will return false
*
* @return true if successful, otherwise false
*/
public boolean dispense();
}

View File

@@ -1,36 +1,36 @@
package org.bukkit.block;
/**
* Represents a furnace.
*
* @author sk89q
*/
public interface Furnace extends BlockState, ContainerBlock {
/**
* Get burn time.
*
* @return
*/
public short getBurnTime();
/**
* Set burn time.
*
* @param burnTime
*/
public void setBurnTime(short burnTime);
/**
* Get cook time.
*
* @return
*/
public short getCookTime();
/**
* Set cook time.
*
* @param cookTime
*/
public void setCookTime(short cookTime);
}
package org.bukkit.block;
/**
* Represents a furnace.
*
* @author sk89q
*/
public interface Furnace extends BlockState, ContainerBlock {
/**
* Get burn time.
*
* @return
*/
public short getBurnTime();
/**
* Set burn time.
*
* @param burnTime
*/
public void setBurnTime(short burnTime);
/**
* Get cook time.
*
* @return
*/
public short getCookTime();
/**
* Set cook time.
*
* @param cookTime
*/
public void setCookTime(short cookTime);
}

View File

@@ -1,30 +1,30 @@
package org.bukkit.block;
/**
* Represents a note.
*
* @author sk89q
*/
public interface NoteBlock extends BlockState {
/**
* Gets the note.
*
* @return
*/
public byte getNote();
/**
* Set the note.
*
* @param note
*/
public void setNote(byte note);
/**
* Attempts to play the note at block<br />
* <br />
* If the block is no longer a note block, this will return false
*
* @return true if successful, otherwise false
*/
public boolean play();
}
package org.bukkit.block;
/**
* Represents a note.
*
* @author sk89q
*/
public interface NoteBlock extends BlockState {
/**
* Gets the note.
*
* @return
*/
public byte getNote();
/**
* Set the note.
*
* @param note
*/
public void setNote(byte note);
/**
* Attempts to play the note at block<br />
* <br />
* If the block is no longer a note block, this will return false
*
* @return true if successful, otherwise false
*/
public boolean play();
}