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))
How to Install FigExtra (Mod)
FigExtra by Furrc is verified for Fabric across Minecraft versions 1.20.1, 1.20.2, 1.20.4, 1.20.6 (latest release: 0.5.1, file size: 20 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.1, 1.20.2, 1.20.4, 1.20.6) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded FigExtra file into your Minecraft
.minecraft/modsfolder and launch the game.