Commit graph

418 commits

Author SHA1 Message Date
LexManos
230a4188f8 Fixed onTakenFromCrafting hooks to be called once per stack taken. Sadly due to how shift-click is handled, the passed in item stack is not garenteed to be the stack that the result was added to. 2012-03-17 01:08:53 -07:00
newthead
2e24491707 Added additional flag for rendering entity item bobbing 2012-03-17 00:17:57 -07:00
newthead
8e92edb4b7 Cleanup/fix item render hooks 2012-03-16 23:57:59 -07:00
newthead
d7cbbfb3d2 Added render code for inventory items and entity items. 2012-03-16 21:28:08 -07:00
newthead
391fbbd42b Added remaining item render hooks, and fixed a static method access 2012-03-16 21:27:05 -07:00
newthead
7efd97399f Clarified render option for inventory items 2012-03-15 23:47:58 -07:00
newthead
dc0fc67412 Added hook for rendering equipped items 2012-03-15 23:47:28 -07:00
newthead
2524cf273b Added new item render interfaces to Forge client 2012-03-15 21:26:09 -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
c0bf315876 Made BlockStairs, BlockFarmland, and BlockStep have proper sided-solidity. Can now place torches on any solid side of those blocks. 2012-03-14 16:50:43 -07:00
LexManos
dda4d3c93c Proper fix for SDK's invalid bit shifts of parameters for chunk population 2012-03-14 16:49:53 -07:00
LexManos
ba285c455c Fixed type on patch conversion messing up tile entities 2012-03-14 16:49:02 -07:00
LexManos
29556e6170 Fixed sides of grass not getting biome colors 2012-03-14 16:48:33 -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
LexManos
09725ae326 Fixed forgotten type identifier in clean_src 2012-03-14 16:46:03 -07:00
Christian Weeks
8a8875a180 Fix worldgen doubleshifting in ModLoaderMP until SDK fixes it.
This means mods can generate surface and nether in SMP again.
2012-03-13 19:36:26 -04:00
LexManos
91ab9d0e1b New script to fix decompile differences between windows and linux/osx.
Removed the MLProp special case, no longer needed as MLProp decompiles fine.
Updated patches to work on all systems.
Added warning and exit if the user does not say yes to the cleanup.
2012-03-12 16:55:59 -07:00
Eloraam
9acdb5b620 Fixed a merge error. 2012-03-12 15:51:11 -04:00
Eloraam
340eede26c MCP Update. Fixed a few small bugs in the linux scripts. 2012-03-12 15:46:18 -04:00
LexManos
249ba1248d Custom dimensions should now honor the canRespawnHere function for respawning. 2012-03-12 12:19:20 -07:00
LexManos
02b3c0042d Fixed a wrong argument for dimensions, should fix entity tracking. 2012-03-12 12:18:42 -07:00
LexManos
6c6d4a7ed9 Fixed the inverted logic in the missing mod check. 2012-03-12 12:18:16 -07: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
LexManos
b56e414b98 Merge remote-tracking branch 'origin/master' 2012-03-09 18:55:13 -08:00
LexManos
e32cb4eeb6 Fixed a bug where vines were not shearable. 2012-03-09 18:54:39 -08:00
CovertJaguar
3847292ef7 Fixed a minor bug with the Minecart Dictionary. 2012-03-09 17:10:50 -08:00
LexManos
7db6897fa3 1.4.0 official release. 2012-03-09 13:54:50 -08:00
LexManos
e49564d0e8 Updated to MLMPv3 2012-03-09 10:42:39 -08:00
LexManos
5946d70ebf Implemented ChickenBone's Chunk handler 2012-03-08 22:21:38 -08:00
LexManos
c3d7bb6b7d Hack-fix for players getting stuck during logins. Detailed fix when bug is actually tracked down. 2012-03-08 22:21:06 -08:00
LexManos
168fd92099 Updated to latest MCP 2012-03-07 09:45:31 -08:00
LexManos
924cc290dd Fixed client side bonemeal on grass only making flowers 2012-03-07 09:45:13 -08:00
LexManos
e5d2de03ab Removed improper tile entity negation 2012-03-06 22:44:29 -08:00
LexManos
45910043c3 Fixed a generic tile entity line i missed on the server side. 2012-03-06 22:44:04 -08:00
LexManos
e3c149c246 Fixed MLMP thinking Network mods need a client side when they dont. 2012-03-06 22:43:35 -08:00
LexManos
50390a305d Updated to SDK MLMP v2 2012-03-06 18:47:54 -08:00
LexManos
b69e492343 Fixed missing double array in MLMP's packet server side. Also, fixed the creative code again, brain failed. 2012-03-06 15:04:40 -08:00
LexManos
7cfd984093 Updated to SDK's 1.2.3 MLMP, Mush cleaner, no longer supporting Flan's. 2012-03-06 14:12:55 -08:00
LexManos
74a33759fd Got my comparitor turned around 2012-03-06 14:12:20 -08:00
LexManos
eb06a63222 Updated gitignore, fixed digging particles, fixed creative container showing to many blocks, fixed wrong argument for custom renderers. 2012-03-06 12:11:24 -08:00
LexManos
885484f75f ItemBlock now implements ITextureProvider so that blocks with custom textures will showup properly when being held. 2012-03-06 00:28:12 -08:00
LexManos
f847e37119 Updated MCP's patch files. Fixes hangs on running MC as applet. 2012-03-06 00:26:51 -08:00
LexManos
72357310ae Cleanup of ModLoaderMP and proper update to the latest version of ModLoader 2012-03-05 20:02:07 -08:00
LexManos
1c77b62704 Fixed directory issues in the setup script 2012-03-05 20:01:04 -08:00
LexManos
66cac8ea7d Fixed NPE in the login handler 2012-03-05 19:57:50 -08:00
LexManos
d1acfd94a6 Updated MCP mapings files 2012-03-05 15:07:33 -08:00
LexManos
b77075367e No longer mark forge packets as chunk packets. 2012-03-05 15:07:18 -08:00
LexManos
2405761461 Fixed missing space in linux scripts 2012-03-05 15:06:54 -08:00
LexManos
3d53e59d73 Updated for MLMP 1.2.3 v1 2012-03-05 13:20:03 -08:00
LexManos
5f7d00e6ba Made the scripts forge updating md5s/mcp/names 2012-03-05 12:44:00 -08:00
LexManos
bef2f96597 Missed damageCarryover on the server 2012-03-04 20:59:10 -08:00
LexManos
5f1d4524f9 Small imports cleanup 2012-03-04 20:46:50 -08:00
LexManos
5a0e798102 First push of server side patch updates for 1.2.3. MLMP is still not updated so it does not include those changes, and will not compile. 2012-03-04 20:46:15 -08:00
LexManos
70388dd607 Deleted unneeded server side patches, Packet250 bug was fixed. And the others got moved to AnvilSaveHandler 2012-03-04 20:45:15 -08:00
LexManos
9d626d9e5e Couple of things I missed client side 2012-03-04 20:43:30 -08:00
LexManos
5257986d76 Bit of a cleanup of the client patches 2012-03-04 20:43:11 -08:00
LexManos
650f92e858 Client side initial patch update to Fernflower and MC 1.2.3 2012-03-04 03:09:45 -08:00
LexManos
c8fa2639aa No longer needed, bug was fixed 2012-03-04 03:08:43 -08:00
LexManos
e96e496e05 Same patch diff, files. 2012-03-04 03:08:22 -08:00
LexManos
0599b29eb9 Conf for 1.2.3 2012-03-04 03:06:56 -08:00
LexManos
8478ff83aa Deleted EntityPigZombie patches, Who needed these? Why could you not do this via reflection? 2012-03-03 23:07:58 -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
b2305b9d62 Updated The Json enum helper to point to the new packaged names. And fixed a casing change in ModLoader 2012-03-03 18:16:43 -08:00
LexManos
25e57d950a Updated eclipse project for MCP 1.2.3's inclusion of the Start folder in the src folder. 2012-03-03 18:09:05 -08:00
LexManos
7285b150e3 Deleted modLoaderMP.patch, unneeded now that we use Fernflower 2012-03-03 18:08:26 -08:00
LexManos
a7c0026022 Updated scripts so that we use Fernflower now. Added a small python script to download fernflower for the user. And the scripts exit out if it fails. 2012-03-03 17:56:15 -08:00
LexManos
cdbf0b21e7 Bumped version to 1.3.4, final commit for Minecraft v1.1 2012-03-01 09:39:22 -08:00
LexManos
fcc1e1b9fb Fixed bug in build script that caused the Minecraft/MinecraftServer classes to not be included. 2012-02-29 02:30:05 -08:00
LexManos
fcaddfd0fa Client side of the new Dimension support. 2012-02-28 18:52:52 -08:00
LexManos
cfc68427ef Fixed compile error for the spelling pull request. 2012-02-25 15:41:56 -08:00
LexManos
041fb1e1da Fixed ITextureprovider for multi-textured items when rendering on the GUI. 2012-02-25 15:30:14 -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
fbc9fe73d7 Fixed line endings in windows update_patches 2012-02-24 20:29:49 -08:00
LexManos
a50f2a094d Fixed up Shearable blocks to play nicer with sub-classes. 2012-02-24 20:28:59 -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
Eloraam
b767ce84ab Fixed a bug that caused snowballs to drop incorrectly. 2012-01-18 03:03:34 +00:00
LexManos
3bb04f70ca Small update to ContainerCreative hook for better compatibility with mods that extend block IDs. 2012-01-17 21:03:08 +00:00
LexManos
2319eec68b Fixed getCartClassForItem and getCartTypeForItem 2012-01-17 16:48:09 +00:00
LexManos
3b5b9c5d1e Bug Fix for Chests staying open on MP Servers
Implemented reach distance variable
2012-01-17 03:44:52 +00:00
LexManos
43a89e61e9 Fixed a few accessors I missed:
Server RailLogic.getNAdjacentTracks public
Server TileEntityFurnace.getItemBurnTime static

