diff options
author | Erik Broes <erikbroes@grum.nl> | 2011-04-25 13:24:32 +0200 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2011-04-25 13:24:32 +0200 |
commit | b39503de71d00627a9486c98f40ae235a6299151 (patch) | |
tree | dbf32f67126b9fb32f9ce5094182b808d2a1e872 /src/main/java/org/bukkit/block | |
parent | cba06d412fa74a83032a961b9c74d7b9b4dd66e6 (diff) | |
download | bukkit-b39503de71d00627a9486c98f40ae235a6299151.tar bukkit-b39503de71d00627a9486c98f40ae235a6299151.tar.gz bukkit-b39503de71d00627a9486c98f40ae235a6299151.tar.lz bukkit-b39503de71d00627a9486c98f40ae235a6299151.tar.xz bukkit-b39503de71d00627a9486c98f40ae235a6299151.zip |
Updated README for line-ending demands, also fixed line-endigs.
Diffstat (limited to 'src/main/java/org/bukkit/block')
-rw-r--r-- | src/main/java/org/bukkit/block/Chest.java | 18 | ||||
-rw-r--r-- | src/main/java/org/bukkit/block/ContainerBlock.java | 34 | ||||
-rw-r--r-- | src/main/java/org/bukkit/block/CreatureSpawner.java | 108 | ||||
-rw-r--r-- | src/main/java/org/bukkit/block/Dispenser.java | 34 | ||||
-rw-r--r-- | src/main/java/org/bukkit/block/Furnace.java | 72 | ||||
-rw-r--r-- | src/main/java/org/bukkit/block/NoteBlock.java | 60 |
6 files changed, 163 insertions, 163 deletions
diff --git a/src/main/java/org/bukkit/block/Chest.java b/src/main/java/org/bukkit/block/Chest.java index 8d2af5d9..9c12854f 100644 --- a/src/main/java/org/bukkit/block/Chest.java +++ b/src/main/java/org/bukkit/block/Chest.java @@ -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 { +} diff --git a/src/main/java/org/bukkit/block/ContainerBlock.java b/src/main/java/org/bukkit/block/ContainerBlock.java index 6c271ffa..c6e83140 100644 --- a/src/main/java/org/bukkit/block/ContainerBlock.java +++ b/src/main/java/org/bukkit/block/ContainerBlock.java @@ -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(); +} diff --git a/src/main/java/org/bukkit/block/CreatureSpawner.java b/src/main/java/org/bukkit/block/CreatureSpawner.java index 607a3132..7981c244 100644 --- a/src/main/java/org/bukkit/block/CreatureSpawner.java +++ b/src/main/java/org/bukkit/block/CreatureSpawner.java @@ -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); +} diff --git a/src/main/java/org/bukkit/block/Dispenser.java b/src/main/java/org/bukkit/block/Dispenser.java index 54659539..3a04c0d8 100644 --- a/src/main/java/org/bukkit/block/Dispenser.java +++ b/src/main/java/org/bukkit/block/Dispenser.java @@ -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(); +} diff --git a/src/main/java/org/bukkit/block/Furnace.java b/src/main/java/org/bukkit/block/Furnace.java index 6f3e2bea..d2722467 100644 --- a/src/main/java/org/bukkit/block/Furnace.java +++ b/src/main/java/org/bukkit/block/Furnace.java @@ -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); +} diff --git a/src/main/java/org/bukkit/block/NoteBlock.java b/src/main/java/org/bukkit/block/NoteBlock.java index 1315c118..547bde02 100644 --- a/src/main/java/org/bukkit/block/NoteBlock.java +++ b/src/main/java/org/bukkit/block/NoteBlock.java @@ -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(); +} |