Commit graph

1562 commits

Author SHA1 Message Date
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
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
LexManos
a44bd6dadf Add function to remove categories from a configuration, indavidual properties can be removed using ConfigCategory.remove() Closes #462 2013-04-04 18:09:01 -07:00
LexManos
814123a973 Pulled Biome Tag System by Emasher, Closes #433
An issue with biome adding mods which is becoming increasingly annoying for players, is that many mod authors that add biome specific world generation or mobs in their mods, for the most part, hard code them to work with vanilla biomes only. This becomes a huge problem when it's difficult to even find a vanilla biome, let alone a specific one, when biome mods are installed.

A simple solution to this problem is a tag system for biomes that allows mod authors to set up their world generators, or mobs to generate or spawn in biomes that have been registered with a specific tag such as "FOREST", or "FROZEN". I wrote such a system a few months ago, which I've been using with my own mods, and have made available to anyone who wants to use it. Since then, I've had requests from mod authors and players alike to try and get it, or at least similar functionality, into Forge, where other mod authors will be more comfortable using it.

Aside from the tags, it also includes a rule based system to classify biomes that have not already been registered with it when information is requested on them (You can opt out of this by registering a biome as type "NULL"). And additionally, the ability to register IWorldGenerators for specific biomes, or biome types (tags) to speed up chunk generation a little bit.
2013-04-04 17:55:35 -07: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
488322baa2 Add checking for 'ENUM$VALUES' in EnumHelper. Eclipse uses it's own internal compiler which does not follow the java standard of making the values field names $VALUES and private. Instead its public and ENUM$VALUES. Closes #502 2013-04-04 16:04:04 -07:00
LexManos
b3a814785c Updated FML: MinecraftForge/FML@570faeb790 Added the ability to save transformed classes to disc for debugging. 2013-04-04 16:02:00 -07:00
LexManos
bbe0c3c4bb Revert MinecraftForge/MinecraftForge@f594109b30 If concurancy issues arise we will reassess. The provided solution caused entities to be removed incorrectly and cause 'invisible' entities client side. 2013-04-03 04:07:01 -07:00
LexManos
0b16831ce9 Fix EntityPlayer passed to Bonemeal event. 2013-04-03 02:27:07 -07:00
LexManos
42875b70d9 Removed index bounds checking in some chunk functions, if you error blame Grum. 2013-04-03 02:07:51 -07:00
LexManos
6df717db5a Fix off-by-one in rotated textures. 2013-04-03 01:32:33 -07:00
LexManos
39ccc2e150 Fix vanilla texture bug causing rotated textures to be placed wrong. 2013-04-02 23:51:53 -07:00
Christian
5b03eb9792 Updated FML:
MinecraftForge/FML@8b8837c9ff Fix NPE when branding isn't present
2013-03-31 10:02:14 -04:00
cpw
0b50c01fa5 Merge pull request #496 from Krapht/master
Remove a SideOnly that crashes server
2013-03-31 06:50:24 -07:00
Krapht
1ec2810bac Remove unneeded SideOnly. ref: Buildcraft/Buildcraft#710 2013-03-31 09:04:49 +02:00