Commit Graph
199 Commits
Author SHA1 Message Date
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
gnembon 091a4deadc Merge branch 'master' into 1.17
# Conflicts:
#	src/main/java/carpet/script/value/ValueConversions.java
2020-11-22 21:59:57 -04:00
gnembon b8ca302d33 added block_state, deprecated block_properties and property 2020-11-22 01:30:48 -04:00
gnembon a5dd6ed1c2 mappings 2020-11-17 08:41:16 -04:00
gnembon 769e38021c Merge branch 'master' into 1.17 2020-11-11 16:08:30 -04:00
gnembon 14d3a1725b shit, snap 2020-11-11 12:45:29 -04:00
gnembon be3cb35f75 Merge branch 'master' into 1.17 2020-11-11 02:08:05 -04:00
gnembon 55643632ca custom events, and low level event API 2020-11-11 02:06:45 -04:00
gnembon d48896ad8b mappings. More colors and materials 2020-11-06 23:10:43 -04:00
gnembon 94b47c1272 Merge branch 'master' into 1.17
# Conflicts:
#	gradle.properties
#	src/main/java/carpet/mixins/World_movableTEMixin.java
2020-11-06 21:56:47 -04:00
gnembon c326785fb9 plop takes now correct number of arguments. 2020-11-06 21:55:00 -04:00
gnembon 2cdea92da7 20w45a 2020-11-06 00:06:53 -04:00
gnembon ce8529d084 added more types, entities 2020-11-04 13:48:36 -04:00
gnembon 7ccd46433a entity load handler and rework of handling of events. 2020-10-30 22:59:27 -03:00
gnembon 15ac7a4621 entity actions 2020-10-29 11:26:59 -03:00
gnembon 41e745ca0c spawn point control to entity api 2020-10-28 04:09:12 -03:00
gnembon 70a59ccedd cleanup 2020-10-15 03:20:10 -03:00
gnembon 239aa9e143 added system_info, deprecated seed 2020-10-12 23:01:44 -03:00
gnembon 1c1fb5eb59 fixes #486 2020-10-02 18:07:59 -03:00
gnembon 5adc3ae3f9 entity_area now accepts tuple arguments, and ai_tracker shows correctly player item pickup area 2020-09-30 22:47:10 -03:00
gnembon d5ebe5361c fixed incorrect recognition of some NULL objects 2020-09-28 22:17:29 -03:00
gnembon 677ff2da90 boi 2020-09-24 03:34:31 -03:00
Ghoulboy 38bda134b7 Update item_category (#473)
* Update item_catrgory so it doesnt crash with an item which has no category
2020-09-23 20:59:53 -03:00
gnembon 279ac0f1d3 commands fail to run in pure server context. Fixes #474 2020-09-23 03:56:34 -03:00
gnembon e8b2060fb3 variable number of arguments for user defined functions. 2020-09-22 04:38:08 -03:00
gnembon 1bec0f88f4 run now returns success count, intercepted output and an error message. Good for parsing. Fixes #428 2020-09-10 01:48:32 -03:00
gnembon 33f400e904 refactor 2020-09-09 16:19:12 -03:00
gnembon 59575ec607 refactor breaking up API and language defs 2020-09-09 15:37:03 -03:00