Commit graph

1867 commits

Author SHA1 Message Date
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
LexManos
4bf2dbaeb7 Fixed issue with abandoned chunks. 2012-11-26 20:06:23 -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
cpw
26159e3ed9 Merge pull request #274 from iChun/patch-2
Add check that Entity saves to disk before saving entity to saved chunkloading data.
2012-11-24 11:14:21 -08: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
LexManos
9a1c12c492 Updated FML, proper free-sprite list for /gui/items.png, and fixed MCP version. 2012-11-21 16:07:20 -08:00
Zach Laster
17151718aa Fixes ordering for z & x loops (proper array increment order)
The ordering before would skip about in the ids and metadata arrays.  This runs linearly and should improve performance.
Done live on github
2012-11-21 14:56:17 +02:00
XCompWiz
e8aaf81627 Fixes some weird formatting 2012-11-21 05:15:20 +02:00
XCompWiz
0eba8eeaab Adds a more intelligent chunk constructor
Adds a chunk constructor with full block id range, that's metadata
sensitive, has intelligent coord ordering, and which allows for
generation at greater heights than 127.
2012-11-21 05:05:51 +02:00
Christian
957afc4d62 Move server specific patch back to common from minecraft.
Update FML: 1f5c58b
1f5c58b Fix up MCP version
61e4db2 Merge joined.exc add update howto
5efc1eb Revert "Fix MC-2497 - derpy torch flames. Moved from forge. Everyone sho
3b3600d Modified merger to just consider all server classes as common. And moved
edcc5ca Forgot mcp.cfg
ca79dfe Updated to 1.4.5b
5945279 Fix python error
57bf643 Modified decompile so that we do not have to decompile the server, saves
d9d0a46 Cleaned up some tabs
2fac644 Change usage of ZipFile, fixes issues with Mac's default instation of py
2012-11-20 09:09:06 -05:00
LexManos
2e2751e5c0 Fix TE Issue 2012-11-19 20:05:16 -08:00
LexManos
5bc4d22bdd Updated to MC 1.4.5b 2012-11-19 16:03:52 -08:00
LexManos
ee266cd325 Removed GnuWin32 programs, should no longer be needed as we've moved to python. 2012-11-19 13:31:11 -08:00
Christian
f30daebbcb Update FML: 570592b
570592b Attempt to fix a possible comodification risk
2012-11-18 21:22:38 -05: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
7916c0dd77 Update FML: fde9414
fde9414 Change texturebinding to use the textureId directly rather than iconInde
2012-11-18 11:12:34 -05:00
LexManos
24f8d6be02 Fixed custom soil checks for NetherStalk and Reeds 2012-11-18 01:36:21 -08:00
LexManos
8bbe281de9 Fixed issue with default implementation of Beach plant type check 2012-11-18 01:35:48 -08:00
LexManos
6dafa3d0c2 Release script will now include the Minecraft version in the arcive names. 2012-11-17 22:58:34 -08:00
Christian
6a8a8a78c4 Update FML: f348496
f348496 Fix mod display list. Shouldn't be derpy anymore.
a5c31b5 Fix World patch- workaround no longer required and leftovers are bad.
2dc3f0d Cleaned up the AT config updater, should work for any setup of the MCP w
2012-11-18 00:17:21 -05:00
LexManos
5b324861a0 Fixed beds not working properly when respawning. 2012-11-17 17:52:37 -08:00
Christian
ba65c08f19 Remove EntityFX patch - moved to FML. Patch SuspiciousClasses to add "forge"
Update FML: fa56701
fa56701 Fix MC-2497 - derpy torch flames. Moved from forge. Everyone should benefit.
96935bb Fix an NPE in TileEntity trying to generate a crash report. Make suspicious classes just return the obvious. Fix NPE for FML crash report on server. Clean up dead pa
2012-11-16 23:06:37 -05:00
Christian
f13200e16a Fix the derpy torch flames properly. Closes MC-2497 properly ;) 2012-11-16 19:07:36 -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
LexManos
f55329bb97 Merge remote-tracking branch 'origin/master' 2012-11-15 14:21:54 -08:00
LexManos
a5b5c0f483 Update FML to fix ModLoader/addOverride functionality. 2012-11-15 14:20:22 -08:00
Christian
8a1f589db2 Merge branch 'KingLemming-master' 2012-11-15 06:44:43 -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
a3a6f281e0 Merge branch 'KingLemming-master' 2012-11-14 21:23:47 -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
5f2d1d1fc0 Add an ItemStack sensitive version of getIconForRenderPass, defers to
existing by default. Should allow NBT data to affect multipass icon rendering.
2012-11-13 16:01: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
2087b2b44e Allow for modders to decide whether or not players are positioned on ridingEntities similarly to pigs PR #244 2012-11-12 17:33:12 -08:00
LexManos
369f8ce38f Fix issue where players would spawn in the ground. 2012-11-12 17:29:14 -08:00
LexManos
5b82c5c20e Mods can use custom textures for Slot background overlay, instead of only items.png PR #245 and #246 2012-11-12 17:26:49 -08:00