13
0
geforkt von Mirrors/Paper

Small javadoc cleanup

By: Nathan Adams <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2011-10-10 21:58:44 +01:00
Ursprung 96063a2b4d
Commit 429eb80d6e
46 geänderte Dateien mit 1 neuen und 140 gelöschten Zeilen

Datei anzeigen

@ -4,8 +4,6 @@ package org.bukkit;
* A delegate for handling block changes. This serves as a direct interface
* between generation algorithms in the server implementation and utilizing
* code.
*
* @author sk89q
*/
public interface BlockChangeDelegate {

Datei anzeigen

@ -5,7 +5,6 @@ import java.util.Map;
/**
* Represents the two types of coal
* @author sunkid
*/
public enum CoalType {
COAL((byte) 0x0),

Datei anzeigen

@ -5,7 +5,6 @@ import java.util.Map;
/**
* Represents the different growth states of crops
* @author sunkid
*/
public enum CropState {

Datei anzeigen

@ -5,7 +5,6 @@ import java.util.Map;
/**
* Represents the different species of trees regardless of size.
* @author sunkid
*/
public enum TreeSpecies {

Datei anzeigen

@ -2,8 +2,6 @@ package org.bukkit;
/**
* Tree type.
*
* @author sk89q
*/
public enum TreeType {
TREE,

Datei anzeigen

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

Datei anzeigen

@ -4,8 +4,6 @@ import org.bukkit.inventory.Inventory;
/**
* Indicates a block type that has inventory.
*
* @author sk89q
*/
public interface ContainerBlock {

Datei anzeigen

@ -4,9 +4,6 @@ import org.bukkit.entity.CreatureType;
/**
* Represents a creature spawner.
*
* @author sk89q
* @author Cogito
*/
public interface CreatureSpawner extends BlockState {

Datei anzeigen

@ -2,8 +2,6 @@ package org.bukkit.block;
/**
* Represents a dispenser.
*
* @author sk89q
*/
public interface Dispenser extends BlockState, ContainerBlock {

Datei anzeigen

@ -2,8 +2,6 @@ package org.bukkit.block;
/**
* Represents a furnace.
*
* @author sk89q
*/
public interface Furnace extends BlockState, ContainerBlock {

Datei anzeigen

@ -8,11 +8,8 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.regex.Pattern;
import org.bukkit.Location;
import org.bukkit.OfflinePlayer;
import org.bukkit.World;
import org.bukkit.inventory.ItemStack;
import org.bukkit.material.MaterialData;
import org.bukkit.util.Vector;
/**

Datei anzeigen

@ -6,7 +6,6 @@ import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;

Datei anzeigen

@ -3,7 +3,5 @@ package org.bukkit.entity;
/**
* Represents an Animal.
*
* @author Cogito
*
*/
public interface Animals extends Creature {}

Datei anzeigen

@ -2,8 +2,6 @@ package org.bukkit.entity;
/**
* Represents a boat entity.
*
* @author sk89q
*/
public interface Boat extends Vehicle {

Datei anzeigen

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

Datei anzeigen

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

Datei anzeigen

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

Datei anzeigen

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

Datei anzeigen

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

Datei anzeigen

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

Datei anzeigen

@ -4,9 +4,6 @@ import org.bukkit.inventory.ItemStack;
/**
* Represents an Item.
*
* @author Cogito
*
*/
public interface Item extends Entity {

Datei anzeigen

@ -2,8 +2,6 @@ package org.bukkit.entity;
/**
* Represents an instance of a lightning strike. May or may not do damage.
*
* @author sk89q
*/
public interface LightningStrike extends Weather {

Datei anzeigen

@ -4,8 +4,6 @@ import org.bukkit.util.Vector;
/**
* Represents a minecart entity.
*
* @author sk89q
*/
public interface Minecart extends Vehicle {

Datei anzeigen

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

Datei anzeigen

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

Datei anzeigen

@ -1,15 +1,9 @@
/**
*
*/
package org.bukkit.entity;
import org.bukkit.material.Colorable;
/**
* Represents a Sheep.
*
* @author Cogito
*
*/
public interface Sheep extends Animals, Colorable {

Datei anzeigen

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

Datei anzeigen

@ -1,13 +1,7 @@
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Slime.
*
* @author Cogito
*
*/
public interface Slime extends LivingEntity {

Datei anzeigen

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

Datei anzeigen

@ -4,8 +4,6 @@ import org.bukkit.inventory.Inventory;
/**
* Represents a storage minecart.
*
* @author sk89q
*/
public interface StorageMinecart extends Minecart {

Datei anzeigen

@ -4,8 +4,6 @@ import org.bukkit.util.Vector;
/**
* Represents a vehicle entity.
*
* @author sk89q
*/
public interface Vehicle extends Entity {

Datei anzeigen

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

Datei anzeigen

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

Datei anzeigen

@ -6,8 +6,6 @@ import org.bukkit.event.Event;
/**
* Called when a server list ping is coming in.
*
* @author sk89q
*/
public class ServerListPingEvent extends ServerEvent {

Datei anzeigen

@ -4,8 +4,6 @@ import org.bukkit.entity.Vehicle;
/**
* Raised when a vehicle is created.
*
* @author sk89q
*/
public class VehicleCreateEvent extends VehicleEvent {
public VehicleCreateEvent(Vehicle vehicle) {

Datei anzeigen

@ -6,8 +6,6 @@ import org.bukkit.event.Cancellable;
/**
* Raised when a vehicle collides with an entity.
*
* @author sk89q
*/
public class VehicleEntityCollisionEvent extends VehicleCollisionEvent implements Cancellable {
private Entity entity;

Datei anzeigen

@ -5,8 +5,6 @@ import org.bukkit.event.Event;
/**
* Represents a vehicle-related event.
*
* @author sk89q
*/
public class VehicleEvent extends Event {
protected Vehicle vehicle;

Datei anzeigen

@ -4,8 +4,6 @@ import org.bukkit.event.Listener;
/**
* Listener for vehicle events.
*
* @author sk89q
*/
public class VehicleListener implements Listener {
public VehicleListener() {}

Datei anzeigen

@ -5,8 +5,6 @@ import org.bukkit.entity.Vehicle;
/**
* Raised when a vehicle moves.
*
* @author sk89q
*/
public class VehicleMoveEvent extends VehicleEvent {
private Location from;

Datei anzeigen

@ -5,8 +5,6 @@ import org.bukkit.DyeColor;
/**
* An object that can be colored.
*
* @author Cogito
*
*/
public interface Colorable {

Datei anzeigen

@ -3,7 +3,6 @@ package org.bukkit.plugin;
/**
* A registered service provider.
*
* @author sk89q
* @param <T> Service
*/
public class RegisteredServiceProvider<T> implements Comparable<RegisteredServiceProvider<?>> {

Datei anzeigen

@ -10,8 +10,6 @@ import java.util.List;
* services manager in order to use a service (if one is available). If
* multiple plugins register a service, then the service with the highest
* priority takes precedence.
*
* @author sk89q
*/
public interface ServicesManager {

Datei anzeigen

@ -11,8 +11,6 @@ import java.util.NoSuchElementException;
/**
* A simple services manager.
*
* @author sk89q
*/
public class SimpleServicesManager implements ServicesManager {

Datei anzeigen

@ -8,12 +8,9 @@ import org.bukkit.entity.LivingEntity;
import java.util.Iterator;
import java.util.NoSuchElementException;
import java.lang.IllegalStateException;
/**
* This class performs ray tracing and iterates along blocks on a line
*
* @author raphfrk
*/
public class BlockIterator implements Iterator<Block> {

Datei anzeigen

@ -2,8 +2,6 @@ package org.bukkit.util.config;
/**
* Configuration exception.
*
* @author sk89q
*/
public class ConfigurationException extends Exception {
private static final long serialVersionUID = -2442886939908724203L;

Datei anzeigen

@ -55,8 +55,6 @@ public class YamlConfigurationTest extends FileConfigurationTest {
String result = config.saveToString();
String expected = "section:\n key: 1\n";
System.out.println(result);
assertEquals(expected, result);
}
}