Ponder for KubeJS

Ponder for KubeJS

16M Downloads

AE2 support

tuturox91 opened this issue · 10 comments

commented

Version

ponderjs-1.18.2-1.1.8 and appliedenergistics2-11.1.2

Describe the bug!

AE 2 cables can't show in ponder(

image
image

Crash Report

No response

Log

No response

Additional Context

Yes

Modifications

No response

Did the issue happen in singleplayer or on a server?

Singleplayer

commented

Not sure if this is something related to create and ponder. Need to figure it out. And for connecting you probably need to setup the blockstates correctly (if they use it).

commented

If you include the cables in the structure nbt they can show, but they dont connect :/ not sure if there's a way to fix that..?

image

commented

The blockstates are set correctly, but with an NBT Editor I saw that part of the NBT wasn't saved with the schematic (the "extra center" bit). I imagine that's what's setting the connection to other ones.
I couldn't figure out how to set NBT so the quotation marks show up, since you couldn't do something like

scene.world.modifyTileNBT([1, 1, 3], (nbt) => {
    nbt."Extra:Center": {
        gn: {
            p: 0,
            k: "-1L",
            g: "2L"
        }
    }
}

image

NBT of a cable in the structure:
image

image

also tried this, no effect:

                scene.world.modifyTileNBT([1, 1, 2], (nbt) => {
                    nbt = [
                        {
                            id: "ae2:cable_bus",
                            "item:center": "ae2:fluix_glass_cable",
                            "extra:center":{
                                gn:{
                                    p: 0,
                                    k: "-1L",
                                    g: "2L"
                                }
                            }
                        },
                    ];
                });

                scene.world.modifyTileNBT([1, 1, 1], (nbt) => {
                    nbt = [
                        {
                            id: "ae2:cable_bus",
                            "item:center": "ae2:fluix_glass_cable",
                            "extra:center":{
                                gn:{
                                    p: 0,
                                    k: "-1L",
                                    g: "2L"
                                }
                            }
                        },
                    ];
                });
commented

If you find how to fix this. This is be awesome! The ae2 has no guide book. And such a visual tutorial would be very useful in modpacks!

commented

This submission has been automatically marked as abandoned because it has not had recent activity. It will be closed in 3 days. If you want to prevent that, leave a new comment.

commented

We'll leave this open in case someone finds out a way to do it.

commented

One of the AE2 devs looked into this and it was indeed not possible with the previous version of Applied Energistics. But they introduced a way to make AE objects work within Ponder.

The tracking PR can be found here: AppliedEnergistics/Applied-Energistics-2#6661

I'll close this issue when it's ready.

commented

https://github.com/AppliedEnergistics/Applied-Energistics-2/blob/master/ponderjs.md

GitHub
A Minecraft Mod about Matter, Energy and using them to conquer the world.. - Applied-Energistics-2/ponderjs.md at master · AppliedEnergistics/Applied-Energistics-2
commented

Implemented here and ported to all 1.18+ versions: AppliedEnergistics/Applied-Energistics-2#6662

The guide page can be found here and will be also available on our wiki.

commented

Wow this is amazing!