Commit graph

66 commits

Author SHA1 Message Date
LexManos
c54ed32d2a Refactored so that ISpecialArmor items do not see the factor of 25 on the damage.
The value returned form ISpecialArmor.getProperties is now copied, so mod items are free to re-use there return values.
2012-02-14 11:12:16 -08:00
LexManos
d230b379f9 Reworked ISpecialArmor to provide better functionality as requested by IC2 devs.
Armor can now be prioritized over other armor.
It can deal with damaging it's own itemstacks.
Also impkemented the ISpecialArmor.getArmorDisplay
2012-02-14 10:37:31 -08:00
LexManos
f2b973e48a Implimented a new IShearable system. This allows mods to create both new shear-like items/blocks. As well as new Entities/Blocks that work with other mod's shear-like items. 2012-02-13 04:13:02 -08:00
LexManos
14ccf7834b Implmented Sengir's IPickupHandler.
http://www.mod-buildcraft.com/forums/topic/hook-intercept-item-pickups-by-player-entities/?view=all
2012-02-10 06:56:28 -08:00
LexManos
408d2a9d62 Merged in the change to ISpecialArmor to introduce the DamageSource argument.
As well as the concept of damage absorption vs reduction.
2012-02-10 04:02:32 -08:00
LexManos
2ea1775224 Created a Entity tracking ans spawning system.
Mod creators should call MinecraftForge.registerEntity to register a entity.
All entity ID numbers are Mod Unique. Meaning two mods can have Entity #1.
Added client and server side packet handlers for the 'Forge' channel. For use in internal packets such as the new Spawn packet.
Updated the build scripts to copy over unique server source files now that there actually are some.
For modders:
  If you have a entity that used MLMP's 'owner' system, you should have your entity implement IThrowableEntity
  If you have a entity that implments MLMLP's ISpawnable, you should implement ISpawnHandler.
