#Twirl!
1 messages · Page 1 of 1 (latest)
🤔
Wouldn't you have to mixin into every item's use method or is there a much easier way
mix in to itemstack use and check enchantmenthelper!
itemstack use calls item use
Oh yeah
Why didn't I think about that
Based enchantment
Amazing, cant wait to spin everything
Time for animations
the definition of "single mixin mod" is really changing in 1.21 with data driven enchants lol
The Cyber Grind focused update is coming out on the 27th, but for those of you who don't play the Cyber Grind: Don't worry! Here's a thing for you to play around with too!
Spin and shoot, ricochets off surfaces, pierces enemies and destroys projectiles.
do this
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
yeah I was thinking about twirl based slow fall for a tiny little gameplay value
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
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
kahur?
ah
oh hey it's the Other gun mod from singularity
the second was mine :)
speaking of runic railguns (my gun mod for singularity),
yeah we remember setting up the booth for that one ^^
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
spinny
lol
mod done, time to publish and focus on our team mod lmao
maybe i'll add levels and make them spin the thing faster
done lmao
decided the enchant should be more honest
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
like in order to get a non curse version?
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
hmmmmm if my baton gets made I might PR you
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
you can rotate the model and pass usage along?
actually, no, hold on
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?
done
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
awesome!
woooo!
this is really cool
:D perfect
Woah, it's real
listed! https://modrinth.com/mod/twirl
aaand submitted
and sisby were never heard from again
we gotta start our other mod with garden system!
wait i forgot to show something obvious
works with custom models
my booth is doubtless going to be random custom modelled items from the fest all twirling cursed
maybe it can have an altar that will curse whatever is put on it?
unless someone does something fancy with enchantments for their mod
be careful of find and replace kids
wait I got it
magical dizzifying centrifuge
it even has antique atlas compat! what can't it do?
modrinth fail (auto featuring does not work for prereleases?)
\ @lyric mica fyi
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
it's auto featuring every single copy of my 1.21-pre2 versions yeah
featured versions are being removed eventually anyway lol
tell me more nepotism star
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
does that mean you're going to implement a totally different and more accurate display of the versions a mod supports on-page
yea
cool
i can show you the WIP version of that
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
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
woah thats cool
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
here's my use case example for the tooltip
hovering 1.15-1.17.1 could say "1.0.1"
oh yeah
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
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
hmm I'm not sure how that would help for that
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
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
aw man im don for
it should be traded from wandering traders
nah it's craftable using book + wind charge
fair enough
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
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
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
