Commit graph

346 commits

Author SHA1 Message Date
LexManos
a50f2a094d Fixed up Shearable blocks to play nicer with sub-classes. 2012-02-24 20:28:59 -08:00
MinecraftForge
2946e50ca5 Merge pull request #3 from Deveducer/patch-1
People may think the server needs the mods to continue and not the clien...
2012-02-24 12:45:41 -08:00
Deveducer
7590705b71 People may think the server needs the mods to continue and not the client. 2012-02-24 12:26:36 -08:00
LexManos
964b33f2c7 Fixed a bug in update_patches that caused apostrphies to be removed. Causing the last patch to be generated incorrectly. 2012-02-24 10:47:25 -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
a5e209952e Added new Item.getIconIndex context sensitive version. 2012-02-22 16:49:57 -08:00
LexManos
76830e7fe2 Moved Client side EntityPlayer.openGui work code to EntityPlayer for compatibility between player API. 2012-02-22 12:39:11 -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
745539626d Changed the layout of the missing mods gui a little. Still needs a lot of work to look good. 2012-02-22 11:58:05 -08:00
Eloraam
7c66376a3b Fixed linux scripts, fixed TE bug. 2012-02-21 03:53:33 -05:00
Eloraam
56c165800b Merge branch 'master' of github.com:MinecraftForge/MinecraftForge 2012-02-21 03:43:13 -05:00
Eloraam
24a8d129b5 Linux scripts fixed, TE bug fix. 2012-02-21 03:39:47 -05: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
546a0fce41 Exposed getters for NetServerHandler.playerEntity and NetworkManager.netHandler 2012-02-20 23:42:26 -08:00
LexManos
87524cfa31 Fixed up the install scripts. The linux script no longer needs sed. Should fix some issues on OSX's without gsed.
Also forge sources will only be copied to sides that were downloaded.
Also, install scripts now prompt for input to cleanup.
2012-02-18 10:47:45 -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
4c7814c603 Bumped version to 1.3.3 2012-02-15 06:41:36 -08:00
LexManos
f73d0e33c7 Small update to update_patches.bat, to skip patch reject files. 2012-02-15 06:41:12 -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
5163a30002 Implemented item.onBlockStartBreak call for creative single player. 2012-02-13 04:11:39 -08:00
LexManos
d8fa9a8497 Added Item.onLeftClickEntity hook. Used to intercept and cancel the 'attack' action within items. 2012-02-13 04:04:55 -08:00
LexManos
d977c1bfc5 Fixed ITextureProvider support for items that have multiple colored overlays. 2012-02-13 04:03:04 -08:00
LexManos
1242aade3c Lowered the amount of build log spam, and fixed the inject_version script for use on other systems. 2012-02-13 04:01:54 -08:00
LexManos
6a8d84470a Missed a caluse, ISpecialArmor should work as intended now. And not destroy Armor instanatly. 2012-02-10 07:10:39 -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
9265b690ab First official commit for GitHub. Using to test build automation system firing from final configuration. 2012-02-03 03:30:49 -08:00
LexManos
02088ea278 New parameter for setup script to skip the initial decompile. Used in the build system to speed things up. 2012-02-03 10:46:49 +00:00
Space Toad
e3b3920661 bumbed version number 2012-01-29 13:27:26 +00:00
LexManos
61dc035977 Potions are not armor. 2012-01-28 07:34:39 +00:00
LexManos
7a6193e8f5 Reorganized SpecialArmor code to work properly. 2012-01-28 07:09:55 +00:00
LexManos
92b2a3666e Some typo fixes 2012-01-28 06:16:58 +00:00
LexManos
c6121b5676 Updated for MCP Mappings 2012-01-25 13:08:09 +00: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
LexManos
fa564fb3c5 Reach and Rail bugfix 2012-01-23 20:44:10 +00:00
Space Toad
224597aa3a bumped version number 2012-01-22 01:28:22 +00:00
LexManos
9f31de24aa Install.cmd now tries to add the system folder to the current path. 2012-01-21 19:45:03 +00:00
LexManos
86a5cfd48b Disabled updatenames int he isntall scripts till MCP fixes the reobf issue.
Updated to MLMP 1.1v2, Which says it fixes bugs it doesn't But it does fix the packet bug.
Fixed a bug in Packet 250.
2012-01-20 18:44:00 +00:00
LexManos
52a18ab02b Updated MCP mappings 2012-01-19 19:21:48 +00:00
LexManos
a560c7bf9a Fixed the Minecart Drop bug 2012-01-19 00:53:18 +00:00