Commit Graph
8 Commits
Author SHA1 Message Date
Stan Hebben 89f22013f1 Revert "Several bug fixes and enhancements on ZenScripts" 2015-11-30 10:32:26 +01:00
Skydark Chen bd55380b5a Fix block comments regexp
Before this commit, comments like this could not be recognized:

    /* blah blah * blah  / <- this slash failed */
2015-11-15 19:58:21 +08:00
jaredlll08 b36c6dade6 format all the things! 2015-08-31 19:15:35 +02:00
Stan Hebben 25b9589af7 - transformReplace() now gives the replacement item in the player inventory if it is part of a stack (instead of modifying the whole stack)
- Added noReturn() transformation to avoid any item from being returned. Suppressed programmed vanilla/mod behaviour to, for example, give a bucket back.
- Added giveBack() and giveBack(item) transformation to return the item, or a replacement item, back into the inventory instead of the crafting table. Fixes fighting between transformations and default mod/vanilla behavior.
- Fixed asterisks in multiline comments breaking script parsing.
- Fixed removeShaped function not working properly if no ingredients are given
- Fixed addAll for oredict entries in 1.7.10
2014-08-30 14:47:00 +02:00
Stan Hebben 115593efa5 Tons of changes:
- Added interface to game, client and server
- Added transformations
- Made ingredient conditions more practical to use, no longer requires imports
- Started implementation of event handling
- Moved commands and logic to the common API code
- Added common interface to MineTweaker recipes
- Added string methods
- Moved the logger from static value to static getter
- Fixed crashes on dedicated servers
- Fixed bracket resolution for <id:meta> values in 1.6.4
- Fixed scripts not being sent to multiplayer clients in 1.6.4
2014-07-04 22:03:03 +02:00
Stan Hebben 0c535134c5 - Removed the Transformer classes as transformation-based class detection is too slow
- Finished the RegisterZenClassesTask and applied it to the API & Mod support projects
- Started work on the events API
- Added a mod.info file
- Added mods detection API
2014-06-25 11:54:08 +02:00
Stan Hebben 489347558f - Continued writing on the IC2 integration code
- Implemented advanced recipes on <*> values
- Removed unused ZenScript classes
- Continued work on any values
- Moved documentation generation to buildSrc
- Started work on a jar merging task
- Added toString implementation to ingredients
- Added stack count to ICraftingInventory
- Fixed imports
- Added logCommand to the logger to log command output
- Implemented memory script provider to load scripts received from the server
- Added exception handling for script execution
- First attempt at creating a transformer to generate a list of ZenClass and ZenExpansion classes
- Added console commands (reload, names, liquids, inventory, hand, oredict)
- Added general logic
- Fixed item ingredients for wildcard sizes
- Implemented selective recipe removal
- Fixed null recipe results
- Started implementation of player-specific recipes
- Removed redundant IC2 mod copy
- Other minor fixes
2014-06-20 14:13:55 +02:00
Stan Hebben 97c7f42400 - Added documentation to some classes
- Created script provider system
- Did some refactoring to improve the API
2014-06-10 21:12:55 +02:00