Javadocs cleanup

This commit is contained in:
TfT_02
2013-08-10 20:10:45 +02:00
parent 4ff6b5fbc7
commit 90fcf35c34
20 changed files with 33 additions and 34 deletions

View File

@ -66,7 +66,7 @@ public final class Fishing {
* Finds the possible drops of an entity
*
* @param target Targeted entity
* @param possibleDrops List of ItemStack that can be dropped
* @return possibleDrops List of ItemStack that can be dropped
*/
protected static List<ShakeTreasure> findPossibleDrops(LivingEntity target) {
switch (target.getType()) {

View File

@ -355,7 +355,7 @@ public class FishingManager extends SkillManager {
/**
* Handle the Shake ability
*
* @param mob The {@link LivingEntity} affected by the ability
* @param target The {@link LivingEntity} affected by the ability
*/
public void shakeCheck(LivingEntity target) {
fishingTries--; // Because autoclicking to shake is OK.

View File

@ -270,7 +270,7 @@ public class HerbalismManager extends SkillManager {
* Process the Green Thumb ability for plants.
*
* @param blockState The {@link BlockState} to check ability activation for
* @param greenTerra
* @param greenTerra boolean to determine if greenTerra is active or not
*/
private void processGreenThumbPlants(BlockState blockState, boolean greenTerra) {
Player player = getPlayer();

View File

@ -119,7 +119,8 @@ public class MiningManager extends SkillManager {
/**
* Handler for explosion drops and XP gain.
*
* @param event Event whose explosion is being processed
* @param yield
* @param blockList
*/
public void blastMiningDropProcessing(float yield, List<Block> blockList) {
List<BlockState> ores = new ArrayList<BlockState>();
@ -173,7 +174,8 @@ public class MiningManager extends SkillManager {
/**
* Increases the blast radius of the explosion.
*
* @param event Event whose explosion radius is being changed
* @param radius to modify
* @return modified radius
*/
public float biggerBombs(float radius) {
return (float) (radius + getBlastRadiusModifier());

View File

@ -34,7 +34,7 @@ public class RepairManager extends SkillManager {
/**
* Handles notifications for placing an anvil.
*
* @param anvilID The item ID of the anvil block
* @param anvilId The item ID of the anvil block
*/
public void placedAnvilCheck(int anvilId) {
Player player = getPlayer();

View File

@ -57,7 +57,8 @@ public class Taming {
/**
* Apply the Sharpened Claws ability.
*
* @param event The event to modify
* @param damage The initial damage
* @return Damage with SharpenedClaws bonus damage
*/
public static double sharpenedClaws(double damage) {
return damage + Taming.sharpenedClawsBonusDamage;

View File

@ -61,7 +61,7 @@ public class TamingManager extends SkillManager {
/**
* Award XP for taming.
*
* @param event The event to award XP for
* @param entity The LivingEntity to award XP for
*/
public void awardTamingXP(LivingEntity entity) {
switch (entity.getType()) {
@ -100,7 +100,8 @@ public class TamingManager extends SkillManager {
/**
* Apply the Gore ability.
*
* @param event The event to modify
* @param target The LivingEntity to apply Gore on
* @param damage The initial damage
*/
public double gore(LivingEntity target, double damage) {
if (SkillUtils.activationSuccessful(getSkillLevel(), getActivationChance(), Taming.goreMaxChance, Taming.goreMaxBonusLevel)) {

View File

@ -83,7 +83,6 @@ public final class Woodcutting {
/**
* Checks for double drops
*
* @param mcMMOPlayer Player breaking the block
* @param blockState Block being broken
*/
protected static void checkForDoubleDrop(BlockState blockState) {

View File

@ -120,7 +120,6 @@ public class WoodcuttingManager extends SkillManager {
* Handles the dropping of blocks
*
* @param treeFellerBlocks List of blocks to be dropped
* @param player Player using the ability
*/
private void dropBlocks(List<BlockState> treeFellerBlocks) {
Player player = getPlayer();