Commit Graph
50 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 33c2bd0c94 Add unicode support for zenscripts
The unicode characters can be recognized in strings and comments.
The encoding of scripts should be utf-8.
2015-11-15 17:22:47 +08:00
jaredlll08 9bb25aee66 Update forge, add max damage 2015-09-21 00:30:16 +02:00
Stan Hebben 34a2469cfc Added onPostReload event. Closes #223. 2015-09-06 08:53:04 +02:00
jaredlll08 88d2793b00 close #119 2015-09-04 00:57:06 +02:00
jaredlll08 eccf4d28c2 block hardness 2015-09-03 10:41:47 +02:00
jaredlll08 b36c6dade6 format all the things! 2015-08-31 19:15:35 +02:00
jaredlll08 54ec75fd3d close #74 close #133 2015-08-31 19:08:46 +02:00
jaredlll08 fd17ded261 Attempt to add maxStackSize 2015-08-31 15:34:17 +02:00
Stan Hebben 00bcf843e5 - Updated to new Forge version
- Added script locking
2015-06-27 08:26:38 +02:00
Stan Hebben ea47aec970 Made initialization of registered classes more robust against exceptions. 2014-12-22 09:36:02 +01:00
Stan Hebben 6500f03cda - Mod integration can now specify a required version prefix
- Ingredients can now also be liquids
- Added some checks that should fix #87
- Temporarily disabled BuildCraft support for BC 6.1 (BC 6.0 still has support)
- Started work on BC 6.1 support (not yet functional and currently disabled)
2014-11-09 18:29:00 +01:00
Stan Hebben 7d886a3ce3 - Fixed multiple saplings with the same ID not working in the Planter
- Fixed crash when using /mt hand on a dedicated server
- Fixed crash in /mt recipes in some cases
2014-10-16 23:03:53 +02:00
Stan Hebben 59ef38877f - Fixed some wrongs in data matching, causing crashes with onlyWithTag in some cases
- Fixed a variable check when resolving variables
2014-10-14 23:33:10 +02:00
Stan Hebben 9fcf4b9a4e - Added /mt recipes command
- Added /mt recipes hand command
- Removed COMMAND: in front of lines generated from commands
2014-10-08 23:23:17 +02:00
Stan Hebben f5e467e9a4 - Expanded BuildCraft support to 1.7.2 and 1.6.4
- Fixed string + formatted string not being added properly
2014-10-08 20:45:09 +02:00
Stan Hebben a8aae17d8a - Added 1.7.10 Buildcraft support
- Exceptions can now log to the minetweaker log, for easier bug resolution
- /mt hand now copies to the clipboard too
- /mt hand now outputs ore dictionary entries to which it belongs
- Reducing verbosity a bit
2014-10-08 14:50:50 +02:00
Stan Hebben aa2da58446 - Ported chest loot modification from ModTweaker
- Ported setLocalization from ModTweaker
- Ported seed modification from ModTweaker
- Fixed IClient setting
- Added dev builds to the build script
2014-08-31 18:40:06 +02:00
Stan Hebben 8e99c0ff9e - Made forge version configurable
- Improved configuration structure
2014-08-31 12:53:42 +02:00
Stan Hebben 98d4932764 - Implemented IMC scripts
- Improved build scripts somewhat
- Added tools.jar dir to the configuration file
2014-08-31 11:52:25 +02:00
Stan Hebben 1b2554170a Added tooltip support. Also adds formatted text to make formatted tooltips. 2014-08-30 17:03:52 +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 56b8c9355c - Added /mt blocks and /mt entities commands
- Further preparation of event manager for the event update
- Can now request all blocks and entities using the global game variable
- Improved automatic handling of version numbers
2014-08-21 23:41:08 +02:00
Stan Hebben b50a88227b - Expanded GregTech support to 1.7.10
- Expanded MFR support to 1.7.10
- Improved MFR implementation, no longer uses reflection. Yay!
- Registration of a class registry now allows a description to be shown when loaded. Handy to check if mod support loaded properly.
- Fixed a few bugs in MFR support
- Fixed 1.7.2 IC2 item bracket handler
2014-08-20 20:39:42 +02:00
Stan Hebben 154c2242f9 - Rewrote the whole damn typecasting system. Now uses a more flexible and more structure casting rule system.
- Improved function literals. Function recipes are a thing!
- Added mirrored shaped recipes
- Fixed a few "any" type - related errors
- Added environment to the bracket handlers. Breaks existing bracket handlers!!
- Turned JavaMethod into an interface. Can now be used both for existing methods and generated ones. Makes a few things simpler :)
- Added creative and adventure getters to player info
2014-08-20 11:59:49 +02:00
Stan Hebben c67ad22270 - Fixed spaces in item names (Note: they are now ignored: <Natura:Rare Leaves> and <Natura:RareLeaves> are considered the same)
- Fixed block info command in 1.6.4 and 1.7.2
2014-08-10 22:08:43 +02:00
Stan Hebben dfceec1fd4 - Block info detection is still broken in 1.6.4 (working on fix)
- Fixed MFR Planter
- Added /mt biomes command to see list of biomes
- Added reloaded event
- Fixing MFR Harvester
2014-08-09 15:36:19 +02:00
Stan Hebben e2b4f50dfc - Added MFR support for 1.6.4
- Improved API for blocks
- NBT compound tags with non-identifier keys should now be output properly
2014-08-09 12:06:26 +02:00
Stan Hebben e644398505 - Fixed crash when using mt command from server console
- Forum command now leads to the new forums
- Checked in some missing files from previous commit
2014-07-20 22:24:50 +02:00
Stan Hebben 1b72abb2b4 - Basic types can now be converted to the "any" type
- Changed OreDict 'contains' to respond to the 'in' operator
2014-07-20 21:30:40 +02:00
Stan Hebben 52f92dcfd4 - Fixed IC2 derps when checking if output is empty
- Added GregTech 1.7.2 support
- Added doc comments to the GregTech classes
- Fixed a couple GregTech functions
2014-07-09 22:50:15 +02:00
Stan Hebben 7390f94404 - Making preparations for the automatic documentation generator
- Fixed crash opening DartCraft clipboard.
- Fixed some GregTech machines
- Improved error reporting when not finding functions
2014-07-09 12:29:46 +02:00
Stan Hebben 55c3630bf3 - Added IC2 charge conditions and transformers
- Fixed 1.6.4 frantically reloading scripts
- Fixed 1.7.10 chat messages
2014-07-06 13:38:52 +02:00
Stan Hebben 70cba6d84b - Did some API refactoring
- Added liquid container addition and removal (removal only possible in 1.6.4)
- Extended NEI support to 1.7.10
- Extended IC2 support to 1.6.4
2014-07-05 22:35:19 +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 fd9bf8b080 - Improved IC2 implementation
- Fixed multiply operator on liquid stacks
2014-06-29 18:36:29 +02:00
Stan Hebben ea0d369519 - Extending API with chat functionality
- Refactoring towards MineTweakerMC calls
- Added IC2 matter amplifier support
2014-06-29 16:18:50 +02:00
Stan Hebben 9b51082c4b - Implemented item renaming
- Did a little bit of work on asset handling
2014-06-28 19:25:11 +02:00
Stan Hebben 3a9a784084 - Added main page
- Fixed /mt liquids command
- Fixed mirrored recipes
2014-06-28 12:05:59 +02:00
Stan Hebben db900d3b60 - Added 1.6.4 port
- Fixed /mt name command
- Renames MC17 to MC172, in preparation of the 1.7.10 port
2014-06-27 22:33:32 +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 8b00ce34b6 - Started implementation of furnace code
- Removed client code reference in the recipe manager
- Fixed IC2 mod machine errors
- Removed unnecessary print statements
2014-06-23 20:25:39 +02:00
Stan Hebben 61f4fe58c6 - /mt names now outputs the names alphabetically
- Added initial implementation of IC2 and NEI support
- Fixed NPE retrieving names for certain items
2014-06-22 21:36:17 +02:00
Stan Hebben 8e47ca9317 - Fixed Java 7 compatibility due to accidental usage of Java 8-only methods
- Fixed mod support loading even if the respective mod isn't present
- Fixed iterator implementations missing the remove method (fine in Java 8, but not in Java 7)
- Added /mt mods command
2014-06-22 19:41:19 +02:00
Stan Hebben 3827eba3e2 - Added toString to the data values
- Added getPlayer to crafting inventory
- Added crafting inventory to recipe function
- Removed some print statements
- Renamed the global minetweaker variable to tweaker
- Bumped forge version to 1121 due to ore dictionary changes
- Added bracket handler for ore entries
- Enabled withTag(null)
- Fixed issues with the new ore dictionary implementation in Forge 1113+
- Fixed bug in Ore recipe conversion
- Fixed import errors not being detected and reported properly
- Fixed nested NBT tags not being converted properly
- Fixed something in any type implementation
- Added commas in function name generation
- Added class registries for IC2 and NEI integration
2014-06-22 14:02:56 +02:00
Stan Hebben 2de467d7d8 - Refactored code into different packages
- Fixed some non-static expansion methods
- Fixed scripts not reloading properly
- Implemented mod support build system
- Fixed recipe removal breaking on recipes without predefined output
- Fixed NPE on parsing a bracket expression that doesn't exist - now prints an appropriate error
2014-06-21 18:51:11 +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 f3ea7f7831 - Added doclet
- Added documentation to some classes
- Started working on tutorial and website
2014-06-12 21:37:56 +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
Stan Hebben 38b78ce305 Added projects and basic build scripts. Project for scripting engine, API, Main 1.7 version and one for each mod supported in 1.7. 2014-06-09 20:33:30 +02:00