Commit graph

70 commits

Author SHA1 Message Date
LexManos
2bbb3ee0ca Disable ImageIO's File based cache, should speed up texturepack loading/stitching. 2013-06-08 12:20:49 -07:00
LexManos
5f750197ac Merge pull request #560 from jk-5/master
RenderGameOverlayEvent.Post ALL is not called in GuiIngameForge
2013-06-03 12:21:34 -07:00
LexManos
7143607620 Fixed render count for stacks of blocks 40+ and distrabution of items based on scale. Closes #579 2013-05-19 13:22:12 -07:00
LexManos
432023a9ba Fix another NPE when Items are in Block range with custom renderers, Modders keep your items out of the block range! Closes #581 2013-05-19 13:09:05 -07:00
Christian
eba92ad3f8 Fix blending on the hotbar. Closes #574 2013-05-15 20:51:24 -04:00
Christian
5ca854efa8 Add in a very simple stencil bit registry to try and arbitrate between mods wanting to use stencil bits in rendering 2013-05-15 20:29:47 -04:00
LexManos
55dac73d10 Fix NPE when rendering EntityItems that are not blocks but int he block range. 2013-05-13 21:04:55 -07:00
jampot5000
9873eee53a Make getStencilBits static
Made getStencilBits static so it can be called.
2013-05-11 16:58:02 +02:00
Jeffrey Kog
109d4ff134 RenderGameOverlayEvent.Post(ALL) is now called in GuiIngameForge 2013-05-09 14:27:59 +02:00
LexManos
ec755e09d0 Attempt to allocate a 8-bit stencil buffer when creating Minecraft's display context. If that throws an error it will revert back to it's default values.
Also contains a method for modders to rereive how many bits the context was created with. Closes #552
2013-05-08 17:13:19 -07:00
LexManos
2b7cd66f9a New RenderPlayer and RenderLiving events. Closes #493 2013-05-08 16:30:59 -07:00
micdoodle8
b28910e722 Separate EQUIPPED and EQUIPPED_FIRST_PERSON Item Render Types 2013-05-04 16:59:47 -04:00
LexManos
3242904b36 Fixed hardcoding of MC version in debug text. 2013-04-28 17:10:16 -07:00
LexManos
2c05258205 Update to 1.5.2 PR.
MinecraftForge/FML@f0bba74a47 Update for minecraft 1.5.2
MinecraftForge/FML@62fdbad74c Update MCP's md5 for the fixed srg files.
2013-04-28 13:28:40 -07:00
Christian
6e2d06c950 Add forge/FML data to the f3 screen. 2013-04-21 16:54:11 -04:00
LexManos
c0d7e23c8d Merge remote-tracking branch 'refs/remotes/origin/GuiIngame'
Conflicts:
	patches/minecraft/net/minecraft/client/Minecraft.java.patch
2013-04-21 10:42:17 -07:00
LexManos
13ff75bd9c Fix the BLOCK_3D render helper for items that aren't an instance of ItemBlock Closes #533 2013-04-20 11:12:35 -07:00
LexManos
11115d5f3a Forge now takes control of GuiIngame's renderGameOverlay, and spits out a ton of events to give modders control of how the screen is rendered.
Inital draft for community feedback.
2013-04-17 18:55: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
Christian
a09c5ad484 Fix offset in AdvancedModelLoader. *doh* 2013-04-10 20:27:29 -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
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
2ee07bb250 New hook to allow Items to provide there own armor models. Closes #487 2013-04-10 18:30:24 -04:00
LexManos
6b0d1bb319 Deprecate IArmorTextureProvider, moved to Item. And exposed more information to the function. Closes #365 2013-04-04 17:28:50 -07:00
LexManos
3d9629013b Update to 1.5.1 Pre-Release:
MinecraftForge/FML@9565529baf Updated to latest MCP and Minecraft 1.5.1 Pre-release.
MinecraftForge/FML@a573faf92d Someone derped up this function bad, revert name.
2013-03-19 18:09:48 -07:00
LexManos
8aca6b4193 Updated FML:
MinecraftForge/FML@3c346247e1 Fix NPE with CoreMods who do not have the new MCVersion annotation.
2013-03-19 13:49:31 -07:00
LexManos
2395699afd New TextureStitchEvents called before and after a TextureMap gathers and stitches textures together.
Also added a config option to diable the writing of resulting stitched textures to disc. Default disables the writing.
2013-03-17 20:07:30 -07:00
iChun
44e690b8de [Bugfix] One should not assume an item would use the item spritesheet.
Item class has a func to return an int to use terrain.png or items.png. This makes forge take account of it.
2013-03-13 20:36:32 +08:00
LexManos
2c07b18e1a Fix compile error, forget to flush to disc. 2013-03-06 19:26:29 -08:00
LexManos
6b5a086be3 Readd second render pass to TileEntities and Entities, patches were missed when merging in master branch. As note, CB can DIAF. 2013-03-06 19:18:26 -08:00
LexManos
9bd8f2697c Updated Forge to s13w09c 2013-03-02 03:08:27 -08:00
LexManos
a04e7912b0 Sync up with FML, Will not run nativly as you need deobfusication_data.zip in your libs folder.
We have not setup the download for that yet, to make it yourself just zip joined.srg name it deobfusication_data.zip and put it in lib
2013-02-28 03:53:42 -08:00
Christian
082ee1a5ea Merge branch 'master' into snapshot15
Conflicts:
	fml-src-1.4.7-4.7.22.539-master.zip
	fml-src-1.4.7-4.7.35.556-master.zip
	fml-src-13w02b-4.99.16.541-snapshot15.zip
2013-02-27 23:19:11 -05:00
LexManos
1c57f03722 Add item frame transformations to the EntityItem render helper Closes #407 2013-02-15 04:10:49 -08:00
Chicken Bones
323517e88b Gave entities and tile entities access to the second render pass for translucency. 2013-01-23 03:07:00 +10:00
LexManos
ea57a46227 Removed some dead code, We don't bind custom tessellators 2013-01-12 05:24:16 -08:00
LexManos
170585960b Some small code cleanups. 2013-01-01 20:57:45 -08:00
LexManos
d6c4f37eb5 Fixed items dieing improperly due to new EntityItem sync changes, also made items render offset when rendered in 3d. 2012-12-18 06:56:28 -08:00
LexManos
a2f4a0d2dd Inital update to 1.4.6, Version bumped to 6.5 2012-12-17 22:33:28 -08:00
LexManos
e7008ae750 Manual import fixes 2012-12-12 23:27:57 -08:00
LexManos
061ab81041 Automatically resolved imports. 2012-12-12 21:58:35 -08:00
LexManos
ee0763fb4a Add CloudRenderer for PR #304 2012-12-12 01:35:18 -08:00
LexManos
c19ae55885 Update FML: Updated MCP mapings, and fixed StartServer 2012-10-31 10:16:46 -07:00
LexManos
4a4166fe7e Update for new names in 1.4 2012-10-21 10:00:02 -07:00