#Twirl!

1 messages · Page 1 of 1 (latest)

fleet portal
#

[theoretically] Adds the Twirling enchantment, which can be applied to any item and replaces its use function with just... spinning the item around in your hand.

jagged patrol
#

🤔

#

Wouldn't you have to mixin into every item's use method or is there a much easier way

swift geodeBOT
#

mix in to itemstack use and check enchantmenthelper!

#

itemstack use calls item use

jagged patrol
#

Oh yeah
Why didn't I think about that

wraith crag
#

Based enchantment

swift geodeBOT
solar cradle
#

everyone is actually cooked

#

this is best

swift geodeBOT
#

Amazing, cant wait to spin everything

jagged patrol
swift geodeBOT
#

the definition of "single mixin mod" is really changing in 1.21 with data driven enchants lol

azure yarrow
#

do this

lilac zenith
#

make it increase your jump height if you hold two enchanted items in the offhand :)

#

(only while twirling ofc)

#

idk if sharpshooter increases jump and slows fall with just one

#

looks like it does tho

#

four is ULTRAHELICOPTER but. uh. we don't have 4 slots lol

swift geodeBOT
#

yeah I was thinking about twirl based slow fall for a tiny little gameplay value

lilac zenith
#

If you twirl a sword it should damage entities nearby but also yourself

#

Maybe a % chance to hit yourself seeing as you can PROBABLY spin a sword without performing impromptu autosurgery

swift geodeBOT
#

we have a larger team mod to work on so this one might end up being pretty small and not have a bunch of niche kahur-style uses

lilac zenith
#

kahur?

swift geodeBOT
lilac zenith
#

ah

#

oh hey it's the Other gun mod from singularity

#

the second was mine :)

#

speaking of runic railguns (my gun mod for singularity),

swift geodeBOT
#

yeah we remember setting up the booth for that one ^^

swift geodeBOT
fiery pike
#

very speedy twirl

#

how to get twirl enchant

#

if you make it from the enchantment table just to screw everyone that uses the enchantment table to enchant their tools that would be hilarious

wraith crag
#

spinny

swift geodeBOT
#

(random use action every second usage)

#

lazy ass crafting recipe

fiery pike
#

lol

swift geodeBOT
#

mod done, time to publish and focus on our team mod lmao

#

maybe i'll add levels and make them spin the thing faster

#

decided the enchant should be more honest

azure yarrow
#

does it cancel right click action? or am I allowed to spin and use at the same time

#

extremely important for the baton wand item I'm making

swift geodeBOT
#

right now no that's why its a curse

#

you'd have to do something funny

azure yarrow
#

404

swift geodeBOT
#

yeah unapproved :3

azure yarrow
swift geodeBOT
#

well it's more "a non curse version might crash the game"

#

idk if stuff can really survive having its usage related stuff changed at random lol

#

let me know what you're thinking though

azure yarrow
#

hmmmmm if my baton gets made I might PR you

swift geodeBOT
#

right now i'm just head cancelling usagetick and finishusing

#

all i'd need to do is Not for specific items

#

ie, an item tag

azure yarrow
#

you can rotate the model and pass usage along?

swift geodeBOT
#

actually, no, hold on

azure yarrow
#

I imagine all you need to do is just have a variable tracking time spent twirling and whether it's being twirled, then recalc those and rotate model and pass during use method

#

would that really cause a crash?

swift geodeBOT
#

use is on the initial right click (use), tick is while the twirling is happening (usageTick), finish is the max use time and release (finishUsing), and action is the pose/stance (getUseAction)

#

I added keep_action and rotate_z to the shield as an example

#

prevents it from clipping into the player as much

#

and makes blocking with it work

swift geodeBOT
#

awesome!

wraith crag
#

woooo!

fiery pike
#

this is really cool

azure yarrow
#

:D perfect

jagged patrol
#

Woah, it's real

swift geodeBOT
#

aaand submitted

azure yarrow
#

and sisby were never heard from again

swift geodeBOT
#

we gotta start our other mod with garden system!

#

