Commit Graph
360 Commits
Author SHA1 Message Date
gnembon 289df9d9f8 specify inventory changes 2024-02-29 12:32:52 +01:00
ch-yx 4aec8114c9 Remove check for sound presence from Scarpet's sound function (#1834) 2024-01-18 18:06:03 +01:00
ch-yx 5bc3acf316 remove inf check 2023-12-05 22:43:41 +01:00
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
gnembon 1fe486a5e8 23w41a 2023-10-11 18:20:30 +02:00
Spongecade 453f5c0813 Update Minecraft wiki links to new domain (#1827) 2023-10-06 18:29:18 +02:00
Ghoulboy 60e6dcd633 Improve docs for create_explosion() (#1764)
* Update incorrect docs for `create_explosion()`

* Added descriptions of arguments, instead of just defaults
2023-08-03 13:45:06 +02:00
Ghoulboy e5c395485b Updating Scarpet docs for BlockIterations.md (#1754) 2023-07-07 14:55:08 +02:00
Ghoulboy 5e5c434e81 Updating Scarpet docs for BlockIterations.md (#1757) 2023-07-07 14:54:21 +02:00
gnembon 97ab52a917 removal of material() 2023-04-20 22:02:33 +02:00
gnembon 51fae27708 single argument print(foo) in player scoped apps will always target the player instance for chat message output. 2023-04-20 20:46:33 +02:00
gnembon 9a5c2d5fc3 deprecation of material(...), fix map_colour(...) 2023-04-05 20:09:52 +02:00
gnembon 41e33503fb 23w06a 2023-02-08 21:44:15 +01:00
gnembon 2133675ac7 renamed sample_density with 'sample_noise'. sample noise values directly from the local router if possible. 2023-01-30 18:02:08 +01:00
gnembon ec2b56183a renamed compute_density_function with 'sample_density' and tweaked its use 2023-01-28 19:54:41 +01:00
gnembon 659f0106e3 renamed compute_density_function with 'sample_density' and tweaked its use 2023-01-28 19:51:13 +01:00
Crec0 f2c658bf03 Add compute_density_function to replace removed `sample_noise (#1591) 2023-01-25 17:08:36 +01:00
Ghoulboy 811b330446 Adding system_info('world_min_spawning_light') (#1475) 2023-01-20 14:01:37 +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
Ghoulboy 43bb84437f Add event for commands and make __on_player_message not trigger for them (#1525)
* Restoring old behaviour of __on_player_message

Fixes #1511

* Changed to PLAYER_COMMAND

* Updated docs

* Updated event_test.sc

* Updated editor keywords

* Fixed issue
2022-12-26 15:30:50 +01:00
altrisi 7e6405d67a Fix a typo in Scarpet entity docs
Found by @lucifiel1618, closes #1594.
2022-11-12 11:03:33 +01:00
gnembon 9f776167e3 22w42a 2022-10-20 14:33:36 +02:00
replaceitem 24b9c386ec [Scarpet] Added ability to cancel events (#1497)
* Added ability to cancel events

* Made more events cancellable

* Added event_priority to __config

* Check for string values for performance

* Made player_finishes_using_item cancellable

* Made player_chooses_recipe cancellable

* Made player_swaps_hands cancellable

* Made player_message cancellable

* Added __on_player_placing_block (#1498)

* Added event to docs, keywords, event_test

* Added docs for event cancellation
2022-10-15 13:30:53 +02:00
gnembon 4bb4b557e5 note on 'variant' being experimental 2022-10-15 12:56:06 +02:00
gnembon c6b1f53b44 shapes 'facing' now defaults to player and player is correctly rendered facing player face, not camera plane. 2022-10-15 12:49:18 +02:00
gnembon 36aff8f9d3 cleanup and tilt-lean fixes for new shapes 2022-09-12 02:08:43 +02:00
ch-yx 179f5a6006 adding a shape that can display a item or a block (#1365)
added 'polygon', 'item' and 'block' to scarpet rendered shapes
2022-09-12 00:38:52 +02:00
ch-yx 40bc200615 add "returns null for all other entities" 2022-08-28 18:59:11 +02:00
ch-yx 4eca2e90d0 remove a space 2022-08-28 18:59:11 +02:00
ch-yx b456d4be50 Update Auxiliary.md 2022-08-28 18:59:11 +02:00
ch-yx 10249f381d adding more details in doc 2022-08-28 18:59:11 +02:00
ch-yx bf64386cfb Update Auxiliary.md 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 d3e6b7c233 more details 2022-08-28 18:59:11 +02:00
ch-yx 3f91c3b5cd rename it to item_display_name 2022-08-28 18:59:11 +02:00
ch-yx 6466bf3f5b Update Entities.md 2022-08-28 18:59:11 +02:00
ch-yx cfbc7f0409 Update Auxiliary.md 2022-08-28 18:59:11 +02:00
ch-yxandGhoulboy 344c6954e1 Update docs/scarpet/api/BlocksAndWorldAccess.md
Co-authored-by: Ghoulboy <ghoulboy27@gmail.com>
2022-08-28 18:59:11 +02:00
ch-yx 5e5ce6f7d3 is that ok now? 2022-08-28 18:59:11 +02:00
ch-yx 247835386e add document for item_display_name 2022-08-28 18:59:11 +02:00
ch-yx d1cfe79fdd Update Entities.md 2022-08-28 18:59:11 +02:00
ch-yx abe9cf825c rename to effective_light 2022-08-28 18:59:11 +02:00
ch-yx 1d8903edf0 add doc 2022-08-28 18:59:11 +02:00
Luca Bertozzi 8c7dfa133e Added __on_chunk_unloaded scarpet event (#1451)
* Fixes #1403

* Use concrete type
2022-05-27 20:24:25 +02:00
gnembon 842370f68d Merge branch 'master' into future
# Conflicts:
#	src/main/java/carpet/script/api/Auxiliary.java
2022-03-30 07:49:07 +02:00