Commit Graph
460 Commits
Author SHA1 Message Date
gnembon 61052ea06d remove limits from fact in favour of estimation. Fixes #1065 2021-08-19 09:59:35 -03:00
github-actions[bot] 03353a7675 Merge docs for 'Carpet Mod 1.4.45 for Minecraft 1.18 exp3, 1.17.1' 2021-08-11 20:31:04 +00:00
gnembon 0e9df3701f rework for events and other stored functions. Fixes #984 2021-07-22 22:22:38 -03:00
github-actions[bot] 90eeba5283 Merge docs for 'Carpet Mod 1.4.43 for Minecraft 1.18 exp1, 1.17.1 and 1.16.5' 2021-07-14 04:30:00 +00:00
gnembon 62f2b97303 marked 1.18 inaccessible options. 2021-07-14 01:09:51 -03:00
gnembon 33500dde29 Merge branch 'master' into 1.17
# Conflicts:
#	src/main/java/carpet/script/api/Auxiliary.java
#	src/main/java/carpet/script/api/Inventories.java
#	src/main/java/carpet/script/api/WorldAccess.java
#	src/main/java/carpet/script/value/EntityValue.java
2021-07-05 16:53:01 -03:00
github-actions[bot] 461c03ac09 Merge docs for 'Carpet Mod 1.4.42 for Minecraft 1.17.1 and 1.16.5' 2021-07-02 03:47:39 +00:00
gnembon 4f77327b6c Merge branch 'master' into 1.17
# Conflicts:
#	src/main/java/carpet/script/utils/AppStoreManager.java
2021-06-30 13:33:10 -03:00
altrisi 97e69d347e Change how resource type works, allow proper app and library installation (#956)
* Change how app store types work, allow proper app and library installation

* Add node for resources in dependencies and docs

* Fix NPE without `type`

* Fix docs trying to change location of app type resource

* Separate libraries and apps and add trash for them

* Update docs

* Create trash directory if it doesn't exist
2021-06-30 12:42:24 -03:00
altrisi d92b412c0a Document entities argument type (#968) 2021-06-30 12:30:55 -03:00
github-actions[bot] 91de6ec307 Merge docs for 'Carpet Mod 1.4.41 for Minecraft 1.17.1 and 1.16.5' 2021-06-29 18:00:40 +00:00
gnembon 092766b820 Merge branch 'master' into 1.17 2021-06-26 23:20:30 -03:00
gnembon b1b7956ea9 added chunk_loaded event and fixed handling these events on 1.17 2021-06-26 23:20:13 -03:00
gnembon 1a152ce20a Merge branch 'master' into 1.17 2021-06-25 23:50:39 -03:00
gnembon 7a3ad7f0b8 fixed mixed messaging in docs about delete 2021-06-25 23:47:42 -03:00
gnembon bf6fddd645 nitpick, fixes #922 2021-06-25 23:10:55 -03:00
gnembon 2127c3ac8e Merge branch 'master' into 1.17
# Conflicts:
#	src/main/java/carpet/mixins/ServerWorld_scarpetMixin.java
#	src/main/java/carpet/script/CarpetEventServer.java
2021-06-25 20:12:45 -03:00
gnembon 448fde1f36 changes to entity load handler keeping it backwards compatible 2021-06-25 20:09:15 -03:00
gnembon 85d60b283f more flexible dealing with custom argument types, allowing _ in custom types. Fixes #936 2021-06-23 13:36:14 -03:00
gnembon 8314072f9d Merge branch 'master' into 1.17 2021-06-23 13:37:29 -03:00
gnembon 979032688d docs 2021-06-23 04:26:13 -03:00
gnembon b082de1071 Merge branch 'master' into 1.17 2021-05-28 13:37:33 -03:00
github-actions[bot] b4eff96e5e Merge docs for 'Carpet Mod 1.4.38 for Minecraft 1.16.5 and Minecraft 1.17-pre1' 2021-05-27 18:06:44 +00:00
gnembon e2dfbc5bdd Merge branch 'master' into 1.17 2021-05-27 01:56:13 -03:00
gnembon 328ded0537 added /script remove app command 2021-05-27 01:54:26 -03:00
gnembon cab37358ed Merge branch 'master' into 1.17 2021-05-25 00:41:29 -03:00
gnembon db9039c02a added app resources for apps from appstores 2021-05-25 00:41:06 -03:00
gnembon 84dd972758 Merge branch 'master' into 1.17 2021-05-21 04:42:21 -03:00
Ghoulboy 5f16ffd933 Adding /script download (#826)
This reverts commit e98adb77a52d1e274ec320e0cafab34b24c1c738.

* First attempt at creating download system...

* Last try, I had uncommitted changes which I forgot to add.

If it fails now i swear imma delete my fork of fabric carpet.

* OK, this is the last chance. I have checked and double checked, this should not fail.

Todo make them more detailed, Im not the best person to do that tbh...

* Towards a suggestion builder

(Also committing stuff in ScriptDownloader incase it crashes)

* Finished first theoretically functional draft of suggestion builder

* improving suggestion building with actual github api

* Collapsing identical error messages

* Got suggestions to work!

Now gotta get the actual file to save to disk properly

* replacing whitespace with url whitespace to make it read form 'creativ building tools' etc

* Successfully downloaded script into folder location!

* only clients can access global scripts folder, so don't want to cause error message

* Compacting code and updating docs

* Fixed getting folders from file names
2021-05-19 17:30:39 -03:00
gnembon 65447f09ad Merge branch 'master' into 1.17
# Conflicts:
#	src/main/java/carpet/helpers/FeatureGenerator.java
2021-05-13 01:52:08 -03:00
github-actions[bot] 08c653a5ed Merge docs for 'Carpet Mod 1.4.36 for Minecraft 1.16.5 and Minecraft 21w19a' 2021-05-12 23:44:35 +00:00
gnembon 7ed96e22f1 Merge branch 'master' into 1.17 2021-05-12 17:07:13 -03:00
gnembon 4a6f21c18b Merge branch 'master' into 1.17 2021-05-12 12:13:15 -03:00
Julian Wandhoven 05200ac944 Update Overview.md (#855) 2021-05-12 09:17:05 -03:00
replaceitemandgnembon a343c5d9f2 Switch out l() syntax to [] in docs (#851)
* Switch out l() syntax to [] in docs

* Using map syntactic sugar as well.

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
2021-05-10 22:40:49 -03:00
gnembon 407c117c29 Merge branch 'master' into 1.17 2021-05-10 01:50:09 -03:00
gnembon 451b35b6c5 % is a proper modulus operator, not reminder. #fixes 842, #fixes 843 2021-05-10 00:49:04 -03:00
replaceitemandgnembon 6a06b0fb61 Modify look (#848)
* Added modify(e,'look',...

* Added modify(e,'look',...

* Not change yaw and pitch if vector length is 0 or straight up/down

* Added to docs

* Update docs/scarpet/api/Entities.md

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
2021-05-09 15:14:05 -03:00
gnembon 1a7acd519e Merge branch 'master' into 1.17 2021-05-07 23:50:44 -03:00
github-actions[bot] 0a9729b381 Merge docs for 'Carpet Mod 1.4.35 for Minecraft 1.16.5 and Minecraft 21w18a' 2021-05-05 20:40:31 +00:00
gnembon 820c9b6489 Merge branch 'master' into 1.17 2021-05-05 01:31:00 -03:00
gnembon 0f81be2e8e Merge pull request #844 from gnembon/expression_optimizer
Expression optimizer
2021-05-05 01:28:01 -03:00
gnembon 8d97ab26a9 script compile time optimizations. 2021-05-05 00:25:31 -03:00
github-actions[bot] eb5fd951ef Merge docs for 'Carpet Mod 1.4.34 for Minecraft 1.16.5 and Minecraft 21w17a' 2021-04-28 17:28:43 +00:00
gnembon 988357317a Merge branch 'master' into 1.17 2021-04-26 23:29:27 -03:00
gnembon 3b3ebee48b Merge branch 'master' of https://github.com/gnembon/fabric-carpet 2021-04-26 23:28:17 -03:00
gnembon 7da009fe5b docs on '...'. Addresses and fixes #833 2021-04-26 23:27:39 -03:00
gnembon 390c40ae74 little better place 2021-04-27 00:33:43 -03:00
Ghoulboy 164122eba2 Adding query player language (#824) 2021-04-26 21:38:29 -03:00
Ghoulboy 1bc2dd94da Adding b64 and json decoder and encoder functions (#829) 2021-04-26 21:21:35 -03:00