Superfluous whitespace removal
This commit is contained in:
@@ -48,7 +48,7 @@ public interface IGrinderRegistry
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Add a new recipe with a single input and output and how many turns it requires.
|
* Add a new recipe with a single input and output and how many turns it requires.
|
||||||
*
|
*
|
||||||
* Will ignore duplicate recipes with the same input item.
|
* Will ignore duplicate recipes with the same input item.
|
||||||
*
|
*
|
||||||
* @param in The {@link ItemStack} to grind.
|
* @param in The {@link ItemStack} to grind.
|
||||||
@@ -59,7 +59,7 @@ public interface IGrinderRegistry
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Add a new recipe with an input, output and a single optional output.
|
* Add a new recipe with an input, output and a single optional output.
|
||||||
*
|
*
|
||||||
* Will ignore duplicate recipes with the same input item.
|
* Will ignore duplicate recipes with the same input item.
|
||||||
*
|
*
|
||||||
* @param in The {@link ItemStack} to grind.
|
* @param in The {@link ItemStack} to grind.
|
||||||
@@ -72,7 +72,7 @@ public interface IGrinderRegistry
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* add a new recipe with optional outputs, duplicates will not be added.
|
* add a new recipe with optional outputs, duplicates will not be added.
|
||||||
*
|
*
|
||||||
* Will ignore duplicate recipes with the same input item.
|
* Will ignore duplicate recipes with the same input item.
|
||||||
*
|
*
|
||||||
* @param in The {@link ItemStack} to grind.
|
* @param in The {@link ItemStack} to grind.
|
||||||
@@ -82,13 +82,13 @@ public interface IGrinderRegistry
|
|||||||
* @param optional2 The second optional {@link ItemStack} to output of a certain chance.
|
* @param optional2 The second optional {@link ItemStack} to output of a certain chance.
|
||||||
* @param chance2 chance to get the second optional output within 0.0 - 1.0
|
* @param chance2 chance to get the second optional output within 0.0 - 1.0
|
||||||
* @param turns Amount of turns to turn the input into the output, with turns > 0.
|
* @param turns Amount of turns to turn the input into the output, with turns > 0.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
void addRecipe( @Nonnull ItemStack in, @Nonnull ItemStack out, @Nonnull ItemStack optional, float chance, @Nonnull ItemStack optional2, float chance2, int turns );
|
void addRecipe( @Nonnull ItemStack in, @Nonnull ItemStack out, @Nonnull ItemStack optional, float chance, @Nonnull ItemStack optional2, float chance2, int turns );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove the specific from the recipe list.
|
* Remove the specific from the recipe list.
|
||||||
*
|
*
|
||||||
* @param recipe The recipe to be removed.
|
* @param recipe The recipe to be removed.
|
||||||
* @return true, if it was removed
|
* @return true, if it was removed
|
||||||
*/
|
*/
|
||||||
@@ -106,11 +106,11 @@ public interface IGrinderRegistry
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Allows do add a custom ratio from an ore to dust when being grinded.
|
* Allows do add a custom ratio from an ore to dust when being grinded.
|
||||||
*
|
*
|
||||||
* The default ratio is 1 ore to 2 dusts.
|
* The default ratio is 1 ore to 2 dusts.
|
||||||
*
|
*
|
||||||
* These have to be added before any recipe is registered. Otherwise it will use the default value.
|
* These have to be added before any recipe is registered. Otherwise it will use the default value.
|
||||||
*
|
*
|
||||||
* @param oredictName The name of the ore;
|
* @param oredictName The name of the ore;
|
||||||
* @param ratio The amount, must be > 0;
|
* @param ratio The amount, must be > 0;
|
||||||
*/
|
*/
|
||||||
@@ -118,9 +118,9 @@ public interface IGrinderRegistry
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove a custom ratio for a specific ore name.
|
* Remove a custom ratio for a specific ore name.
|
||||||
*
|
*
|
||||||
* Will use the default of 2 value afterwards.
|
* Will use the default of 2 value afterwards.
|
||||||
*
|
*
|
||||||
* @param oredictName The name of the ore;
|
* @param oredictName The name of the ore;
|
||||||
*/
|
*/
|
||||||
boolean removeDustRatio( @Nonnull String oredictName );
|
boolean removeDustRatio( @Nonnull String oredictName );
|
||||||
|
|||||||
@@ -29,16 +29,16 @@ import appeng.api.storage.data.IAEStack;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* DO NOT IMPLEMENT.
|
* DO NOT IMPLEMENT.
|
||||||
*
|
*
|
||||||
* Will be injected when adding an {@link ICraftingWatcherHost} to a grid.
|
* Will be injected when adding an {@link ICraftingWatcherHost} to a grid.
|
||||||
*/
|
*/
|
||||||
public interface ICraftingWatcher
|
public interface ICraftingWatcher
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Add a specific {@link IAEStack} to watch.
|
* Add a specific {@link IAEStack} to watch.
|
||||||
*
|
*
|
||||||
* Supports multiple values, duplicate ones will not be added.
|
* Supports multiple values, duplicate ones will not be added.
|
||||||
*
|
*
|
||||||
* @param stack
|
* @param stack
|
||||||
* @return true, if successfully added.
|
* @return true, if successfully added.
|
||||||
*/
|
*/
|
||||||
@@ -46,7 +46,7 @@ public interface ICraftingWatcher
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove a specific {@link IAEStack} from the watcher.
|
* Remove a specific {@link IAEStack} from the watcher.
|
||||||
*
|
*
|
||||||
* @param stack
|
* @param stack
|
||||||
* @return true, if successfully removed.
|
* @return true, if successfully removed.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -26,16 +26,16 @@ package appeng.api.networking.energy;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* DO NOT IMPLEMENT.
|
* DO NOT IMPLEMENT.
|
||||||
*
|
*
|
||||||
* Will be injected when adding an {@link IEnergyWatcherHost} to a grid.
|
* Will be injected when adding an {@link IEnergyWatcherHost} to a grid.
|
||||||
*/
|
*/
|
||||||
public interface IEnergyWatcher
|
public interface IEnergyWatcher
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Add a specific threshold to watch.
|
* Add a specific threshold to watch.
|
||||||
*
|
*
|
||||||
* Supports multiple values, duplicate ones will not be added.
|
* Supports multiple values, duplicate ones will not be added.
|
||||||
*
|
*
|
||||||
* @param amount
|
* @param amount
|
||||||
* @return true, if successfully added.
|
* @return true, if successfully added.
|
||||||
*/
|
*/
|
||||||
@@ -43,7 +43,7 @@ public interface IEnergyWatcher
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove a specific threshold from the watcher.
|
* Remove a specific threshold from the watcher.
|
||||||
*
|
*
|
||||||
* @param amount
|
* @param amount
|
||||||
* @return true, if successfully removed.
|
* @return true, if successfully removed.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -29,16 +29,16 @@ import appeng.api.storage.data.IAEStack;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* DO NOT IMPLEMENT.
|
* DO NOT IMPLEMENT.
|
||||||
*
|
*
|
||||||
* Will be injected when adding an {@link IStackWatcherHost} to a grid.
|
* Will be injected when adding an {@link IStackWatcherHost} to a grid.
|
||||||
*/
|
*/
|
||||||
public interface IStackWatcher
|
public interface IStackWatcher
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Add a specific {@link IAEStack} to watch.
|
* Add a specific {@link IAEStack} to watch.
|
||||||
*
|
*
|
||||||
* Supports multiple values, duplicate ones will not be added.
|
* Supports multiple values, duplicate ones will not be added.
|
||||||
*
|
*
|
||||||
* @param stack
|
* @param stack
|
||||||
* @return true, if successfully added.
|
* @return true, if successfully added.
|
||||||
*/
|
*/
|
||||||
@@ -46,7 +46,7 @@ public interface IStackWatcher
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove a specific {@link IAEStack} from the watcher.
|
* Remove a specific {@link IAEStack} from the watcher.
|
||||||
*
|
*
|
||||||
* @param stack
|
* @param stack
|
||||||
* @return true, if successfully removed.
|
* @return true, if successfully removed.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -29,5 +29,5 @@ public enum BusSupport
|
|||||||
CABLE,
|
CABLE,
|
||||||
|
|
||||||
DENSE_CABLE
|
DENSE_CABLE
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,9 +41,9 @@ public interface IPartModel
|
|||||||
/**
|
/**
|
||||||
* A solid {@link IPartModel} indicates that the rendering requires a cable connection, which will also result in
|
* A solid {@link IPartModel} indicates that the rendering requires a cable connection, which will also result in
|
||||||
* creating an intersection for the cable.
|
* creating an intersection for the cable.
|
||||||
*
|
*
|
||||||
* This should be true for pretty much all parts.
|
* This should be true for pretty much all parts.
|
||||||
*
|
*
|
||||||
* @return true for a solid part.
|
* @return true for a solid part.
|
||||||
*/
|
*/
|
||||||
default boolean requireCableConnection()
|
default boolean requireCableConnection()
|
||||||
@@ -53,7 +53,7 @@ public interface IPartModel
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A collection of {@link ResourceLocation} used as models for a part.
|
* A collection of {@link ResourceLocation} used as models for a part.
|
||||||
*
|
*
|
||||||
* @return a collection of models, never null.
|
* @return a collection of models, never null.
|
||||||
*/
|
*/
|
||||||
@Nonnull
|
@Nonnull
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ import net.minecraftforge.common.property.IUnlistedProperty;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A generic implementation for {@link IUnlistedProperty}.
|
* A generic implementation for {@link IUnlistedProperty}.
|
||||||
*
|
*
|
||||||
* @param <T>
|
* @param <T>
|
||||||
*/
|
*/
|
||||||
public class UnlistedProperty<T> implements IUnlistedProperty<T>
|
public class UnlistedProperty<T> implements IUnlistedProperty<T>
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ public class TesrRenderHelper
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Render an item in 2D and the given text below it.
|
* Render an item in 2D and the given text below it.
|
||||||
*
|
*
|
||||||
* @param spacing Specifies how far apart the item and the item stack amount are rendered.
|
* @param spacing Specifies how far apart the item and the item stack amount are rendered.
|
||||||
*/
|
*/
|
||||||
public static void renderItem2dWithAmount( IAEItemStack itemStack, float itemScale, float spacing )
|
public static void renderItem2dWithAmount( IAEItemStack itemStack, float itemScale, float spacing )
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ public class PlayerDifferentiator
|
|||||||
/**
|
/**
|
||||||
* Can determine if an {@link net.minecraft.entity.player.EntityPlayer} is not a real player.
|
* Can determine if an {@link net.minecraft.entity.player.EntityPlayer} is not a real player.
|
||||||
* This is based on if the
|
* This is based on if the
|
||||||
*
|
*
|
||||||
* @param player is:
|
* @param player is:
|
||||||
* - null
|
* - null
|
||||||
* - dead
|
* - dead
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ public class PlayerStatsRegistration
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* is true if the {@link appeng.core.features.AEFeature#ACHIEVEMENTS} is enabled in the
|
* is true if the {@link appeng.core.features.AEFeature#ACHIEVEMENTS} is enabled in the
|
||||||
*
|
*
|
||||||
* @param config
|
* @param config
|
||||||
*/
|
*/
|
||||||
private final boolean isAchievementFeatureEnabled;
|
private final boolean isAchievementFeatureEnabled;
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ public final class WorldData implements IWorldData
|
|||||||
* Requires to start up from external from here
|
* Requires to start up from external from here
|
||||||
*
|
*
|
||||||
* drawback of the singleton build style
|
* drawback of the singleton build style
|
||||||
*
|
*
|
||||||
* @param server
|
* @param server
|
||||||
*/
|
*/
|
||||||
public static void onServerAboutToStart( MinecraftServer server )
|
public static void onServerAboutToStart( MinecraftServer server )
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ import ic2.api.recipe.IRecipeInput;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementation of IRecipeInput for the macerator recipe.
|
* Implementation of IRecipeInput for the macerator recipe.
|
||||||
*
|
*
|
||||||
* @author GuntherDW
|
* @author GuntherDW
|
||||||
*/
|
*/
|
||||||
public class IC2RecipeInput implements IRecipeInput
|
public class IC2RecipeInput implements IRecipeInput
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ public class EnergyThreshold implements Comparable<EnergyThreshold>
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Special constructor to allow querying a for a subset of thresholds.
|
* Special constructor to allow querying a for a subset of thresholds.
|
||||||
*
|
*
|
||||||
* @param lim
|
* @param lim
|
||||||
* @param bound
|
* @param bound
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -908,7 +908,7 @@ public class Platform
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a random element from the given collection.
|
* Returns a random element from the given collection.
|
||||||
*
|
*
|
||||||
* @return null if the collection is empty
|
* @return null if the collection is empty
|
||||||
*/
|
*/
|
||||||
@Nullable
|
@Nullable
|
||||||
|
|||||||
@@ -54,12 +54,12 @@ public class ItemComparisonHelper
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Compare the two {@link ItemStack}s based on the same {@link Item} and damage value.
|
* Compare the two {@link ItemStack}s based on the same {@link Item} and damage value.
|
||||||
*
|
*
|
||||||
* In case of the item being damageable, only the {@link Item} will be considered.
|
* In case of the item being damageable, only the {@link Item} will be considered.
|
||||||
* If not it will also compare both damage values.
|
* If not it will also compare both damage values.
|
||||||
*
|
*
|
||||||
* Ignores NBT.
|
* Ignores NBT.
|
||||||
*
|
*
|
||||||
* @return true, if both are equal.
|
* @return true, if both are equal.
|
||||||
*/
|
*/
|
||||||
public boolean isEqualItemType( final ItemStack that, final ItemStack other )
|
public boolean isEqualItemType( final ItemStack that, final ItemStack other )
|
||||||
@@ -77,11 +77,11 @@ public class ItemComparisonHelper
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A wrapper around {@link ItemStack#isItemEqual(ItemStack)}.
|
* A wrapper around {@link ItemStack#isItemEqual(ItemStack)}.
|
||||||
*
|
*
|
||||||
* The benefit is to compare two null item stacks, without any additional null checks.
|
* The benefit is to compare two null item stacks, without any additional null checks.
|
||||||
*
|
*
|
||||||
* Ignores NBT.
|
* Ignores NBT.
|
||||||
*
|
*
|
||||||
* @return true, if both are equal.
|
* @return true, if both are equal.
|
||||||
*/
|
*/
|
||||||
public boolean isEqualItem( @Nonnull final ItemStack left, @Nonnull final ItemStack right )
|
public boolean isEqualItem( @Nonnull final ItemStack left, @Nonnull final ItemStack right )
|
||||||
@@ -100,7 +100,7 @@ public class ItemComparisonHelper
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Compares two {@link ItemStack} and their NBT tag for equality.
|
* Compares two {@link ItemStack} and their NBT tag for equality.
|
||||||
*
|
*
|
||||||
* Use this when a precise check is required and the same item is required.
|
* Use this when a precise check is required and the same item is required.
|
||||||
* Not just something with different NBT tags.
|
* Not just something with different NBT tags.
|
||||||
*
|
*
|
||||||
@@ -115,7 +115,7 @@ public class ItemComparisonHelper
|
|||||||
* Similar to {@link ItemComparisonHelper#isEqualItem(ItemStack, ItemStack)},
|
* Similar to {@link ItemComparisonHelper#isEqualItem(ItemStack, ItemStack)},
|
||||||
* but it can further check, if both match the same {@link FuzzyMode}
|
* but it can further check, if both match the same {@link FuzzyMode}
|
||||||
* or are considered equal by the {@link OreDictionary}
|
* or are considered equal by the {@link OreDictionary}
|
||||||
*
|
*
|
||||||
* @param mode how to compare the two {@link ItemStack}s
|
* @param mode how to compare the two {@link ItemStack}s
|
||||||
* @return true, if both are matching the mode or considered equal by the {@link OreDictionary}
|
* @return true, if both are matching the mode or considered equal by the {@link OreDictionary}
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user