Commit Graph

254 Commits

Author SHA1 Message Date
LexManos c96b923e1c Fixed issue where ChunkPriderEvent.InitNoiseField used the wrong sizeY value. 2013-01-01 20:55:37 -08:00
LexManos 9fe0b4dfba Fix issue where dungeon loot table had wrong values. 2013-01-01 20:54:55 -08:00
Christian e2dc263f12 Fix noisy exception logging 2012-12-30 21:30:48 -05:00
Christian 19347c5322 Update for MC 1.4.7
Update FML: f7cc50b
2012-12-28 12:06:56 -05:00
LexManos 46440588fe Fix mobs spawning on inverted slabs/stairs. 2012-12-27 13:50:13 -08:00
LexManos 91c8ca5379 Fixed typo in dungeon loot 2012-12-25 22:03:11 -08:00
LexManos 263e919384 Fixed issue with Efficancy enchatment when connected to vanilla servers. 2012-12-25 22:02:30 -08:00
Uristqwerty 09ab39a238 Force parent ListenerListInsts to rebuild.
Without this change, it is possible (and, in fact, nearly guaranteed) for lists to rebuild endlessly if a parent list is marked as needing a rebuild but never actually read. This change forces the parent list(s) to rebuild as well, resulting in a significant performance increase and smoother framerate due to greatly reduced GC activity.
2012-12-24 20:40:09 -05:00
LexManos e34e3a44fe Fixed parameter ordering u.u 2012-12-24 01:39:08 -08:00
LexManos e78b825875 Re-write/Deprecated DungeonHooks loot tables, now uses ChestGenHooks like the rest of the world gen. Also fixes issue #330 by adding in enchanted books.
Should be API compatible.
2012-12-24 01:29:33 -08:00
Christian 3ee114c9b4 Some access transformations to allow mystcraft to work again. Closes #331 2012-12-23 15:32:25 -05:00
Christian 71fc299ac7 OK. AT the right thing, and add in a call to always get the right thing. Clean up patch fuzz too. 2012-12-20 08:48:14 -05:00
Christian a085a9c95e Access Transform a couple of methods 2012-12-20 08:25:39 -05:00
LexManos 09505c636c Fixe BiomeDecorator AT entry. 2012-12-19 13:42:22 -08:00
Christian d8dda4c2fd And fix up the other equals 2012-12-18 18:12:22 -05:00
Christian c976aae00c Fix comparing ItemStack tags for equality 2012-12-18 18:02:41 -05:00
Christian 0b9727305e Fix accidentally removed not-deprecated methods.
Update FML: d604e44
d604e44 InterModComms now supports a runtime polling based model for inter-mod comms at runtime. Deprecate method that shouldn't be used. COPY it's content to your mod. Don't CALL it.
8b7778c Don't be as alarming about item overwrites.
2012-12-18 14:17:56 -05: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 9833c5652c Removed all functions marked as deperacted for the new MC version 2012-12-18 05:28:09 -08:00
LexManos a2f4a0d2dd Inital update to 1.4.6, Version bumped to 6.5 2012-12-17 22:33:28 -08:00
LexManos a4c790c969 Update AT for repackage 2012-12-12 23:46:01 -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 52e87dd165 Bump version to 6.4.2 to mark the merge of TerrainGen branch. 2012-12-12 18:34:16 -08:00
Christian 3ed793bce5 Merge branch 'terraingen' 2012-12-12 21:13:20 -05:00
LexManos 910f9e852f Make BlockButton.sensible protected and non-final 2012-12-12 02:48:30 -08:00
LexManos 0433190b01 Expose BiomeDecorator fields for custom Biome information, Issue: #239 2012-12-12 02:42:13 -08:00
LexManos 76d6bc3cfa Fixes crash when mods add TreeMaps to the Configuration map, thanks AtomicStryker, PR: #282 2012-12-12 02:20:46 -08:00
LexManos c68dfae100 Fix type in ForgeChunkManager.ticketCountAvaILableFor, thanks iChun PR: #285 2012-12-12 02:16:23 -08:00
LexManos 17637de863 Made BlockButton.func_82535_o overrideable for issue #311 2012-12-12 01:05:18 -08:00
LexManos 33901fb968 Made GuiContainer.drawSlotInventory overrideable for issue #312 2012-12-12 01:03:00 -08:00
LexManos 9c8fb046be Fix ForgeDirection.ROTATION_MATRIX for issue #313 2012-12-12 01:02:24 -08:00
Scott Killen 768484d393 For @XCompWiz, added a hook to allow mods to dynamically change the color that water is rendered. 2012-12-07 16:43:15 -05:00
Scott Killen 69ac1fa3a5 Added terrain gen events
Added biome color events for @XCompWiz
2012-12-07 16:43:15 -05:00
Christian 6bc367f005 Fix static method, closes #271
Don't spam the log if a mod requests a ticket beyond their maximum. A single message is fine.
2012-12-06 16:14:15 -05:00
Chicken Bones f1e3481c0a Add Chunk Watch and UnWatch events. 2012-12-06 09:11:20 -05:00
Abrar Syed 5cb03bc07d fix List configs 2012-12-06 09:09:34 -05:00
GuntherDW 021ec72f11 Fix typo in chunkmanager config 2012-12-06 09:31:06 +01:00
LexManos 742e93caec Fix issue with DimensionManager.shouldLoadSpawn 2012-12-04 02:01:01 -08:00
Christian e3dfb1e3b7 Fix #289 2012-12-02 22:00:12 -05:00
Christian 784ad96194 Add in some additional ticket loading callbacks for ChickenBones. Closes #284
Add in a call to determine if there are possible chunktickets for a world. This should let
Mystcraft and other dynamic world generating mods check if they should immediately load
a world based on existing chunk tickets.
2012-12-02 00:56:53 -05:00
LexManos fdb2933ceb Fix logic issue in ForgeChunkManager.ticketCountAvaliableFor(username) PR 2012-11-29 04:04:03 -08:00
LexManos 096989d4eb Small change to fix loading configs. 2012-11-27 22:43:23 -08:00
LexManos 4a748beb69 Fix potential NPE in EntityJoin handler and print warning. 2012-11-27 16:12:54 -08:00
LexManos cbe52abe42 Exposed some ChunkLoader information for PR #278 2012-11-27 15:28:59 -08:00
LexManos 7b6d65ce85 Small tweak to config to use Treemap 2012-11-27 14:53:43 -08:00
LexManos 530c19293b Fixed AIOOB issue with new sanity check in getBlock 2012-11-27 12:24:52 -08:00
LexManos 50426ea0fe Fix potential NPE in saving a property that didn't define a type. 2012-11-27 02:14:20 -08:00
LexManos 81b5db6f37 Added new functions to the Config class to allow for specification of comments when getting properties.
Added new getTerrainBlock whihc will limit the resuling ID to < 256, useful for world gen.
Calls to getBlock with IDs less then 256 will be assigned values above 256 {Thus freeing up terrain gen slots}
Made ConfigCategory implement Map<String, Propertery> should fix compatibility with most mods that broke two builds ago.
2012-11-27 02:06:29 -08:00
LexManos adc2d61feb Merge pull request #277 from Xhamolk/patch-1
OreDictionary addition: getOreID(ItemStack)
2012-11-27 00:28:29 -08:00
LexManos 88f9fa75c9 New nested configuration category support, for PR #258 2012-11-26 23:46:01 -08:00
LexManos 07a6e4ed5f Fixed random chest items not generating to there max stack sizes. 2012-11-26 20:25:35 -08:00
Xhamolk_ c0276a63f7 OreDictionary addition: getOreID(ItemStack)
Allow getting the oreID from a ItemStack, as an alternative from getOreID(String).

