gnembon
4c8e477f4b
1.19.4-pre1
2023-02-22 20:22:02 +01:00
gnembon
146573803c
scarpet corountines idea
2023-02-22 02:33:03 +01:00
gnembon
2ff1f4fb71
refactored nonscarpet references yeet
2023-02-11 01:33:23 +01:00
gnembon
277872b33c
warning cleanup
2023-02-08 21:13:15 +01:00
gnembon
75d94b0570
cleanup of scarpet dependencies
2023-02-08 21:13:14 +01:00
gnembon
8f61271606
semi-auto cleanup
2023-02-04 13:26:21 +01:00
altrisi
fb7b1f79a5
Fix unchecked removal of commands by app name
2023-01-23 22:19:07 +01:00
gnembon
8dd08d5cb1
refactor access to context data
2023-01-16 19:01:10 +01:00
replaceitem
24b9c386ec
[Scarpet] Added ability to cancel events ( #1497 )
...
* Added ability to cancel events
* Made more events cancellable
* Added event_priority to __config
* Check for string values for performance
* Made player_finishes_using_item cancellable
* Made player_chooses_recipe cancellable
* Made player_swaps_hands cancellable
* Made player_message cancellable
* Added __on_player_placing_block (#1498 )
* Added event to docs, keywords, event_test
* Added docs for event cancellation
2022-10-15 13:30:53 +02:00
altrisi
b1c29efa2b
Expose origin-less constructors and methods ( #1556 )
2022-10-02 13:57:29 +02:00
altrisi
f63c6acb05
Fully remove scarpet commands when apps are unloaded ( #1452 )
...
Using new Loader 0.14+ features
2022-10-02 13:32:27 +02:00
altrisi
41991b0346
Improve error message when commands fail to be added and make commands using the new system check for masking ( #1404 )
...
* Improve error message when command already exists
* Add app's name to the message
* Add app name to any command load failure and fix commands from new system masking existing ones
* Fix duplicated app name in an error
* Update to recent snapshot changes
2022-06-27 14:09:03 +02:00
altrisi
a60bc386cb
Refactor Module into a single record type and fix system globals ( #1383 )
2022-05-17 20:11:49 +02:00
gnembon
746c8548e9
22w16b with massive Component changes
2022-04-21 00:26:39 +02:00
altrisi
83b0fb1f4d
Show local type in exception hover tooltips ( #1397 )
2022-04-20 13:29:31 +02:00
gnembon
893c3b984f
added strict configuration
2022-02-01 01:25:19 +01:00
altrisi
d57323e14f
Fix stay_loaded being false in apps with no config ( #1295 )
2022-01-30 19:01:21 +01:00
altrisi
06af9ce8b1
Migrate the Carpet codebase to Mojang Mappings
2022-01-24 20:33:16 +01:00
altrisi
34e32973fa
Use Fabric's newly exposed version APIs for app requirement parsing, expand it to allow wildcards and change load stopping to be a special exception ( #1252 )
2022-01-08 23:26:14 +01:00
altrisi
f2989d51fd
Improve CarpetExpressionException error messages ( #1230 )
2022-01-08 21:09:15 +01:00
gnembon
dc9ba2f83c
Merge pull request #1083 from altrisi/more-debugging
...
Make ErrorSnooper report values for locals in the stacktrace
2021-11-17 20:12:23 +01:00
altrisi
047fdc6ada
Wrap value stringifying into a try-catch block
2021-11-06 20:34:18 +01:00
gnembon
229d0b037b
events handling is disabled now when potentially triggered from the scarpet script preventing from recursive callbacks.
2021-09-06 02:37:08 -03:00
altrisi
de28982646
Make ErrorSnooper report local's values
2021-08-31 14:12:05 +02:00
gnembon
0e9df3701f
rework for events and other stored functions. Fixes #984
2021-07-22 22:22:38 -03:00
gnembon
4f77327b6c
Merge branch 'master' into 1.17
...
# Conflicts:
# src/main/java/carpet/script/utils/AppStoreManager.java
2021-06-30 13:33:10 -03:00
altrisi
97e69d347e
Change how resource type works, allow proper app and library installation ( #956 )
...
* Change how app store types work, allow proper app and library installation
* Add node for resources in dependencies and docs
* Fix NPE without `type`
* Fix docs trying to change location of app type resource
* Separate libraries and apps and add trash for them
* Update docs
* Create trash directory if it doesn't exist
2021-06-30 12:42:24 -03:00
gnembon
9a4e15da48
mappings
2021-06-29 17:28:58 -03:00
gnembon
1a152ce20a
Merge branch 'master' into 1.17
2021-06-25 23:50:39 -03:00
gnembon
8fa54c8146
stack overflow in scripts shouldn't crash the game, fixes #934
2021-06-25 23:31:46 -03:00
gnembon
dc38cd272f
Merge branch 'master' into 1.17
...
# Conflicts:
# src/main/resources/carpet.mixins.json
2021-06-13 11:47:56 -03:00
gnembon
d29adf3a48
whatever, Fixes #895
2021-06-11 03:41:44 -03:00
gnembon
8297000b88
Fixes clingon messaging with broken argument lists. Fixes #638 .
2021-06-11 00:20:09 -03:00
gnembon
cab37358ed
Merge branch 'master' into 1.17
2021-05-25 00:41:29 -03:00
gnembon
db9039c02a
added app resources for apps from appstores
2021-05-25 00:41:06 -03:00
gnembon
95d8c5fd90
Merge branch 'master' into 1.17
2021-05-22 22:14:43 -03:00
gnembon
dbae5813f0
added framework for auto resource fetching for the apps
2021-05-21 22:31:02 -03:00
gnembon
f67d50d3d3
Merge branch 'master' into 1.17
2021-05-17 22:23:16 -03:00
altrisi
be0635de82
Use primitive specific Predicates instead of Function ( #859 )
2021-05-15 18:54:16 -03:00
gnembon
820c9b6489
Merge branch 'master' into 1.17
2021-05-05 01:31:00 -03:00
gnembon
1633cca07a
better reporting
2021-05-05 01:23:17 -03:00
gnembon
0367170bac
Merge branch 'master' into 1.17
2021-04-29 02:17:17 -03:00
gnembon
06c9aea326
tracking module integrity when module composition changes
2021-04-29 02:17:02 -03:00
gnembon
ea660b954f
Merge branch 'master' into 1.17
2021-04-23 22:13:26 -03:00
gnembon
9e7d6b70b7
thread exceptions are printed unscrambled
2021-04-23 22:12:38 -03:00
gnembon
5e3812e1f0
Merge branch 'master' into 1.17
...
# Conflicts:
# src/main/java/carpet/script/api/Auxiliary.java
# src/main/java/carpet/script/api/Entities.java
# src/main/java/carpet/script/api/Inventories.java
# src/main/java/carpet/script/api/Scoreboards.java
# src/main/java/carpet/script/api/WorldAccess.java
# src/main/java/carpet/script/value/FunctionValue.java
# src/main/java/carpet/script/value/NBTSerializableValue.java
2021-04-23 01:46:11 -03:00
gnembon
74bd0bb81e
dont be lazy refactor
2021-04-22 20:37:48 -03:00
gnembon
3df0e3f277
Merge branch 'master' into 1.17
2021-04-18 02:45:14 -03:00
altrisi and gnembon
b7b7667484
Allow apps to specify mod version requirements ( #798 )
...
* Allow apps to specify mod version requirements
* Allow a function in requires field and move to `readConfig()`
* Add `server_mods` to system_info()
* Add prefixes and default to `=`
* Added docs for `requires` and for `system_info('server_mods')`
* Better docs for requires (mention * and available prefixes)
* Update docs/scarpet/api/Overview.md
* Update docs/scarpet/api/Overview.md
* Update docs/scarpet/api/Overview.md
Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com >
2021-04-18 02:36:29 -03:00
gnembon
8ed4561a98
Merge branch 'master' into 1.17
...
# Conflicts:
# src/main/java/carpet/script/utils/ShapeDispatcher.java
2021-04-12 14:26:22 -03:00