Jump to content

Something like the Achievement Tree


Asweez

Recommended Posts

I want to make a GUI like the achievement screen where there are boxes and lines and you can scroll through it and stuff, but I'm not sure how to do it. I mostly get the boxes, but I'm not sure how to make the lines that connect them, and I'm not sure how to make the window scrollable.

 

How would I do these things?

Creator of the MyFit, MagiCraft, Tesseract gun, and Papa's Wingeria mod.

Link to comment
Share on other sites

In simple words:

On screen you make a "border" from some left-right and top-bottom.

Background is creatd by bunch of textures that use some "random" blocks and you start drawing them on this "bordered" area using repeating pattern. (Not qute what I would call it - it actually uses some of Biome mechanics, I don't really remember right now).

You render as many background blocks as possible and those which are standing out of bordered area you cover with .png frame-like image.

 

Rest is simple dragging-coordinate system you can find in most scrollable guis.

 

As to understanding it - you can't without taking a piece of whatever gives you power to imagine and compute (paper, paint, brain maybe) and thinking the idea thorough. Seriosuly, I could understand anyone not being able to write it themselves, but you have a code - LOOK at it, analyse it. And I am not being rude, that is a simple and useful truth.

1.7.10 is no longer supported by forge, you are on your own.

Link to comment
Share on other sites

You're not being rude at all. But the code is a little hard to understand at first glance because most of the variables still have names like field12345_A. So I will have to go a little further into analyzing it. Thanks for the instruction!

Creator of the MyFit, MagiCraft, Tesseract gun, and Papa's Wingeria mod.

Link to comment
Share on other sites

VSWE did a tutorial series for 1.6.4 about interfaces, among others. Even though it is outdated, the concepts still hold true, and if you are struggling with understanding how something like a scrollbar works, I think you may find that series helpful.

 

As for scroll bars, at its most basic it is simply storing the current x or y position of the scroll bar and rendering things on the background based on that. Think if you have a 1000 x 500 canvas, but can only show 200x100 at a time.

 

Determining which part of your screen to render can be figured by calculating the scrollbar's position on a scale of 0 to 1. In this example, the scrollbar can be anywhere from pixel 0 up to "screen width or height minus scrollbar size in pixels" (for its top- or left-most position), so (current position / max position) is the current ratio which you then use to determine where to start rendering from.

 

E.g. for a vertical scrollbar that is 10 pixels tall on our screen that is 100 pixels high, if it is currently at y position 45, then our ratio is (45 / 100-10) or 0.5F. Multiply that by our canvas sizes and you get 500 for the starting x position and 250 for the starting y position, so you will render from 500 to 700 on the x and 250 to 350 on the y.

 

It may seem complicated at first, but it's really not. I highly recommend that tutorial series as it will introduce you to a lot of these concepts.

Link to comment
Share on other sites

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.



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • my game crashed and I have no idea why here is a link to the pastebin of the crash https://pastebin.com/vv89r9vC
    • I know duplicated mods are causing the crashes but i just dunno what mod(s) are duplicated   [14:54:36] [main/INFO]: ModLauncher running: args [--username, DiscoloredScars, --version, forge-40.2.0, --gameDir, E:\curseforge minecraft\Instances\MT6 (1), --assetsDir, E:\curseforge minecraft\Install\assets, --assetIndex, 1.18, --uuid, 66ccf15a7ca24a8386d37f6d3bfef878, --accessToken, ????????, --clientId, MjEwMWVmMTYtODVjYS00OTcwLWFmZTktOTZiNTAyYmM2YTQ3, --xuid, 2535421420761636, --userType, msa, --versionType, release, --width, 1024, --height, 768, --launchTarget, forgeclient, --fml.forgeVersion, 40.2.0, --fml.mcVersion, 1.18.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220404.173914] [14:54:36] [main/INFO]: ModLauncher 9.1.3+9.1.3+main.9b69c82a starting: java version 17.0.1 by Microsoft [14:54:36] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/E:/curseforge%20minecraft/Install/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2314!/ Service=ModLauncher Env=CLIENT [14:54:36] [main/INFO]: Found mod file [1.18.2-forge]-Epic-Knights-8.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file AdvancementPlaques-1.18.2-1.4.5.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file Apotheosis-1.18.2-5.8.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file architectury-4.11.93-forge.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file ars_nouveau-1.18.2-2.9.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file AutoLeveling-1.18.2-1.17.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file betterstats-2.2.2+1.18.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file blockui-1.18.2-0.0.71-ALPHA.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file Bookshelf-Forge-1.18.2-13.3.56.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file BrassAmberBattleTowers-1.18.2-2.3.12.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file bygonenether-1.3.0-1.18.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file caelus-forge-1.18.1-3.0.0.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file cloth-config-6.5.102-forge.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file Clumps-forge-1.18.2-8.0.0+17.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file collection-of-singiro-1.19.x-1.1.4.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file collective-1.18.2-6.65.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file ConfigMenusForge-v3.2.0-1.18.2-Forge.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file CreativeCore_FORGE_v2.6.17_mc1.18.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file curioofundying-forge-1.18-5.3.0.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file curios-forge-1.18.2-5.0.9.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file curiouselytra-forge-1.18.1-5.0.1.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file domum_ornamentum-1.18.2-1.0.50-ALPHA-universal.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file dungeons_enhanced-1.18.2-3.2.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file dungeons_gear-1.18.2-4.0.2-beta.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file dungeons_libraries-1.18.2-2.0.5-beta.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file dungeons_plus-1.18.2-1.2.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file embeddium-0.3.18+mc1.18.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file EnchantmentDescriptions-Forge-1.18.2-10.0.12.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file EndlessBiomes 1.3s - 1.18.2 (Server-friendly).jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file FarmersDelight-1.18.2-1.2.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file FarmersRespite-1.18.2-1.3.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file framework-forge-1.18.2-0.4.3.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file ftb-chunks-forge-1802.3.17-build.265.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file ftb-essentials-1802.2.2-build.83.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file ftb-library-forge-1802.3.11-build.177.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file ftb-quests-forge-1802.3.14-build.191.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file ftb-teams-forge-1802.2.11-build.107.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file ftb-ultimine-forge-1802.3.3-build.70.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file geckolib-forge-1.18-3.0.57.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file Goblins_Dungeons_1.0.8.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file goblintraders-1.8.0-1.18.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file ironchest-1.18.2-13.2.11.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file ironfurnaces-1.18.2-3.3.3.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file Jade-1.18.2-forge-5.3.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file jei-1.18.2-9.7.2.1001.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file LegendaryTooltips-1.18.2-1.3.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file mahoutsukai-1.18.2-v1.34.62.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file minecolonies-1.18.2-1.1.29-BETA.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file miners_delight-1.18.2-1.1.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file modestmining-1.18.2-0.1.41.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file modnametooltip-1.18.1-1.18.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file morevillagers-forge-1.18.2-3.3.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file MouseTweaks-forge-mc1.18-2.21.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file mowziesmobs-1.5.32.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file multi-piston-1.18.2-1.2.15-ALPHA.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file MutantMonsters-v3.0.1-1.18.2-Forge.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file oculus-mc1.18.2-1.6.4.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file Oh_The_Biomes_You'll_Go-forge-1.18.2-1.4.7.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file Origins-1.18.2-1.4.1.4-unified.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file pamhc2crops-1.18.2-1.0.6.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file pamhc2foodcore-1.18.2-1.0.3.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file pamhc2foodextended-1.18.2-1.0.5.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file pamhc2trees-1.18.2-1.0.4.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file Patchouli-1.18.2-71.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file Pehkui-3.7.7+1.18.2-forge.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file Placebo-1.18.2-6.6.7.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file PuzzlesLib-v3.4.6-1.18.2-Forge.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file Quark-3.2-358.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file reforgium-1.18.2-1.0.12a.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file rpggods-18.2.6.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file rubidium-0.5.6.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file rubidium_extras-1.18.2_v1.3.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file selene-1.18.2-1.17.9.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file sereneseasonfix-1.18.2-1.0.6.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file SereneSeasons-1.18.2-7.0.0.15.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file sons-of-sins-1.18.2-1.1.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file sophisticatedbackpacks-1.18.2-3.19.4.976.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file sophisticatedcore-1.18.2-0.5.109.515.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file spark-1.10.38-forge.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file structure_gel-1.18.2-2.4.7.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file structurize-1.18.2-1.0.424-ALPHA.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file supplementaries-1.18.2-1.5.18.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file TerraBlender-forge-1.18.2-1.2.0.126.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file TradingPost-v3.2.0-1.18.2-Forge.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file TravelersTitles-1.18.2-Forge-2.1.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file upgrade_aquatic-1.18.2-4.0.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file upgradedcore-1.18.2-3.3.0.0-release.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file upgradednetherite-1.18.2-4.3.0.1-release.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file upgradednetherite_items-1.18.2-3.3.0.0-release.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file upgradednetherite_ultimate-1.18.2-3.3.0.0-release.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file valhelsia_core-forge-1.18.2-0.4.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file villagernames-1.18.2-5.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file villagespawnpoint-1.18.2-4.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file waystones-forge-1.18.2-10.2.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file weaponmaster-1.2.1-1.18.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file YungsApi-1.18.2-Forge-2.2.9.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file YungsBetterDungeons-1.18.2-Forge-2.1.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file YungsBetterMineshafts-1.18.2-Forge-2.2.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file YungsBetterNetherFortresses-1.18.2-Forge-1.0.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file YungsBetterOceanMonuments-1.18.2-Forge-1.0.3.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file YungsBetterStrongholds-1.18.2-Forge-2.1.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file YungsBetterWitchHuts-1.18.2-Forge-1.0.1.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file YungsBridges-1.18.2-Forge-2.1.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:36] [main/INFO]: Found mod file YungsExtras-1.18.2-Forge-2.1.0.jar of type MOD with provider {mods folder locator at E:\curseforge minecraft\Instances\MT6 (1)\mods} [14:54:37] [main/WARN]: Mod file E:\curseforge minecraft\Install\libraries\net\minecraftforge\fmlcore\1.18.2-40.2.0\fmlcore-1.18.2-40.2.0.jar is missing mods.toml file [14:54:37] [main/WARN]: Mod file E:\curseforge minecraft\Install\libraries\net\minecraftforge\javafmllanguage\1.18.2-40.2.0\javafmllanguage-1.18.2-40.2.0.jar is missing mods.toml file [14:54:37] [main/WARN]: Mod file E:\curseforge minecraft\Install\libraries\net\minecraftforge\lowcodelanguage\1.18.2-40.2.0\lowcodelanguage-1.18.2-40.2.0.jar is missing mods.toml file [14:54:37] [main/WARN]: Mod file E:\curseforge minecraft\Install\libraries\net\minecraftforge\mclanguage\1.18.2-40.2.0\mclanguage-1.18.2-40.2.0.jar is missing mods.toml file [14:54:37] [main/INFO]: Found mod file fmlcore-1.18.2-40.2.0.jar of type LIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@2577d6c8 [14:54:37] [main/INFO]: Found mod file javafmllanguage-1.18.2-40.2.0.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@2577d6c8 [14:54:37] [main/INFO]: Found mod file lowcodelanguage-1.18.2-40.2.0.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@2577d6c8 [14:54:37] [main/INFO]: Found mod file mclanguage-1.18.2-40.2.0.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@2577d6c8 [14:54:37] [main/INFO]: Found mod file client-1.18.2-20220404.173914-srg.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@2577d6c8 [14:54:37] [main/INFO]: Found mod file forge-1.18.2-40.2.0-universal.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@2577d6c8 [14:54:37] [main/ERROR]: Failed to build unique mod list after mod discovery. net.minecraftforge.fml.loading.EarlyLoadingException: Duplicate mods found     at net.minecraftforge.fml.loading.UniqueModListBuilder.buildUniqueList(UniqueModListBuilder.java:78) ~[fmlloader-1.18.2-40.2.0.jar%2317!/:1.0]     at net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer.discoverMods(ModDiscoverer.java:76) ~[fmlloader-1.18.2-40.2.0.jar%2317!/:?]     at net.minecraftforge.fml.loading.FMLLoader.beginModScan(FMLLoader.java:166) ~[fmlloader-1.18.2-40.2.0.jar%2317!/:1.0]     at net.minecraftforge.fml.loading.FMLServiceProvider.beginScanning(FMLServiceProvider.java:86) ~[fmlloader-1.18.2-40.2.0.jar%2317!/:1.0]     at cpw.mods.modlauncher.TransformationServiceDecorator.runScan(TransformationServiceDecorator.java:112) ~[modlauncher-9.1.3.jar%235!/:?]     at cpw.mods.modlauncher.TransformationServicesHandler.lambda$runScanningTransformationServices$8(TransformationServicesHandler.java:100) ~[modlauncher-9.1.3.jar%235!/:?]     at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) [?:?]     at java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1779) [?:?]     at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) [?:?]     at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) [?:?]     at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575) [?:?]     at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260) [?:?]     at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616) [?:?]     at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622) [?:?]     at java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627) [?:?]     at cpw.mods.modlauncher.TransformationServicesHandler.runScanningTransformationServices(TransformationServicesHandler.java:102) [modlauncher-9.1.3.jar%235!/:?]     at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:55) [modlauncher-9.1.3.jar%235!/:?]     at cpw.mods.modlauncher.Launcher.run(Launcher.java:87) [modlauncher-9.1.3.jar%235!/:?]     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.3.jar%235!/:?]     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.3.jar%235!/:?]     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.3.jar%235!/:?]     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] [14:54:37] [main/ERROR]: Mod Discovery failed. Skipping dependency discovery.  
    • ok apparently the issue is even stupider than that. the folder the server was in was called "𝓯𝓻𝓮𝓪𝓴𝔂 server" and apparently the special characters in the folder name break the whole damn thing. this is the stupidest thing in the history of ever
    • Thanks, but now I have the 3d model in hand (and in inventory bcz I won't need that anymore) but now when I try to throw it, it doesnt rotate and its just the end of the trident not the head part. Edit: I removed the 3d custom model. I use the original minecraft files. Json and etc. In minecraft the rendering is made in code. I sent the code in the first message. I have mostly the code. But I don't know how to register the renderers like minecraft do. For example, in minecraft there are 2 jsons: trident_in_hand and trident_throwing , I have both of them. They don't render while I have the item in hand. That's the main problem. I checked the code but I still can't figure out how to register and render the entity basically, in hand
  • Topics

×
×
  • Create New...

Important Information

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