Commit Graph
72 Commits
Author SHA1 Message Date
gnembon a297fd1441 Scarpet rules can provide multinary boolean permission level, fixes #572 2020-11-23 02:35:01 -04:00
altrisiandgnembon ba1071a8d1 Javadocs, cleanup, extension's client rules, built-in BundledModules generators, etc (#544)
* Add javadocs to many methods

* Added built-in ways to generate BundledModules and documented them

* Add Eclipse launch files to .gitignore and fix 11 warnings

* Remove many unused imports

* Remove some dead and unused code around app loading

* Allow extensions to have client-side rules in their SettingsManager

Also change tabs to spaces when those changed

* Remove unnecessary classloader param in BundledModule

* Change max tickwarp duration to Integer.MAX_VALUE

* Move RulePrinter into the source so it can be managed by the IDE

* Properly reset hopperCounters when changing worlds

Also change tabs to spaces again and minor tweaks to javadocs

* Run mergedocs even if Full.md was modified

* Update src/main/java/carpet/commands/TickCommand.java

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
2020-11-16 09:30:59 -04:00
gnembon 5f9df1239a added strict command matching 2020-11-13 04:45:51 -04:00
gnembon 9f6771123f custom command trees, no validation so far 2020-11-12 02:55:18 -04:00
gnembon 55643632ca custom events, and low level event API 2020-11-11 02:06:45 -04:00
gnembon 9e8556f9d9 command arguments done 2020-11-09 03:04:26 -04:00
gnembon 79dc85274d revert some app changes preparing for release of 1.17 2020-11-04 20:11:21 -04:00
gnembon af668bfdbc custom arg types - WIP 2020-11-03 06:30:49 -04:00
gnembon 741edf1465 three things:
- logger is carpet, fixes #522
 - fixed fancy commands to functions - so could be used later with lambdas and functions that use different argument names
 - moved a few builtin apps to commands via /carpet
2020-11-03 04:45:08 -04:00
altrisi b9eee6e58b Allow rules to manage Scarpet apps (Scarpet Rules) (#519)
by altrisi
2020-11-02 21:52:21 -04:00
gnembon 8902cec747 make it more obscure 2020-11-02 16:28:00 -04:00
gnembon d9727862da wip 2020-11-02 16:27:03 -04:00
gnembon 1d81768c54 custom args WIP 2020-11-02 01:32:04 -04:00
gnembon 7ccd46433a entity load handler and rework of handling of events. 2020-10-30 22:59:27 -03:00
gnembon 1268af4131 Fixed threading and add shutdown control for threads via sleep 2020-10-24 22:18:02 -03:00
gnembon 1006e0ac40 commands return integer value if possible, fixes #408
handle infinite values as infinities.
2020-09-05 02:06:59 -03:00
gnembon 267c3c0788 added ai_tracker built-in app 2020-08-15 02:33:03 -03:00
gnembon eaded1450d apps when loaded while being loaded are now properly reloaded 2020-08-15 02:32:32 -03:00
gnembon 0e21942df7 Merge branch 'master' into 1.16 2020-07-13 00:41:34 -03:00
gnembon 5f34b5c96c Easier for extensions to add their own built-in apps 2020-07-12 23:00:05 -03:00
gnembon 9aa580cfa5 Merge branch 'master' into 1.16
# Conflicts:
#	src/main/java/carpet/script/CarpetExpression.java
#	src/main/java/carpet/script/utils/ShapeDispatcher.java
#	src/main/java/carpet/script/utils/ShapesRenderer.java
2020-06-10 01:36:11 -03:00
gnembon 58862fca11 added snap to shape
added bulk shape rendering
2020-06-10 01:25:51 -03:00
gnembon 10009a9381 upd 2020-06-07 02:09:16 -03:00
gnembon f29153c3d2 Merge branch 'master' into 1.16
# Conflicts:
#	src/main/java/carpet/CarpetSettings.java
#	src/main/java/carpet/script/CarpetScriptServer.java
#	src/main/java/carpet/script/bundled/Module.java
2020-06-07 01:59:15 -03:00
gnembon b3484fd012 fixed missing client side server references. fixes #311 2020-06-06 20:39:25 -03:00
gnembon c5841408a6 extensions trigger for resource reload. Apps will reload upon reload 2020-06-05 23:23:47 -03:00
gnembon c61429099a mappings 2020-06-04 15:59:46 -03:00
gnembon cf817c2e39 mappings 2020-05-21 14:23:04 -03:00
gnembon f2e9a9de91 20w17a 2020-04-22 17:00:31 -03:00
gnembon 76080f1a59 20w14a 2020-04-02 23:38:19 -03:00
gnembon 5c9774f1d2 added feedback to event calling and fixed event registry
disabled ability to handle global events from player scoped apps
2020-02-25 01:29:21 -04:00
gnembon 9430fcc052 handled better errors and stack traces for more (all) cases 2020-01-27 22:47:29 -04:00
gnembon e7d9c62b11 slime chunks to renderers 2020-01-25 22:08:25 -04:00
gnembon e8c077a65d added structure renderer. 2020-01-25 20:05:52 -04:00
gnembon 3d49e15795 added math library 2020-01-25 01:18:03 -04:00
gnembon 316739c624 added synchronization and thread shutdown procedures. 2020-01-14 14:23:33 -04:00
gnembon cfc71b845d system key-value storage 2020-01-14 01:26:46 -04:00
gnembon 9214c31352 added libraries 2020-01-09 00:53:36 -04:00
gnembon f674936199 renamed main 2020-01-08 23:47:54 -04:00
gnembon 4f65be946c modules and imports 2020-01-08 23:38:31 -04:00
gnembon 6ac249968a remove a few warnings 2020-01-06 21:26:44 -04:00
gnembon 1650f3233b imports and better error reporting and stacktraces 2020-01-05 02:24:48 -04:00
gnembon d7ca974f1a statistics, block placed and interacted events, stats event test 2019-12-27 03:25:56 -04:00
gnembon a4e6e7cb10 camera update and task clearing 2019-12-25 02:44:14 -04:00
gnembon 5d32213922 threading 2019-12-16 08:56:22 -04:00
gnembon 55065a38a6 moved CarpetSettings up from settings manager, should be easier to find later. 2019-12-10 23:08:40 -04:00
gnembon 9e529fe967 Separate ScriptHost from CarpetScriptHost 2019-11-19 01:31:56 -04:00
gnembon bd61340e46 events are added on the fly as source loads 2019-11-18 16:06:35 -04:00
gnembon 95b85928f9 refactored and reworked functions in scarpet 2019-11-18 00:56:50 -04:00
gnembon e21cbf5f59 remove markers when app unloads or not loaded 2019-10-23 08:49:58 -03:00