
Carpet LAB Addition
Carpet features created for the LAB SMP
- Загрузки
- 2K
- Подписчики
- 2
- Обновлён
- 1 апреля 2026 г.
- Лицензия
- CC0-1.0
Опубликован 17 сентября 2024 г.
Carpet features created for the LAB SMP, as we need them. Currently only contains features for Scarpet.
Scarpet events:
__on_player_message_broadcast(player, message)
- Triggers right before a player message is broadcast to the server.
- Can be cancelled by returning 'cancel', which prevents the message from being sent.
- Useful for making changes to chats before they're sent.
__on_player_edits_sign(player, block)
- Fires after a player edits a sign, after the vanilla text changes take place.
- Can be used to add custom sign formatting.
- Example script
Scarpet functions:
encode_snbt(expr, force?)
- Essentially the same as
encode_nbt(expr, force?), except it allows heterogeneous lists - This is done to bring it in line with vanilla's new NBT format
Ченджлог
1.3.0+26.1Релиз26.1.1, 26.1.2, 26.2 · 1 апреля 2026 г.
26.1 port
1.2.0Релиз1.21.1 · 11 июня 2025 г.
1.21.1
1.3.0Релиз1.21.9, 1.21.10, 1.21.11 · 8 мая 2025 г.
Added encode_snbt(expr, force?) scarpet function
- Essentially the same as
encode_nbt(expr, force?), except it allows heterogeneous lists - This is done to bring it in line with vanilla's new NBT format
Bumped version to 1.21.5
1.2.0Релиз1.21.4 · 31 декабря 2024 г.
Removed the hoppersDontStackShulkers rule
- Use Stackable Shulkers Fix by KikuGie instead
Added __on_player_edits_sign(player, block) scarpet event
- Fires after a player edits a sign, after the vanilla text changes take place
1.1.1Релиз1.21.4 · 7 декабря 2024 г.
1.21.4
Комментарии
Загружаем…