Commit Graph
476 Commits
Author SHA1 Message Date
gnembon 16e1b7952e sample_noise keywords and docs 2021-11-30 02:59:08 +01:00
gnembon 4af1d66450 docs 2021-11-28 23:33:06 +01:00
gnembon 547ed9b6b9 fixes #1178 Yo 2021-11-27 19:36:44 +01:00
gnembon 0f57bf0bc6 fixes #1187 Ye 2021-11-27 19:09:35 +01:00
gnembon 4d9c5eb391 docs 2021-11-25 21:45:53 +01:00
Sean Ferney 6321e1e9b6 Outdated comment, unable to modify NBT (#1183)
You can now modify NBT data with `modify nbt_merge` and `modify nbt`
2021-11-25 21:44:32 +01:00
Gnotteroandgnembon 775e923252 Added player abilities actions to the entity API (#1160)
* Added 'mayfly' and 'fly_speed' actions to the modify() function

* Added 'mayfly' and 'fly_speed' actions to the modify() function

* Added a query and a modify action for each of the abilities. Added the  modify action. Modified the docs to include all the new actions and queries

* Fixed an error with mod version

* Saving changes

* Modified the docs and fix an issue with float type variables

* Modified the docs and fixed an issue with float type variables

* Update src/main/java/carpet/script/value/EntityValue.java

* Update gradle.properties

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
2021-11-22 22:46:02 +01:00
github-actions[bot] 1cc48b95f1 Merge docs for 'Carpet Mod 1.4.54 for Minecraft 1.18-pre4 and 1.17.1' 2021-11-17 20:05:32 +00:00
Crec0 0f7eb6acae Fix typo
`modify(e, 'motion_z', x)` -> `modify(e, 'motion_x', x)`
2021-11-15 00:01:47 -08:00
gnembon 0998a78cae well 2021-11-13 21:32:09 +01:00
github-actions[bot] a9183d9fe3 Merge docs for 'Carpet Mod 1.4.53 for Minecraft 1.18-pre1 and 1.17.1' 2021-11-11 22:30:47 +00:00
Ghoulboy b935fadadf Add bitwise operations to scarpet (#1094) 2021-11-09 23:55:54 +01:00
github-actions[bot] 70d4ab428a Merge docs for 'Carpet Mod 1.4.48 for Minecraft 21w41a and 1.17.1' 2021-10-13 19:49:39 +00:00
altrisi d034b8945a Move some functions into system_info (#1084)
* Move some functions into `system_info`

* Add docs for new `system_info()` properties
2021-10-05 21:21:29 -03:00
github-actions[bot] 47c84842cd Merge docs for 'Carpet Mod 1.4.46 for Minecraft 21w37a and 1.17.1' 2021-09-18 16:24:16 +00:00
gnembon 77ecc6975d note on biome API changes for 1.18 2021-09-18 12:36:55 -03:00
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