Commit Graph
87 Commits
Author SHA1 Message Date
LexManos 9083be320b Should fix NPE on older ISoundHandlers EXA: http://minecraftforge.net/forum/index.php/topic,759.html 2012-07-10 17:02:13 -07:00
TrueBrain f76827e253 -Fix: check for null where needed 2012-07-10 00:29:18 +02:00
TrueBrain 7dff7fd62d -Add: sync serverPos[XYZ] on spawning of entity
This fixes the issue that, up to 400 ticks from getting in range,
entities have a wrong offset (because server and client don't agree on
the position to calculate relative updates from)
2012-07-09 14:00:47 +02:00
LexManos 3d48b69d4f Added configuration option to disable the darkroom mechanic. For servers who wish to not risk destruction at one broken pipe. 2012-06-22 17:44:04 -07:00
LexManos f0f7e0e139 Add option to randomize potential spawn locations to have a more randomly dispersed spawn patern, useful for games like FTB vs. 2012-06-22 17:13:32 -07:00
LexManos acf70e1047 Some 4096 I missed in custom renderers. 2012-06-21 04:05:50 -07:00
LexManos c3bdc6e583 Initial 4096 fix based of mDiyo's work. 2012-06-15 21:10:37 -07:00
LexManos 5a0f73436e Fixed bug in new entity sound hook. 2012-06-13 23:08:16 -07:00
LexManos d56f0d0d55 Added new ISoundHandler.onPlaySoundAtEntity hook. Should be backwards compatible with any older ISoundHandler implementations. 2012-06-13 21:09:00 -07:00
LexManos 5127e56029 Added hackish workaround for Tessellator.textureID to provent crashing while we wait for Optifine to update. 2012-06-09 17:16:46 -07:00
LexManos 79b0f93488 Tag each Tessellator with it's associated texture ID. 2012-06-06 07:06:43 -07:00
LexManos 1d40d87f0c All Items and Blocks now implement ITextureProvider, and have a setTextureFile(String) function, to support cleaner code in Mods and in Forge. 2012-06-06 06:49:15 -07:00
LexManos fde49241fa Updated MCP mapings. Moved the bulk of custom logic from RenderItem to ForgeHooksClient. 2012-06-06 06:00:08 -07:00
LexManos 63453137b3 Updated to FML 115, added Forge Logo to the client dist, and in-game ModInfo page. 2012-06-02 19:24:40 -07:00
LexManos 4642519f33 We now bundle CodexIBXM from PaulsCode. See http://paulscode.com http://www.paulscode.com/forum/index.php?topic=4.0 and the included license files for more info. 2012-06-02 19:19:32 -07:00
LexManos c708b83425 Updated patches for FML, moved some extranious code to Forge classes instead of patches. 2012-05-27 04:27:15 -07:00
LexManos b27b365273 Fixed AudioMod compatibility with MultiMC style launchers. 2012-05-05 21:43:53 -07:00
LexManos cbc9d73a9a Fixed Vinella mob spawning bug that prevented mobs from spawning on the top most chunk. Added new Block function to determine if a Mob can naturally spawn on the block. Add new hook to allow for special case handeling on natural entity spawn. 2012-04-25 01:37:06 -07:00
LexManos 4bdba7400b Moved MLMP compatibility functions to ModCompatibilityClient, and fixed issue where no vehicles would be spawned. 2012-04-23 10:17:14 -07:00
LexManos 796d4fea70 New ISoundHandler interface, useful for adding custom sounds and dealign with sound based events.
Includes basuic AudioMod compatibility.
2012-04-22 19:52:09 -07:00
LexManos 3ea2e2582b Added MLMP hook invocation for vehicle spawn and opening GUI's to provide compatibility for clients that have both ModLoaderMP and forge installed. 2012-04-19 22:05:31 -07:00
LexManos 86fd9e0b9c Implemented a 'small' packet system for those mods that need to send rapid, small data packets and who are concered about the overhead of the 250 payload packet. It uses packet 131. 2012-04-18 19:40:48 -07:00
LexManos 23ffbb774f Added generic packet sending function to MinecraftForge class. 2012-04-18 19:17:04 -07: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
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
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 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
LexManos 719e436caa Fix some shadowing warnings. 2012-04-02 01:08:37 -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 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 3f0232223d Updated MCP mapings 2012-03-25 22:02:13 -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 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
LexManos 7c7b6d8f46 Readded the deprecated interface ICustomItemRenderer. Added method to enforce deprecation cross Minecraft versions. 2012-03-20 06:43:05 -07:00
newthead be07279984 Changed render hook checks to all use ItemStack instead of itemID 2012-03-19 11:37:51 -07:00
newthead 0597c30ac2 Merged item rendering interfaces into a single IItemRenderer 2012-03-18 10:49:23 -07:00
newthead 4cf001c644 Updated render hooks and registration to use the IItemRenderer interface 2012-03-17 11:46:15 -07:00
newthead 4366929c9b Merged item rendering interfaces into a single IItemRenderer 2012-03-17 11:21:08 -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
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