Minecraft Data Packs / Cosmetic

Cube Kites (no resource pack required!)

  • check_circle Advancements
  • check_circle Functions
  • check_circle Loot Tables
  • check_circle Predicates
  • check_circle Recipes
  • 3,187 views, 3 today
  • 183 downloads, 0 today
  • 30
  • 25
  • 9
4P5's Avatar 4P5
Level 42 : Master Mage
38
This datapack adds cosmetic kites to the game, no resource packs necessary! You must be in at least Easy difficulty for it to work.


USAGE:
Craft a kite with one lead, one wool, and fill the remaining seven slots with string. This will give you a kite bundle. (the recipe will claim to give you a "knowledge book", this is a workaround to Mojang refusing to add NBT crafting, and the crafting table is in fact a LIAR who will try to steal your kidneys.) Crafting recipe

To unwrap the bundle (and thus launch the kite), place it on the floor. The colour will be randomly selected, or you can place it on a carpet block to override it and choose your own colour. The kite will attach itself to you upon launch, and will begin to float northwest. The kite will stop moving at around 40 blocks out; the string has reached its maximum length.

You'll be given a Kite Spool whenever you launch a kite, this is used to control kites. Hold the spool to attach all kites within 50 blocks to you, and hold sneak to reel them in. Be careful with this item, as it will tether you to all kites within 50 blocks, even ones anchored to fence posts. To anchor a kite to a fence post, reel it in so it's within 7 blocks of you (this is due to a Minecraft limitation), and click on a fence post. The spool disables itself when you're near a leash knot, so don't worry about that. Kites tethered to fence posts will only fly ~30 blocks out.

