Commit Graph
4660 Commits
Author SHA1 Message Date
cpw 470070e2ce Merge pull request #216 from agaricusb/add-srgname
Add srgname to registerTileEntityWithAlternatives
2013-04-15 15:50:47 -07:00
Christian 3020daf42d Merge branch 'agaricusb-fix-deobf-field' 2013-04-15 17:31:09 -04:00
Christian 1a9cb9e3c9 Add in some caching of the read field descriptions for efficiency 2013-04-15 17:30:35 -04:00
LexManos 4bd7d4f3d9 Merge pull request #521 from ProgrammerHero/master
Fixed a bug that prevented proper lava generation near bedrock
2013-04-15 10:17:01 -07:00
ProgrammerHero add399284b fixed a bug that prevented proper lava generation near bedrock 2013-04-15 10:14:16 -03:00
LexManos 560931a14a Fix AIOOB in crash report stack trimming. 2013-04-14 21:42:13 -07:00
Agaricus 03bc9cf00a Add type info to properly deobfuscate overloaded fields. Fixes #210. 2013-04-14 16:54:11 -07:00
Agaricus 76275cafc4 Add srgname to registerTileEntityWithAlternatives 2013-04-14 14:11:37 -07:00
LexManos 5cdc45b6da Merge pull request #515 from pahimar/master
Fixes parsing faces for faces that do not have texture coordinate data
2013-04-12 14:10:06 -07:00
pahimar 46eeadf3a2 Missed a bit 2013-04-12 16:05:56 -04:00
pahimar 6bb839e13c Fix a derp in that we provision the various arrays for a face, even if we are not going to parse data into it. Solves NPEs for when obj models that don't have texture coordinates attempt to render. 2013-04-12 15:57:59 -04:00
LexManos 3818ffdf56 Cave and Ravine gen will now take into account the Biomes top and foller block, allowing them to break the surface in modded biomes. Beaches, MushroomIslands and Deserts are exempt from this check to preserve vanilla world gen functionality. Closes #491 2013-04-11 11:39:23 -07:00
Christian a09c5ad484 Fix offset in AdvancedModelLoader. *doh* 2013-04-10 20:27:29 -04:00
LexManos cb67c72cd7 Added a small method in the Block.java to specify the amount of enchanting power it can supply to an enchanting table. Closes #508 2013-04-10 16:56:31 -07:00
LexManos b66d3b6b0f Added NBT data to liquid stacks. Closes #501 2013-04-10 16:44:31 -07:00
LexManos 969cd4e762 Add Item 'swing' callback for use when playing the arm swing animation. Closes #505 2013-04-10 16:33:16 -07:00
LexManos 395c537f2c Item callback for EntityItem update tick. Closes #426 2013-04-10 16:06:07 -07:00
Christian 02a0824716 Delete sneaky extra file 2013-04-10 18:39:47 -04:00
Christian 1ae7fa0080 Add in a generic factory interface, allowing for additional model support
to be added at runtime.
2013-04-10 18:30:25 -04:00
pahimar d4b71ef964 More interface work 2013-04-10 18:30:25 -04:00
pahimar 091c4ab6ac Adding interface for other custom model format importers to implement 2013-04-10 18:30:25 -04:00
pahimar 09fee09a01 Switch out String.matches in favour of Pattern/Matcher usage, and a tad more documentation.
Fixed a bug in texture coordinate parsing (can have 2-3 values per entry, instead of the 3-4 I had before)
2013-04-10 18:30:25 -04:00
pahimar 46e53fb461 Wavefront object importer. Imports Wavefront object and offers some simple render methods for rendering the models in game. Modders have complete access to all the data in the model to write their own rendering related code as well. 2013-04-10 18:30:25 -04:00
Christian 7c6468a9ea Update MCP names to recent published names
Updated FML:
MinecraftForge/FML@1774e2bf30 MCP names update
2013-04-10 18:30:25 -04:00
LexManos 77f6d9eeab Re-add and mark deprecated the old signature for ForgeHooksClient.getArmorTexture. 2013-04-10 18:30:25 -04:00
Christian 1490479bd6 Deprecate preloadTexture, make it a no-op. Should stop derpiness with new
texturing system performance tweaks.
2013-04-10 18:30:25 -04:00
LexManos 460eefab49 Updated FML: MinecraftForge/FML@4836b3272a Re-worked the Texture patches, optifine helper function, and re-added support fo
r dynamically rotating the texture for mod authors who do things horribly wrong.
2013-04-10 18:30:25 -04:00
Christian dd720bbb5c Updated FML:
MinecraftForge/FML@a31607ae7d Fix compilation derp, and clean up rotation helper.
2013-04-10 18:30:25 -04:00
Christian cefcd8aee6 Fix performance of texture uploads
Updated FML:
MinecraftForge/FML@00c7883088 Very significant improvement in performance by using glSubImage to upload data. Inspired by frequent complaints about performance of hires texture packs. They probably still need a beefy system but should work. Hopefully I can figure out why the subImage GL side copy isn't working properly for an even more significant speed boost. But this gets things started.
MinecraftForge/FML@57ad221cc6 And add the patches *sigh*
2013-04-10 18:30:25 -04:00
LexManos f755fb2ebb Optimize Texture loops a bit for non-rotated textures. Should help the FPS loss on higher resolution texture packs. If it becomes a major issue we may have to look into a more optimized animation system.
https://mojang.atlassian.net/browse/MC-13206
2013-04-10 18:30:24 -04:00
LexManos dc047fcb7a Small bugfix in Stitcher that was preventing ti from fully filling the possible texture space. Should lower the amount of empty space in textures. 2013-04-10 18:30:24 -04:00
LexManos 2de6f297e1 Small optimization for usages of Minecraft.getGLMaximumTextureSize(), only need to calculate it once. 2013-04-10 18:30:24 -04:00
LexManos 9e35cdfa33 Fix scoreboard saving bug caused by our fix of vanilla map saves. 2013-04-10 18:30:24 -04:00
LexManos f05b27c27d Deprecate long dead interface that moved to FML. remvoe next MC version. 2013-04-10 18:30:24 -04:00
LexManos f80ed1553d Updated FML: MinecraftForge/FML@1de89525cc Fixed issue with instalation when java/javac commands had quotes. 2013-04-10 18:30:24 -04:00
LexManos be80a794ac Updated FML: MinecraftForge/FML@704a70902f Sanitize input to isRemappedClass to use '/' as a package seperator like the srg files. 2013-04-10 18:30:24 -04:00
LexManos 2ee07bb250 New hook to allow Items to provide there own armor models. Closes #487 2013-04-10 18:30:24 -04:00
ChildWalrus 0034a0c6c2 This allows the result of the explosion to take into account metadata,
tile entities, or even to cancel it altogether.

