Tunnelling Wisp

Post your coolest Hexcasting creations here.

New topics are NOT for chatting or asking help, put those in the comments of a post or in a different forum.
User avatar
beholderface
Posts: 36
Joined: Tue Dec 06, 2022 10:46 pm

Tunnelling Wisp

Post by beholderface »

A wisp that will dig tunnels for you. Casting without sneaking will send it off in your look direction, casting while sneaking will send it tunneling into the block you were targeting. Say "ABORT" (or whatever command you choose to embed within it) prefixed with your Sifter's string to tell the wisp to destroy itself, in case it starts tunneling into something you don't want to destroy.
It will illuminate dark spots it tunnels into, and has a blacklist of blocks it won't try to break (either because it'd just waste media, or because you don't want to destroy budding amethyst). It will also conjure blocks below gravel, sand, and red sand (both this list and the break blacklist are easily expandable, just drop in a different string) in order to stop cave-ins.
The offset list early on in the pattern list refers to a list of 27 offset vectors which will be used to form a cube around the wisp.
Lastly, I designed this for the Hexxycraft server, which has 1.20 hex's Break Block cost reduction backported, so if you're not using a beta version or Hexxycraft's fork, you may want to increase the amount of media given to the wisp.

Code: Select all

//hex for the wisp
{
    {
        <offset list for cube around wisp>
        <"ABORT"> //to halt wisp if need be
    }
    Flock's Disintegration
    Gemini Decomposition
    Whisper Reflection
    Equality Distillation
    Jester's Gambit
    Listener's Reflection
    Equality Distillation
    Disjunction Distillation
    {
        Identity Reflection
        Consume Wisp
    }
    Vacant Reflection
    Augur's Exaltation
    Hermes' Gambit
    //check for non-air blocks, break them
    {
        Identity Reflection
        Compass' Purification
        Additive Distillation
        Gemini Decomposition
        Sorter's Purification
        Scrivener's Purification
        {
            //breaking blacklist
            <"Air,Cave Air,Void Air,Water,Lava,Milk,Budding Amethyst,Bedrock,Conjured Light">
        }
        Flock's Disintegration
        Comma Reflection
        Separation Distillation
        Jester's Gambit
        Locator's Distillation
        Numerical Reflection: -1
        Equality Distillation
        {
            Gemini Decomposition
            Break Block
            //check for gravity blocks above the tunnel, break them and conjure blocks in their place
            Gemini Decomposition
            Vector Disintegration
            Bookkeeper's Gambit: v-v
            Identity Reflection
            Compass' Purification
            Vector Disintegration
            Bookkeeper's Gambit: v-v
            Maximus Distillation
            {
                Vector Reflection +Y
                Additive Distillation
                Gemini Decomposition
                Nullary Reflection
                Inequality Distillation
                {
                    Gemini Decomposition
                    Sorter's Purification
                    Scrivener's Purification
                    {
                        //gravity block whitelist
                        <"Gravel,Sand,Red Sand">
                    }
                    Flock's Disintegration
                    Comma Reflection
                    Separation Distillation
                    Jester's Gambit
                    Locator's Distillation
                    Numerical Reflection: -1
                    Inequality Distillation
                    {
                        Gemini Decomposition
                        Break Block
                        Conjure Block
                    }
                    {
                        Bookkeeper's Gambit: v
                    }
                    Flock's Disintegration
                    Augur's Exaltation
                    Hermes' Gambit
                }
                {
                    Bookkeeper's Gambit: v
                }
                Flock's Disintegration
                Augur's Exaltation
                Hermes' Gambit
            }
            {
                Bookkeeper's Gambit: v
            }
            Flock's Disintegration
            Augur's Exaltation
            Hermes' Gambit
        }
        {
            Bookkeeper's Gambit: v
        }
        Flock's Disintegration
        Augur's Exaltation
        Hermes' Gambit
    }
    Jester's Gambit
    Thoth's Gambit

    //check ravenmind for position to illuminate
    Muninn's Reflection
    Gemini Decomposition
    Nullary Reflection
    Inequality Distillation
    {
        Gemini Decomposition
        Lamplighter's Purification
        Numerical Reflection: 2
        Minimus Distillation II
        {
            Conjure Light
            Bookkeeper's Gambit: v
        }
        Flock's Disintegration
        Augur's Exaltation
        Hermes' Gambit
    }
    {
        Bookkeeper's Gambit: v
    }
    Flock's Disintegration
    Augur's Exaltation
    Hermes' Gambit

    //add downward raycast result to ravenmind
    Identity Reflection
    Compass' Purification
    Vector Reflection -Y
    Architect's Distillation
    Gemini Decomposition
    Nullary Reflection
    Inequality Distillation
    {
        Bookkeeper's Gambit: -
        Vector Reflection +Y
        Additive Distillation
    }
    Speaker's Decomposition
    Augur's Exaltation
    Hermes' Gambit
    Huginn's Gambit
    {
        //placeholder
        Bookkeeper's Gambit: --
    }
    Flock's Disintegration
    Identity Reflection
    Compass' Purification
    Additive Distillation
    Pathfinder's Gambit
    Numerical Reflection: 5
    Delay Wisp
    Flock's Reflection
    Flock's Gambit
    Bookkeeper's Gambit: v
}
//insert direction vector - look dir if standing, inverted raycast normal if sneaking
Gemini Decomposition
{
    Bookkeeper's Gambit: --
}
Flock's Disintegration
Locator's Distillation
Mind's Reflection
Stadiometer's Purification
Numerical Reflection: 1.5
Maximus Distillation
{
    Mind's Reflection
    Alidade's Purification
    Surgeon's Exaltation
    Mind's Reflection
    Compass' Purification
    Mind's Reflection
    Alidade's Purification
    Numerical Reflection: 2
    Multiplicative Distillation
    Additive Distillation
}
{
    Mind's Reflection
    Compass' Purification
    Mind's Reflection
    Alidade's Purification
    Architect's Distillation
    Numerical Reflection: -1
    Multiplicative Distillation
    Surgeon's Exaltation
    Mind's Reflection
    Compass' Purification
    Mind's Reflection
    Alidade's Purification
    Dioscuri Gambit
    Archer's Distillation
    Rotation Gambit II
    Architect's Distillation
    Additive Distillation
}
Augur's Exaltation
Hermes' Gambit
Numerical Reflection: 100
Summon Cyclic Wisp
Patterns
qqqqqqeeeqwaeawqaadaawaqaadaawddwdedadwawqqqdedwqqwdedwqqawwawqwawwwewwwewwwawqwawwwewwwewdeaweewaqaweewaawwwweeeqqaeaaeawdddeaqqqqqdedwqqwdedwqqawaawaawaadaaqaqqaeawawqwawawqqqeeeqwaeawqqaaqwaqaaawdddedqdeNumerical Reflection: -1adqqqaadaaqaqqqqqaadaaqeeeeeBookkeeper's Gambit: Drop 1, Keep 1, Drop 1dedwqqwdedwqqawaaqeeeeeBookkeeper's Gambit: Drop 1, Keep 1, Drop 1eqqqqqqqqewwaawaadaaddaqqqaadaaqaqqaeawawqwawawqqqeeeqwaeawqqaaqwaqaaawdddedqdeNumerical Reflection: -1daqqqaadaaqaqqqqqqqaeeeqqqBookkeeper's Gambit: Drop 1eeeqwaeawqawdddeaqqeeeqqqBookkeeper's Gambit: Drop 1eeeqwaeawqawdddeaqqeeeqqqBookkeeper's Gambit: Drop 1eeeqwaeawqawdddeaqqeeeqqqBookkeeper's Gambit: Drop 1eeeqwaeawqawdddeaqqeeeaawdddadadqeewdweddwaadaaddaqqqaadaaqedqdeNumerical Reflection: 2qqqqqqqdBookkeeper's Gambit: Drop 1eeeqwaeawqawdddeaqqeeeqqqBookkeeper's Gambit: Drop 1eeeqwaeawqawdddeaqqdedwqqwdedwqqawaaeeeeeqwweddwaaaadaaddaqqqBookkeeper's Gambit: Keep 1qqqqqewwaaweeeaaqwqaaawdddeaqqeqqwawqaawqqqBookkeeper's Gambit: Keep 2eeeqwaeawqdedwqqwdedwqqawaawaawawqwawqawNumerical Reflection: 5aqawdedqwaeawqaeaqaewdqdweBookkeeper's Gambit: Drop 1eeeaadaaqqqBookkeeper's Gambit: Keep 2eeeqwaeawqdedqdeqaqawqNumerical Reflection: 1.5eqqqqaqwawqaeaqwqaqaaqaqwaNumerical Reflection: 2waqawwaaweeeqqqqaqaaqaqwaweddwaaNumerical Reflection: -1waqawwqaeaqwqaqaaqaqwaaadadaawwqaawddddqddweddwaawaaweeeawdddeaqqNumerical Reflection: 100aqaweewaqawee
Of course, requires Hexal and MoreIotas.