What's new in carpet mod 1.4.145:
- support for Minecraft 1.21 prerelease 1
scarpet changes:
- chunk loading API is still broken. Chunk load events should come back. relight or reset_chunk might not be that easy to do, so may be dropped
- scarpet shapes are fixed now!
地毯1.4.145版本更新内容:
- 支持Minecraft 1.21-pre1
| scarpet变更:
- 区块加载API仍然存在问题。区块加载事件应该会恢复。重新点亮或重置区块可能不容易实现,因此可能会被移除
- scarpet形状现在已修复!
What's new in carpet mod 1.4.143:
- support for Minecraft 24w20a
scarpet changes:
- temporarily (hopefully) disabled functions of relight and reset_chunk since it cannot be easily adapted to the new API. Same goes for chunk_generated and chunk_loaded events, which may come back in a different form, supported by the new chunk API
What's new in carpet 1.4.134:
- supports Minecraft 24w09a and 24w10a and 24w11a
- adjusted stackableShulkerBoxes rule to work with the new item format. It should be now easier to stack them (they should just behave like normal stackable items), but you try to save an overstacked item (with the rule turned off) the chunk will currently crash
scarpet changes:
- changes to how item arguments are interpreted and returned throught the API.
Significant changes to the format of the items nbt affects how items are handled in scarpet. The format doesn't change, so items are still represented as a triple of [item_id, count, tag], but now the tag does not represent the extra data that the item had associated with it, but the entire tag including the count, id, and all new components. When saving of items (using inventory_set for example), if the tag is provided it will override the provided id, and if the count is provided in the triple, it will override the count in the tag. For example, the following: ['stone', 1, {}] is now ['stone', 1, {id:"minecraft:stone"}] and ['diamond_pickaxe', 1, {Damage:4}] is now ['diamond_pickaxe', 1, {components:{"minecraft:damage":4},id:"minecraft:diamond_pickaxe"}]. It is now not easy to assert if the item has no data by checking if the tag is false. You need to now check if components are missing.
If you worked with items before, but didn't use the tag information, your scripts should work just fine. If you used the tags, but only in their unmodified form, for instance to copy item information from one place to another, you should be fine too. If you needed to parse item information, or were creating items with custom nbt on your own, your scripts will break and need to be adjusted.
What's new in carpet mod 1.4.125:
- support for Minecraft 23w45a
- Heavy rework of explosions in vanilla means that behaviour of explosions under optimizedTNT may be weird, or undefined. It is possible that optimized explosions will be sunset at some point due to un-maintained code. They seem to work right now, but that's not certain.
What's new in carpet mod 1.4.123:
- support for Minecraft 23w43a
- removed carpet /tick command in favour of vanilla /tick command. Notes on how to use the new /tick command can be found here: https://gist.github.com/gnembon/256538acb59eb4eeea8205aaa0905599
- flipped default value of smoothClientAnimations since default vanilla behaviour with tick rate below 20, is to be smooth.
What's new in carpet 1.4.121:
- support for 23w41a and backport of fixes to 1.20.2
- fixed crash connected with /counter and scarpet's recipe_data(). thanks @altrisi
scarpet changes:
- fixed inventory syncing and duplication issues using inventory API calls, thanks @ch-yx
- fixed bool(NaN ==☹) == true, thanks @ch-yx
- run() command now always return 0 as success count since support for command success count was removed
What's new in carpet 1.4.113:
- Its a experimental build to support 23w31a - many features are not working (blame @Mojang) on this version which includes:
- Carpet client communication, affects mostly visual aspects of scarpet API. All clients are now recognized as vanilla
- Fake Players fail to spawn
- Scarpet Scoreboard API behaviour is undefined
- scoreboardslot command argument type is ignored in scarpet apps
- French translation, blame @Calvineries
- Fix golem spawning range box in ai-tracker, blame @silnarm
- Fix piglin brutes spawning in air when piglinsSpawningInBastions is enabled, blame @aria1th
- added allowListingFakePlayers to configure listing fake players on the multiplayer screen, once fake players start working again, blame @filips123
- Remove lightEngineMaxBatchSize rule, since it is now defunct, blame @altrisi
scarpet changes:
- Include app name in deprecation warnings, blame @altrisi
- Fix registry lists being randomized, blame @manyrandomthings
- Fix chat signatures desyncing when cancelling __on_player_message, blame @altrisi
What's new in carpet mod 1.4.105:
- support for 23w16a
- since concept block material has been removed in favour of block tags, sound types, etc, no material info is available via /info command
scarpet changes:
- while(condition, expression) is now possible without a limit for more classic and obvious use of while loop, duh...
- print(foo) without specifying the player will use the app player for player scoped apps to always send messages to the proper chat for player scoped apps.
- deprecated material() even further - now only returns 'unknown'
What's new in carpet mod 1.4.104:
- support for 23w14a
- one cannot /player shadow singleplayer server owners, blame @silnarm
scarpet changes:
- material(...) has been deprecated as since this version becomes pretty useless. Vanilla seems to remove the concept of materials for block tags
- fixed map_colour(...) to actually report map colour, not map colour.
What's new in carpet mod 1.4.100:
- support for Minecraft 1.19.4
- fixed chests not sticking properly with movable tile entities enabled
- for the time the use of fillLimit will sync with vanilla gamerule. Still, it will be removed with 1.20 carpet release. blame @altrisi
- fixed /player <name> stop not stopping fake players immediately. blame @Ghoulboy78
- fixed fake players not teleporting to unloaded chunks and not being able to respawn after exiting the end, blame @silnarm
scarpet changes:
- make bitwise_shift_right shift bits logically. Introduced bitwise_arithmetic_shift_right for arithmetic shift operation. blame @altrisi
What's new in carpet mod 1.4.100:
- support for Minecraft 1.19.4
- fixed chests not sticking properly with movable tile entities enabled
- for the time the use of fillLimit will sync with vanilla gamerule. Still, it will be removed with 1.20 carpet release. blame @altrisi
- fixed /player <name> stop not stopping fake players immediately. blame @Ghoulboy78
- fixed fake players not teleporting to unloaded chunks and not being able to respawn after exiting the end, blame @silnarm
scarpet changes:
- make bitwise_shift_right shift bits logically. Introduced bitwise_arithmetic_shift_right for arithmetic shift operation. blame @altrisi
地毯模组1.4.100版本更新内容:
- 支持Minecraft 1.19.4版本
- 修复了启用可移动方块实体特性时,箱子无法正确吸附的问题
- 暂时将fillLimit的使用与原版游戏规则同步。不过,它将在1.20版本的地毯发布时被移除。感谢@altrisi
- 修复了/player <name> stop命令无法立即停止伪玩家的问题。感谢@Ghoulboy78
- 修复了伪玩家无法传送到未加载的区块以及在退出末地后无法重生的问题。感谢@silnarm
| scarpet变更:
- 使bitwise_shift_right进行逻辑位右移。引入了bitwise_arithmetic_shift_right用于算术位移操作。感谢@altrisi
What's new in carpet 1.4.99:
- support for 1.19.4-pre1, and pre2, and pre3, and pre4, and rc1, and rc2
- chunk_display built-in app uses now custom command to trigger, not in-game interactions
- fixed issues with fake players not falling properly, affecting their fall damage, elytra deployment, crits etc. blame @silnarm
地毯1.4.99版本更新内容:
- 支持Minecraft 1.19.4-pre1、pre2、pre3、pre4、rc1和rc2版本
- chunk_display内置应用现在使用自定义命令触发,而不是游戏内交互
- 修复了bot下落时的问题,包括跌落伤害计算不准确、鞘翅无法正确展开、暴击效果异常等。感谢@silnarm
What's new in carpet 1.4.98:
- upport for 23w07a
scarpet changes:
- fixed player_interacts_with_blocks event not triggering
- added on_tick entity support for display entities
- scarpet app store, accessed via /script download will be locked for 30 seconds when hitting rate limiting errors on the github API to prevent further locking.
地毯1.4.98版本更新内容:
- 支持Minecraft 23w07a
| scarpet变更:
- 修复了player_interacts_with_blocks事件未触发的问题
- 为展示实体新增了on_tick事件支持
- 当GitHub API出现频率限制错误时,通过/script download命令访问的scarpet脚本商店将在30秒内被锁定,以避免进一步的锁定问题。
What's new in carpet 1.4.96:
- supports 23w05a and 23w04a, but also 1.19.3 to fix issues with using scarpet shapes on a dedicated server.
- extended quasiConnectivity rule to provide any arbitrary distance where pistons, droppers and dispensers check for quasi power. Blame @SpaceWalkerRS
- added tickSyncedWorldBorders to use game time, not real time to move world border. Blame @senseiwells
scarpet changes:
- fixes errors when trying to use scarpet shapes from a dedicated server. 1.4.96 provides also 1.19.3 version to fix this specific issue. This is the "only" added change to 1.19.3:1.4.96 release. Thanks @vlad2305m
- added back sample_noise() with new capabilities to sample any density functions defined in datapacks besides functions used in world generation. Blame @Crec0
地毯1.4.96版本更新内容:
- 支持Minecraft 23w05a和23w04a,同时也支持Minecraft 1.19.3,以修复在专用服务器上使用scarpet形状时的问题。
- 扩展了quasiConnectivity规则,以提供任意距离,活塞、投掷器和发射器会检查动力。感谢@SpaceWalkerRS
- 添加了tickSyncedWorldBorders选项,使用游戏时间而非现实时间来移动世界边界。感谢@senseiwells
| scarpet变更:
- 修复了尝试从专用服务器使用scarpet形状时的错误。1.4.96版本也提供了1.19.3版本来修复这个特定问题。这是Minecraft 1.19.3的1.4.96地毯版本中“唯一”添加的变更。感谢@vlad2305m
- 重新添加了sample_noise(),并增加了新功能,可以采样数据包中定义的任何密度函数,而不仅仅是用于世界生成的函数。感谢@Crec0
What's new in carpet 1.4.95:
- support for 23w04a
- removed leadFix rule as its no longer needed
- added thickFungusGrowth to allow thick fungus to grow into 3x3 variant with bonemeal. Blame @Ghoulboy78
scarpet changes:
- added world_min_spawning_light to system_info()
地毯1.4.95版本更新内容:
- 支持Minecraft 23w04a
- 移除了不再需要的leadFix规则
- 添加了thickFungusGrowth选项,允许使用骨粉使菌类生长为3x3。感谢@Ghoulboy78
| scarpet变更:
- 在system_info()中添加了world_min_spawning_light
What's new in carpet 1.4.94:
- support for 20w03a
- fillLimit has now been deprecated in flavor of vanilla commandModificationBlockLimit gamerule. To support existing worlds, for now the game chooses the largest value from two. fillLimit will be removed in 1.20.0
- removed flatWorldStructureSpawning since correct behaviour is now expected from vanilla game
地毯1.4.94版本更新内容:
- 支持Minecraft 20w03a
- fillLimit现在已被弃用,取而代之的是原版的modificationBlockLimit游戏规则。为了支持现有世界,目前游戏会从这两个值中选择较大的一个。fillLimit将在1.20版本中被移除
- 移除了flatWorldStructureSpawning,因为新版已经不需要该功能了
What's new in Carpet 1.4.92:
- Make /fillbiome limit customisable with fillLimit by @senseiwells
- Fixed optimizedTNT reversing drop decay gamerules by @LagPixelLOL
- Fixed a crash with corals
Scarpet changes:
- Add event for commands and make __on_player_message not trigger for them by @Ghoulboy78
地毯1.4.92版本更新内容:
- 支持自定义/fillbiome命令的限制,感谢@senseiwells
- 修复了optimizedTNT反转掉落衰减游戏规则的问题,感谢@LagPixelLOL
- 修复了与珊瑚相关的崩溃问题
| scarpet变更:
- 为命令添加了事件,并使__on_player_message不会触发它们,感谢@Ghoulboy78
What's new in carpet:
- probably the last 1.19.2 version of carpet
- Well, it's all below
scarpet changes:
- some scarpet events can now be cancelled. Consult the docs for cancellable events. For now 'cancel' is the only option to cancel event - more options will be provided in the future. Blame @replaceitem
- apps can now provide their priority to handle events via _config():'event_priority' - blame @replaceitem
- added new client side shapes - 'polygon', 'block' and 'item'. Blame @ch-yx
- added 'debug' option to shapes - allowing them to trigger with F3-B
- added new 'camera' and 'player' 'facing' options for draw_shape(...)
- system_info('server_mods') will now report more stable mod ids, not mod names, blame @altrisi
- resource file names in file operations are now case sensitive
- added 'item_display_name()' and 'effective_light()', blame @ch-yx
- added more options to entity API: 'blue_skull', 'offer_flower', 'item'. Blame @ch-yx
地毯更新内容:
- 这可能是1.19.2版本的最后一个地毯更新
- 以下是更新详情:
| scarpet变更:
- 一些scarpet事件现在可以被取消。请参阅文档了解可取消的事件。目前'cancel'是取消事件的唯一选项 - 未来将提供更多选项。感谢@replaceitem
- 应用现在可以通过_config():'event_priority'提供它们处理事件的优先级 - 感谢@replaceitem
- 添加了新的客户端形状 - 'polygon', 'block' 和 'item'。感谢@ch-yx
- 为形状添加了'debug'选项 - 允许它们使用F3-B触发
- 为draw_shape(...)添加了新的'camera'和'player' 'facing'选项
- system_info('server_mods')现在将报告更稳定的mod id,而不是mod名称,感谢@altrisi
- 文件操作中的资源文件名现在区分大小写
- 添加了'item_display_name()'和'effective_light()',感谢@ch-yx
- 为实体API添加了更多选项:'blue_skull', 'offer_flower', 'item'。感谢@ch-yx
What's new in carpet 1.4.82:
- support for 1.19.1-rc2
- fixed handling of custom structures with /script load overlay, Blame @altrisi
- fixed improper redstone updating with fastRedstoneDust, Blame @SpaceWalkerRS
scarpet changes:
- fixed incorrect handling of 'ambient' parameter in entity API's modify(entity, 'effect', ...), Blame @Ghoulboy78
- when typing scarpet code in commands, autocomplete will keep the case of the input text. Blame @altrisi
地毯1.4.82的更新内容:
- 支持Minecraft 1.19.1-rc2版本
- 修复了使用 /script load overlay 加载自定义结构时的处理问题,感谢@altrisi 的反馈
- 改进了fastRedstoneDust在快速红石更新时的表现,让它更加稳定,感谢@SpaceWalkerRS 的反馈
| scarpet变更:
- 修复了实体API中 'ambient' 参数在 modify(entity, 'effect', ...) 中处理错误的问题,感谢@Ghoulboy78 的反馈
- 在命令中输入scarpet代码时,自动补全将保持输入文本的大小写,感谢@altrisi 的反馈
What's new in carpet 1.4.80:
- support for 1.19.1-pre2
- fixed issue with not working carpet client side commands
- Significant internal changes on how carpet settings work. If you are carpet extensions developer, this is the best time to look into your error logs and follow the new API. Blame @altrisi
Scarpet changes:
- Improve error message when commands fail to be added. blame @altrisi
- Switched output of entity API's portal cooldown and portal timer. blame @Ghoulboy78
地毯1.4.80版本更新内容:
- 支持Minecraft 1.19.1-pre2版本
- 修复了地毯客户端命令无法正常工作的问题
- 运行机制有了很大变更。如果你是地毯扩展的开发者,请检查你的错误日志并学习新API,感谢@altrisi 的反馈
| scarpet的变更:
- 当命令添加失败时,改进了错误提示信息,感谢@altrisi 的反馈
- 切换了实体API中传送门冷却时间和传送门计时器的输出,感谢@Ghoulboy78 的反馈
What's new in carpet mod 1.4.72:
- retired extremeBehaviours because of changes in vanilla.
- added moreBlueSkulls to increase chances of blue skulls spawning from withers from 1/1000 to 1/10 for testing
- Significant changes with API interface because of vanilla changes to text components - will affect carpet extensions.
scarpet changes, blame @altrisi:
- support for formatted strings in create_marker
- improved performance of scarpet control-flow expressions like return() or break()
What's new in carpet 1.4.78:
- support for Minecraft 1.19 Prerelease-5
- fixed issue with fatRedstoneDust not being compatible with the new update chaining changes. Blame @SpaceWalkerRS
scarpet changes:
- added chunk_unloaded event, blame @ekardnam
地毯1.4.78版本更新内容:
- 支持Minecraft 1.19-pre5
- 修复了 fatRedstoneDust 在新版本更新中与其他红石组件相互作用不兼容的问题,感谢@SpaceWalkerRS 的反馈
| scarpet的变更:
- 新增了 chunk_unloaded 事件,感谢@ekardnam 的反馈
What's nice in carpet 1.4.69:
- support for 22w13a
- last version to support 1.18.2. Hopefully leaving on a nice note. From now on development will be based on whatever 1.19 throws out.
scarpet changes:
- confirmed experimental enable_hidden_dimensions() not working from 1.18.2 onwards. That's not nice. It may come back in the future, but its usecase is totally not expected or supported by vanilla.
What's new in carpet 1.4.67:
- added support for 22w11a
- carpet extensions need to adjust their API to include important argument changes to command registration in 1.19
scarpet changes:
- in 1.19 structure API, 'configured_structures' translate to 'structures' and 'structures' to 'structure_types'. This mapping is not 1 to 1, for example 'village' dissapears, bunched under other jigsaw based structures into 'jigsaw' structure type.
- biome categories stopped existing, introducing biome 'tags'
FYI, the 1.18.2 version is not that much different comparing to the previous version, and it is provided for completeness.
What's new in carpet 1.4.63:
- support for 1.18.2-pre1
- structure overlay app loaded via /script load overlay requires now configured structures to properly view them.
scarpet changes:
- known issue with structure API functions (like 'plop' or 'set_structure') - structure references (bounding boxes) are not saved properly to the chunk.
creative portal delay only affects creative players.
stackable empty shulkerboxes work on colored as well.
custom view distance only for servers
custom spawning removed
tick freeze doesn't freeze singleplayer players.
Scarpet Changes:
added put(list, index, values....) and reworked how lists are handled
fixed issue with running 'run' command in functions
scripts can now be loaded from files in /scripts/ folder inside world directory. These also can be edited normally, without extra $ to indicate new lines.
each file represents a package and is run independently from others.
/script load/unload
/script in run/invoke etc...
script modules loaded from scripts / bundled with carpetmod can make new commands. details - later.