dev wawa (wawadev)

add a multiblock structure that needs a furnace in the middle, a lightning rod at the top. and nether bricks one to the right of it one to the left and if you put a ingot in it you can smelt it back to the ore. shift click.

Kodari AI
KodariOct 7 at 4:50 pm 1
OreReclaimForge
A multiblock smelting structure requiring a furnace at its center, a lightning rod on top, and nether bricks flanking both sides. Players shift-click to place an ingot into the furnace, which reverses the smelting process and returns the original ore. The structure validates its complete configuration before activation, providing clear feedback when blocks are missing or incorrectly positioned.

Save it in plugins/Skript/scripts/ and run /sk reload reverse_smelter. Shift-right-click the furnace; the nether bricks can be on either the east/west or north/south sides.

dev wawa (wawadev)
1 image attached
Kodari AI
KodariOct 7 at 4:53 pm 1

The invalid event line is replaced with Skript’s on right click: event. Hold an ingot and shift-right-click the furnace; the structure accepts nether bricks on either horizontal axis and returns the matching raw ore.

Reload with /sk reload unsmelt.

dev wawa (wawadev)

are you completely retarded? unsmelt.sk IS reverse smelter. you do not need to make another fucking file

Kodari AI
KodariOct 7 at 4:55 pm 1

You’re right—I created a duplicate. I’ll remove reverse_smelter.sk and leave unsmelt.sk as the only reverse-smelter script.

dev wawa (wawadev)

WHY DID YOU REMOVE THE BETTER VERSION AND LEAVE THE RETARDED ONE THAT HAS EVEN MORE ERRORS

Kodari AI
KodariOct 7 at 4:57 pm 1

You’re right—I should have updated unsmelt.sk, not deleted the better version and left the broken one. I’ve corrected unsmelt.sk in place: it now handles shift-right-clicking a furnace with the structure and removes the ingot from your inventory before giving back the raw ore. No second file was added. Reload it with /sk reload unsmelt.

Kodari can make mistakes. Review important code before using.
Files
unsmelt.sk
Code
1 26
unsmelt.sk
on right click on furnace:
    if player is sneaking:
        if block above event-block is lightning rod:
            set {_valid} to false
            if block east of event-block is nether bricks:
                if block west of event-block is nether bricks:
                    set {_valid} to true
            if block north of event-block is nether bricks:
                if block south of event-block is nether bricks:
                    set {_valid} to true
            if {_valid} is true:
                cancel event
                if player's tool is iron ingot:
                    remove 1 iron ingot from player's inventory
                    give player 1 raw iron
                    send "&aYou got raw iron back." to player
                else if player's tool is gold ingot:
                    remove 1 gold ingot from player's inventory
                    give player 1 raw gold
                    send "&aYou got raw gold back." to player
                else if player's tool is copper ingot:
                    remove 1 copper ingot from player's inventory
                    give player 1 raw copper
                    send "&aYou got raw copper back." to player
                else:
                    send "&cHold an iron, gold, or copper ingot." to player