Commit Graph
549 Commits
Author SHA1 Message Date
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
github-actions[bot] d26a56ea98 Merge docs for 'Carpet Mod 1.4.95 for Minecraft 23w04a' 2023-01-24 21:20:04 +00:00
altrisi c9c1e5a4dc Fix undef docs mentioning you can undef constant literals
Fuxes #1566
2023-01-20 19:00:47 +01:00
Ghoulboy 811b330446 Adding system_info('world_min_spawning_light') (#1475) 2023-01-20 14:01:37 +01:00
github-actions[bot] b81ce06beb Merge docs for 'Carpet Mod 1.4.94 for 23w03a' 2023-01-18 21:21:10 +00: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
github-actions[bot] 4fd1c259ab Merge docs for 'Carpet Mod 1.4.92 for 1.19.3' 2022-12-29 23:04:06 +00: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
github-actions[bot] 0d837c4525 Merge docs for 'Carpet Mod 1.4.89 for 1.19.3-pre2' 2022-11-24 05:17:26 +00:00
altrisi 7e6405d67a Fix a typo in Scarpet entity docs
Found by @lucifiel1618, closes #1594.
2022-11-12 11:03:33 +01:00
github-actions[bot] 0f21d15b4f Merge docs for 'Carpet Mod 1.4.85 for 22w42a' 2022-10-20 12:53:41 +00:00
gnembon 9f776167e3 22w42a 2022-10-20 14:33:36 +02:00
github-actions[bot] ffa4fcf2a6 Merge docs for 'Carpet Mod 1.4.84 for 1.19.2' 2022-10-18 14:03:30 +00: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
gnembon bb12e3ddd1 code cleanup for getItemsStackFromValue and npp keywords 2022-08-28 20:01:40 +02:00
ch-yx 44bce20d75 add idea s key word file 2022-08-28 18:59:11 +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
Ghoulboy 65fe8a19bb Adding arguments to events 2022-08-28 18:23:37 +02:00
github-actions[bot] 486c2ec5bc Merge docs for 'Carpet Mod 1.4.78 for 1.19-prerelease-5' 2022-06-01 20:19:32 +00:00
Luca Bertozzi 8c7dfa133e Added __on_chunk_unloaded scarpet event (#1451)
* Fixes #1403

* Use concrete type
2022-05-27 20:24:25 +02:00
github-actions[bot] 3780d5f432 Merge docs for 'Carpet Mod 1.4.70 for 22w14a (1.19 snapshot)' 2022-04-06 20:30:20 +00:00
rv3r 9a804d546c Docs edit, noted double backslash requirement for some regex operators (#1361) 2022-04-04 10:26:06 +02:00
gnembon 4db1c9540a Merge branch 'master' into future 2022-04-01 01:32:58 +02:00
github-actions[bot] d27767ba98 Merge docs for 'Carpet Mod 1.4.69 for Minecraft 1.18.2 and 22w13a' 2022-03-31 21:26:05 +00: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
gnembon c33c53c8c2 enable_hidden_dimensions is ded :( 2022-03-30 07:44:37 +02:00