cpw
c474da04b3
Two more corner cases in the oredictionary. Should work for all cases now.
2015-11-09 15:20:53 -05:00
cpw
a92f2a263b
OreDictionary will warn if there's an invalid ore being registered now, rather than just
...
using -1 and doing weird things with the list as a result.
2015-10-29 12:46:12 -04:00
cpw
945d3887d2
Fix substitutions for recipes and oredict recipes. Should mean that substitutions start working properly.
2015-10-29 08:46:23 -04:00
King Lemming
cd3bbfb02c
Adds some new Ore querying functionality.
...
Also attempts to size initial Hashmaps in a logical manner.
Signed-off-by: King Lemming <kinglemming@gmail.com>
2015-04-16 17:18:37 -04:00
LexManos
475d7fc02d
Revert KL's change, requesting a ore WILL register it.
...
Registering like this and returning a new empty list allows for modders to register their recipes and such without requiring to be executed after someone actually adds an item. If handled properly this allows for more flexible load orders, and more responsive code.
2015-04-13 21:28:16 -07:00
King Lemming
3cd7f6bd87
Adjusts OreDictionary to prevent invalid registrations.
...
Getting Ore Names for a non-existent ore will no longer automatically add that Name to the list nor generate an ID.
Tweaks a warning message in the FluidContainerRegistry. No functionality change.
Signed-off-by: King Lemming <kinglemming@gmail.com>
2015-04-13 22:40:38 -04:00
LexManos
93445248e6
Merge pull request #1503 from Kittychanley/master
...
Removed exclusion of white stained glass recipes in ore dictionary.
2014-12-23 12:13:17 -08:00
Lex Manos
9cf9d6a8e8
Add "sand" to the OreDictionary Closes #1487
2014-12-07 00:44:20 -08:00
Kittychanley
4e79117755
Removed exclusion of white stained glass recipes in ore dictionary. Closes #1502 & #1481
2014-11-21 14:13:24 -06:00
Christian
1275aa732e
Null check the Item in the supplied stack as well as the stack itself.
2014-06-22 14:47:24 -04:00
Zarathul
e68cfa9f72
Fixed ArrayIndexOutOfBoundsException in getOreName
...
Added sanity check to prevent ArrayIndexOutOfBoundsException in getOreName for negative ids.
2014-06-16 23:00:40 +02:00
LexManos
c45ed6f6d8
Changed dustLapis to gemLapis to make OM SHUT THE HELL UP.
2014-06-11 22:43:15 -07:00
Lex Manos
dd5b51aac1
Fixed missed metadata offset, and now cache return values of getOres for speed.
2014-06-11 10:27:28 -07:00
Lex Manos
7a43d2f96a
Rework OreDictionary's internals to be a bit more speedy to help combat modders using it inapropriatly. Closes #1022 Closes #1131
2014-06-10 18:05:09 -07:00
Lex Manos
03ae909762
Fix inverted parameters in OreDictionary.getOreID Closes #1123
...
-.- Closes #1120
2014-06-04 23:09:13 -07:00
ganymedes01
6924fef324
Fix getOreIDs not using the wildcard value correctly
...
You can see it's not working by requesting the ore IDs from lapis, and you'll see the name "dye" is missing (and that's the one registered using the wildcard).
Fixed it by inverting the order of the item stack parameters.
2014-05-25 19:15:26 -03:00
Lex Manos
25ef7e3469
Prevent duplciates in registered Ores in the OreDictionary and clean up some of the code, add new function to return all ores the specified ItemStack satisfies. Closes #1102
2014-05-25 14:20:02 -07:00
Lex Manos
243aa60bf9
Add Glass, Colored glass, ore storage blocks, alines, and a few others to ore dicitonary. Closes #1011
2014-05-24 13:01:35 -07:00
planetguy32
fd59ab261f
Fix infinite loop in RecipeSorter
...
If recipe is multiple levels of inheritance from Object and not categorized, cls=cls.getSuperclass(); needs to be repeated more than once. It must therefore be moved to inside the while loop.
2014-04-12 20:04:02 -07:00
DemoXin
488eb30272
* Fixed Items.glowstone to Items.glowstone_dust
2014-02-28 02:54:50 -05:00
DemoXin
58fde290f8
* Added Ore Dictionary entries and recipe replacements for Diamond, Emerald, Crops, Redstone, and Glowstone
2014-02-27 22:48:33 -05:00
Lex Manos
796b53f549
Exclude cobblestone slab recipe from ore dictification, closes #940
2014-01-24 16:44:23 -08:00
Lex Manos
adf0e3ab7d
Add BookCloning to the recipe sorter.
2014-01-20 14:04:34 -08:00
Lex Manos
baf95e747a
Fix warnings in Forge codebase.
2014-01-17 21:55:48 -08:00
Lex Manos
9ee5053b71
Fix:
...
Block placement/interaction
Tesselator crash due to wrong mapping
Missing isreplaceable check in world.canPlaceAt
Small foratting/logging cleanup
Temporarly commented out efficancy changes till I implement it.
2013-12-22 18:25:26 -08:00
Lex Manos
a6c45a7ade
Inital patch update for 1.7.2, Doesn't compile, not done yet.
2013-12-22 03:06:10 -08:00
Christian
ae478c92a2
Moved the core event handler parts to FML. Implemented the Forge network handler based on the new
...
netty strategy.
Updated FML:
MinecraftForge/FML@3b2994a3de Some patching touchups
MinecraftForge/FML@557357fe17 Update for log4j2
MinecraftForge/FML@a2b324beb2 Copy eventhandler from Forge into FML. It is going to replace a lot of the runtime event systems.
MinecraftForge/FML@4071ff38af Patch some GUIs. We're gonna add some basic mod gui config support.
MinecraftForge/FML@0b419ac79c Fire a user event down the channels when a handshake has occured.
2013-12-16 20:19:03 -05:00
Lex Manos
521b8a16c4
Some work on 1.7, waiting for Abrar to fix a few things.
2013-12-09 21:59:12 -08:00
AbrarSyed
797399ff7f
Step 2: The Reformation
2013-11-09 15:57:08 -06:00