Class mod_Floodgate
java.lang.Object
BaseMod
mod_Floodgate
public class mod_Floodgate
- extends BaseMod
|
Field Summary |
static BlockFloodgateControl |
control
Reference to control block. |
static qk |
gate
Reference to gate block. |
|
Method Summary |
void |
AddRecipes(fr recipes)
Used to add recipes. |
cb |
OpenModGUI(fd player,
java.lang.Class<? extends cb> guiclass,
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 BaseMod |
AddFuel, AddRenderer, DispenseEntity, GenerateNether, GenerateSurface, KeyboardEvent, ModsLoaded, OnTickInGame, OnTickInGUI, RegisterAnimation, RenderInvBlock, RenderWorldBlock, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
control
public static final BlockFloodgateControl control
- Reference to control block. This is what the player can craft and place. ID
= 103.
gate
public static final qk gate
- Reference to gate block. The control block will place this. ID = 104.
mod_Floodgate
public mod_Floodgate()
AddRecipes
public void AddRecipes(fr 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(fr)
OpenModGUI
public cb OpenModGUI(fd player,
java.lang.Class<? extends cb> guiclass,
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(fd, java.lang.Class extends cb>, 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.