RU
该插件提供了一种便捷的接口,用于将角色模型与流行的模组进行集成。
目前支持以下模组:
- Plasmo Voice
- Emotecraft
已在 1.20.1 版本中测试可用性,但预计在高版本中也能够正常运行。
示例:
emotecraft
emotes:getEmotes()
local listEmotes = emotes:getEmotes() -- 获取所有表情列表
for _, emote in ipairs(listEmotes) do
emote:getUUID() -- 获取表情的 UUID
emote:getName() -- 获取表情名称
emote:getDescription() -- 获取表情描述
emote:getAuthor() -- 获取表情作者
emote:isNsfw() -- 检查表情是否为 NSFW 内容
end
emotes:playEmote()
emotes:playEmote(stringUUID) -- 通过 UUID 播放表情
emotes:stopEmote()
emotes:stopEmote() -- 停止播放表情
plasmo voice
plasmovoice:getVoiceLevel()
plasmovoice:getVoiceLevel(stringUUID) -- 获取玩家语音音量
-- 示例
function events.tick()
local uuid = player:getUUID()
local voiceLevel = plasmovoice:getVoiceLevel(uuid)
if voiceLevel > 0 then
log(voiceLevel)
end
end
-- 也可以通过事件检测玩家是否在说话
events["FIGEXTRA.PLASMOVOICE_PLAYER_SPEAK"]:register(function(uuid, distance)
end, "microphone")
plasmovoice:isMuted()
plasmovoice:isMuted(stringUUID) -- 检查玩家是否被静音
plasmovoice:getVersion()
plasmovoice:getVersion() -- 获取 Plasmo Voice 的版本号
plasmovoice:renderDistanceVisualizer()
-- 我出于娱乐目的添加了此功能,也许有人能发现其有趣的应用场景
plasmovoice:renderDistanceVisualizer(radius, stringHex, x, y, z)
plasmovoice:renderDistanceVisualizer(radius, stringHex, vec(x, y, z))
中文
此插件为将 Figura 与流行模组结合提供了一个便捷的层。
目前支持以下模组:
- Plasmo Voice
- Emote Craft
工作性已在 1.20.1 版本上测试,但应在更高版本中也能正常工作。
示例:
Emote Craft
emotes:getEmotes()
local listEmotes = emotes:getEmotes() -- 获取所有表情列表
for _, emote in ipairs(listEmotes) do
emote:getUUID() -- 获取表情的 UUID
emote:getName() -- 获取表情名称
emote:getDescription() -- 获取表情描述
emote:getAuthor() -- 获取表情作者
emote:isNsfw() -- 检查该表情是否为 NSFW 内容
end
emotes:playEmote()
emotes:playEmote(stringUUID) -- 通过 UUID 播放表情
emotes:stopEmote()
emotes:stopEmote() -- 停止播放表情
Plasmo Voice
plasmovoice:getVoiceLevel()
plasmovoice:getVoiceLevel(stringUUID) -- 获取玩家语音音量
-- 示例
function events.tick()
local uuid = player:getUUID()
local voiceLevel = plasmovoice:getVoiceLevel(uuid)
if voiceLevel > 0 then
log(voiceLevel)
end
end
-- 也可以通过事件检测玩家是否正在说话
events["FIGEXTRA.PLASMOVOICE_PLAYER_SPEAK"]:register(function(uuid, distance)
end, "microphone")
plasmovoice:isMuted()
plasmovoice:isMuted(stringUUID) -- 检查玩家是否被静音。
plasmovoice:getVersion()
plasmovoice:getVersion() -- 获取 Plasmo Voice 的版本号
plasmovoice:renderDistanceVisualizer()
-- 我出于娱乐目的添加了此功能,也许有人会发现其有趣的用途。
plasmovoice:renderDistanceVisualizer(radius, stringHex, x, y, z)
plasmovoice:renderDistanceVisualizer(radius, stringHex, vec(x, y, z))
你是这个资源的作者?登录后可认领此资源。
相似资源
一个用于收集生物掉落物的多区块模组。
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
查看物品与配方
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
适用于 MC 1.18+ 的 Effekseer 加载器
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