Commit graph

218 commits

Author SHA1 Message Date
LexManos
0abb4e289a Added new Item function to allow for multiple rendering passes.
Fixed a vinella bug where item layters would not line up for EntityItem's
Added new IItemRendere helper flag for 3d block translations.
2012-04-10 00:43:21 -07:00
LexManos
20e264f9ee Rewrote IItemRenderer to be a more generic and expandable version, Breaks previous interfaces, but this should be the last time the interface changes.
Implemented the MapRender hook ChickenBones requested.
2012-04-09 22:57:52 -07:00
Christian Weeks
e5911d9678 Update FML for new hooks: onPlayerLogout and onPlayerDimensionChanged 2012-04-09 10:45:53 -04:00
Christian Weeks
19ecdf1a87 Update fml to 62- provision a server console command and fix mod loading order 2012-04-08 10:14:50 -04:00
Christian Weeks
96ff4ce8e3 Fix separated login/announce handler 2012-04-08 00:45:56 -04:00
Christian Weeks
6f3c41cc6f Update to FML 57: fixes FML not calling it's login handler code 2012-04-07 22:49:29 -04:00
LexManos
6e31fc0185 Changed IGuiHandler's signature to be compatible with both sides. Took out ModLoaderMp reference in README. 2012-04-07 08:08:14 -07:00
LexManos
6e93f65ba1 Add server spawn protection config option as per someh4x0r's request. 2012-04-06 23:15:46 -07:00
LexManos
82ef183b5b Implemented ISaveEventHandler as ChickenBones's requested. 2012-04-06 23:02:43 -07:00
LexManos
9629d5b4f4 Updated patch for mapings 2012-04-06 23:02:00 -07:00
LexManos
421f31cce5 Added ChickenBones's request ITextureLoadHandler hook 2012-04-06 23:01:19 -07:00
LexManos
4e575f353f Rewrote the login code to delay full login untill forge fnishes negotiating network IDs. Should fix entities not having proper ID mapings. 2012-04-06 22:59:58 -07:00
Christian Weeks
1ad6fa9a73 Update patches for FML fix. 2012-04-06 12:02:15 -04:00
LexManos
b94ad38ec3 Deleted patches 2012-04-06 02:03:08 -07:00
LexManos
ab927fce55 Initial patch update to FML and MC 1.2.5 2012-04-06 02:02:53 -07:00
LexManos
f327dd5d7f Implemented a chat event handler system to allow for manipulating and handeling the various chat/command events. 2012-04-02 02:26:13 -07:00
LexManos
1a024e5656 Add IChunkLoadHandler.canEntityUpdate() function to allow entities to update while in custom loaded chunks. 2012-04-02 01:14:31 -07:00
LexManos
66b3c827cc Updated to MC: 1.2.4 MLMP: 1.2.4 v1
Removed all code that was marked as deprecated, IE: ICustomItemRenderer, and the functions in Configuration
2012-03-27 00:39:23 -07:00
LexManos
2230ca7c54 Reworked EntityPlayerMP.openGui to hopefully be more compatible with PlayerAPI 2012-03-26 04:27:34 -07:00
LexManos
dd17ebd009 Cleanup the EffectRenderer patches, Allows custom food items to have the proper particals. Cleaned up special case class in favor of basic java generics. 2012-03-26 02:48:58 -07:00
LexManos
9153ded16f Added rider sit pull request. 2012-03-25 23:28:32 -07:00
LexManos
3f0232223d Updated MCP mapings 2012-03-25 22:02:13 -07:00
LexManos
96b698dc85 Implemented Pheenixm pull request allowing for more control over the camera. 2012-03-22 19:44:12 -07:00
LexManos
7c7b6d8f46 Readded the deprecated interface ICustomItemRenderer. Added method to enforce deprecation cross Minecraft versions. 2012-03-20 06:43:05 -07:00
LexManos
952fb54a44 Merge pull request #15 from newthead/master
Improved Custom Item Render Interface
2012-03-19 22:19:41 -07:00
LexManos
5a0df1f17f Fixed dyes showing twice in creative list 2012-03-19 21:20:08 -07:00
newthead
bd49c3dcdb Reverted vanilla texture binding to an explicit if() statement based on item ID 2012-03-19 11:52:24 -07:00
newthead
be07279984 Changed render hook checks to all use ItemStack instead of itemID 2012-03-19 11:37:51 -07:00
LexManos
34ea120258 Fixed tile entities not properly being removed for blocks that do not extend BlockContainer, or override BlockContainer.onBlockRemoval 2012-03-19 10:30:21 -07:00
LexManos
ff37b70e03 Fixed a class to a deprecated method to fix tool effectiveness. 2012-03-18 23:38:03 -07:00
newthead
0597c30ac2 Merged item rendering interfaces into a single IItemRenderer 2012-03-18 10:49:23 -07:00
newthead
e2dc4d595e Modified patches to use new item render hooks 2012-03-17 11:48:54 -07:00
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
dc0fc67412 Added hook for rendering equipped items 2012-03-15 23:47:28 -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
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
e32cb4eeb6 Fixed a bug where vines were not shearable. 2012-03-09 18:54:39 -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
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
72357310ae Cleanup of ModLoaderMP and proper update to the latest version of ModLoader 2012-03-05 20:02:07 -08:00
LexManos
66cac8ea7d Fixed NPE in the login handler 2012-03-05 19:57:50 -08:00
LexManos
3d53e59d73 Updated for MLMP 1.2.3 v1 2012-03-05 13:20:03 -08:00
LexManos
bef2f96597 Missed damageCarryover on the server 2012-03-04 20:59:10 -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
8478ff83aa Deleted EntityPigZombie patches, Who needed these? Why could you not do this via reflection? 2012-03-03 23:07:58 -08:00
LexManos
fcaddfd0fa Client side of the new Dimension support. 2012-02-28 18:52:52 -08:00
LexManos
041fb1e1da Fixed ITextureprovider for multi-textured items when rendering on the GUI. 2012-02-25 15:30:14 -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
Eloraam
7c66376a3b Fixed linux scripts, fixed TE bug. 2012-02-21 03:53:33 -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
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
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
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
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
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