Jump to content

Recommended Posts

Posted

[1.18.2-forge]-Epic-Knights-8.2.jar

AdLods-1.18.2-6.0.4.1-build.1490.jar

AdvancementPlaques-1.18.2-1.4.5.1.jar

AkashicTome-1.5-20.jar

alexsmobs-1.18.6.jar

Apotheosis-1.18.2-5.8.1.jar

appleskin-forge-mc1.18.2-2.5.1.jar

Aquaculture-1.18.2-2.3.12.jar

aquamirae-5.api10.jar

architectury-4.12.94-forge.jar

ars_elemental-1.18.2-0.4.9.9.jar

ars_nouveau-1.18.2-2.9.0.jar

artifacts-1.18.2-4.2.3.jar

AttributeFix-Forge-1.18.2-14.0.2.jar

AutoRegLib-1.7-53.jar

balm-3.2.6.jar

BetterAdvancements-1.18.2-0.2.0.146.jar

betterchunkloading-1.18.2-2.2.jar

bettercombat-forge-1.6.2+1.18.2.jar

BetterF3-3.0.0-Forge-1.18.2.jar

betterfpsdist-1.18.2-1.5.jar

betterparagliders-0.5.0-1.18.2.jar

BloodMagic-1.18.2-3.2.6-41.jar

blueprint-1.18.2-5.5.0.jar

Bookshelf-Forge-1.18.2-13.3.56.jar

born_in_chaos_[Forge]1.18.2_1.17.jar

Botania-1.18.2-435.jar

BotanyPots-Forge-1.18.2-8.1.29.jar

BotanyTrees-Forge-1.18.2-4.0.13.jar

caelus-forge-1.18.1-3.0.0.2.jar

carryon-1.18.2-1.17.2.15.jar

chat_heads-0.6.1-forge-1.18.2.jar

chunksending-1.18.2-2.5.jar

citadel-1.11.3-1.18.2.jar

cloth-config-6.5.116-forge.jar

Clumps-forge-1.18.2-8.0.0+17.jar

CodeChickenLib-1.18.2-4.1.4.488-universal.jar

collective-1.18.2-7.7.jar

combatroll-forge-1.1.5+1.18.2.jar

comforts-forge-1.18.2-5.0.0.6.jar

configured-2.0.1-1.18.2.jar

connectivity-1.18.2-3.2.jar

Controlling-forge-1.18.2-9.0+23.jar

coroutil-forge-1.18.2-1.3.6.jar

CosmeticArmorReworked-1.18.2-v2a.jar

creeperoverhaul-1.3.1-forge.jar

cristellib-forge-1.0.0.jar

cupboard-1.18.2-1.5.jar

curioofundying-forge-1.18-5.3.0.0.jar

curios-forge-1.18.2-5.0.9.2.jar

CyclopsCore-1.18.2-1.17.9.jar

doubledoors-1.18.2-5.1.jar

dragonseeker-1.1.1-1.18.2.jar

DungeonCrawl-1.18.2-2.3.14.jar

dungeons_enhanced-1.18.2-3.2.1.jar

elevatorid-1.18.2-1.8.4.jar

embeddium-0.3.5+mc1.18.2.jar

EnchantmentDescriptions-Forge-1.18.2-10.0.12.jar

EnderStorage-1.18.2-2.9.0.182-universal.jar

epicsamurai-0.0.2-1.18.2-forge.jar

EvilCraft-1.18.2-1.2.23.jar

expandability-6.0.0.jar

Fallingleaves-1.18.2-1.3.2.jar

FastLeafDecay-28.jar

ferritecore-4.2.2-forge.jar

forbidden_arcanus-1.18.2-2.1.3.jar

ForgeEndertech-1.18.2-9.0.7.1-build.1530.jar

ftb-library-forge-1802.3.11-build.177.jar

ftb-ultimine-forge-1802.3.4-build.93.jar

GatewaysToEternity-1.18.2-2.3.0.jar

geckolib-forge-1.18-3.0.57.jar

goblintraders-1.8.0-1.18.2.jar

guardvillagers-1.18.2.1.4.4.jar

harvestwithease-1.18.2-8.0.1.0-forge.jar

hexerei-0.2.2.jar

iceandfire-2.1.12-1.18.2.jar

Iceberg-1.18.2-forge-1.0.49.jar

inventorysorter-1.18-19.0.0.jar

ironchest-1.18.2-13.2.11.jar

irons_spellbooks-1.18.2-1.1.4.3.jar

Jade-1.18.2-forge-5.3.2.jar

jei-1.18.2-forge-10.2.1.1005.jar

journeymap-1.18.2-5.9.7p1-forge.jar

JustEnoughProfessions-1.18.2-1.3.0.jar

JustEnoughResources-1.18.2-0.14.1.171.jar

Kobolds-2.9.3-1.18.2-final.jar

lightspeed-1.18.2-1.0.5.jar

lootr-1.18.2-0.3.26.68.jar

mahoutsukai-1.18.2-v1.34.61.jar

MaxHealthFix-Forge-1.18.2-5.0.4.jar

mna-2.0.0.33.jar

modernfix-forge-5.14.0+mc1.18.2.jar

modonomicon-1.18.2-1.33.1.jar

MouseTweaks-forge-mc1.18-2.21.jar

mowziesmobs-1.6.2.jar

mutil-1.18.2-4.5.0.jar

NaturesAura-36.3.jar

NaturesCompass-1.18.2-1.9.7-forge.jar

Neat-1.8-31.jar

