Skip to content

MoreJS提供的事件

在这一章中将会简单分享介绍morejs所提供的所有事件和对应的使用方法示例链接

所有事件

所属文件夹 事件 用处 示例
server_scripts MoreJSEvents.enchantmentTableChanged 附魔台更新事件 ~
server_scripts MoreJSEvents.enchantmentTableEnchant 附魔台附魔事件 ~
server_scripts MoreJSEvents.enchantmentTableIsEnchantable ? ~
client_scripts MoreJSEvents.enchantmentTableTooltip 附魔台附魔提示事件 ~
server_scripts MoreJSEvents.playerXpChange 玩家经验改变事件 ~
server_scripts MoreJSEvents.playerStartTrading 玩家开始交易事件 ~
server_scripts MoreJSEvents.piglinPlayerBehavior 猪灵对玩家行为事件? ~
server_scripts MoreJSEvents.villagerTrades 村民交易事件 ~
server_scripts MoreJSEvents.updateVillagerOffers 村民更新价格事件 ~
server_scripts MoreJSEvents.updateAbstractVillagerOffers ? ~
server_scripts MoreJSEvents.wandererTrades 流浪商人交易事件 ~
server_scripts MoreJSEvents.updateWandererOffers 流浪商人更新价格事件? ~
server_scripts MoreJSEvents.teleport 传送事件 ~
server_scripts MoreJSEvents.structureLoad 结构加载事件? ~
server_scripts MoreJSEvents.filterAvailableEnchantments 过滤可用附魔事件? ~
server_scripts MoreJSEvents.filterEnchantedBookTrade 过滤附魔书交易事件? ~
server_scripts MoreJSEvents.structureAfterPlace 结构生成后地点? ~
startup_scripts MoreJSEvents.registerPotionBrewing 注册酿造配方事件 ~

贡献者

页面历史