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,11 +1,11 @@
package org.bukkit.entity;
/**
* Represents an Animal.
*
* @author Cogito
*
*/
public interface Animals extends Creature{
}
package org.bukkit.entity;
/**
* Represents an Animal.
*
* @author Cogito
*
*/
public interface Animals extends Creature{
}

View File

@@ -1,9 +1,9 @@
package org.bukkit.entity;
/**
* Represents an arrow.
*
* @author sk89q
*/
public interface Arrow extends Entity {
}
package org.bukkit.entity;
/**
* Represents an arrow.
*
* @author sk89q
*/
public interface Arrow extends Entity {
}

View File

@@ -1,22 +1,22 @@
package org.bukkit.entity;
/**
* Represents a boat entity.
*
* @author sk89q
*/
public interface Boat extends Vehicle {
/**
* Gets the maximum speed of a boat. The speed is unrelated to the velocity.
*
* @param speed
*/
public double getMaxSpeed();
/**
* Sets the maximum speed of a boat. Must be nonnegative. Default is 0.4D.
*
* @param speed
*/
public void setMaxSpeed(double speed);
}
package org.bukkit.entity;
/**
* Represents a boat entity.
*
* @author sk89q
*/
public interface Boat extends Vehicle {
/**
* Gets the maximum speed of a boat. The speed is unrelated to the velocity.
*
* @param speed
*/
public double getMaxSpeed();
/**
* Sets the maximum speed of a boat. Must be nonnegative. Default is 0.4D.
*
* @param speed
*/
public void setMaxSpeed(double speed);
}

View File

@@ -1,14 +1,14 @@
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Chicken.
*
* @author Cogito
*
*/
public interface Chicken extends Animals {
}
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Chicken.
*
* @author Cogito
*
*/
public interface Chicken extends Animals {
}

View File

@@ -1,14 +1,14 @@
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Cow.
*
* @author Cogito
*
*/
public interface Cow extends Animals {
}
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Cow.
*
* @author Cogito
*
*/
public interface Cow extends Animals {
}

View File

@@ -1,23 +1,23 @@
package org.bukkit.entity;
/**
* Represents a Creature. Creatures are non-intelligent monsters or animals which
* have very simple abilities.
*/
public interface Creature extends LivingEntity {
/**
* Instructs this Creature to set the specified LivingEntity as its target.
* Hostile creatures may attack their target, and friendly creatures may
* follow their target.
*
* @param target New LivingEntity to target, or null to clear the target
*/
public void setTarget(LivingEntity target);
/**
* Gets the current target of this Creature
*
* @return Current target of this creature, or null if none exists
*/
public LivingEntity getTarget();
}
package org.bukkit.entity;
/**
* Represents a Creature. Creatures are non-intelligent monsters or animals which
* have very simple abilities.
*/
public interface Creature extends LivingEntity {
/**
* Instructs this Creature to set the specified LivingEntity as its target.
* Hostile creatures may attack their target, and friendly creatures may
* follow their target.
*
* @param target New LivingEntity to target, or null to clear the target
*/
public void setTarget(LivingEntity target);
/**
* Gets the current target of this Creature
*
* @return Current target of this creature, or null if none exists
*/
public LivingEntity getTarget();
}

View File

@@ -1,9 +1,9 @@
package org.bukkit.entity;
/**
* Represents an egg.
*
* @author sk89q
*/
public interface Egg extends Entity {
}
package org.bukkit.entity;
/**
* Represents an egg.
*
* @author sk89q
*/
public interface Egg extends Entity {
}

View File

@@ -1,14 +1,14 @@
/**
*
*/
package org.bukkit.entity;
/**
* Represents Falling Sand.
*
* @author Cogito
*
*/
public interface FallingSand extends Entity {
}
/**
*
*/
package org.bukkit.entity;
/**
* Represents Falling Sand.
*
* @author Cogito
*
*/
public interface FallingSand extends Entity {
}

View File

@@ -1,9 +1,9 @@
package org.bukkit.entity;
/**
* Represents a Fireball.
*
* @author Cogito
*/
public interface Fireball extends Entity {
}
package org.bukkit.entity;
/**
* Represents a Fireball.
*
* @author Cogito
*/
public interface Fireball extends Entity {
}

View File

@@ -1,9 +1,9 @@
package org.bukkit.entity;
/**
* Represents a Fish.
*
* @author Cogito
*/
public interface Fish extends Entity {
}
package org.bukkit.entity;
/**
* Represents a Fish.
*
* @author Cogito
*/
public interface Fish extends Entity {
}

View File