netherdepthsupgrade-3.0.0-1.18.2.jar

obscure_api-10.jar

occultism-1.18.2-1.84.0.jar

oculus-mc1.18.2-1.6.4.jar

overloadedarmorbar-1.18.2-6.1.jar

Paraglider-1.18.2-1.6.0.6.jar

Patchouli-1.18.2-71.1.jar

Placebo-1.18.2-6.6.7.jar

player-animation-lib-forge-1.0.2+1.18.jar

polymorph-forge-1.18.2-0.49.jar

Quark-3.2-358.jar

rubidium-0.5.6.jar

savage_and_ravage-1.18.2-4.0.1.jar

SmartBrainLib-forge-1.18.2-1.9.jar

smoothchunk-1.18.2-1.9.jar

Snad-1.18.2-1.22.04.15a.jar

snowundertrees-1.18.2-1.4.jar

sophisticatedbackpacks-1.18.2-3.20.2.1026.jar

sophisticatedcore-1.18.2-0.6.3.565.jar

StorageDrawers-1.18.2-10.2.1.jar

structure_gel-1.18.2-2.4.8.jar

supermartijn642configlib-1.1.8-forge-mc1.18.jar

supermartijn642corelib-1.1.17-forge-mc1.18.jar

swingthroughgrass-1.18.2-1.9.1.jar

tempad-forge-1.18.2-1.4.1.jar

Terralith_1.18.2_v2.2.6.jar

tetra-1.18.2-4.10.1.jar

the-conjurer-1.18.2-1.1.1.jar

THEUNDEADREVAMPED_0.9e_1.18.2.jar

ToolBelt-1.18.2-1.18.9.jar

toomanyglyphs-1.18.1-2.0.7.15321.jar

towns_and_towers_forge-1.10.0.1+1.18.2.jar

trashcans-1.0.18-forge-mc1.18.jar

trashslot-forge-1.18.2-11.0.3.jar

twilightforest-1.18.2-4.1.1494-universal.jar

upgrade_aquatic-1.18.2-4.0.0.jar

valhelsia_core-forge-1.18.2-0.4.0.jar

villagernames-1.18.2-7.0.jar

watut-forge-1.18.2-1.0.14.jar

waystones-forge-1.18.2-10.2.2.jar

YungsApi-1.18.2-Forge-2.2.9.jar

YungsBetterDesertTemples-1.18.2-Forge-1.3.1.jar

YungsBetterDungeons-1.18.2-Forge-2.1.0.jar

YungsBetterEndIsland-1.18.2-Forge-1.0.jar

YungsBetterMineshafts-1.18.2-Forge-2.2.jar

YungsBetterNetherFortresses-1.18.2-Forge-1.0.0.jar

YungsBetterOceanMonuments-1.18.2-Forge-1.0.3.jar

YungsBetterStrongholds-1.18.2-Forge-2.1.1.jar

YungsBetterWitchHuts-1.18.2-Forge-1.0.1.jar

YungsBridges-1.18.2-Forge-2.1.0.jar

YungsExtras-1.18.2-Forge-2.1.0.jar

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

  Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

  Your link has been automatically embedded.   Display as a link instead

  Your previous content has been restored.   Clear editor

  You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Well, as usual, it was user error. Naming mismatch in sounds.json.  Please delete this post if you find it necessary. 
    • Hello Forge community.  I'm running into an issue with a mod I'm working on.  To preface, I can call /playsound modId:name music @a and I can hear the sound I registered being played in game. Great!  However, I cannot get it to trigger via my mod code.    Registration: public static final RegistryObject<SoundEvent> A_WORLD_OF_MADNESS = SOUND_EVENTS.register("a_world_of_madness", () -> new SoundEvent(new ResourceLocation("tetheredsouls", "a_world_of_madness")));   Playback: Minecraft mc = Minecraft.getInstance(); if (!(mc.player instanceof LocalPlayer) || mc.level == null) return; LocalPlayer player = (LocalPlayer) mc.player; BlockPos pos = player.blockPosition(); SoundEvent track = ModSounds.A_WORLD_OF_MADNESS.get(); System.out.println(track); System.out.println(pos); System.out.println(player); // play exactly like the tutorial: client-only, at the player's position try { mc.level.playLocalSound( player.getX(), player.getY(), player.getZ(), track, SoundSource.MUSIC, // Or MASTER if needed 1f, 1f, false ); System.out.println("[DEBUG] playSound success: " + track.getLocation()); } catch (Exception e) { System.err.println("[ERROR] Failed to play sound: " + track.getLocation()); e.printStackTrace(); } Sounds.json:   { "theme_of_laura": { "category": "music", "sounds": [ { "name": "tetheredsouls:a_world_of_madness", "stream": true } ] } } Things I have tried: - multiple .ogg files. Short .ogg files (5 seconds, <100KB).  - default minecraft sounds imported from import net.minecraft.sounds.SoundEvents; These work given my code. No idea why these are different.  - playSound() method, as well as several others in past iterations that did not work   I would be forever grateful if somebody could point me in the right direction. I've looked at several mod github repositories and found extremely similar code to what I'm doing. I've also found several threads in this forum that did not solve my issue. I just cannot figure out what I'm doing differently, and why I'm able to queue sounds manually with playsound but the code won't play it (despite confirming the code is being run with the debug statements.)
    • Delete the tensura-reincarnated/common.toml file (config folder)
    • Jesus Christ is God's Son, Jesus died for our sins and rose from the dead to Give us eternal life. Ask Him to also heal your body.
  • Topics

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.