Navigation

    Aristois

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Donate Now!

    Add modded blocks to XRay

    Aristois Support
    2
    10
    959
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • punkcupcake
      punkcupcake Donator last edited by

      As title states, is there a way to add modded blocks to the xray?
      using forge and want to add the blocks added by mekanism to the xray.
      thanks for an answer in advance 😃

      deftware 1 Reply Last reply Reply Quote 0
      • deftware
        deftware Administrator @punkcupcake last edited by deftware

        @punkcupcake It's not currently not possible through the gui, but it might be possible by manually editing the config. To do so close Minecraft then open .minecraft/libraries/EMC/<mc version>/configs/Aristois_Config.json in your favourite text editor.

        Search for xrayBlockList and it should be a list of blocks and each block should look something like this:

        {
           "translationKey": "block.minecraft.gold_ore"
        }
        

        go ahead and add a new entry for the custom block you want to add (Please note that you have to use the translation key of the block, not the name of the block), save the file and start Aristois.

        I'm looking into the posibility of having custom blocks show up in the main gui.

        punkcupcake 2 Replies Last reply Reply Quote 1
        • punkcupcake
          punkcupcake Donator @deftware last edited by

          @deftware awesome. thanks a ton for the fast reply and help 😄

          1 Reply Last reply Reply Quote 0
          • punkcupcake
            punkcupcake Donator @deftware last edited by

            @deftware ah well RiP. sadly when adding custom blocks it seems to cause a crash.

            The Crash: https://pastebin.com/UKfSjvnU
            Blocklist cfg: https://pastebin.com/Gi6d3X5A

            deftware 1 Reply Last reply Reply Quote 0
            • deftware
              deftware Administrator @punkcupcake last edited by

              @punkcupcake Alright, I'll reply to this thread when support is added for custom blocks in the main gui, shouldn't take that long.

              punkcupcake 1 Reply Last reply Reply Quote 1
              • punkcupcake
                punkcupcake Donator @deftware last edited by

                @deftware aight. thanks a ton again. really appreciate the help and work ❤

                deftware 1 Reply Last reply Reply Quote 1
                • deftware
                  deftware Administrator @punkcupcake last edited by

                  @punkcupcake I have now added full support for both custom blocks and items, and they show up in the gui selection lists. I will roll it out in ~1 hour.

                  Annotation 2021-03-01 172952.png

                  punkcupcake 1 Reply Last reply Reply Quote 1
                  • punkcupcake
                    punkcupcake Donator @deftware last edited by

                    @deftware you are an actual beast. absolutely amazing 😹

                    deftware 1 Reply Last reply Reply Quote 0
                    • deftware
                      deftware Administrator @punkcupcake last edited by deftware

                      @punkcupcake Alright custom blocks *should* work in Forge now, I originally only tested it on Fabric, but it turns out Forge registers custom blocks differently. It's building on the the CI right now, but in about ~30 min you can download the latest Forge EMC build and replace yours with it (.minecraft/mods/EMC.jar). Let me know how it works.

                      Annotation 2021-03-03 155714.png

                      Tested with Storage Drawers

                      punkcupcake 1 Reply Last reply Reply Quote 2
                      • punkcupcake
                        punkcupcake Donator @deftware last edited by

                        @deftware thank you! ❤️❤️🙏

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Visit Aristois.net | Contact