Commit Graph
919 Commits
Author SHA1 Message Date
gnembon b90db6954e fixes 2020-10-31 14:35:49 -03:00
gnembon e617008930 fix rounding and precision ugliness, fixes #516 2020-10-31 11:42:53 -03:00
gnembon 8f7047df45 lil cleanup 2020-10-30 23:23:07 -03: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 ea52048f3d consistently treat input scripts as utf-8 2020-10-27 02:34:09 -03:00
gnembon 3a26dae51d Moar control over angles, fixes #510 2020-10-26 01:53:48 -03:00
gnembon a6286850b4 reorganized app shutdown 2020-10-24 22:59:16 -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
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 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 6f0faf991a expanded long arithmetic 2020-10-12 11:56:52 -03:00
gnembon ff4c4431f4 handling more pse's 2020-10-11 11:59:22 -03:00
gnembon 3ad9395c20 handling pse in replace 2020-10-10 18:52:06 -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 10309ffcac cleaned up result of parsing of nbt strings. 2020-09-28 23:40:01 -03:00
gnembon d5ebe5361c fixed incorrect recognition of some NULL objects 2020-09-28 22:17:29 -03:00
gnembon 9b35c19bea pattern matching errors are reported as coding errors 2020-09-28 15:54:56 -03:00
gnembon c4c268b079 increased utility of string matching using '~' 2020-09-26 12:28:46 -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 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 cbe91b4759 unhandled throw() now reports as error. Fixes #446 2020-09-10 00:32:36 -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
gnembon 34d548523d making language elements statically defined. 2020-09-09 14:23:58 -03:00
gnembon 5f0dd2eb95 maket it public 2020-09-09 09:20:44 -03:00
BisUmTo 55d9b0b64b Made the Event Constructor public (#460)
It's not possible to create a new event outside the carpet.script package (Commit 3105d5bb71 fix)
2020-09-09 09:18:14 -03:00
gnembon 3105d5bb71 Events are defined statically in normal classes and added handler for extensions to add their built-ins 2020-09-08 23:47:31 -03:00
gnembon a7fcaaddf1 code fixes 2020-09-07 15:37:22 -03:00
gnembon 6bf1d46c50 Merge branch 'master' of https://github.com/gnembon/fabric-carpet 2020-09-07 15:20:07 -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 7daac70f93 mappings 2020-09-07 15:16:15 -03:00
gnembon a9572236dd custom dims wip 2020-09-07 14:31:47 -03:00
gnembon d072e4946a removing / reloading an app will cause all their scheduled calls to be cleaned as well. 2020-09-07 11:44:46 -03:00
gnembon 81ae5bbb40 poi can query in square column as well. 2020-09-07 01:26:23 -03:00
gnembon 1006e0ac40 commands return integer value if possible, fixes #408
handle infinite values as infinities.
2020-09-05 02:06:59 -03:00
gnembon 208d07bf47 added 'exact' to 'trace' in entity API 2020-09-03 05:04:17 -03:00
gnembon e759a368b9 Can has json version of a scarpet value 2020-08-21 01:44:19 -03:00
gnembon b48c52cce4 seed returns numbers now since they will not loose long precision. 2020-08-21 00:55:18 -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