gnembon
673b76ff3c
1.4.86
2022-10-26 23:29:37 +02:00
gnembon
e0b6aae07b
22w43a
2022-10-26 23:26:27 +02:00
altrisi
1c2b1dfa2a
Migrate from deprecated set-output in release action
...
Only missing one in `update-release-asset`, but that's an archived repo so it's a bit more difficult...
2022-10-23 14:16:58 +02:00
github-actions[bot]
0f21d15b4f
Merge docs for 'Carpet Mod 1.4.85 for 22w42a'
2022-10-20 12:53:41 +00:00
gnembon
23b6c8317a
1.4.85
2022-10-20 14:36:33 +02: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
gnembon
4e9e59d90c
1.4.84
2022-10-18 16:02:23 +02:00
replaceitem
2b5e51b4df
Fixed NPE when events are triggered within events ( #1574 )
2022-10-16 17:33:54 +02:00
altrisi
ab9f7992b7
Use Java's Math constants for Scarpet math constants
2022-10-16 14:33:38 +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
altrisi
8e38619f61
Don't hold Context variables for the lifetime of scheduled calls
...
Fixes #1568
2022-10-15 12:34:55 +02:00
altrisi
1a6febc6c0
Tweak wiki text for strict rules
2022-10-15 11:11:28 +02:00
altrisi
635fb586c4
Allow rules to declare they only accept a set of options ( #1560 )
2022-10-12 16:13:59 +02:00
altrisi
b798d76d10
Make fillUpdates and gen checks ThreadLocals final
2022-10-12 15:44:29 +02:00
altrisi
0f82305b36
Bump action versions
2022-10-12 13:17:23 +02:00
altrisi
1fa2e515e5
Make CarpetContext's new constructor take a CarpetScriptHost
...
Many users assume it is, and all callers pass it anyway. At some point `host` access could be made a function so CC could override it and return `CarpetScriptHost` without requiring casts
2022-10-12 12:45:13 +02:00
altrisi
0c8e1d1653
Fix in (~) operator producing broken values
2022-10-10 20:36:44 +02:00
gnembon
1121172292
Update src/main/java/carpet/mixins/ServerGamePacketListenerImplMixin.java
2022-10-10 20:30:25 +02:00
Sensei
bb1a63ea0b
Make server net handling run on main thread
2022-10-10 20:30:25 +02:00
Sensei
059fda49a4
Make client net handling run on main thread
2022-10-10 20:30:25 +02:00
altrisi
a50a0d7328
Fix wrong line numbers by not trimming the start of expressions
...
We still trim the end because else `Tokenizer` crashes...
But trimming the end doesn't matter because there's it doesn't affect anything.
2022-10-09 13:13:37 +02:00
altrisi
3f5eac7472
Simplify ExpressionException.errorMaker
...
Why was this a lambda?
2022-10-08 14:57:32 +02:00
altrisi
db031b175b
Optimize ListValue::new(Collection) slightly for best-case scenarios ( #1565 )
2022-10-08 14:31:21 +02:00
altrisi
24385f28c2
Fix crash when scarpet rules are set permanently
...
Fixes #1562
2022-10-05 10:21:07 +02:00
altrisi
4f9bd3ab78
Simplify and standarize some conversions with ValueConversions
2022-10-02 18:49:49 +02:00
altrisi
be1cb6888a
Remove redundant null checks in string concat
2022-10-02 18:11:15 +02:00
altrisi
3247b83272
Simplify and slightly optimize EntityClassDescriptor
...
Could probably also be a record, though I'll look into that at another time
2022-10-02 15:29:34 +02:00
altrisi
b1c29efa2b
Expose origin-less constructors and methods ( #1556 )
2022-10-02 13:57:29 +02:00
altrisi
f63c6acb05
Fully remove scarpet commands when apps are unloaded ( #1452 )
...
Using new Loader 0.14+ features
2022-10-02 13:32:27 +02:00
altrisi
e9f1509a1d
Fix log spam on outdated extension SettingsManager
2022-09-28 10:57:09 +02:00
altrisi
ce69c7dfbe
Fix rule printer but better
2022-09-17 13:39:50 +02:00
altrisi
9c73b64630
Revert "Fix language fallbacks for rules not being available early"
...
This reverts commit 5a4ceb68c6 .
2022-09-17 13:39:24 +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
Space Walker
c528695d1a
Refactor Carpet's sticky blocks code ( #1505 )
...
refactor sticky blocks code
2022-09-03 22:49:01 +02:00
altrisi
fce4918c87
Fix handling files with uppercase letters in case-sensitive systems
2022-08-28 21:01:48 +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
d418b7d090
move getItemStackFromValue to ValueConversions
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
f9fc3bc763
Update EntityValue.java
2022-08-28 18:59:11 +02:00
ch-yx
b456d4be50
Update Auxiliary.md
2022-08-28 18:59:11 +02:00
ch-yx
3522f39f35
better name
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-yx and altrisi
b3b65c426b
Update src/main/java/carpet/script/value/EntityValue.java
...
Co-authored-by: altrisi <altrisi.trillosierra@gmail.com >
2022-08-28 18:59:11 +02:00