BEHAVIOUR:
Kites are buffeted by the winds that Minecraft totally has as a feature. Yup, added in 20w65a. The kites also practise social distancing, staying 1 block apart at all times, which stops them all from cramming into one place. To UTTERLY DESTROY A KITE FOR ALL OF TIME, simply hit it with an arrow. It will explode. This is an intended feature. It will also take down all nearby kites, and a pretty large portion of your world (it's the same as a TNT explosion.)

HOW IT WORKS:
The reason there's no resource pack is because I'm utilising vanilla textures! The "kite" is actually two invisible llamas, one named Dinnerbone to flip it upside down, both in a VERY safe-for-work position. Just take my word for it. Llamas can be carpeted, and making them invisible will keep the carpet while UTTERLY DESTROYING the llama FOR ALL OF TIME. (Just kidding. They're only partially destroyed FOR ALL OF TIME)

To make the kite move, I use a slime as the center. This is also what I leash the player/fence to, and the hitbox for detecting arrow damage. When tethered to a player, the slime will move up and northwest until it's 40 blocks away. If it's more than 45 blocks away, it will move southeast and down. This can result in it failing if the player is to the northwest of the kite, but it's the easiest way to do it. When it's attached to a fence post, it will behave in the exact same way, but the new limits are 30 and 40 blocks respectively.

You'd think the leash would be the hardest part, but it was actually quite easy! Since hostile mobs aren't normally able to be leashed, they don't check for distance, and so the lead can be as long as it wants.

Each kite has its own unique ID, which is given to the marker and both its llamas when the kite is spawned in. The marker will only teleport kites with the same ID to it.

Feel free to have a look around the code, I've tried to document as much as I can, but the soul-eating monster scares me off and I have a finite number of fingers to sacrifice (12, to be exact). Sorry!

PERFORMANCE:
The kites are pretty good on the server! It took 141 of them for me to start dropping TPS.
I could probably optimise it a lot more, but that would take quite a while and I just don't have the time nor the motivation to get it done. If this gets a bit of attention, I could redo some parts.

BUGS FUN FEATURES:
Kites will sometimes spontaneously combust.
Players who are standing over 45 blocks away from a kite and are tethered to it from the northwest may notice the following side effects:
  • kite not go up :(
  • kite go down ?
  • wait, kite explode right ?
  • AAAAAAAH !
  • death

CREDITS:
Programming - Me
Textures - Jappa (he's responsible for llama carpets and multiple hours of screaming at the aforementioned llama carpets)
Crafting recipe GIF (it's pronounced GIF, obviously, none of that GIF nonsense) - crafting.thedestruc7i0n.ca
CompatibilityMinecraft 1.15
toMinecraft 1.17
Tags

1 Update Logs

v1.1 : by 4P5 02/02/2021 10:06:01 pmFeb 2nd, 2021

  • Stopped kites from exploding on death, now they just poof out of existance. (aim slightly in front of the kite to kill it)
  • Players can now sit on kites!

Create an account or sign in to comment.

1
02/24/2021 6:29 pm
Level 1 : New Miner
YouTuber_Westivo
YouTuber_Westivo's Avatar
não conseguir fazer fufa :(
2
01/31/2021 5:49 pm
Level 36 : Artisan Explorer
Yadokai
Yadokai's Avatar
I'm on 1.16.4. I crafted a few kites but when I released them they did not fly into the air. They are now stuck where I placed them and they can not be destroyed.

How I can I remove them?
2
01/31/2021 10:14 pm
Level 42 : Master Mage
4P5
4P5's Avatar
Try holding the Kite Spool (enchanted lead), that should attach itself to all kites within 50 blocks. If that doesn't work (the slime that controls it may have died), run the command /kill @e[tag=4P5.kite.llama] to remove the kite.
1
02/02/2021 10:31 amhistory
Level 36 : Artisan Explorer
Yadokai
Yadokai's Avatar
Thank you for the reply. A list of things popped up for me to select when I typed "/kill". (I had the F3 debug data on-screen and I was already pointing at the kite.) The first item in the kill list was a long cryptic set of random numbers and letters. I selected it and the top of the kite was removed. I did the same on the bottom half, and the other kites.

I would still like to have kites in my world. This looks like such a fun data pack. Do you have any idea why they're not working for me? I'm using OptiFine 1.16.4 HD U G5 and Sildurs Vibrant Shaders v1.27 Extreme. Could the shader be the problem?

EDIT: I think I just figured it out. You said "the slime that controls it may have died". I'm in Peaceful mode so Slimes can't exist. That must've been the problem. :/
1
02/02/2021 12:51 pm
Level 42 : Master Mage
4P5
4P5's Avatar
Good work! Those random numbers and letters are the UUID (unique numbers for every mob) of the mob you're looking at.

Yeah, it does need a slime so it can be shot with arrows, and also somewhere to attach the lead (it would break with passive mobs). I'll try to find a mob that doesn't do that, hopefully I'll be able to replace it (it would just come at the cost of kites being harder to hit)
1
02/07/2021 9:19 pm
Level 36 : Artisan Explorer
Yadokai
Yadokai's Avatar
Ah. I understand... BUT if passive mobs can break their leash that may actually be a *cough* "Fun Feature" - after a while your kite will randomly break the line and float away and you'll have to make a new kite. I mean, what happens now? You download this cool datapack, make a bunch of kites, then... you never make kites again because they're all still there. But if they would float away after a while, you would be making new kites, changing the colors, and still having fun with the datapack. And, of course, it would even work in Peaceful. Maybe use the cow because it has a large hitbox?
1
02/09/2021 12:02 am
Level 42 : Master Mage
4P5
4P5's Avatar
Oh, what I meant is that the leads break if they're more than 7 blocks away from the leash knot or player. I can make the kites break, but then that would affect people who want them as permanent fixtures in their worlds, like in a field or something.
2
01/27/2021 10:48 am
Level 8 : Apprentice uwu
Francielly
Francielly's Avatar
It's adorable
loved it ❤
2
01/26/2021 10:54 am
Level 64 : High Grandmaster Kitten
CylinderBox
CylinderBox's Avatar
Ah, the old "invisible llama with carpet" trick.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome