Commit Graph
380 Commits
Author SHA1 Message Date
gnembon 3a26dae51d Moar control over angles, fixes #510 2020-10-26 01:53:48 -03:00
Sir_Gavith 7d98f023ef Update Intellij Custom Language support (#503)
Update Intellij Custom Language support 4.txt to include arguments and arrow operators for all events.
2020-10-25 01:25:33 -03:00
github-actions[bot] 26a15d7c8d Merge docs for 'Merge branch 'master' of https://github.com/gnembon/fabric-carpet' 2020-10-25 01:36:37 +00:00
gnembon 70db85ca9f Merge branch 'master' of https://github.com/gnembon/fabric-carpet 2020-10-24 22:36:12 -03:00
gnembon 6594b404bb sleep close_call is too much - expression is sufficient since executes in the same context. 2020-10-24 22:35:58 -03:00
github-actions[bot] dd91a16138 Merge docs for 'Fixed threading and add shutdown control for threads via sleep' 2020-10-25 01:18:31 +00:00
gnembon 1268af4131 Fixed threading and add shutdown control for threads via sleep 2020-10-24 22:18:02 -03:00
gnembon 183dd0293b split has default behaviour with no delimiter present 2020-10-18 21:28:58 -03:00
gnembon 239aa9e143 added system_info, deprecated seed 2020-10-12 23:01:44 -03:00
gnembon 6f0faf991a expanded long arithmetic 2020-10-12 11:56:52 -03:00
TheCatSaber 492d296446 Update Inventories.md 2020-10-05 12:52:35 +01: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 c4c268b079 increased utility of string matching using '~' 2020-09-26 12:28:46 -03:00
gnembon 9ca7892859 added player_picks_up_item and better docs on events. 2020-09-23 03:26:39 -03:00
gnembon e8b2060fb3 variable number of arguments for user defined functions. 2020-09-22 04:38:08 -03:00
gnembon 7de132eb56 removed tail assumption of known number of function arguments. Added task_thread 2020-09-21 09:37:30 -03:00
gnembon c0707fe544 added player_collides_with_entity event 2020-09-17 21:29:35 -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 a7fcaaddf1 code fixes 2020-09-07 15:37:22 -03:00
Ghoulboy 26169f042e Updating logger to support different types (#452) fixes #437
* Updating logger to support different types

* changing to ouptut info by default

* updating docs with air

* adding air modify definition
2020-09-07 15:19:28 -03:00
gnembon 81ae5bbb40 poi can query in square column as well. 2020-09-07 01:26:23 -03:00
gnembon 208d07bf47 added 'exact' to 'trace' in entity API 2020-09-03 05:04:17 -03:00
TheCatSaber 3eb676835f Minor corrections to Entities.md (#429)
* Minor corrections to Entities.md

Moved
<pre>
Run(‘/kill ’ + e~'command_name’);
</pre>
To modify(e, ‘kill’) since that makes more sense than it being at query(e, 'persistence').

* Moved to query(e, ‘command_name’)
2020-08-31 17:27:12 -03:00
gnembon 968ef0cd9f numbers in scarpet better handle long type values.
If possible, numbers that can be represented as longs (seeds, etc) will be handled as longs but they will loose their longinness with a single arithmetic operation.
2020-08-21 00:47:19 -03:00
gnembon 3167fe06f3 cleanup unused code and mixins 2020-08-18 01:54:24 -03:00
gnembon 598219608b added WIP 'custom_dimension' to the API 2020-08-17 00:36:01 -03:00
gnembon fb29177d5d Merge branch 'master' into 1.16 2020-08-04 04:24:06 -03:00
gnembon 4882480e9e fixing titles 2020-08-04 04:15:57 -03:00
Sir_GavithandJames103 a322752549 Corrected while() documentation (#400)
* Corrected while() args

Added `expr` to the args of while() in the documentation

* Corrected while() args

Added `expr` to the args of while() in the documentation

* Update docs/scarpet/language/LoopsAndHigherOrderFunctions.md

Co-authored-by: James103 <37945304+James103@users.noreply.github.com>

Co-authored-by: James103 <37945304+James103@users.noreply.github.com>
2020-08-03 01:31:55 -03:00
gnembon ede70298c9 Merge branch 'master' into 1.16 2020-07-27 02:20:18 -03:00
gnembon 2c0ed7bf69 added 'on_ground' and clarifications around motion. 2020-07-27 02:11:05 -03:00
gnembon bf74dc4c13 Merge branch 'master' into 1.16 2020-07-21 23:49:41 -03:00
gnembon 062f1501d0 doc update 2020-07-21 23:48:16 -03:00
gnembon 224d30e951 Merge branch 'master' into 1.16
# Conflicts:
#	src/main/java/carpet/script/value/EntityValue.java
2020-07-21 23:35:31 -03:00
gnembon 87b8892e42 new filters for entities 2020-07-21 23:31:44 -03:00
gnembon 359b89b46f Merge branch 'master' into 1.16 2020-07-21 05:07:22 -03:00
gnembon cfc97c5703 block breaking / active block entity API 2020-07-21 05:03:19 -03:00
gnembon 786e282889 player swaps hands event 2020-07-21 02:27:26 -03:00
gnembon 86b6723b6a Merge branch 'master' into 1.16
# Conflicts:
#	src/main/java/carpet/script/utils/ShapeDispatcher.java
2020-07-19 11:26:22 -03:00
gnembon ca0ddbb9e2 allow for discrete snapping of drawn shapes 2020-07-19 11:19:49 -03:00
gnembon 5ec6accbde Merge branch 'master' into 1.16 2020-07-19 03:29:01 -03:00
gnembon bd397ae772 docs for 1.16 brain API 2020-07-19 03:28:31 -03:00
gnembon 33651de9cd Merge branch 'master' into 1.16 2020-07-19 01:37:30 -03:00
gnembon 606f768aed added 'path' and 'brain' to entity query API 2020-07-19 01:37:19 -03:00
gnembon 96f36fc749 Merge branch 'master' into 1.16 2020-07-18 17:15:14 -03:00
gnembon 4958006bcc added doublesided 2020-07-18 17:15:00 -03:00
gnembon ca9f029996 Merge branch 'master' into 1.16
# Conflicts:
#	src/main/java/carpet/script/utils/ShapeDispatcher.java
2020-07-18 17:03:20 -03:00
gnembon 02d985bafc added doublesided 2020-07-18 17:02:43 -03:00
gnembon eb79ea98e7 Merge branch 'master' into 1.16
# Conflicts:
#	src/main/java/carpet/script/utils/ShapesRenderer.java
2020-07-18 13:21:33 -03:00