Carpet LAB Addition 图标

Carpet LAB Addition

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.3.0+26.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/carpet-lab-addition
资源信息

Minecraft 版本: 26.1 26.1.1 26.1.2 26.2

平台: fabric

标签: library management utility

资源介绍

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
📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
LunarFox

价格:0 墨喵币
下载量:0

查看详情
Vanilla Reimagined

价格:0 墨喵币
下载量:0

查看详情
Ore Collapse

价格:0 墨喵币
下载量:0

查看详情
Cobblemon Battle Tracks

价格:0 墨喵币
下载量:0

查看详情