FigExtra 图标

FigExtra

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.5.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/figextra
资源信息

Minecraft 版本: 1.20.1 1.20.2 1.20.4 1.20.6

平台: fabric

标签: library

资源介绍

RU

Данные аддон представляет из себя удобную прослойку для совмещения фигуры с популярными модами.

В данный момент реализована поддержка таких модов как:

  • plasmo voice
  • emote craft

Работоспособность проверялась на 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)) ```

EN

This addon is a convenient layer for combining the figura with popular mods.

Currently implemented support for such mods as:

  • plasmo voice
  • emote craft

Workability was tested on 1.20.1, but should work on versions above.

Examples:

emotecraft **emotes:getEmotes()** ``` local listEmotes = emotes:getEmotes() -- get a list of all emotions for _, emote in ipairs(listEmotes) do emote:getUUID() -- get emote's uuid emote:getName() -- get the name of the emotion emote:getDescription() -- get the description of the emotion emote:getAuthor() -- get the author of the emotion emote:isNsfw() -- whether the emotion is a nsfw character end ``` **emotes:playEmote()** ``` emotes:playEmote(stringUUID) -- playing an emotion by uuid ``` **emotes:stopEmote()** ``` emotes:stopEmote() -- stops playing the emotion ``` plasmo voice **plasmovoice:getVoiceLevel()** ``` plasmovoice:getVoiceLevel(stringUUID) -- get the player's voice volume ``` ``` --example function events.tick() local uuid = player:getUUID() local voiceLevel = plasmovoice:getVoiceLevel(uuid) if voiceLevel > 0 then log(voiceLevel) end end ``` ``` -- it is also possible to check if the player speaks through an event events[“FIGEXTRA.PLASMOVOICE_PLAYER_SPEAK”]:register(function(uuid, distance) end, “microphone”) ``` **plasmovoice:isMuted()** ``` plasmovoice:isMuted(stringUUID) -- check if the player is muted. ``` **plasmovoice:getVersion()** ``` plasmovoice:getVersion() -- get the version of plasmo voice ``` **plasmovoice:renderDistanceVisualizer()** ``` -- I added this for fun, maybe someone will find an interesting use for it. plasmovoice:renderDistanceVisualizer(radius, stringHex, x, y, z) plasmovoice:renderDistanceVisualizer(radius, stringHex, vec(x, y, z)) ```
📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Sanity: Descent Into Madness

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

查看详情
Basalt Walker

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

查看详情
Dream Burst Spirit Vector

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

查看详情
Avaritia's Delight

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

查看详情