wait i forgot to show something obvious

#

my booth is doubtless going to be random custom modelled items from the fest all twirling cursed

azure yarrow
#

maybe it can have an altar that will curse whatever is put on it?

swift geodeBOT
#

oh like a command block?

#

that'd be funny

azure yarrow
#

perhaps yeah some kind of command block animation

#

or just something basic

swift geodeBOT
azure yarrow
#

unless someone does something fancy with enchantments for their mod

swift geodeBOT
#

be careful of find and replace kids

azure yarrow
#

wait I got it

magical dizzifying centrifuge

azure yarrow
swift geodeBOT
#

modrinth fail (auto featuring does not work for prereleases?)

azure yarrow
#

posp ping time?

#

prosp

fleet portal
#

\ @lyric mica fyi

lyric mica
#

yeah it only auto features designated major versions

#

it's a system that could be better lol

#

oh and if no major versions are present it features all of them. weird that it features multiple for same mc version though

swift geodeBOT
#

it's auto featuring every single copy of my 1.21-pre2 versions yeah

lyric mica
#

featured versions are being removed eventually anyway lol

swift geodeBOT
#

tell me more nepotism star

lyric mica
#

gonna get a single download button that asks you for mc version and loader instead

#

sadly curseforge beat us to impl that lol

#

fun fact in a call with them, they admitted they got the idea from an experiment we ran last year lol

swift geodeBOT
#

does that mean you're going to implement a totally different and more accurate display of the versions a mod supports on-page

lyric mica
#

yea

swift geodeBOT
#

cool

lyric mica
#

i can show you the WIP version of that

swift geodeBOT
#

cause that's the other thing i use featured versions for and it's kinda bad at it

#

bc of manual features

#

the one hazard i can see is that sometimes only an old version of the mod is on an old version of the game

lyric mica
swift geodeBOT
#

hard to surface that info

#

looks nice

#

what if you could hover that for a tooltip

#

that said 1.0.0+1.19.2 or whatever

#

the latest

fiery pike
lyric mica
#

it shows latest snapshot (if more recent than latest supported release) and then all versions rangified

#

also clicking it will take you to the versions page filtered by what you clicked

swift geodeBOT
#

here's my use case example for the tooltip

#

hovering 1.15-1.17.1 could say "1.0.1"

fiery pike
#

oh yeah

swift geodeBOT
lyric mica
#

well ok so the ranges don't refer to game versions a particular version supports

#

but rather the project as a whole

#

the grouping is just by the prefix for easy reading

swift geodeBOT
#

yeah sure so i mean 1.15 could say 1.0.1 then

#

point being you can get a vibe for whether a specific version is actively maintained

lyric mica
#

hmm I'm not sure how that would help for that

swift geodeBOT
#

otherwise i'm gonna get github issues that say "mod broken on 1.15"

#

girl, the mod is OLD on 1.15

#

you just clicked the download wizard

lyric mica
#

anyway I just boarded a flight will be MIA for a bit

#

it'd be nice to mark versions as deprecated possibly

#

will be back when I land in Seattle for layover lol

south spoke
#

aw man im don for

south spoke
#

it should be traded from wandering traders

swift geodeBOT
#

nah it's craftable using book + wind charge

south spoke
#

fair enough

latent tendon
#

so for whatever reason my brain could not process how data-driven enchants work, and then I looked at Twirl and I feel silly. But now I think I understand them better. So thank you for making this, it's cool as heck and helped me learn more about how to Do Modding Things ^w^

#

also the concept of "haha funny item go speen" is just hilarious to me

swift geodeBOT
#

welcome! I figured it'd be a good example for that because it's so simple

#

there are like several mistakes you can make in the formatting of the enchant json that will just cause the codec to explode without a good explanation of which key is the problem

#

several bits where it's unclear if something needs to be omitted by omitting the root key, or by omitting all keys in the set object

#

one crashes and one doesn't

wraith crag
#

Yeah, my goto example for how youd get a basic enchantment in was curse of ashes from my own mod, Enchiridion. But im glad that ppl are learning this system