Commit Graph

  • d0b24313d3 Fix MissingMapping REMAP action. Closes #4069 LexManos 2017-06-27 16:56:42 -07:00
  • 7281708df6 Repopulate client SearchTreeManager when registries are refreshed. Closes #4094 LexManos 2017-06-27 16:28:08 -07:00
  • b90d7a838e Fix Biome unit test LexManos 2017-06-27 16:27:29 -07:00
  • a4fb33d945 Add support for loading mod advancements from the mod jar files. LexManos 2017-06-27 15:18:52 -07:00
  • cab4f783e9 Fix error when using RegistryBuilder and not specifying a max id number. LexManos 2017-06-27 15:18:03 -07:00
  • c565984822 Allow the recipe registry to be modified. LexManos 2017-06-27 15:17:26 -07:00
  • 86b231ea77 Fix BiomeDictionary not collecting correctly. LexManos 2017-06-27 14:04:51 -07:00
  • 5aac07b5b1 Remove incorrect call to .toString() when instantiating custom config array entries. (#4078) BlayTheNinth 2017-06-27 07:54:49 +02:00
  • a480fa0821 Remove outdated patch to BlockDoublePlant Vincent Lee 2017-03-16 20:55:50 -05:00
  • c5ffe46f48 Fix substitution tests LexManos 2017-06-26 01:01:23 -07:00
  • 9a09ff68aa Remove some deprecated methods and clean up Ben Staddon 2017-06-15 19:26:14 +01:00
  • 7892ca922c Remove the call to client.refreshResources during loading (#4032) mezz 2017-06-25 22:13:58 -07:00
  • 0f7ec7e7fd Added dependencies and dependency ordering for textures. (#4070) Fry 2017-06-26 07:58:19 +04:00
  • 3ae30478db More work on registry override ability. Closes #4079 LexManos 2017-06-25 20:45:48 -07:00
  • 460abf1554 Fix ItemStack/Block/BlockSpecial not applying at runtime. LexManos 2017-06-25 20:45:07 -07:00
  • 51aa029bb1 Add a FluidUtil method to interact with an arbitrary IFluidHandler (#4080) Ben Staddon 2017-06-26 02:22:52 +01:00
  • 690c9bb76a Further Java 8 cleanup (#4077) ichttt 2017-06-25 23:25:57 +02:00
  • 878193152a Fix ItemStackTransformer not applying at runtime. LexManos 2017-06-25 13:17:53 -07:00
  • 3738a2e42b Fix missed side only on BlockFlower LexManos 2017-06-25 12:24:07 -07:00
  • 45147ac512 Fix ModelBlockAnimation expsing a private class. LexManos 2017-06-25 12:23:56 -07:00
  • 368d206cc6 Make Block.getSubBlocks not client side only. LexManos 2017-06-25 11:17:31 -07:00
  • dc043ac79f Cleanup of model system, taking advantage of java 8; replaced guava Optional and Function with java 8 versions. RainWarrior 2017-06-25 04:08:20 +03:00
  • 1c24600bbb Reload client recipe book after loading modded recipes. LexManos 2017-06-24 15:34:09 -07:00
  • b542179242 Make Dummy block an Air block. LexManos 2017-06-24 15:06:28 -07:00
  • 87054b01fb Fix NPE in MissingMappings event. Closes #4067 LexManos 2017-06-24 14:51:46 -07:00
  • efd8b38be9 Make getSubItems non-client only. Use it for Ingredient iteration. LexManos 2017-06-24 14:47:48 -07:00
  • 478a84e748 Fix Emerald generation causing chunk loading. LexManos 2017-06-24 14:47:11 -07:00
  • 405a16aea1 Fix minecraft:item_nbt ingredient type. LexManos 2017-06-24 14:46:51 -07:00
  • 72f037b0fa Add Block.getDrops that uses NonNullList, deprecate the old method. Fix #3567 (#3778) mezz 2017-06-24 02:45:22 -07:00
  • a8734e368d Remove arrival/departure message methods from WorldProvider (#2733) mezz 2017-06-24 02:02:56 -07:00
  • 27321efb1f Clean up logging mezz 2017-06-24 01:46:05 -07:00
  • e747a17ec3 Enable support for modded Fishing Rods. (#4011) KingLemming 2017-06-24 04:26:58 -04:00
  • c0188d3228 Use instanceof ItemFishingRod instead of item equality (#4060) KingLemming 2017-06-24 04:26:36 -04:00
  • 1b5da5d4fe [1.12] Cleanup of files with old licence headers, Add missing LGPL 2.1 licence headers (#4051) Ben Staddon 2017-06-24 09:25:23 +01:00
  • cb02f24cf2 Fix uncaught ClassCastException from invalid recipe file (#4043) Choonster TheMage 2017-06-24 18:24:54 +10:00
  • f670ec4f0b Fix onBlockClicked handler firing twice and Item.onArmorTick in the wrong place (#4037) TechnicianLP 2017-06-24 10:01:28 +02:00
  • d769d83224 Update MCP to 20170624 mezz 2017-06-24 00:56:21 -07:00
  • b0dfaa2b81 Remove Java 8 warnings now that Minecraft requires it Ben Staddon 2017-06-20 23:22:14 +01:00
  • 286f6a910b Fire AnimalTameEvent for parrots (#4003) Ben Staddon 2017-06-24 07:11:47 +01:00
  • b71ab7e444 Make ForgeRegistry iterator sorted. Closes #4058 (#4059) tterrag 2017-06-24 00:52:27 -04:00
  • dd42f84a47 Loosen up registry locks until data freeze. LexManos 2017-06-23 17:52:59 -07:00
  • d032a34aaa Fix conflicts LexManos 2017-06-23 11:21:55 -07:00
  • f4afb6f56c Implement override tracking and syncing. Overrides MUST be registered within a tracked event so we know what mod it came from. This will allow servers/saves to select which mod 'wins' and becomes to active entry. This should also mean that when connecting to a vanilla server things will revert. LexManos 2017-06-23 00:58:00 -07:00
  • 4b45eb8b68 Disable substitution test, substitutions are not managed the way they used to be. We do not care about substitutions, People who replace entries should make them compatible with the existing item. LexManos 2017-06-22 21:38:36 -07:00
  • e805b12df8 Fixup some registry tests, dummies are now persisted across syncing. LexManos 2017-06-20 23:45:32 -07:00
  • dee84dc1e4 More work, game loads and runs now. Moved Registry events to directly AFTER PreInit instead of before. This allows modders to register handlers for it without @EventBusSubscriber. It also allows you to register custom things needed before the construction of blocks or items such as Fluids. TODO: Move Fluids to a real registry. @ObjectHolder can now be used on private fields. Reworked FMLModIdMappingEvent to include data for all registries. Tile Entities are now registrable. LexManos 2017-06-20 18:39:55 -07:00
  • a26d89c876 First pass of registry rewrite. Tests do not run yet. Things of note: Removed the idea of substitutions, just register multiple items with the same name they will override each other like a normal map. Decoupled Forge registries from vanilla classes. They now use bouncer classes. MODDERS SHOULD NEVER USE THESE Introduced more stringent registry locking. As it sits things are only allowed to be registered during the RegistryEvent.Registry phases! This is to force modders to split up their registrations, and pave the way for calling these functions multiple times during a single MC lifecycle. ObjectHolder, Missing Mappings, etc... *should* now work for all registry types, nothing should be special cased to Blocks/Items anymore. Added optional generic dummy factory to registries, to allow registry creators the ability to dummy more then just Blocks. Re-worked the ItemStack transformer and applied it to ItemBlock and ItemBlockSpecial. Allowing us to cleanup reflective hacks in Block callbacks. Registry onAdd callback is now only fired on the ACTIVE registry, fixing any issues of temp registries overriding active objects. LexManos 2017-06-19 15:02:18 -07:00
  • c98b6fa8bb Fix conflicts noci-1.12.x-regrewrite LexManos 2017-06-23 11:21:55 -07:00
  • 8c28e2ae15 Implement override tracking and syncing. Overrides MUST be registered within a tracked event so we know what mod it came from. This will allow servers/saves to select which mod 'wins' and becomes to active entry. This should also mean that when connecting to a vanilla server things will revert. LexManos 2017-06-23 00:58:00 -07:00
  • a03ffbc860 Disable substitution test, substitutions are not managed the way they used to be. We do not care about substitutions, People who replace entries should make them compatible with the existing item. LexManos 2017-06-22 21:38:36 -07:00
  • 3437093256 Fixup some registry tests, dummies are now persisted across syncing. LexManos 2017-06-20 23:45:32 -07:00
  • 35b75ce9f1 More work, game loads and runs now. Moved Registry events to directly AFTER PreInit instead of before. This allows modders to register handlers for it without @EventBusSubscriber. It also allows you to register custom things needed before the construction of blocks or items such as Fluids. TODO: Move Fluids to a real registry. @ObjectHolder can now be used on private fields. Reworked FMLModIdMappingEvent to include data for all registries. Tile Entities are now registrable. LexManos 2017-06-20 18:39:55 -07:00
  • be80bc5e4c First pass of registry rewrite. Tests do not run yet. Things of note: Removed the idea of substitutions, just register multiple items with the same name they will override each other like a normal map. Decoupled Forge registries from vanilla classes. They now use bouncer classes. MODDERS SHOULD NEVER USE THESE Introduced more stringent registry locking. As it sits things are only allowed to be registered during the RegistryEvent.Registry phases! This is to force modders to split up their registrations, and pave the way for calling these functions multiple times during a single MC lifecycle. ObjectHolder, Missing Mappings, etc... *should* now work for all registry types, nothing should be special cased to Blocks/Items anymore. Added optional generic dummy factory to registries, to allow registry creators the ability to dummy more then just Blocks. Re-worked the ItemStack transformer and applied it to ItemBlock and ItemBlockSpecial. Allowing us to cleanup reflective hacks in Block callbacks. Registry onAdd callback is now only fired on the ACTIVE registry, fixing any issues of temp registries overriding active objects. LexManos 2017-06-19 15:02:18 -07:00
  • 423f9fc04b Fix Universal bucket handling for Fluids with NBT (Fix #3757) mezz 2017-03-10 21:06:40 -08:00
  • 0e9820c51c Clean up Logging (#3953) diesieben07 2017-06-23 07:33:11 +02:00
  • 96aceffb6f Clean up Logging (#3953) diesieben07 2017-06-23 07:33:11 +02:00
  • 68c6e7862e Fix ShapedOreRecipe matching. #4038 mezz 2017-06-21 22:10:40 -07:00
  • f1881453be Fix recipe names in packaged jars. Closes #4039 LexManos 2017-06-21 01:46:52 -07:00
  • a30316e6a1 Update NoteBlockEvent with new instruments. Resolves #4018. (#4019) Ben Staddon 2017-06-21 07:50:32 +01:00
  • 98f464ad43 Fix Chunk patch (#4036) mezz 2017-06-20 20:40:37 -07:00
  • e056c79ec7 IRecipeConditions forge:and and forge:false (#4017) TechnicianLP 2017-06-20 11:19:14 +02:00
  • 17a714f7fd Fix patches in Chunk and Explosion (#4036) mezz 2017-06-19 22:40:57 -07:00
  • c6d7c7c11f Fix itemstack comparison with null mezz 2017-06-19 00:08:29 -07:00
  • a2749e4507 Fix loading recipe jsons from jar files. LexManos 2017-06-19 17:18:53 -07:00
  • f7831fbe99 Fix shapeless recipes not being able to use NBT on output, and fixed issue with null groups. Vincent Lee 2017-06-19 18:49:21 -05:00
  • 303578b2f2 [1.12] Fixes Exception when getting modlist for a vanilla client (#4028) Lumien 2017-06-20 01:47:34 +02:00
  • 80d9beedc9 Remove unused patch to ItemRecord. Closes #2686. (#4035) Ben Staddon 2017-06-20 00:47:01 +01:00
  • fcb596ea1e Log info on Travis tests mezz 2017-06-18 22:52:12 -07:00
  • b39ade30c3 Disable TestNetworkHandshake to make Travis work again mezz 2017-06-18 22:51:09 -07:00
  • 3e6c15168b Add timeout to TestNetworkHandshake setup mezz 2017-06-18 22:50:47 -07:00
  • e3777f4559 Add missing Override annotations mezz 2017-06-17 18:24:17 -07:00
  • c2845967cc Update MCP mappings to 20170617 mezz 2017-06-17 18:06:04 -07:00
  • 3d322ef925 Update mcp mappings to 20170611 mezz 2017-06-10 17:59:01 -07:00
  • 864b05074e Clean up ShapedOreRecipe and ShapelessOreRecipe mezz 2017-06-11 14:24:17 -07:00
  • f009435fa4 Allow condition factories to be registered from JSON (#4015) Shadowfacts 2017-06-16 23:24:58 -04:00
  • 4a4c38b4e0 Patch a small bug in SPacketLoginSuccess that lets us emulate the network handshake. This will be very useful as I rebuild the networking. cpw 2017-06-16 22:00:54 -04:00
  • b5260a386d Filter any recipe starting with _, Such names are reserved for metadata. Actually implement conditions for recipes. LexManos 2017-06-15 19:30:05 -07:00
  • 65ec1f5d54 Fix NBT ItemStack support in json loader. Closes #4002 LexManos 2017-06-15 16:07:55 -07:00
  • e16f70f95e Fix OreIngredient comparing items in reverse. Closes #3999 LexManos 2017-06-15 13:13:44 -07:00
  • 50e268bdf5 Make registries persist by default, fixes #3989 (#3998) Marvin Rösch 2017-06-15 22:00:46 +02:00
  • 8833386ada Fix exception in ShapedOreRecipe.checkMatch for recipes that don't fill entire crafting grid (#3995) tterrag 2017-06-15 04:12:54 -04:00
  • dbc0a4e0fd Fix parseShaped missing Empty slot item. Closes #3990 LexManos 2017-06-14 20:25:22 -07:00
  • 5e70ee45be Fix CraftingHelper.parseShapred error. Closes #3979 LexManos 2017-06-14 15:59:59 -07:00
  • 22d243e70d Fix NPE in config menu with custom keybinds. Closes #3985 LexManos 2017-06-14 10:23:49 -07:00
  • a8659a1613 In-progress Registry system enhancement. Needs cpw to take a look at enabling removing/overriding in the registry stuff. But in theory it loads json recipes for mods now. LexManos 2017-06-14 10:14:56 -07:00
  • 54d26cb4cc Update ASM for 5.2, and host it on Forge's maven now. LexManos 2017-06-11 11:35:22 -07:00
  • cd3905502e Update VanillaRegistryTests mezz 2017-06-10 19:47:04 -07:00
  • 3fee319bc0 Try a different way of doing the callback, it removes the derpitude, but at one point, I thought the way it was was necessary. Is this a race condition? Dunno, but it's a lot simpler and doesn't rely on a netty hack. cpw 2017-06-10 22:19:24 -04:00
  • d90637f8b5 Fix the netty bug introduced by netty commit https://github.com/netty/netty/commit/29fdb160f33776c76f0b46aada48a9c9f3babcbf that means we don't get activated until after handlerAdded is complete. In effect, our handler can't handle anything until handlerAdded has completed. cpw 2017-06-10 20:53:17 -04:00
  • f1cca475ea Initial patch update to 1.12. Some things to note: Netty is screwy so currently can't join single player. @cpw Crafting has been MAJORY reworked. The current GameRegistry functions are nooped, this is IN THE WORKS. Just need to move the recipe list to a full class registry, and then re implement the in-code recipe registration. Also, it IS advised that modders move to JSON, because ideally we'll see a S->C recipe syncing system in 1.13 which would allow servers to have custom recipes. OreDictionary currently 1/2 works, need to write a better algorithm for replacing ingredients. Please be patient Rendering: A lot of functions got a new float parameter, this is similar to partial ticks, needs more research LexManos 2017-06-06 07:04:10 +10:00
  • 92bb77bc6b Fix the netty bug introduced by netty commit https://github.com/netty/netty/commit/29fdb160f33776c76f0b46aada48a9c9f3babcbf that means we don't get activated until after handlerAdded is complete. In effect, our handler can't handle anything until handlerAdded has completed. noci-1.12.x cpw 2017-06-10 20:53:17 -04:00
  • d71291eb57 Initial patch update to 1.12. Some things to note: Netty is screwy so currently can't join single player. @cpw Crafting has been MAJORY reworked. The current GameRegistry functions are nooped, this is IN THE WORKS. Just need to move the recipe list to a full class registry, and then re implement the in-code recipe registration. Also, it IS advised that modders move to JSON, because ideally we'll see a S->C recipe syncing system in 1.13 which would allow servers to have custom recipes. OreDictionary currently 1/2 works, need to write a better algorithm for replacing ingredients. Please be patient Rendering: A lot of functions got a new float parameter, this is similar to partial ticks, needs more research Choonster TheMage 2017-06-06 07:04:10 +10:00
  • 9274e4fe43 Fix log4j configuration 1.7.10 mezz 2017-06-07 20:43:37 -07:00
  • d06e0ad71b Fix log4j configuration 1.8.9 mezz 2017-06-07 20:43:37 -07:00
  • 4e1e8f52e0 Fix log4j configuration 1.9.4 mezz 2017-06-07 20:43:37 -07:00
  • b06fb810ca Fix log4j configuration mezz 2017-06-07 20:43:37 -07:00
  • b43300c388 Fix log4j configuration mezz 2017-06-07 20:43:37 -07:00
  • faf6c22b71 Fix IItemHandler wrappers returned by EntityLivingBase (#3942) Choonster TheMage 2017-06-06 07:04:10 +10:00
  • 286777b824 Fix getShareTag replacing data on the server (#3776) Closes #3682 mezz 2017-06-04 18:38:16 -07:00
  • e67bde9e9e Fix crashed caused by bad mods reflectively breaking the grass drop list. Closes #3943 LexManos 2017-06-02 16:22:16 -07:00