Now is easier to exchange items for their equivalencies through the OreDictionary.
2012-11-26 21:22:11 -06:00
iChun 1e8c2a9acf Add check that Entity saves to disk before saving entity to saved chunkloading data.
Returning false to addEntityID prevents the entity from being saved (cred to LexManos)
Entities which do not save to disk but are chunkloaders causes errors the next time the world loads. This ought to fix it.
2012-11-24 16:27:17 +08:00
Christian 913f3adade Stupid eclipse resetting preferences. Spaces, not tabs!!! 2012-11-18 19:33:15 -05:00
Christian ed252ad8ed Add in events when forcing and unforcing chunks. Hope this works for you ChickenBones! 2012-11-18 19:28:02 -05:00
Christian 7306c0c1f3 Update to MC 1.4.5
Update FML: 43d3042
43d3042 Clean up a patch
fec221f Update FML for MC 1.4.5
b0f0635 Fix for ModLoader static overrides not displaying.
23a2513 Fix up derpy file name handling: closes #127 Fix up duping childmods: cl
a6eaa2b Fix spelling issue.
c6a0741 FML setup should now download and verify all the minecraft files needed
5a1930e Small fix to some MCP metadata for pre2
418deba Update to MC 1.4.4
4ff2cff Fix bug when a modloader mod is run on a dedicated server and has a conn
2012-11-16 17:06:12 -05:00
Christian ca16b4b1bd Some liquid events. Non-API breaking. Add them at your leisure. This helps liquids know
what's happening to them. In case they're volatile or something ;)
2012-11-16 01:28:29 -05:00
Christian da00985e5f Another difference 2012-11-15 21:54:19 -05:00
Christian 5a72d49359 Fix fillLiquidContainer - return null, not the empty container for
previous API compatibility
2012-11-15 21:46:38 -05:00
Christian 0f7811624b Change name to LiquidContainerRegistry. Fix up missing API. This better be it now! 2012-11-15 06:43:16 -05:00
King Lemming 213fb9bd1a Fixed oversights in liquid registry, added functionality for instant checks as requested by CJ.
Liquid list return is now secure.

