Commit Graph
2693 Commits
Author SHA1 Message Date
gnembon 792fda70b0 api for checking existence of any structure at position 2022-02-22 22:20:28 +01:00
gnembon 2e20d51089 1.4.64 2022-02-22 02:25:55 +01:00
altrisi 1f0c609dc0 Remove log4j as much as possible (#1334) 2022-02-22 01:35:56 +01:00
gnembon b06d68186e 1.18.2-pre2 2022-02-22 01:15:43 +01:00
gnembon bb7a64b629 fix mobs not spawning in structures 2022-02-22 01:04:09 +01:00
altrisi 69574468d9 Print a warning when an extension registers late (#1333) 2022-02-20 19:24:51 +01:00
gnembon 5a415c854a replace with explicit types 2022-02-20 19:18:49 +01:00
altrisi b1c934da28 Fix a few IDE warnings (#1345) 2022-02-20 19:16:12 +01:00
altrisi e011f65e75 Fix unhandled exceptions when evaluating operators (#1344) 2022-02-20 19:15:54 +01:00
gnembon 4387c18c62 1.4.63 2022-02-20 10:08:52 +01:00
gnembon c01ad9ce9d 1.18.2-pre 2022-02-20 01:50:46 +01:00
gnembon 8c127c5cef 1.4.62 2022-02-16 22:28:44 +01:00
gnembon fa1e6ce086 22w07a
- disabled "sample_noise"
2022-02-16 22:23:52 +01: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
altrisi 53f456320c Implement missing method in BlockValue.PlacementContext to fix exceptions in place_item (#1329) 2022-02-16 00:03:44 +01:00
gnembon 91eefb4608 1.4.61 2022-02-10 03:18:19 +01:00
gnembon 212814f46d 22w06a 2022-02-10 03:15:53 +01:00
gnembon 695b569977 remove instanceof NullValues fixes #1313 2022-02-06 00:18:42 +01:00
2No2Name 5c4e18ead1 new: creativePlayersLoadChunks carpet rule (#1314)
enabled by default: behavior like vanilla
disabled: creative players do not load chunks like spectators with gamerule spectatorsGenerateChunks false
2022-02-05 23:42:50 +01:00
gnembon da557664c3 22w05a 2022-02-02 19:58:09 +01:00
gnembon ac7da0c2ca 22w05a 2022-02-02 19:55:54 +01:00
gnembon 1432f06438 Merge pull request #1307 from gnembon/strict_and_null_initialization
Strict config and null initialization
2022-02-01 21:52:42 +01:00
2No2Name c99c92d1a7 Use vanilla cramming code when possible (#1308)
Improve compatibility with mods that manipulate how cramming works. When the carpet rule is disabled, the vanilla code can be used, allowing features from other mods to work.
2022-02-01 21:49:41 +01:00
gnembon 0be0fd1eff swap default variable values to null/undef 2022-02-01 01:25:47 +01:00
gnembon 893c3b984f added strict configuration 2022-02-01 01:25:19 +01:00
gnembon 0f9d2f6d5b added undef value 2022-02-01 01:23:45 +01:00
gnembon 36c1e8b321 fix mappings 2022-01-30 20:14:38 +01:00
ishland 8a7ca3a876 Feature: simulationDistance rule (#1280)
* simulationDistance rule

Closes gnembon/fabric-carpet#1200

* Update translation of zh_cn for simulationDistance
2022-01-30 20:12:14 +01:00
replaceitem 77092924bc Allow serializing FormattedText values to json (#1291) 2022-01-30 19:01:59 +01:00
altrisi d57323e14f Fix stay_loaded being false in apps with no config (#1295) 2022-01-30 19:01:21 +01:00
altrisi 50c70de7e5 Improve Annotated Scarpet runtime performance (#1273)
- Change valueConverters list to array

- Remove references to `Class.cast` and use direct casts instead
2022-01-29 23:44:50 +01:00
gnembon 82bdd5e61c Merge pull request #1292 from FieryRobot/ScriptDownloadFix
Always reset the app store root in the validator (#1275).
2022-01-29 23:11:45 +01:00
gnembon 39ec78ea40 fixed not resetting of iterators after ... 2022-01-29 22:54:36 +01:00
gnembon 01367142ac remove unused mixins 2022-01-29 22:13:13 +01:00
gnembon eca6391627 1.4.59 test 2022-01-29 00:02:52 +01:00
FX - PR0CESS a547677597 Migrate Carpet Mixin names to mojang mappings 2022-01-28 16:47:18 -05:00
altrisi d2c159e59c Update to loom 0.11 to fix all issues with synthetics 2022-01-26 14:03:34 +01:00
altrisi 1af1b75dba So it turns out one mixin already was BE instead of TE
Therefore reverted it to BE again
2022-01-26 12:25:25 +01:00
altrisi a09981e807 Revert missed @Desc annotation
Those are not yet remapped on dev environment dependencies, making mods that depend on Carpet not be able to load in dev with different mappings
2022-01-26 12:16:35 +01:00
altrisi 1f1e454445 Remove missed imports at CarpetServer 2022-01-26 11:43:56 +01:00
altrisi 3b14f9d325 Revert missed Movable TE changes 2022-01-26 11:28:25 +01:00
Ed Voas e4cb807899 Always reset the app store root in the validator (#1275).
The validator used to clear the sealed flag and the children in the validator. But it did not clear the count down latch. This led to a situation where we would throw an IOException from fillChildren because we did have the latch, but it was zero, and the sealed flag was cleared. This simply resets the node every time, which I think is the safest solution as setting the childrenProgress to null in the validator might end poorly if someone was waiting on it. Another solution was to just remove the throw inside fillChildren. This felt like the cleanest solution.
2022-01-25 18:26:50 -08:00
altrisi 06af9ce8b1 Migrate the Carpet codebase to Mojang Mappings 2022-01-24 20:33:16 +01:00
Ghoulboy a1a2488bc3 Fixed firing of on_move event event after no change in position. (#1284) 2022-01-23 22:46:32 +01:00
gnembon ad0bbfbce7 1.4.58 2022-01-20 01:48:50 +01:00
gnembon f469810fbc 22w03a 2022-01-20 00:20:52 +01:00
gnembon 0de2d74ef0 Merge branch 'master' into future 2022-01-19 21:46:37 +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
altrisi ec47dea267 Make fake players compatible with adventure platform lib and minor refactor around them (#1235)
* Make fake players compatible with adventure platform and minor refactor around them

Cleaner approach

* Remove no longer needed enderpearl mixin for fake players

Their ClientConnection now has an open channel so isOpen returns true
2022-01-19 21:28:36 +01:00