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
gnembon
5a8ce26c44
'biome' query api
2020-11-28 19:02:58 -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
replaceitem and gnembon
210b0fc8ea
Added scarpet team functions ( #569 )
...
* Added team functions
* Docs for team functions
* Added team functions to editor keywords
* Added static method getPlayerNameByValue to EntityValue (also works with non existing players
Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com >
2020-11-26 02:59:23 -04:00
gnembon
cd3880ea07
added slot argument type, fixes #564
2020-11-26 02:52:41 -04:00
gnembon
79cb4a20d8
refactor for inventories, allowing for null types.
2020-11-26 00:33:09 -04:00
gnembon
201654ff44
adding support for equipment inventories as well as horse and pillager item inventories.
2020-11-25 17:52:17 -04:00
gnembon
b8ca302d33
added block_state, deprecated block_properties and property
2020-11-22 01:30:48 -04:00
altrisi and gnembon
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
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
ce8529d084
added more types, entities
2020-11-04 13:48:36 -04:00
gnembon
c827b04126
why not
2020-11-01 01:28:31 -04:00