Commit Graph
411 Commits
Author SHA1 Message Date
altrisi 86dabe0080 Add exception hierarchy 2021-02-21 00:57:37 +01:00
altrisi a155494d11 Allow some exceptions to be handled 2021-02-19 19:54:41 +01:00
gnembon 6d320866e6 21w07a 2021-02-17 20:17:01 -04:00
gnembon 695d66da50 mapping 2021-02-17 13:18:57 -04:00
gnembon 71a8dcc31e Merge branch 'master' into 1.17 2021-01-26 05:42:20 -04:00
altrisi a83548876a Extra handling of null values (part 1) (#684) 2021-01-26 01:16:48 -04:00
gnembon 981dcf6eaa Merge branch 'master' into 1.17
# Conflicts:
#	gradle.properties
2021-01-15 11:41:07 -04:00
gnembon b14cf288a1 mappings 2021-01-15 04:51:06 -04:00
gnembon 4694e40bdd Merge pull request #673 from altrisi/fix-split
Fix split
2021-01-14 23:57:28 -04:00
altrisi 9eea3b47a6 Actually return those lists 2021-01-14 03:08:33 +01:00
altrisi 852139d936 Make split split lists in list of single elements list without delimiter 2021-01-14 02:58:05 +01:00
gnembon 95bac227a0 Merge branch 'master' into 1.17 2021-01-13 21:36:05 -04:00
gnembon d563e65c77 Merge pull request #666 from altrisi/extra-splitting
[Suggestion] Allow splitting lists by element value
2021-01-13 21:23:49 -04:00
replaceitem c0e2d17377 Fixed null acting as a string with matching operator (~) and split() (#662)
* Fixed null acting as a string with matching operator (~)
2021-01-13 21:17:39 -04:00
altrisi 49ffa4f109 Add new split functions 2021-01-11 19:46:39 +01:00
gnembon ed4afa15ff Merge branch 'master' into 1.17 2021-01-07 00:41:15 -04:00
gnembon f3f8c689a8 fixing incorrect default upper bound for slice. Fixes #657 2021-01-07 00:40:39 -04:00
altrisi aabff1623b Reading/Writing JSON, first working version 2020-12-27 02:04:19 +01:00
gnembon 7ad6de64ff slice can accept negative indices 2020-12-25 04:55:32 -04:00
gnembon d6eb53b6ce player entity value may become invalid due to respawns. This not only fixes #633, but also other cases where player reference is used over time while player respawns and its instance is recycled. 2020-12-24 06:48:14 -04:00
gnembon 941b7d4836 Merge branch 'master' into 1.17 2020-12-20 19:27:04 -04:00
gnembon f54ab746fe player swinging events. 2020-12-20 18:34:43 -04:00
gnembon 32d0ba9694 20w51a 2020-12-16 19:06:09 -04:00
gnembon c2436f1f09 Merge branch 'master' into 1.17 2020-12-16 18:04:52 -04:00
altrisi a81b549360 Move FormattedText addition into a combined function 2020-12-15 10:00:09 +01:00
altrisi 6dfd64027d Add FormattedText functionality to the right of the operand 2020-12-14 19:20:21 +01:00
altrisi 7b77fb0853 Add FormattedText addition 2020-12-14 18:36:24 +01:00
gnembon 00ad9eccc7 mappings 2020-12-14 02:51:01 -04:00
gnembon e89f4444dc Merge branch 'master' into 1.17 2020-12-13 06:31:17 -04:00
gnembon 7bacea1810 range now handles better long long chains, as well as float values. 2020-12-13 06:29:42 -04:00
gnembon 34ee6784a4 values close to zero don't round nicely with bigdecs 2020-12-13 06:07:13 -04:00
gnembon 02a25c0c99 Merge branch 'master' into 1.17
# Conflicts:
#	src/main/java/carpet/script/api/Entities.java
2020-12-07 01:14:12 -04:00
gnembon a0067d0d61 added item_list, item_tags to support item tags as well as options for entities to support entity type tags. fixes #382 2020-12-07 00:12:55 -04:00
gnembon 89e61db56e Merge branch 'master' into 1.17 2020-12-06 20:36:40 -04:00
gnembon 56064a49cb fixes to xp stuff, saturation and weather 2020-12-06 19:55:01 -04:00
Ghoulboy 42e67f27b7 Adding absorption and xp API, and weather control (#540)
* fixes #537
* fixes  #547
2020-12-06 16:03:15 -04:00
gnembon 9d08c54324 Merge branch 'master' into 1.17 2020-12-03 22:25:51 -04:00
gnembon 259bdc2c94 ability to query client brand and server scarpet version. 2020-12-02 22:36:20 -04:00
gnembon 5422493c33 20w49a 2020-12-02 19:22:56 -04:00
gnembon 0bacbcc2f5 Merge branch 'master' into 1.17 2020-12-02 13:23:32 -04:00
gnembon d29f49967f rework of the event system, allowing apps to function more independently and allowing for player scoped apps to handle global events. fixes #596 2020-12-02 01:02:36 -04:00
gnembon 973dd29739 Merge branch 'master' into 1.17
# Conflicts:
#	gradle.properties
#	src/main/java/carpet/script/value/ValueConversions.java
2020-11-29 01:23:22 -04:00
gnembon e15afd9763 added support for block predicate argument support and tag_matches function. Fixes #563 2020-11-29 00:33:01 -04:00
KingOfTheClouds 1abe93f0dc Fix scarpet modify(e, 'effect', ...) (#587) 2020-11-28 21:21:21 -04:00
gnembon 2552887340 Merge branch 'master' into 1.17 2020-11-28 19:03:39 -04:00
gnembon 5a8ce26c44 'biome' query api 2020-11-28 19:02:58 -04:00
gnembon 4f7ebdd9ff Merge branch 'master' into 1.17 2020-11-28 12:13:07 -04:00
gnembon 54d306d9bc added biome query to biome 2020-11-28 12:11:31 -04:00
gnembon 45e3abf19c fix to handle invalid structures with invalid boxes. 2020-11-28 01:24:49 -04:00
gnembon 07dce7bc2e risky optimizations. 2020-11-27 02:30:10 -04:00