Signed-off-by: King Lemming <kinglemming@gmail.com>
2012-11-15 02:43:35 -05:00
Christian 223aca8a28 Rename some liquid stuff for more sensible naming. Tweak API slightly. 2012-11-14 21:22:44 -05:00
King Lemming 73a2a5d78a Liquid Manager Rewrite - slightly more memory usage, loads more efficient at runtime.
Added default Lava and Water registrations to Liquid Manager.
Removed method which relied on flawed assumption that a given liquid only had a single type of container.

Signed-off-by: King Lemming <kinglemming@gmail.com>
2012-11-14 20:27:47 -05:00
Christian a759353afa Add in the basic IBlockLiquid interface. The actual block implementation
will follow.
2012-11-13 21:54:57 -05:00
Christian 2fb5ea1008 Change getLeft to getRotation, around any axis. 2012-11-13 15:05:49 -05:00
Christian 1072a8f0ae Some new stuff on the liquid API for better RP2 interaction. Coming soon: blocks! 2012-11-13 14:27:31 -05:00
Christian 52ac3c1af8 Tweak liquidcontainer API for sidedness capability 2012-11-12 21:41:46 -05:00
LexManos 95ec601569 Fix breaking despite cancel in creative mode for PlayerInteractEvent OR #247 2012-11-12 17:34:26 -08:00
LexManos 9803c9e83e Added saplings and leaves to the ore dict. PR: #242 2012-11-12 17:07:33 -08:00
Christian 58fc306bf2 As agreed, liquid API from BuildCraft has been migrated to minecraft forge. There will be cleanups to follow,
including sided handling and client rendering tweaks. Stay tuned!
Tweak forgedirection for a couple of naming constants
2012-11-10 21:27:08 -05:00
Christian 477e9bfc2b Add toLeft rotational data to ForgeDirection 2012-11-09 22:51:37 -05:00
LexManos ba55660dc8 New field in ForgeDirection to hold just the valid directions. And made getOrientation a bit more efficient. 2012-11-09 18:00:03 -08:00
LexManos c8753aa104 Bumped version number for 1.4.4 2012-11-08 20:44:17 -08:00
LexManos e73cbd088f Update to 1.4.4 2012-11-08 20:19:12 -08:00
LexManos 955683349d Ore Dictionary Improvements, replaces vanilla recipes with OreDict recipes for some vanilla items. Thanks Covert. 2012-11-05 16:15:43 -08:00
LexManos 207843e279 Made Item constructor public, and made setTextureFile chainable, requires mods to recompile, but as this is for 1.4.3 i'm not concerned. 2012-11-04 15:42:04 -08:00
LexManos 2f0dcebbf9 Readdaed teleporter sensitive versions of the teleport function
Added per-world list of custom teleporters, Modders, use World.Load to populate this list.
Changed the definition of our version schemes.
2012-11-02 22:16:32 -07:00
Christian 0f3b030a1d Temporary update for 1.4.3
Update FML: bd2123c
bd2123c Clean up some patch fuzz
c2a603c Update joined.exc file from latest conf
db12af4 Update to 1.4.3
2012-11-02 18:40:43 -04:00
LexManos c19ae55885 Update FML: Updated MCP mapings, and fixed StartServer 2012-10-31 10:16:46 -07:00
LexManos bcc8dcd30c Merge pull request #232 from CovertJaguar/patch-7
Added vanilla wood + dye to the Ore Dict
2012-10-28 07:45:48 -07:00
LexManos 820d61d56d Added Stonghold, Village, and Spawn biome management helpers for PR 207 2012-10-28 07:38:38 -07:00
CovertJaguar 9bb6726d31 Added vanilla wood + dye to the Ore Dict
Should help simplify interaction between mods that add similar items.
2012-10-28 07:24:01 -07:00
LexManos f72f6ab7b0 Exposed functions for adding superflat presets. 2012-10-28 06:38:44 -07:00
LexManos d7de1e8be2 Remove some debug code 2012-10-28 05:42:55 -07:00
LexManos 887b083782 EntityLiving.experianceValue private->public for Issue #225 2012-10-28 05:21:58 -07:00
MinecraftForge eb96aa9d04 Merge pull request #231 from ShadwDrgn/master
ServerChatEvent
2012-10-28 04:53:10 -07:00
ShadwDrgn 24cec145ca Add event to cancel or change chat messages sent from server 2012-10-28 07:50:57 -04:00
ShadwDrgn 77bd22d3c1 Add event to cancel or change chat messages sent from server 2012-10-28 07:31:53 -04:00
LexManos 5650ae7ee9 Added system to place all configs that use Forge's Configuration function into a single file on disc. Optional config to enable this. Blame MattaBase for this idea.. 2012-10-28 04:18:12 -07:00
LexManos dc7db59f74 Pickblock will new compare NBT data, should allow mods to refine there result better. 2012-10-28 04:15:53 -07:00
LexManos c689a982b5 Added a per-world MapStorage feature that provides a method to store data files associated with a specific world, as well as fixes the issue with villagers loosing there village. {Where villagers wouldn't go inside at night} 2012-10-26 22:37:41 -07:00
Christian efcda1a946 Fix the accessor and type on World.getPersistentChunksFor()
Update FML: 8bd98c3
8bd98c3 Fix a small problem with the new MCP container- it can cause NPEs. Nice.
34cc42d Fix up some javadoc complaints
2012-10-26 21:13:56 -04:00
LexManos 0cb74abe8b Update to 1.4.2, obf stayed the same, so only small revision. 2012-10-24 13:55:04 -07:00
Christian 8489ca051d Add an access transform for Block.setBlockBounds - should help a lot of code that uses this.
Update FML: d915f39
d915f39 Fix typo in access transformer
346691c Fix the merge for forge
6dadc1d Fix up references to minecraftDir in obf code
8a55f68 Update FML for Minecraft 1.4.1
5645fa5 First update to 1.4.1, patches need updating.
ff0f00f Add some null checks, and throw descriptive exception when SideTransformer prevents a class from loading.
2012-10-23 21:53:45 -04:00
LexManos 043f570ff9 Update to MC 1.4.1 and Forge 6.0.0 2012-10-23 16:04:58 -07:00
LexManos 5ca845f069 Fix up the setHandeled/setHandled for events, it is now a generalized setResult, the meaning of which is defined by each event. 2012-10-22 00:29:28 -07:00
LexManos ad51183584 Cleanup mirrored things in ShapedOreRecipe to address issue 208 and issue 210 2012-10-21 23:19:11 -07:00
LexManos a09ea82fc7 Remove deprecated code. 2012-10-21 23:18:09 -07:00
LexManos 2e4a43e875 Updated Forge version to 5.0.0, for 1.4 2012-10-21 10:27:07 -07:00