@@ -1,14 +1,14 @@
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Flying Entity.
*
* @author Cogito
*
*/
public interface Flying extends LivingEntity {
}
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Flying Entity.
*
* @author Cogito
*
*/
public interface Flying extends LivingEntity {
}

View File

@@ -1,14 +1,14 @@
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Ghast.
*
* @author Cogito
*
*/
public interface Ghast extends Flying {
}
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Ghast.
*
* @author Cogito
*
*/
public interface Ghast extends Flying {
}

View File

@@ -1,14 +1,14 @@
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Giant.
*
* @author Cogito
*
*/
public interface Giant extends Monster {
}
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Giant.
*
* @author Cogito
*
*/
public interface Giant extends Monster {
}

View File

@@ -1,26 +1,26 @@
package org.bukkit.entity;
import org.bukkit.inventory.ItemStack;
/**
* Represents an Item.
*
* @author Cogito
*
*/
public interface Item extends Entity {
/**
* Gets the item stack associated with this item drop.
*
* @return
*/
public ItemStack getItemStack();
/**
* Sets the item stack associated with this item drop.
*
* @param stack
*/
public void setItemStack(ItemStack stack);
}
package org.bukkit.entity;
import org.bukkit.inventory.ItemStack;
/**
* Represents an Item.
*
* @author Cogito
*
*/
public interface Item extends Entity {
/**
* Gets the item stack associated with this item drop.
*
* @return
*/
public ItemStack getItemStack();
/**
* Sets the item stack associated with this item drop.
*
* @param stack
*/
public void setItemStack(ItemStack stack);
}

View File

@@ -1,83 +1,83 @@
package org.bukkit.entity;
import org.bukkit.util.Vector;
/**
* Represents a minecart entity.
*
* @author sk89q
*/
public interface Minecart extends Vehicle {
/**
* Sets a minecart's damage.
*
* @param damage over 40 to "kill" a minecart
*/
public void setDamage(int damage);
/**
* Gets a minecart's damage.
*
* @param damage
*/
public int getDamage();
/**
* Gets the maximum speed of a minecart. The speed is unrelated to the velocity.
*
* @param speed
*/
public double getMaxSpeed();
/**
* Sets the maximum speed of a minecart. Must be nonnegative. Default is 0.4D.
*
* @param speed
*/
public void setMaxSpeed(double speed);
/**
* Returns whether this minecart will slow down faster without a passenger occupying it
*
*/
public boolean isSlowWhenEmpty();
/**
* Sets whether this minecart will slow down faster without a passenger occupying it
*
* @param slow
*/
public void setSlowWhenEmpty(boolean slow);
/**
* Gets the flying velocity modifier. Used for minecarts that are in mid-air.
* A flying minecart's velocity is multiplied by this factor each tick.
*
* @param flying velocity modifier
*/
public Vector getFlyingVelocityMod();
/**
* Sets the flying velocity modifier. Used for minecarts that are in mid-air.
* A flying minecart's velocity is multiplied by this factor each tick.
*
* @param flying velocity modifier
*/
public void setFlyingVelocityMod(Vector flying);
/**
* Gets the derailed velocity modifier. Used for minecarts that are on the ground, but not on rails.
*
* A derailed minecart's velocity is multiplied by this factor each tick.
* @param visible speed
*/
public Vector getDerailedVelocityMod();
/**
* Sets the derailed velocity modifier. Used for minecarts that are on the ground, but not on rails.
* A derailed minecart's velocity is multiplied by this factor each tick.
*
* @param visible speed
*/
public void setDerailedVelocityMod(Vector derailed);
}
package org.bukkit.entity;
import org.bukkit.util.Vector;
/**
* Represents a minecart entity.
*
* @author sk89q
*/
public interface Minecart extends Vehicle {
/**
* Sets a minecart's damage.
*
* @param damage over 40 to "kill" a minecart
*/
public void setDamage(int damage);
/**
* Gets a minecart's damage.
*
* @param damage
*/
public int getDamage();
/**
* Gets the maximum speed of a minecart. The speed is unrelated to the velocity.
*
* @param speed
*/
public double getMaxSpeed();
/**
* Sets the maximum speed of a minecart. Must be nonnegative. Default is 0.4D.
*
* @param speed
*/
public void setMaxSpeed(double speed);
/**
* Returns whether this minecart will slow down faster without a passenger occupying it
*
*/
public boolean isSlowWhenEmpty();
/**
* Sets whether this minecart will slow down faster without a passenger occupying it
*
* @param slow
*/
public void setSlowWhenEmpty(boolean slow);
/**
* Gets the flying velocity modifier. Used for minecarts that are in mid-air.
* A flying minecart's velocity is multiplied by this factor each tick.
*
* @param flying velocity modifier
*/
public Vector getFlyingVelocityMod();
/**
* Sets the flying velocity modifier. Used for minecarts that are in mid-air.
* A flying minecart's velocity is multiplied by this factor each tick.
*
* @param flying velocity modifier
*/
public void setFlyingVelocityMod(Vector flying);
/**
* Gets the derailed velocity modifier. Used for minecarts that are on the ground, but not on rails.
*
* A derailed minecart's velocity is multiplied by this factor each tick.
* @param visible speed
*/
public Vector getDerailedVelocityMod();
/**
* Sets the derailed velocity modifier. Used for minecarts that are on the ground, but not on rails.
* A derailed minecart's velocity is multiplied by this factor each tick.
*
* @param visible speed
*/
public void setDerailedVelocityMod(Vector derailed);
}

