Battlefield's mods

Battlefield's API

What is this API used for? With this API you are able to add blocks/items from your mod to creative GUI, registering new blocks on which flowers/mushrooms/tall grass can grow, and allso registering new fences(placing torches on custom fences) Modloader allready has functionality for adding biomes Do villages generate in biomes that are defined in modloader? Why is this API special? Because creative part of it which is written completely without editing base classes and because nothing like this exist. Couldn't user do this by him/herself? If he/she wants incompatibilities sure why not. Where did you get the name? My initial + API

Table of content


Screenshots

Creative

Flower

Fence

Reed

Cactus

Biome

Client

You'll need Rigusami's ModLoader and Minecraft forge for this mod to work properly.
Instalation for client

Instalation is as simple as it can be just drag'n'drop all the files from BAPI rar to minecraft.jar and delete the META-INF folder.

If you want to get reminded about updates, go to config folder inside you .minecraft directory and open mod_BAPI.cfg with notepad and set versionCheck to true.

Server

You'll need Minecraft forge for this mod to work properly.
Instalation for server

Instalation is as simple as it can be just drag'n'drop all the files from BAPI rar to minecraft_server.jar. DO NOT DELETE META-INF FOLDER!!!

If you want to get reminded about updates, go to config folder inside you server directory and open mod_BAPI.cfg with notepad and set versionCheck to true.

Downloads
Changelog

V1.5.4-Updated to the latest forge version.

V1.5.3-Some minor bugfixes and changes.

V1.5.2-Added two new hooks, one that allows you to render custom overlay, and other for custom mod credits string.

V1.5.1-Added much simpler way to install this api for modders, added few things that I forgot about.

V1.5.0-Updated to 1.2.5, added new custom NBT handling hooks.

V1.4.0-Actually updated to minecraft 1.2.4, completely rewrote whole API from scratch.

V1.3.2-Updated to Minecraft 1.2.4, added some new features, fixed some major bugs.

V1.3.1-Removed BiomeAPI source support since it's discontiniued, some minor bugfixes.

V1.3.0-Allmost complete API recode, that means many changes and allso means if your mod author hasn't updated yet you shouldn't aswell.

V1.2.2-Sadly adds back dependancy on multiple classes

V1.2.1-Readds SMP, fixes few major bugs, no more needs installing separate version if forge is installed

V1.2.0-Singleplayer update, removed SMP because many major bugs, removed dependancy on most classes.

V1.1.2-Bugfix with lagfix

V1.1.1-Fixed rare crash with flower part of the API

V1.1.0-Added SMP support, added custom biome generation support, and added online version checker.

V1.0.0-initial release

Older versions

SSP

SMP

Compatibility

No incompatibilities found :D

Class usage

SSP

aer.class - BlockCactus - Allows using cactus placement hook
ago.class - BlockReed - Allows using reed placement hook
ahy.class - GenLayerBiome - Registers biome
an.class - MapGenVillage - Registers biome in which village can generate
pt.class - BlockTorch - Allows using torch placement hook
qk.class - BlockFlower - Allows using flower placement hook
rs.class - WorldChunkManager - Registers biome in which player can spawn
xq.class - MapGenStronghold - Registers biome in which stronghold can generate
c.class - GuiWinGame - Adds option to make custom per mod credits.
abn.class - BiomeGenBase - Allows defining biomes outside BiomeGenBase class.
aiy.class - GuiIngame - Allows custom render overlay hooks.




SMP

us.class - GenLayerBiome - Registers biome
au.class - MapGenVillage - Registers biome in which village can generate
yb.class - BlockFlower - Allows using flower placement hook
aae.class - WorldChunkManager - Registers biome in which player can spawn
ha.class - MapGenStronghold - Registers biome in which stronghold can generate
lt.class - BiomeGenBase - Allows defining biomes outside BiomeGenBase class.
xe.class - BlockTorch - Allows using torch placement hook
sm.class - BlockReed - Allows using reed placement hook
qc.class - BlockCactus - Allows using cactus placement hook
gq.class - SaveHandler - Saves custom NBT's at the same time as it saves all other saves

Known bugs

None yet