Commit Graph
581 Commits
Author SHA1 Message Date
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
gnembon 193cf3777f fixes for 22w11a 2022-03-17 23:57:42 +01:00
github-actions[bot] 692e157905 Merge docs for 'Carpet Mod 1.4.63 for Minecraft 1.18.2-pre1' 2022-02-20 09:15:15 +00:00
gnembon c01ad9ce9d 1.18.2-pre 2022-02-20 01:50:46 +01:00
github-actions[bot] aa2ba07c4f Merge docs for 'Carpet Mod 1.4.62 for Minecraft 22w07a' 2022-02-16 21:42:34 +00:00
gnembon aaea11d82d removed ability to query for entire system_info in one go. 2022-02-16 00:25:35 +01:00
replaceitemandgnembon bf00051482 Added __on_player_message event (#1312)
* Added __on_player_sends_message event

* Docs for chat message event

* Rename to __on_player_message

* Editor support

* Added event to event_test app

* Update docs/scarpet/api/Events.md

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
2022-02-16 00:07:53 +01:00
carseatheadrest 4da992dd22 Added missing EntityValue documentation (#1318) 2022-02-16 00:04:36 +01:00
github-actions[bot] fa8d2b75d0 Merge docs for 'Carpet Mod 1.4.60 for Minecraft 22w05a' 2022-02-02 19:30:37 +00:00
gnembon bb05186f22 docs 2022-02-01 01:56:30 +01:00
github-actions[bot] 26b0acf5ee Merge docs for 'Carpet Mod 1.4.57 for Minecraft 1.18.1 and 1.17.1' 2022-01-19 21:32:03 +00: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
ch-yx 1485e8978b Update create_datapack (#1227) 2022-01-13 00:00:09 +01:00
replaceitemandreplaceitem 3f6ddc43e5 Added screen handler system (#888)
* Added screen handler value

* Added screen handler constructor and function to show to player

* Made inventory_* functions work with screen handlers

* Event callbacks and some refactoring

* Exception if screen has no inventory

* Fixed NPE

* Close screen when null

* Added screen_property

* UNKNOWN_SCREEN throwable

* Fix error when not specifying click callback

* Access to non-container screen handler slots via the inventory_* functions

* Change lectern page

* Added button event

* Added 'close' event and refactoring callback

* Beacon and Brewing screens

* Cartography table screen

* Crafting screen

* Enchantment screen

* Grindstone

* Loom

* Merchant

* Shulkerbox

* Smithing table

* Stonecutter

* Use strings as screen type instead of ScreenHandlerType

* Remove support for multiple players

* Combining create_screen and open_screen and refactoring

* Allow modifying cursor stack

* Cleanup

* Docs

* Added multiple screen examples

* Rename to screen

* Added smoker and blast furnace

* Serialize screen content

* Store host name instead of context

* Add button value special cases to docs

* Spelling and grammar fixes by @James103

* Optimize screen inventory access

* Use -1 for slot click outside the screen

* As boolean, ScreenValue equals isOpen

* Revert "Use -1 for slot click outside the screen"

This reverts commit 68c113e71bb653191cedf4cc356ab7705838dc25.

* Rework of callback function

* Improve screen functionality with drop_item

* Editor keywords

* Only check syncId

* slot_update event callback

* Screem typo

* Mistake

* toTag returns "null" NBT for  closed screen

* Use null for slot index of -999

Co-authored-by: replaceitem <replaceitem.mc@gmail.com>
2022-01-12 22:52:38 +01:00
Random J Farmer 1a96533818 updated documentation for 1.18 (#1269) 2022-01-11 23:31:21 +01:00
Ghoulboy f697924d30 Used wrong method to query world border size (#1236) 2022-01-11 23:29:03 +01:00
CommandLeo 130c8a8322 Docs fix (#1250) 2022-01-08 23:21:02 +01:00
Ghoulboy ff5f62b0e1 Fixing #1146 (#1245) 2022-01-08 23:19:57 +01:00
altrisi 763abe68c9 Support more actions in Messenger (and therefore format()) (#1242)
* Support more actions in Messenger (and therefore `format()`)

* Add the new actions to docs

* New `format()` docs fixes
2022-01-08 23:16:06 +01:00