View File

@@ -1,14 +1,14 @@
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Monster.
*
* @author Cogito
*
*/
public interface Monster extends Creature {
}
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Monster.
*
* @author Cogito
*
*/
public interface Monster extends Creature {
}

View File

@@ -1,14 +1,14 @@
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Painting.
*
* @author Cogito
*
*/
public interface Painting extends Entity {
}
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Painting.
*
* @author Cogito
*
*/
public interface Painting extends Entity {
}

View File

@@ -1,14 +1,14 @@
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Pig.
*
* @author Cogito
*
*/
public interface Pig extends Animals {
}
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Pig.
*
* @author Cogito
*
*/
public interface Pig extends Animals {
}

View File

@@ -1,14 +1,14 @@
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Pig Zombie.
*
* @author Cogito
*
*/
public interface PigZombie extends Zombie {
}
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Pig Zombie.
*
* @author Cogito
*
*/
public interface PigZombie extends Zombie {
}

View File

@@ -1,10 +1,10 @@
package org.bukkit.entity;
/**
* Represents a powered minecart.
*
* @author sk89q
*/
public interface PoweredMinecart extends Minecart {
}
package org.bukkit.entity;
/**
* Represents a powered minecart.
*
* @author sk89q
*/
public interface PoweredMinecart extends Minecart {
}

View File

@@ -1,14 +1,14 @@
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Skeleton.
*
* @author Cogito
*
*/
public interface Skeleton extends Monster {
}
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Skeleton.
*
* @author Cogito
*
*/
public interface Skeleton extends Monster {
}

View File

@@ -1,9 +1,9 @@
package org.bukkit.entity;
/**
* Implements a snowball.
*
* @author sk89q
*/
public interface Snowball extends Entity {
}
package org.bukkit.entity;
/**
* Implements a snowball.
*
* @author sk89q
*/
public interface Snowball extends Entity {
}

View File

@@ -1,14 +1,14 @@
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Spider.
*
* @author Cogito
*
*/
public interface Spider extends Monster {
}
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Spider.
*
* @author Cogito
*
*/
public interface Spider extends Monster {
}

View File

@@ -1,14 +1,14 @@
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Squid.
*
* @author Cogito
*
*/
public interface Squid extends WaterMob {
}
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Squid.
*
* @author Cogito
*
*/
public interface Squid extends WaterMob {
}

View File

@@ -1,17 +1,17 @@
package org.bukkit.entity;
import org.bukkit.inventory.Inventory;
/**
* Represents a storage minecart.
*
* @author sk89q
*/
public interface StorageMinecart extends Minecart {
/**
* Return the inventory object for this StorageMinecart.
*
* @return The inventory for this Minecart
*/
public Inventory getInventory();
}
package org.bukkit.entity;
import org.bukkit.inventory.Inventory;
/**
* Represents a storage minecart.
*
* @author sk89q
*/
public interface StorageMinecart extends Minecart {
/**
* Return the inventory object for this StorageMinecart.
*
* @return The inventory for this Minecart
*/
public Inventory getInventory();
}

View File

@@ -1,14 +1,14 @@
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Primed TNT.
*
* @author Cogito
*
*/
public interface TNTPrimed extends Entity {
}
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Primed TNT.
*
* @author Cogito
*
*/
public interface TNTPrimed extends Entity {
}

View File

@@ -1,13 +1,13 @@
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Water Mob
* @author Cogito
*
*/
public interface WaterMob extends Creature {
}
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Water Mob
* @author Cogito
*
*/
public interface WaterMob extends Creature {
}

View File

@@ -1,11 +1,11 @@
package org.bukkit.entity;
/**
* Represents a Zombie.
*
* @author Cogito
*
*/
public interface Zombie extends Monster{
}
package org.bukkit.entity;
/**
* Represents a Zombie.
*
* @author Cogito
*
*/
public interface Zombie extends Monster{
}