mirror of
https://github.com/GTNewHorizons/EnderCore.git
synced 2026-11-18 19:29:09 +00:00
Fix javadoc errors
This commit is contained in:
1 parent
cbf4fa54ea
commit
89122240c1
5 files changed
+23
-26
No files matched your search
@@ -9,25 +9,22 @@ import net.minecraftforge.common.config.ConfigCategory;
|
||||
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||
|
||||
public interface IConfigHandler
|
||||
{
|
||||
void initialize(File cfg);
|
||||
public interface IConfigHandler {
|
||||
void initialize(File cfg);
|
||||
|
||||
List<Section> getSections();
|
||||
List<Section> getSections();
|
||||
|
||||
ConfigCategory getCategory(String name);
|
||||
ConfigCategory getCategory(String name);
|
||||
|
||||
String getModID();
|
||||
|
||||
/**
|
||||
* A hook for the {@link FMLInitializationEvent}, also called during config reloads depending on
|
||||
* {@link #shouldHookOnReload()}
|
||||
*/
|
||||
void initHook();
|
||||
|
||||
/**
|
||||
* A hook for the {@link FMLPostInitializationEvent}, also called during config reloads
|
||||
* depending on {@link #shouldHookOnReload()}
|
||||
*/
|
||||
void postInitHook();
|
||||
String getModID();
|
||||
|
||||
/**
|
||||
* A hook for the {@link FMLInitializationEvent}.
|
||||
*/
|
||||
void initHook();
|
||||
|
||||
/**
|
||||
* A hook for the {@link FMLPostInitializationEvent}.
|
||||
*/
|
||||
void postInitHook();
|
||||
}
|
||||
@@ -118,7 +118,7 @@ public class IconButton extends GuiButton {
|
||||
* @param y
|
||||
* Y coordinate of mouse click
|
||||
* @param button
|
||||
* the mouse button - only called for button >= 1
|
||||
* the mouse button - only called for button {@literal >}= 1
|
||||
* @return true if the mouse click is handled
|
||||
*/
|
||||
public boolean mousePressedButton(Minecraft mc, int x, int y, int button) {
|
||||
|
||||
@@ -56,7 +56,7 @@ public class Handlers
|
||||
FORGE,
|
||||
|
||||
/**
|
||||
* Represents the {@link FMLCommonHandler#instance()#bus()}
|
||||
* Represents the {@link FMLCommonHandler#bus()}
|
||||
*/
|
||||
FML
|
||||
}
|
||||
|
||||
@@ -103,9 +103,9 @@ public class EnderStringUtils
|
||||
* @param max
|
||||
* The max number
|
||||
*
|
||||
* @return if num <= 10% of max : RED<br>
|
||||
* if 10% < num <= 25% of max: GOLD (orange-ish)<br>
|
||||
* if num > 25% of max: GREEN
|
||||
* @return if num {@literal <}= 10% of max : RED<br>
|
||||
* if 10% {@literal <} num {@literal <}= 25% of max: GOLD (orange-ish)<br>
|
||||
* if num {@literal >} 25% of max: GREEN
|
||||
*/
|
||||
public EnumChatFormatting getColorFor(double num, double max)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user