Commit graph

93 commits

Author SHA1 Message Date
LexManos
43ac9d6799 Fixed a few typos that CovertJaguire found in The Forge entity handeling code. And re-wrote the connection sequance so that clients get a list of mod ids before anything else. 2012-03-20 22:04:58 -07:00
CovertJaguar
6a1cdc8e0c Fix for network code. 2012-03-19 08:09:00 -07:00
LexManos
e883645266 Fixed IOException not found error in CovertJaguires pull request. Updated scripts so that build should now be fixed 2012-03-17 19:54:40 -07:00
CovertJaguar
a3345c6d57 Added throws clause to ISpawnHandler functions to keep the functions consistent with similar functions and increase ease of use. Exceptions are already being caught everywhere these functions are called, so no further changes required. 2012-03-15 03:34:42 -07:00
LexManos
0c39a7cbfd New EntityInteract hook for handeling player vs entity interaction on the global level vs the item level. 2012-03-14 16:47:15 -07:00
Eloraam
9acdb5b620 Fixed a merge error. 2012-03-12 15:51:11 -04:00
LexManos
b23798f67a Fix up Configuration ids to only work for 256 ids until Jeb finishes the 4096 conversion. 2012-03-10 17:08:34 -08:00
CovertJaguar
3847292ef7 Fixed a minor bug with the Minecart Dictionary. 2012-03-09 17:10:50 -08:00
LexManos
5946d70ebf Implemented ChickenBone's Chunk handler 2012-03-08 22:21:38 -08:00
LexManos
b77075367e No longer mark forge packets as chunk packets. 2012-03-05 15:07:18 -08:00
LexManos
5f1d4524f9 Small imports cleanup 2012-03-04 20:46:50 -08:00
LexManos
d4c12596c9 removed unneeded import, and fixed casing of args in IShearable 2012-03-03 20:43:36 -08:00
LexManos
1633cce166 Fixed unneeded imports in ForgePacket 2012-03-03 18:37:40 -08:00
LexManos
2b40928113 Made mod_MinecraftForge extend NetworkMod, and changed NetworkMod to extend BaseModMP server side. 2012-03-03 18:17:23 -08:00
LexManos
cfc68427ef Fixed compile error for the spelling pull request. 2012-02-25 15:41:56 -08:00
Deveducer
431288f404 Fixed spelling mistake ('Frequancy') 2012-02-25 18:48:05 -08:00
LexManos
c44aac2b39 Ran AStyle over forge code for uniform code formatting, and refactored old code a bit to have cleaner names. 2012-02-24 22:07:58 -08:00
LexManos
f160e90738 Deleted Deprecated interfaces. 2012-02-24 21:55:52 -08:00
LexManos
d2c7a856c1 Initial attempt at server side extra dimensions support.
Mods must register there dimensions on load, by calling DimensionManager.registerDimension(uniqueID, WorldProvier, boolean)
Mods are resposible for writing there own transporter blocks.
Initial commit, needs some more testing and design thoughts.
2012-02-24 02:38:16 -08:00
LexManos
08b908acea Implemented a response to Methuselah96's Arrow hook request. See IArrowNockHandler and IArrowLooseHandler 2012-02-22 16:51:14 -08:00
LexManos
f8ad250cc7 Introduced some debugging info into Forge packets. And a debug flag in the client and server packet handlers. 2012-02-22 12:01:38 -08:00
LexManos
86adb815e6 Marked forge packets as 'chunk' packets. Giving them a higher priority making the initial mod list check more reliable. 2012-02-22 11:59:36 -08:00
LexManos
54ec1567b2 Implemented a generic EntityPlayer.openGui system, and the network backend for it to work on server and client. 2012-02-20 23:56:01 -08:00
LexManos
a6f93ed528 Expanded the Mod check to test for missing mods and display a GUI screen for the client if it is missing any.
The client now downloads NetworkMod ID's from the server upon connecting.
2012-02-20 23:54:11 -08:00
LexManos
70fbe4f403 Introuduced NetworkMod, a BaseMod extension and replacement for BaseModMP. All mods that are designed to work in the server environment should extend this.
NetworkMods will be assigned unique ModIDs by the server, and those IDs will be sent to the client upon connection.
Refactored Forge packets to the net.minecraft.src.forge.packets package. And introduced the base ForgePacket class.
Added initial ModList request/response.
2012-02-20 23:50:26 -08:00
LexManos
67a49ccdd2 Split mod_MinecraftForge so that Clients arnt required to have MLMP installed if they don't use a MP mod. 2012-02-16 20:04:40 -08:00
LexManos
9440767e22 Update MCP Mapings 2012-02-15 06:40:41 -08:00
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