Allowed block exploding to take into account tile entity and metadata
2013-04-10 18:30:24 -04:00
LexManos 5f44333b8f Untag NBTTagList.removeTag as client side only, allowing simple removal ont he server side. Closes #477 2013-04-10 18:30:24 -04:00
LexManos 02d0e5e9ed Fix item deletion in creative menu for items that are the same id/meta but differnet NBT's. Closes #479 2013-04-10 18:30:24 -04:00
LexManos 829a60722c Allow items to provide there own FontRenderer for there tooltips. Added for #463 2013-04-10 18:30:24 -04:00
Tarion 9b58fb9384 Clarify Factory call and Event Functionality 2013-04-10 18:30:24 -04:00
Tarion aa202878e2 Added maxCanSpawnInChunk event to allow overriding of creature chunk spawn cap 2013-04-10 18:30:24 -04:00
Christian 0a1f3e3150 MCP names update 2013-04-10 12:28:20 -04:00
LexManos d89f0dc683 Re-worked the Texture patches, optifine helper function, and re-added support for dynamically rotating the texture for mod authors who do things horribly wrong. 2013-04-09 20:06:41 -07:00
Christian ff95739dc8 Fix compilation derp, and clean up rotation helper. 2013-04-09 21:20:31 -04:00
Christian 2208df18c4 And add the patches *sigh* 2013-04-09 20:26:10 -04:00
Christian 10f08460a6 Very significant improvement in performance by using glSubImage to upload data. Inspired by frequent complaints about performance of hires
texture packs. They probably still need a beefy system but should work. Hopefully I can figure out why the subImage GL side copy isn't working
properly for an even more significant speed boost. But this gets things started.
2013-04-09 20:15:14 -04:00
LexManos bc44fbe7dd Fixed issue with instalation when java/javac commands had quotes. 2013-04-05 10:26:33 -07:00
LexManos 5cd066767a Sanitize input to isRemappedClass to use '/' as a package seperator like the srg files. 2013-04-04 23:30:10 -07:00