Commit graph

115 commits

Author SHA1 Message Date
ShetiPhian
8ffd66f27f Edits enable use of EntityPlayer.canHarvestBlock (for PlayerAPI) when the ToolClass has no rules for the block. 2012-04-16 23:01:40 -03:00
LexManos
cdf9361d07 Changed entity Forge spawning code works to be more in line with normal spawning:
(World, double, double double) constructor is nolonger called, normal (World) constructor, and setPositionAndRotation is called afterwords.
yaw, pitch, and yawHead is sent (if the entity isn't a EntityLiving yawHead isn't used)
The datawatcher data is also sent like a normal Entity.
2012-04-15 07:36:17 -07:00
CovertJaguar
1aa80ed1c6 Added a function for checking block harvest levels without having to resort to reflection. 2012-04-11 21:16:56 -07:00
LexManos
57b277c9d7 Added ItemStack sensitive burn time hook. 2012-04-10 01:04:00 -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
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
ea41a93de3 Couple of output fixups and added script to be executed by Jenkins during the build. First test build. 2012-04-07 04:29:23 -07:00
LexManos
82ef183b5b Implemented ISaveEventHandler as ChickenBones's requested. 2012-04-06 23:02:43 -07:00
LexManos
35750681eb Finished up converting the source dist install scripts to python. Fixed a couple issues with the other scripts. 2012-04-06 07:16:14 -07:00
LexManos
9f327fd392 Updated repo scripts to python, allowing more flexability and less code duplication. 2012-04-06 06:10:11 -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
719e436caa Fix some shadowing warnings. 2012-04-02 01:08:37 -07:00
LexManos
116e078db7 Fixed camelcasing in IConnectionHandler, ment to do during first upgrade. 2012-03-27 07:27:04 -07:00
LexManos
aa83f571c2 Fixed typo bug in MinecraftForge.getEntityTrackerInfo 2012-03-27 01:00:43 -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
06eb9de126 Fixed a couple of bugs in the Configuration categories pull request.
Added helper functions to Property for standard int/boolean usage.
2012-03-25 23:26:01 -07:00
CovertJaguar
353885bc94 Removed createCategory() function and changed it to create categories as they are encountered. 2012-03-23 11:41:16 -07:00
CovertJaguar
1067a66c06 Added the ability to define custom categories for config files. 2012-03-23 09:43:48 -07:00
LexManos
65b3742636 Added MinecraftForge.isClient() function that returns true if you are in the Minecraft Client, (As defined as net.minecraft.client.Minecraft existing) false otherwise.
Fixed a typo on PacketEntitySpawn that caused speed to be assigned improperly.
A little code cleanup.
2012-03-22 19:46:36 -07:00
LexManos
55780422ae Changed logic in Configuration to allow for extended block ID mods easier access to change that. Just use reflection to change Configuration.configBlocks to whatever length you want. 2012-03-22 19:39:15 -07:00
LexManos
be1dd4934a Fixed NPE on CustomPayload packets with 0 data 2012-03-22 19:30:59 -07:00
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