Long range block selection

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
Cameron TNT
Posts: 3
Joined: Wed Jun 11, 2025 1:22 am

Long range block selection

Post by Cameron TNT »

This spell acts as Archers Distillation over an arbitrarily long range utillising sentinel walking. For conveniences sake, at the end of the loop the sentinel is teleported to the selected block under the assumption some other spell may be ran thinking that block to have a uniform 16 radius ambit. This spell is most useful when cast in conjunction with other spells (for instance, long range block manipulation)

The ravenmind and stack are left unaffected by this spell, and it does not utilise any addons.

The spell expects the stack to be set up identically to that of Archers Distillation, with a position vector and a direction vector. Notably, the spell assumes the direction vector is a unit vector, though this can be modified fairly easily if that is inconvinient. The spell also assumes that the position vector is in your ambit, if not some preliminary sentinel walking will be required.

There are two forms of this spell. The first is barebones (but saves on evaluations), and as such has a few issues; It can get stuck in an infinite loop if fired at the horizon and when leaving the bounds of the world (-60<y<320) it will mishap (and due to the fact it will loop until it hits a block or mishaps, it never returns null)
The second form fixes these issues by setting an upper bound of 64 loops (configurable, highlighted in blue & commented), and a check for the bounds of the world (needs adjustments for nether & end). If either of these cause the spell to terminate, it will return null. The cost of this is over twice the pattern count and higher evaluation count.


Barebones:
Numerical Reflection: 15.5 waqaw qqq ddqdd aadadaaw wqaawdd aadaa aw Numerical Reflection: 4 ddad qqaeaae awdd deaqq v ddqaa waaw aadaa qaweeweewedeawaeq aawdd Numerical Reflection: 2 aada qwaqde eee Numerical Reflection: -2 aada qwaqde aadaa qaweeweewedeawaeq vvv-

Code: Select all

Numerical Reflection: 15.5
Multiplicative Distillation
{
	Rotation Gambit II
	Dioscuri Gambit
	Archer's Distillation
	Gemini Decomposition
	Augur's Purification
	Numerical Reflection: 4
	Fisherman's Gambit
	Vacant Reflection
	Augur's Exaltation
	Hermes' Gambit
	Bookkeeper's Gambit: v
	Undertaker's Gambit
	Additive Distillation
	Gemini Decomposition
	Summon Greater Sentinel
	Jester's Gambit
	Numerical Reflection: 2
	Fisherman's Gambit II
	Iris' Gambit
}
Numerical Reflection: -2
Fisherman's Gambit II
Iris' Gambit
Gemini Decomposition
Summon Greater Sentinel
Bookkeeper's Gambit: vvv-


Full spell:

Numerical Reflection: 15.5 waqaw aadadaaw aadadaaw qqqqqew waqaw ddqaa Numerical Reflection: 0 e Numerical Reflection: 320 Numerical Reflection: -60 awdd aawdd qqqqqew waqaw wddw aawdd wdedw ewq Numerical Reflection: 64 aadadaaw q ddqdd awdd waqaw waaw ddqdd aawdd qqq ddqdd aadadaaw aawdd wqaawdd aaedd Numerical Reflection: 5 aada ad aaedd aw waw Numerical Reflection: 4 ddad qqaeaae awdd deaqq v aaedd waaw aadaa qaweeweewedeawaeq Numerical Reflection: 3 aada qwaqde eee Numerical Reflection: -3 aada qwaqde vvvv- Numerical Reflection: 3 aadaadaa aw qqqaw qaweeweewedeawaeq qqqaw v awdd deaqq

Code: Select all

Numerical Reflection: 15.5
Multiplicative Distillation
Dioscuri Gambit
Dioscuri Gambit
Vector Reflection +Y
Multiplicative Distillation
Undertaker's Gambit
Numerical Reflection: 0
Maximus Distillation
Numerical Reflection: 320
Numerical Reflection: -60
Augur's Exaltation
Jester's Gambit
Vector Reflection +Y
Multiplicative Distillation
Subtractive Distillation
Jester's Gambit
Division Distillation
Floor Purification

#configurable maximum

Numerical Reflection: 64


Dioscuri Gambit
Minimus Distillation
Rotation Gambit II
Augur's Exaltation
Multiplicative Distillation
Additive Distillation
Rotation Gambit II
Jester's Gambit
{
	Rotation Gambit II
	Dioscuri Gambit
	Jester's Gambit
	Archer's Distillation
	Prospector's Gambit
	Numerical Reflection: 5
	Fisherman's Gambit II
	Equality Distillation
	Prospector's Gambit
	Augur's Purification
	Disjunction Distillation
	Numerical Reflection: 4
	Fisherman's Gambit
	Vacant Reflection
	Augur's Exaltation
	Hermes' Gambit
	Bookkeeper's Gambit: v
	Prospector's Gambit
	Additive Distillation
	Gemini Decomposition
	Summon Greater Sentinel
	Numerical Reflection: 3
		Fisherman's Gambit II
	Iris' Gambit
}
Numerical Reflection: -3
Fisherman's Gambit II
Iris' Gambit
Bookkeeper's Gambit: vvvv-
Numerical Reflection: 3
Gemini Gambit
Augur's Purification
Consideration
Summon Greater Sentinel
Consideration
Bookkeeper's Gambit: v
Augur's Exaltation
Hermes' Gambit