Class mod_Floodgate

java.lang.Object
  extended by BaseMod
      extended by mod_Floodgate

public class mod_Floodgate
extends BaseMod


Field Summary
static nq control
          Reference to control block.
static nq gate
          Reference to gate block.
 
Constructor Summary
mod_Floodgate()
           
 
Method Summary
 void AddRecipes(en recipes)
          Used to add recipes.
 bp OpenModGUI(bq player, java.lang.Object instance)
          Opens GUI for use with mods.
 void RegisterBlocks(java.util.List<nq> registry)
          Used to register blocks that the client can use.
 void RegisterTileEntity()
          Place holder for calling the function that adds TileEntities.
 
Methods inherited from class BaseMod
AddEntityID, AddFuel, AddRenderer, AddSmelting, GenerateNether, GenerateSurface, OSDHook, RegisterTextureOverrides
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

control

public static final nq control
Reference to control block. This is what the player can craft and place. ID = 103.


gate

public static final nq gate
Reference to gate block. The control block will place this. ID = 104.

Constructor Detail

mod_Floodgate

public mod_Floodgate()
Method Detail

AddRecipes

public void AddRecipes(en recipes)
Description copied from class: BaseMod
Used to add recipes.

Overrides:
AddRecipes in class BaseMod
Parameters:
recipes - Recipe instance to add to.

RegisterBlocks

public void RegisterBlocks(java.util.List<nq> registry)
Description copied from class: BaseMod
Used to register blocks that the client can use.

Overrides:
RegisterBlocks in class BaseMod
Parameters:
registry - List of blocks to add to.

RegisterTileEntity

public void RegisterTileEntity()
Description copied from class: BaseMod
Place holder for calling the function that adds TileEntities.

Overrides:
RegisterTileEntity in class BaseMod

OpenModGUI

public bp OpenModGUI(bq 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.