Class mod_MipMap
java.lang.Object
BaseMod
mod_MipMap
public class mod_MipMap
- extends BaseMod
Method Summary |
static boolean |
getEnabled()
|
java.lang.String |
getVersion()
Required override that informs users the version of this mod. |
void |
keyboardEvent(afp event)
This method will be called when the register key has been pressed, or held
down. |
void |
load()
Required override. |
boolean |
onTickInGame(float tick,
net.minecraft.client.Minecraft game)
Called when enabled, and in game. |
static void |
printChat(java.lang.String message)
|
static void |
setEnabled(boolean enabled)
|
Methods inherited from class BaseMod |
addFuel, addRenderer, dispenseEntity, generateNether, generateSurface, getName, getPriorities, modsLoaded, onItemPickup, onTickInGUI, registerAnimation, renderInvBlock, renderWorldBlock, takenFromCrafting, takenFromFurnace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
mod_MipMap
public mod_MipMap()
getEnabled
public static boolean getEnabled()
setEnabled
public static void setEnabled(boolean enabled)
keyboardEvent
public void keyboardEvent(afp event)
- Description copied from class:
BaseMod
- This method will be called when the register key has been pressed, or held
down.
- Overrides:
keyboardEvent
in class BaseMod
- Parameters:
event
- Reference to the key pressed.- See Also:
ModLoader.registerKey(BaseMod, afp, boolean)
onTickInGame
public boolean onTickInGame(float tick,
net.minecraft.client.Minecraft game)
- Description copied from class:
BaseMod
- Called when enabled, and in game.
- Overrides:
onTickInGame
in class BaseMod
- Parameters:
tick
- Partial tick. Used for smooth animation.game
- Instance of the Minecraft class.
- Returns:
- true to continue ticking, or false to stop ticking.
printChat
public static void printChat(java.lang.String message)
getVersion
public java.lang.String getVersion()
- Description copied from class:
BaseMod
- Required override that informs users the version of this mod. Used in
console and error reports.
- Specified by:
getVersion
in class BaseMod
- Returns:
- Version version.
load
public void load()
- Description copied from class:
BaseMod
- Required override. Put EVERYTHING that has any relation to minecraft in
here that needs to be added to the game when loaded. This includes blocks
and items.
- Specified by:
load
in class BaseMod