Commit Graph

1275 Commits

Author SHA1 Message Date
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
Christian 727e27e191 Removed obsolete patches
Updated FML:
MinecraftForge/FML@26ccb9106e Change snooper/crash report brand handling. fmlbranding now loads another string!
MinecraftForge/FML@eff464cf0e And the core patches for that
2013-03-30 12:18:10 -04:00
Christian 5ad133c664 Sanity check the item ID for loaded liquid stacks better. 2013-03-29 21:43:59 -04:00
Christian 8a4a62ab4e Add in persistence code for LiquidTank. Using it should protect against liquids that get removed f.e. Closes #395 2013-03-29 16:21:17 -04:00
Christian b1e7248a67 Make liquidstacks immutable in their type data. Sorry about this, but it makes things a lot easier. 2013-03-29 15:40:45 -04:00
Christian fc976c7714 Fix up liquidstack so it knows about the texture sheet for it's icon 2013-03-29 12:42:55 -04:00
Christian 6b1c46cc4a Fix AT file 2013-03-28 17:41:18 -04:00
Christian b4116f1f31 Fix possible NPE in ChunkManager. Closes #478 in reality 2013-03-28 08:19:24 -04:00
Christian a7108bc2ff Fix up some liquid logic 2013-03-28 08:07:09 -04:00
Flow86 41ed59f424 fix bug #489 from #429 2013-03-28 08:07:09 -04:00
Krapht 6fe6912456 made BlockFluid.theIcon protected 2013-03-28 08:07:09 -04:00
Christian 5ac0e3a621 Updated FML:
MinecraftForge/FML@0d84487412 Fix up derp in access transformer
2013-03-27 19:27:37 -04:00
Christian 7cfb28fecb Fix hashCode 2013-03-27 19:27:00 -04:00
Christian 91cecec28a Use the liquid name in liquid stack persistence. Closes #429 2013-03-27 19:09:57 -04:00
Christian e5315714a9 Updated FML:
MinecraftForge/FML@2bc6a0666f Attempt to make any "default package" class public. This might fix problems with certain modloader mods that ship changes to vanilla classes.
2013-03-27 16:56:01 -04:00
LexManos 2d08490a27 Bump version number for 1.5.1 Note: We really need to do this more... 2013-03-26 20:49:44 -07:00
LexManos dc05f210f5 Fix NPEs when modders stupidly register null texture names. 2013-03-26 11:11:31 -07:00
LexManos 9bb558078b Fixed issue with Event.hasAnnotation ignoring it's parameter. And cached its values for potential performance gain. Closes #482 2013-03-26 10:38:55 -07:00
Christian 891527883e Damn you python and your tab obsession! 2013-03-23 23:25:08 -04:00
Christian 626ae3a725 Changelog fixup 2013-03-23 23:18:24 -04:00
Christian 93a629dd95 Re-enable changelog? Hopefully... 2013-03-23 22:31:28 -04:00
Christian ada4bff990 Merge branch 'mithionchanges' 2013-03-23 22:03:18 -04:00
Christian 177b5123c9 Update patches! 2013-03-23 22:02:58 -04:00
Christian 8e1c8f25f3 Merge branch 'mithionchanges' 2013-03-23 16:57:03 -04:00
Christian 300f471c57 Merge branch 'mithionchanges' of github.com:Mithion/MinecraftForge into mithionchanges
Fix up code for minecraftforge style. Clean up patches.

Conflicts:
	common/forge_at.cfg
	patches/minecraft/net/minecraft/block/Block.java.patch
2013-03-23 16:56:01 -04:00
Christian f483adf8bb Updated FML:
MinecraftForge/FML@82bc9f1b35 Add some information, and a log message letting you know it worked
2013-03-23 16:01:49 -04:00
Christian d8a1cb87ca Updated FML:
MinecraftForge/FML@ede93d438f Validate supplied stack size
MinecraftForge/FML@d73ac867df Add a mechanism to dump the registry- useful for mod developers.
2013-03-23 15:40:05 -04:00
Christian 541425309b Updated FML:
MinecraftForge/FML@5e1949eb0e Clone the itemstack, and allow for passing in a stacksize
2013-03-23 14:58:56 -04:00
Christian 23f4c8d817 Updated FML:
MinecraftForge/FML@2d368c4c2e Itemstacks in the GameRegistry (manual registration by mods)
2013-03-23 14:49:33 -04:00
Mithion b8856e9ed9 quick bugfix in entityenderman
reversed boolean check on event result
2013-03-23 14:15:20 -04:00
Mithion e13dff305e Ender Teleport Changes
Renamed Ender Teleport Event and added it in to ender pearls.
2013-03-23 14:12:42 -04:00
Mithion 81ff5d7896 Enderman attackEntityFrom changed
Changed so that if the teleport fails upon being attacked, Endermen will
take damage as normal.
2013-03-23 13:40:13 -04:00
Mithion 4de9793ec9 Enderman Teleport Event
New event when an enderman teleports that allows the teleport location
to either be modified or completely cancelled.
2013-03-23 12:59:06 -04:00
Mithion 833e9f0c88 Access Transformer Changes
AT changes and corresponding class changes.
Additions (all made public):
EntityLiving.targetTasks
PotionHelper.potionRequirements
PotionHelper.potionAmplifiers
PotionEffect.duration
Potion.setIconIndex
Item.setPotionEffect
Block.blockHardness
Block.blockResistance
2013-03-23 12:58:24 -04:00
Christian 4de9140a34 Add in block rotation support. It supports most vanilla blocks (hopefully), logs should be added soon. 2013-03-23 11:56:58 -04:00
Christian 88d3723e4e Fix itemframe render bug 2013-03-23 10:23:26 -04:00
Christian baf43da9a0 Fix AT config for texturemap 2013-03-22 16:54:42 -04:00
Mithion ee6dce2390 Player Flyable Fall Event
Adds an event to EntityPlayer that is posted on player fall when the
player has flight capabilities.
2013-03-22 15:05:58 -04:00