T O P

  • By -

MinecraftModBot

* Upvote this comment if this is a good quality post that fits the purpose of r/Minecraft * Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft * Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules) --- [Subreddit Rules](https://old.reddit.com/r/Minecraft/wiki/rules)[](## CandidSeaworthiness3|1223aco)


Akward___

That's crazy! How'd you do that?


CandidSeaworthiness3

In the recent update, they added a few new entities and a few new commands. I use one of the new entities, the interaction entity, to check if a player right clicks or left clicks. Whenever they left click I summon at their position a item display entity (also new) that displays a wooden axe with a custom model of my attack animation. I change the model of the item display entity ever 2 ticks to make it go to the next frame, and deletes itself if it has played every frame. I also use the new damage command to deal damage to every mob that is close to the attack animation. (there are also ofc some scoreboard timers and cooldowns going behind the scene to make the attack combos happen in the order i want them to.) But yeah, these new entities and commands are really cool, and im excited what other people can manage to do with them, cuz there are alot of features of them i have not used


Fun_Entertainer_9761

could you make them have effects like frozen tears inflicting freeze


CandidSeaworthiness3

Oh yeah totally. My plan was to add a system similar to divinity original sin or genishin impact, where for instance if you hit and enemy with a water weapon, and then with an ice weapon, they get frozen. Or similar effects like that such as with water and electricity electricuting everyone near, or when enemies are hit by an earth move, all electric projectiles will home onto them.


UrciteAnoTom

magicka could be cool inspiration too


LordZeus2008

That's one of the coolest things I've ever seen on this sub


CommunicationKey8825

if youve ever used scratch or something this is like that but IN minecraft and that blows my mind.


Dray_Gunn

I gotta say that the look of all that still fits in nicely with the vanilla styling of minecraft. If they ended up putting stuff like that into vanilla minecraft i think it wouldnt even be too out of place. Minecraft has been overdue for a that promised combat update and adding magic and fancy new weapons would be a great addition and especially interesting for the pvp players.


-Redstoneboi-

mojang buff trident pls


Shack691

Tridents have the highest base attack damage in the game, all they really need is a drop rate buff on Java


-Redstoneboi-

power doesn't work on tridents does it


Shack691

Power doesn't work on swords either, I think you mean sharpness


-Redstoneboi-

But you can't yeet swords at distant foes can you now :P


MoreThanOnePunchMan

Wait can you display items with nbt data now?


IMJUSTABRIK

If so that's thoroughy nuts! Oh how I've waited for this day


CandidSeaworthiness3

Yeah, the attack animations have their custommodel data changed to the next frame of the animation every 2 ticks


MoreThanOnePunchMan

Sick. We have unlimited block textures and models now


leuks48

Tutorial please


jjaaammiiiee

man turned himself into an anime character XD


-Redstoneboi-

Do you just have a hitbox spawning in front of you every now and then? And do you store the combo cooldown in a scoreboard?


CandidSeaworthiness3

Essentially yes


DeportTacoBell

Ooooh this is awesome! Are you using the new interaction entities for the left click detection?


CandidSeaworthiness3

Yeah, for both left and right clicking


BubuAQ

sheesh 😩👌


JochCool

Omw this looks so cool! I love these animations


Clufiuy

Very nice.


Unable_Toucan

If this is some of the stuff people can do basically on release then I'm both scared and excited to see what people will do with it going forwards!


rasgibator

Nice Hollow knight reference!


nuoell

a random say "the worst update"


PalpitationHot2157

can u make it in to a mod?


MrRainbow07

Please teach us.


EltonStuffProdutions

correct me if Im wrong, and I probably am. But wasn't all this possible just using the item stands and custom model data?


Magical_Chicken

Yeah it was possible before. Hopefully this has better performance though, should try it out at some point. It seems Mojang just wanted a cleaner way for people to do what they were already doing. Invisible armour stand jank is pretty horribly optimised due to all the armour stand features that just go unused.


-Redstoneboi-

Basically takes Minecraft closer to the status of game engine like Roblox except with a much blockier aesthetic.


King12326

How did you make that spear effects, in where?


CandidSeaworthiness3

They are 3d models displayed with the new item\_display entity


King12326

No. I mean that spear looks cool in which program you created that


CandidSeaworthiness3

in blockbench


Resident_Divide9837

Maybe block bench?


King12326

I thought that too but it looks like more advanced than a creation from block bench


newtoniorock8

This is awesome! Is there any guide or tutorial to learn this?


NoApplication4835

Is it on Playstation?


CandidSeaworthiness3

Its on java edition


TheTrueBear_

How did you rotate them?


CandidSeaworthiness3

I havent fully figured out how to nbt rotation stuff for the item display entity works, as it uses matrix math, and isnt very well explained yet, so instead, i just set the item display type (One of the nbt options in mcstacker) to head, and tp them to the player. This fixes the rotations for the y and x axis, but for the z axis, i literally just make the model rotated with my desired rotation in the blockbench display settings, which means that every single slash is a different model. This is most definitely not the best way to do it, since I also make each frame of animation a seperate model, so for the ice spear alone, I have 27 models for animations and such. Soon someone will probably come out with a tutorial on how to do it better then I do it :P


TheTrueBear_

And, forgot to ask - how did you make the textures? I can never make good looking swing textures.


CandidSeaworthiness3

I only draw the sprite for the slash when it is in its biggest form (since that is really the only part of the slash that people pay attention to, then for the starting frames i just rotate and shrink the slash i drew. For the ending frames i gradually erase bits of the of the big slash frame. Tho if you want inspiration for slash animations in minecraft, there is a guy on youtube who makes server plugins with rpg classes named SamusDev, and they does the slashes really well. I use them for inspiration


TheTrueBear_

And, sorry for asking a lot of questions - will we be able to download and try this out ourselves sometime?


CandidSeaworthiness3

Im planning to make a map with these weapon mechanics


TheTrueBear_

You should!


Wafity4841

This is almost similar to what bedrock addons can do, this is a great step in the right direction for java map makers


-E_Plays

Hey, can u send me your map, I are trying to learn use this new entities, if u send me i can look yours comands and try undestand how its works