Class mod_Floodgate
java.lang.Object
BaseMod
mod_Floodgate
public class mod_Floodgate
- extends BaseMod
|
Field Summary |
static floodGateControl |
control
Reference to control block. |
static pj |
gate
Reference to gate block. |
|
Method Summary |
void |
AddRecipes(fg recipes)
Used to add recipes. |
by |
OpenModGUI(eu player,
java.lang.Object instance)
Opens GUI for use with mods. |
java.lang.String |
Version()
Required override that informs users the version of this mod. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
control
public static final floodGateControl control
- Reference to control block. This is what the player can craft and place. ID = 103.
gate
public static final pj gate
- Reference to gate block. The control block will place this. ID = 104.
mod_Floodgate
public mod_Floodgate()
AddRecipes
public void AddRecipes(fg recipes)
- Description copied from class:
BaseMod
- Used to add recipes.
- Overrides:
AddRecipes in class BaseMod
- Parameters:
recipes - Recipe instance to add to.- See Also:
ModLoader.AddAllRecipes(fg)
OpenModGUI
public by OpenModGUI(eu player,
java.lang.Object instance)
- Description copied from class:
BaseMod
- Opens GUI for use with mods.
- Overrides:
OpenModGUI in class BaseMod
- Parameters:
player - Player instance to open GUI for.instance - Used for identifying which mod this call is for. Allows for
passing extra data to GUI.
- Returns:
- GUI that mod created.
- See Also:
ModLoader.OpenModGUI(eu, java.lang.Object)
Version
public java.lang.String Version()
- Description copied from class:
BaseMod
- Required override that informs users the version of this mod. Used in console and error reports.
- Specified by:
Version in class BaseMod
- Returns:
- Version string.