@Deprecated public abstract class BaseMod extends Object implements BaseModProxy
Constructor and Description |
---|
BaseMod()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
addFuel(int id,
int metadata)
Deprecated.
|
void |
addRenderer(Map<Class<? extends Entity>,Render> renderers)
Deprecated.
|
void |
clientChat(String text)
Deprecated.
|
void |
clientConnect(NetClientHandler handler)
Deprecated.
|
void |
clientCustomPayload(NetClientHandler handler,
Packet250CustomPayload packet)
Deprecated.
|
void |
clientDisconnect(NetClientHandler handler)
Deprecated.
|
boolean |
doTickInGame(TickType tick,
boolean tickEnd,
Object... data)
Deprecated.
|
boolean |
doTickInGUI(TickType tick,
boolean tickEnd,
Object... data)
Deprecated.
|
void |
generateNether(World world,
Random random,
int chunkX,
int chunkZ)
Deprecated.
|
void |
generateSurface(World world,
Random random,
int chunkX,
int chunkZ)
Deprecated.
|
GuiContainer |
getContainerGUI(EntityClientPlayerMP player,
int containerID,
int x,
int y,
int z)
Deprecated.
|
String |
getName()
Deprecated.
|
String |
getPriorities()
Deprecated.
|
abstract String |
getVersion()
Deprecated.
|
void |
keyboardEvent(KeyBinding event)
Deprecated.
|
abstract void |
load()
Deprecated.
|
void |
modsLoaded()
Deprecated.
|
void |
onClientLogin(EntityPlayer player)
Deprecated.
|
void |
onClientLogout(INetworkManager mgr)
Deprecated.
|
void |
onItemPickup(EntityPlayer player,
ItemStack item)
Deprecated.
|
boolean |
onTickInGame(float time,
Minecraft minecraftInstance)
Deprecated.
|
boolean |
onTickInGame(MinecraftServer minecraftServer)
Deprecated.
|
boolean |
onTickInGUI(float tick,
Minecraft game,
GuiScreen gui)
Deprecated.
|
void |
receiveCustomPacket(Packet250CustomPayload packet)
Deprecated.
|
void |
registerAnimation(Minecraft game)
Deprecated.
|
void |
renderInvBlock(RenderBlocks renderer,
Block block,
int metadata,
int modelID)
Deprecated.
|
boolean |
renderWorldBlock(RenderBlocks renderer,
IBlockAccess world,
int x,
int y,
int z,
Block block,
int modelID)
Deprecated.
|
void |
serverChat(NetServerHandler source,
String message)
Deprecated.
|
void |
serverConnect(NetHandler handler)
Deprecated.
|
void |
serverCustomPayload(NetServerHandler handler,
Packet250CustomPayload packet)
Deprecated.
|
void |
serverDisconnect()
Deprecated.
|
Entity |
spawnEntity(int entityId,
World world,
double scaledX,
double scaledY,
double scaledZ)
Deprecated.
|
void |
takenFromCrafting(EntityPlayer player,
ItemStack item,
IInventory matrix)
Deprecated.
|
void |
takenFromFurnace(EntityPlayer player,
ItemStack item)
Deprecated.
|
String |
toString()
Deprecated.
The identifier string for the mod- used in client<->server negotiation
|
@Deprecated public final boolean doTickInGame(TickType tick, boolean tickEnd, Object... data)
doTickInGame
in interface BaseModProxy
@Deprecated public final boolean doTickInGUI(TickType tick, boolean tickEnd, Object... data)
doTickInGUI
in interface BaseModProxy
@Deprecated public int addFuel(int id, int metadata)
addFuel
in interface BaseModProxy
id
- metadata
- @Deprecated public void addRenderer(Map<Class<? extends Entity>,Render> renderers)
@Deprecated public void generateNether(World world, Random random, int chunkX, int chunkZ)
generateNether
in interface BaseModProxy
world
- random
- chunkX
- chunkZ
- @Deprecated public void generateSurface(World world, Random random, int chunkX, int chunkZ)
generateSurface
in interface BaseModProxy
world
- random
- chunkX
- chunkZ
- @Deprecated public GuiContainer getContainerGUI(EntityClientPlayerMP player, int containerID, int x, int y, int z)
player
- containerID
- x
- y
- z
- @Deprecated public String getName()
getName
in interface BaseModProxy
@Deprecated public String getPriorities()
getPriorities
in interface BaseModProxy
@Deprecated public abstract String getVersion()
getVersion
in interface BaseModProxy
@Deprecated public void keyboardEvent(KeyBinding event)
@Deprecated public abstract void load()
load
in interface BaseModProxy
@Deprecated public void modsLoaded()
modsLoaded
in interface BaseModProxy
@Deprecated public void onItemPickup(EntityPlayer player, ItemStack item)
onItemPickup
in interface BaseModProxy
player
- item
- @Deprecated public boolean onTickInGame(float time, Minecraft minecraftInstance)
ModLoader.setInGameHook(BaseMod, boolean, boolean)
time
- the rendering subtick time (0.0-1.0)minecraftInstance
- the client@Deprecated public boolean onTickInGame(MinecraftServer minecraftServer)
@Deprecated public boolean onTickInGUI(float tick, Minecraft game, GuiScreen gui)
@Deprecated public void clientChat(String text)
serverChat(NetServerHandler, String)
clientChat
in interface BaseModProxy
text
- @Deprecated public void clientConnect(NetClientHandler handler)
handler
- @Deprecated public void clientDisconnect(NetClientHandler handler)
handler
- @Deprecated public void receiveCustomPacket(Packet250CustomPayload packet)
receiveCustomPacket
in interface BaseModProxy
packet
- @Deprecated public void registerAnimation(Minecraft game)
@Deprecated public void renderInvBlock(RenderBlocks renderer, Block block, int metadata, int modelID)
@Deprecated public boolean renderWorldBlock(RenderBlocks renderer, IBlockAccess world, int x, int y, int z, Block block, int modelID)
@Deprecated public void serverConnect(NetHandler handler)
serverConnect
in interface BaseModProxy
@Deprecated public void serverCustomPayload(NetServerHandler handler, Packet250CustomPayload packet)
serverCustomPayload
in interface BaseModProxy
@Deprecated public void serverDisconnect()
serverDisconnect
in interface BaseModProxy
@Deprecated public void takenFromCrafting(EntityPlayer player, ItemStack item, IInventory matrix)
takenFromCrafting
in interface BaseModProxy
player
- item
- matrix
- @Deprecated public void takenFromFurnace(EntityPlayer player, ItemStack item)
takenFromFurnace
in interface BaseModProxy
player
- item
- public String toString()
@Deprecated public void serverChat(NetServerHandler source, String message)
serverChat
in interface BaseModProxy
@Deprecated public void onClientLogin(EntityPlayer player)
onClientLogin
in interface BaseModProxy
player
- @Deprecated public void onClientLogout(INetworkManager mgr)
onClientLogout
in interface BaseModProxy
@Deprecated public Entity spawnEntity(int entityId, World world, double scaledX, double scaledY, double scaledZ)
@Deprecated public void clientCustomPayload(NetClientHandler handler, Packet250CustomPayload packet)