They provide the same functionality, just in a cleaner, more orginized way and will be the method used when we eventually drop MLMP.
2012-02-10 03:06:08 -08:00
LexManos
fcc781b100 Fixed return value for un/registerChannel. Now returns properly indicate when un/register commands should be sent. 2012-02-07 05:13:19 -08:00
LexManos
ebdc9b9464 Setup .gitignore for eclipse bin dirs.
Fixed line endings in install.sh
Added mod_MinecraftForge for simpler logging of minecraft version in crash reports
Added new hooks for connection events, See IConnectionHandler for more details.
Added Packet250CustomPayload handeling and channel registraction management, see MessageManager and IPacketHandler for more details.
Forge now uses unsed fields in C->S Packet1Login to identify itself. None Forge clients will get a graceful disconnect message instead of the 'Unknown packet 230'
2012-02-07 03:16:57 -08:00
LexManos
08195cfc03 Streamlined the Setup, Build and Package scripts:
On windows they no longer need the user to press enter every step
Moved version info out to version.txt, This will only effect the svn. If you update the version do it in version.txt not in ForgeHooks.java.
Introduced the build number into the version string.
Cleaned up some extra echos in scripts.
2012-01-25 07:00:31 +00:00
Space Toad
224597aa3a bumped version number 2012-01-22 01:28:22 +00:00
LexManos
2319eec68b Fixed getCartClassForItem and getCartTypeForItem 2012-01-17 16:48:09 +00:00
Space Toad
5190e0c927 bumped version number 2012-01-15 19:28:53 +00:00
LexManos
87d4c2134c Bumped version number
Added initialization to ModLoader's log
2012-01-14 03:57:01 +00:00
LexManos
2309163d92 Fixed NPE on some JVM's 2012-01-12 07:43:55 +00:00
LexManos
e5a16e25df Merged in MCL branch 2012-01-12 07:38:23 +00:00
Space Toad
dda9f474af bumbed version number 2011-12-28 21:22:07 +00:00
Eloraam
a4475c9e9a Bumping the version number. 2011-12-21 10:22:37 +00:00
Eloraam
6e1442e8e6 Deprecated IUseItemFirst, and made onUseItemFirst work in Creative. 2011-12-21 06:34:57 +00:00
LexManos
c2f165f211 Commit of a hook for adding items into world dungeon generation.
Uses a weighted random selection scheme.
Also a hook for adding custom mobs to the dungeon generation list.
2011-12-20 07:00:43 +00:00
LexManos
8c9762fd9a Added missing native library path to forge_client project.
Added harvest levels/effectiveness for Axes and Shovels.
2011-12-16 10:06:57 +00:00
Space Toad
8bb73671ba bumped version numbers 2011-12-13 19:33:37 +00:00
Space Toad
c726e219d7 bumped version number 2011-12-10 11:07:51 +00:00
LexManos
d64c332266 Added my EnumHelper classes, this allows for dynamic creation of Enum values at runtime.
See My post for a example:
http://www.minecraftforum.net/topic/514000-api-minecraft-forge/page__view__findpost__p__10948540
2011-12-09 07:58:32 +00:00
Eloraam
8a4636cba3 Added a hoe handler for advanced farming. 2011-12-02 04:32:10 +00:00
Space Toad
68cc1d315b bumped version number 2011-11-30 19:02:10 +00:00
Space Toad
96c05bbd25 merged with pre-1.9p5 branch, for 1.0.0 release 2011-11-30 19:00:43 +00:00
Eloraam
f1a6f45353 New block destruction hook. Deprecated IOverrideReplace. 2011-10-31 20:07:31 +00:00
Eloraam
384da1b222 Added some IC2 items. 2011-10-27 02:05:43 +00:00
Eloraam
6fb7b777ce Added a few more known ingots. 2011-10-25 17:15:12 +00:00
Eloraam
c12b2c5b11 Added ore dictionary. 2011-10-18 18:56:10 +00:00
Eloraam
a64a47b24c Fix for new MCP mappings.
Fixed the distribution of flowers with bonemeal.
Fixed accidentally making obsidian easy to mine.
2011-10-13 07:10:43 +00:00
Space Toad
ebc09a72db bumbed forge minor version 2011-10-10 19:21:41 +00:00
Space Toad
b3d605cd9d ISidedInventory is now explicitely an inventory 2011-10-02 19:14:20 +00:00
Eloraam
b763c73b74 - Added an ItemStack parameter to IArmorTextureProvider
- Added ISidedInventory
- Added IBonemealHandler
- Added hooks in grow-on-grass and in break tall grass.
- Fixed furnace output of multiple items.
- Added getBlockDropped().
- Bumped version number to 1.1.1.
2011-10-02 08:55:31 +00:00
Eloraam
07dfc35e0e Fixed TileEntities, bumped version number. 2011-09-28 23:35:31 +00:00
Eloraam
a386d0a8dc Undid that. Whoops. 2011-09-22 02:49:33 +00:00
Eloraam
1a8d32f7de Code to remove a single block effectiveness. 2011-09-22 02:45:47 +00:00
Eloraam
afdbc4064b Fixed up a few bugs in the tool path. 2011-09-21 07:14:53 +00:00
Space Toad
e7ca40009e bumped forge version # to 1.0.6 2011-08-28 12:54:47 +00:00
Space Toad
62e7bdf805 added ArmorProperties constructors, remove deprecated subprograms (supposedly not used by anyone) 2011-08-28 12:33:16 +00:00
Space Toad
705e5e62a0 fixed headers, implemented new armor computation for IC2 2011-08-27 11:42:48 +00:00
Eloraam
9d22e76927 Fixed the version number. 2011-08-21 07:50:09 +00:00
Eloraam
651af86795 Version control logic, improved the destroy handling hook. 2011-08-20 08:59:05 +00:00
Eloraam
622f536f80 Improved BTW compatibility.
Finished the placement hook changes.
Added a sleep handler.
Added a current item destroyed handler.
2011-08-18 00:14:09 +00:00
Eloraam
231c65da06 Checking in the new crafting hook. 2011-08-17 16:05:38 +00:00
Eloraam
1d19069203 Forgot the forge hooks. 2011-08-13 18:26:31 +00:00
Eloraam
12b64fa287 Updates:
- Added warning message for non-preloaded textures.
- Documentation
- Ladder fix for SMP.
- Obsoleted IBlockSecondaryProperties
- Added hooks for place-by-side.
- Fixed texture 3 and piston texture bug.
- Added new tool system.
2011-08-12 23:53:30 +00:00
Eloraam
d23812cb4c Added secondary block properties patch. 2011-08-03 05:15:31 +00:00
Eloraam
197c847a5f Fixed bugs in the pickaxe code. 2011-08-01 02:06:00 +00:00
Eloraam
73365fcbe4 Improved some documentation. 2011-07-31 18:52:19 +00:00