Commit Graph
354 Commits
Author SHA1 Message Date
gnembon edca3fb131 using proper logger now 2021-04-22 22:30:45 -03:00
gnembon d072ec90c3 hold your horses 2021-04-22 22:26:35 -03:00
gnembon 5edbbe3fe2 remane 2021-04-22 22:25:46 -03:00
gnembon 77fbb3af75 Merge branch 'master' into unpacker 2021-04-22 20:37:57 -03:00
gnembon 74bd0bb81e dont be lazy refactor 2021-04-22 20:37:48 -03:00
gnembon a65d16c9ba WIP unpacking of parameters. 2021-04-21 12:21:47 -03:00
gnembon db15744737 Merge pull request #820 from altrisi/get-list
Make `get()` always return a list if requested item ends with `[]`
2021-04-21 01:43:42 -03:00
altrisi 6083b702f9 Make NBT's get() always return a list if requested item ends with [] 2021-04-21 00:25:14 +02:00
replaceitem e26e332a6d Adding getTextByValue method to replace duplicate code (#823)
* Added FormattedTextValue.getTextByValue()

* changed getBoolean() and added to display_title
2021-04-20 17:14:08 -03:00
gnembon ba89d0164f handling snooped commands properly 2021-04-19 23:40:22 -03:00
gnembon f2721ab87a custom events backend, and entity attribute query. 2021-04-13 01:22:50 -03:00
gnembon e063748e83 added create_explosion and more event handlers. 2021-04-09 01:38:00 -03:00
gnembon c5f666b95c specify 2021-03-26 22:29:06 -03:00
gnembon 02e097dc4f fix 2021-03-23 04:15:51 -03:00
gnembon 47f9efb0f2 extended info provided with system_info 2021-03-21 02:33:24 -03:00
gnembon a8bae66b2a allow to modify built-in temporary variables, otherwise its tough to reduce to a list. Let's see what happens. 2021-03-14 01:57:45 -04:00
gnembon 2d1b53258c simplify error messages 2021-03-09 13:29:20 -04:00
gnembon 25eccc9569 Merge branch 'master' into more-throwables 2021-03-07 17:52:10 -04:00
gnembon 38458a8e35 added create_datapack, check_hidden_dimensions and world_dimensions in system info. 2021-03-07 16:37:13 -04:00
gnembon d97110a1ba fixed use of client method when using item, entity and block tags. 2021-03-06 00:57:03 -04:00
gnembon 1ae358909b true and false represent now proper boolean values, not just 0 and 1. All other previous arithmetic holds. 2021-03-02 23:33:51 -04:00
replaceitem ca4db433c1 Fixed slice() returning empty string when referring to last character (#751)
* Fixed slice() returning empty string when referring to last character
2021-03-01 22:10:49 -04:00
replaceitem f202c024cf made entity~'display_name' return a formatted text 2021-02-24 17:55:45 +01:00
altrisi eb7bb70586 Implement query(e,'fire') 2021-02-21 12:38:25 +01:00
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
altrisi a83548876a Extra handling of null values (part 1) (#684) 2021-01-26 01:16:48 -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 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 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 f54ab746fe player swinging events. 2020-12-20 18:34:43 -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 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 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 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 259bdc2c94 ability to query client brand and server scarpet version. 2020-12-02 22:36:20 -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 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