Commit Graph
74 Commits
Author SHA1 Message Date
ch-yx 5b33291c28 inf 2023-12-05 22:43:41 +01:00
ch-yx e1071ab668 Update Entities.md 2023-12-05 22:43:41 +01:00
ch-yx f13db30bb4 Update Entities.md 2023-12-05 22:43:41 +01:00
altrisi 005368c3d9 Typo fixing round
Light check over all scarpet docs

Resolves #1626, resolves #1613, resolves #1597, some of the fixes are from these
2023-01-18 14:14:36 +01:00
altrisi 7e6405d67a Fix a typo in Scarpet entity docs
Found by @lucifiel1618, closes #1594.
2022-11-12 11:03:33 +01:00
ch-yx 40bc200615 add "returns null for all other entities" 2022-08-28 18:59:11 +02:00
ch-yxandaltrisi ceeaffcaad Update docs/scarpet/api/Entities.md
Co-authored-by: altrisi <altrisi.trillosierra@gmail.com>
2022-08-28 18:59:11 +02:00
ch-yxandaltrisi 099d11d039 Update docs/scarpet/api/Entities.md
Co-authored-by: altrisi <altrisi.trillosierra@gmail.com>
2022-08-28 18:59:11 +02:00
ch-yxandaltrisi 032e0e59f9 Update docs/scarpet/api/Entities.md
Co-authored-by: altrisi <altrisi.trillosierra@gmail.com>
2022-08-28 18:59:11 +02:00
ch-yxandaltrisi cee61391c0 Update docs/scarpet/api/Entities.md
Co-authored-by: altrisi <altrisi.trillosierra@gmail.com>
2022-08-28 18:59:11 +02:00
ch-yx 6466bf3f5b Update Entities.md 2022-08-28 18:59:11 +02:00
ch-yx d1cfe79fdd Update Entities.md 2022-08-28 18:59:11 +02:00
ch-yx 1d8903edf0 add doc 2022-08-28 18:59:11 +02:00
carseatheadrest 4da992dd22 Added missing EntityValue documentation (#1318) 2022-02-16 00:04:36 +01:00
intricateandgnembon 0ac214963f Add on_move Entity Event for Scarpet (#1096)
* Add ON_MOVE Entity Event for Scarpet

* Update src/main/java/carpet/script/EntityEventsGroup.java

* Add on_move to Entities.md

* Switch to ValueConversions

* Update docs/scarpet/api/Entities.md

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>

* Fix #1126

* undo last commit cause it was on the wrong branch

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
2022-01-19 21:36:16 +01:00
Crec0 eed64f224e Minor Docs update (#1214) 2022-01-08 20:41:54 +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
gnembon 0e9df3701f rework for events and other stored functions. Fixes #984 2021-07-22 22:22:38 -03:00
gnembon 448fde1f36 changes to entity load handler keeping it backwards compatible 2021-06-25 20:09:15 -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
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
Ghoulboy 164122eba2 Adding query player language (#824) 2021-04-26 21:38:29 -03:00
gnembon 6677c538fa simple 2021-04-19 09:32:33 -03:00
gnembon f2721ab87a custom events backend, and entity attribute query. 2021-04-13 01:22:50 -03:00
gnembon c5f666b95c specify 2021-03-26 22:29:06 -03:00
replaceitem 523f5e7438 Added to docs 2021-02-24 18:16:17 +01:00
BisUmTo d853ec69e6 Missing 'invulnerable' entity modifier in the Docs 2021-01-05 19:21:59 +01:00
gnembon 6225e5f632 player() returns consistently on player scoped apps. 2020-12-23 11:55:45 -04:00
gnembon f54ab746fe player swinging events. 2020-12-20 18:34:43 -04:00
gnembon a0067d0d61 added item_list, item_tags to support item tags as well as options for entities to support entity type tags. fixes #382 2020-12-07 00:12:55 -04:00
gnembon 56064a49cb fixes to xp stuff, saturation and weather 2020-12-06 19:55:01 -04:00
Ghoulboy 42e67f27b7 Adding absorption and xp API, and weather control (#540)
* fixes #537
* fixes  #547
2020-12-06 16:03:15 -04:00
gnembon 28e84dd64e entity_area can accept entity as a starting bounding box. 2020-12-05 22:41:15 -04:00
gnembon 59b752e6c9 better messaging on handling of unknown functions. fixes #606 2020-12-04 22:02:01 -04:00
gnembon 259bdc2c94 ability to query client brand and server scarpet version. 2020-12-02 22:36:20 -04:00
KingOfTheClouds 1abe93f0dc Fix scarpet modify(e, 'effect', ...) (#587) 2020-11-28 21:21:21 -04:00
gnembon 9dd046c4f5 added warning about handling of entity load 2020-11-13 06:53:24 -04:00
gnembon b90db6954e fixes 2020-10-31 14:35:49 -03:00
gnembon 7ccd46433a entity load handler and rework of handling of events. 2020-10-30 22:59:27 -03:00
gnembon 41e745ca0c spawn point control to entity api 2020-10-28 04:09:12 -03:00
gnembon 3a26dae51d Moar control over angles, fixes #510 2020-10-26 01:53:48 -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
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 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 4882480e9e fixing titles 2020-08-04 04:15:57 -03:00
gnembon 2c0ed7bf69 added 'on_ground' and clarifications around motion. 2020-07-27 02:11:05 -03:00