New GUIControls change, Made it into a scroll panel instead of a static position window.
This just makes things look better when multiple mods with KeyBindings are installed
2012-01-17 02:03:29 +00:00
LexManos
078d3c2750 Fixed a mapping issue with client side TileEntityFurnace patch 2012-01-16 02:13:08 +00:00
Space Toad
0be5c34f01 added missing files 2012-01-15 23:40:23 +00:00
Space Toad
779d34372b removed files from previous version 2012-01-15 23:39:28 +00:00
Space Toad
5190e0c927 bumped version number 2012-01-15 19:28:53 +00:00
Space Toad
bfd0cfe506 merged with 1.1 branch 2012-01-15 19:16:08 +00:00
LexManos
87d4c2134c Bumped version number
Added initialization to ModLoader's log
2012-01-14 03:57:01 +00:00
Eloraam
dda5880360 Fixed an unroll from the MCL merge. Updated MCP mappings. 2012-01-13 19:21: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
Eloraam
ad378151cf Improved the ladder hook. Added a new hook for sustained-use items. 2012-01-11 19:40:04 +00:00
Eloraam
bdda88d74e Fixed MCP mappings again. Fixed the Entity NBT code.
Added a new hook to support custom enchantments.
2012-01-11 18:39:42 +00:00
Eloraam
61d9b78704 Updated MCP Mappings. 2012-01-11 18:13:35 +00:00
LexManos
f3e56e0273 Fixed faces for BlockFire 2012-01-01 09:30:42 +00:00
LexManos
e26f1ab671 Refactored a bit of the TileEntity code so that ANY block may now have a tile entity.
This is to allow modders the ability to extend blocks other then BlockContainer, and still be able to have a TileEntity.

Also added a NBTTagCompound to the base EntityClass, this allows any entity to be given arbitrary data that will persist across world saves.
This data is NOT sent over the wire in a MP situation, to have data sent over the wire automatically use the built in data watcher.
2012-01-01 07:42:21 +00:00
Space Toad
dda9f474af bumbed version number 2011-12-28 21:22:07 +00:00
LexManos
df3449534f Changed Block.setBurnRate to public and Block.setBurnProperties
Re-added bounce functions to BlockFire for non-forge mods.
Should fix Optifine compatibility.
2011-12-24 05:07:55 +00:00
LexManos
906cb8ee39 Fixed a re-name that somehow missed the commit.
Serverside chanceToEncourageFire -> getFireSpreadSpeed
2011-12-24 00:35:41 +00:00
Eloraam
d541e492c4 Fixed some rendering issues. 2011-12-23 00:23:01 +00:00
Eloraam
d7d0f241ff Another mapping update. 2011-12-22 20:11:38 +00:00
LexManos
c8fca39895 Updated mapping for last commit 2011-12-22 02:17:40 +00:00