Commit Graph
177 Commits
Author SHA1 Message Date
replaceitem 5771d42c98 scoreboard_add returns current criterion and null 2020-12-28 12:44:17 +01:00
altrisi 929c17da36 Fix Value mess 2020-12-27 15:53:44 +01:00
altrisi aabff1623b Reading/Writing JSON, first working version 2020-12-27 02:04:19 +01:00
gnembon 6225e5f632 player() returns consistently on player scoped apps. 2020-12-23 11:55:45 -04:00
gnembon 3b6261d3d6 Merge branch 'master' into 1.17 2020-12-21 02:58:09 -04:00
gnembon d99ab4fc24 limit depth of game_tick, just in case. 2020-12-20 22:58:41 -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
replaceitem 6bb7eb2ae2 Merge branch 'master' into scoreboard-criterion-mod 2020-12-16 20:40:29 +01:00
replaceitem 055c26d44a added changing criterion to scoreboard_add #624 2020-12-16 20:35:28 +01:00
gnembon 5280cda3ee set can now accept map of properties. 2020-12-16 02:05:05 -04:00
gnembon 4466f9e8bb set vanishes block data on unsuccessful replace. Fixes #629 2020-12-16 01:37:00 -04:00
gnembon e89f4444dc Merge branch 'master' into 1.17 2020-12-13 06:31:17 -04:00
gnembon 6dc6a42bda client function, duh. 2020-12-08 19:15:33 -04:00
gnembon 7ecef187d4 fix 2020-12-07 01:22:12 -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
Ghoulboy 49e5c012b3 Adding Gamerule modification to scarpet (#610) 2020-12-06 20:32:29 -04:00
gnembon 56064a49cb fixes to xp stuff, saturation and weather 2020-12-06 19:55:01 -04:00
gnembon bbde2bb173 simplify code for print 2020-12-06 16:43:07 -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 28e84dd64e entity_area can accept entity as a starting bounding box. 2020-12-05 22:41:15 -04:00
gnembon 4a67668c8c proper mocked command source. Fixes #608 2020-12-05 01:58:27 -04:00
gnembon 9d08c54324 Merge branch 'master' into 1.17 2020-12-03 22:25:51 -04:00
gnembon 6e5af5bfc8 added list_files, fixes #589 2020-12-03 04:05:11 -04:00
gnembon 5a15c115ac compound tags from scarpet are saved compressed and allowing to read compressed compounds as well. 2020-12-03 00:44:27 -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
replaceitem 3a2edb9ed2 Added scarpet bossbar function (#585) 2020-11-30 11:12:04 -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
gnembon 076ad62fad potential NPE issue 2020-11-28 22:23:57 -04:00
gnembon bab7037b80 cleanup 2020-11-28 22:21:38 -04:00
altrisi ce0cca4005 [Scarpet] Add display_title function (#555) 2020-11-28 21:40:16 -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 b13c59eedf added block_list and block_tags to handle block tags. 2020-11-28 02:29:26 -04:00
gnembon 083d2a7f2e plop with no args returns all available structures and features. 2020-11-28 01:44:16 -04:00
gnembon 45e3abf19c fix to handle invalid structures with invalid boxes. 2020-11-28 01:24:49 -04:00
gnembon 6206753198 block_state can accept string block name as well. 2020-11-27 15:50:57 -04:00
replaceitem 92dcf6648e Fixed small mistakes in team functions (#580) 2020-11-26 23:54:09 -04:00
gnembon f4f289b0ec Merge branch 'master' into 1.17
# Conflicts:
#	src/main/java/carpet/script/value/NBTSerializableValue.java
2020-11-26 03:03:03 -04:00
replaceitemandgnembon 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 253604b34a Merge branch 'master' into 1.17 2020-11-25 02:12:41 -04:00
gnembon 2a403c36c8 added deprecation warnings, fixes #568 2020-11-25 01:49:56 -04:00
gnembon 5615bddf9b returns false on 'set' when setblock fails. 2020-11-25 00:14:46 -04:00
gnembon 550e53aec7 Scoreboard for invalid objective shouldn't fail since objective names are not fixed and provided by players. 2020-11-23 22:08:06 -04:00