Minecraft Data Packs / Quality of Life

Despawn Warning 1.16+

  • check_circle Functions
  • 7,415 views, 0 today
  • 978 downloads, 0 today
  • 46
  • 33
  • 11
Cubyc's Avatar Cubyc
Level 64 : High Grandmaster Programmer
167
Despawn Warning [v1.2]



This lightweight datapack adds the functionality to see whenever an item is about to despawn. Items naturally despawn after 6000 game ticks, which is 300 seconds or 5 minutes. See the list below for an indication when items will blink and their respective colour.

Time leftColourBlink speed
6000 ticks / 300 secondsNoneNone
900 ticks / 45 secondsGold20 ticks
300 ticks / 15 secondsRed10 ticks
100 ticks / 5 secondsDark Red5 ticks


*The video above is sped up.


- Place the folder out of the .zip file into your 'datapacks' folder of the desired world.
- Type: /datapacks list to check if the datapack is correctly installed.
- Reload your world to fully initiate the datapack with: /reload.
- Start dropping items and see them vanish with a poof and a pop!

Keep an eye out for future updates!



Credit@Gold-Cobalt
CompatibilityMinecraft 1.13
toMinecraft 1.16
Tags

3 Update Logs

Version 1.2 : by Cubyc 08/25/2020 6:18:31 amAug 25th, 2020

  • Backend optimizations.
  • Selector, scoreboard and data merge fixes.
LOAD MORE LOGS

Create an account or sign in to comment.

ASTRO_D3RP
02/14/2021 8:42 pm
Level 1 : New Explorer
ASTRO_D3RP's Avatar
idk much about datapack coding, but can you make a datapack that makes dropped items (items manually dropped or dropped on death) never despawn?
1
BobtheTurtle03
12/02/2020 9:46 am
Level 9 : Apprentice Miner
BobtheTurtle03's Avatar
how well do you think this would do on a small server with about 6 people? Do you think I would cause a ton of lag? There are a few farms but they all have very fast collection systems.
2
Cubyc
12/06/2020 10:36 am
Level 64 : High Grandmaster Programmer
Cubyc's Avatar
All this datapack really uses is the scoreboard/team commands and glowing nbt tag. It shouldn't cause that much lag. I can only say to try it out within the server and throw like a stack of dirt seperately on the ground and see what it does
1
BobtheTurtle03
12/06/2020 10:09 pm
Level 9 : Apprentice Miner
BobtheTurtle03's Avatar
Cool, thanks!
2
Sorenol
08/13/2020 5:30 pm
Level 1 : New Miner
Sorenol's Avatar
awesome !!!
3
mlgimposter
06/17/2020 12:25 pm
Level 62 : High Grandmaster Carrot
mlgimposter's Avatar
Nice idea!
3
IAMVACCINATED
06/14/2020 3:53 am
Level 1 : New Miner
IAMVACCINATED's Avatar
Will this data pack create massive lag if you have too many items on the ground(resource gathering)?
2
Cubyc
06/14/2020 6:49 am
Level 64 : High Grandmaster Programmer
history
Cubyc's Avatar
I haven't tested it with that many items on the ground. However, the items glow from their NBT data, not through effects. No new entities are created either. It eventually comes down to your own pc and minecraft settings I suppose.
2
Fluppi00
06/13/2020 2:34 pm
Level 1 : New Miner
Fluppi00's Avatar
thats so awesome love it !
3
Kemiu
06/13/2020 12:52 pm
Level 65 : High Grandmaster Bear
Kemiu's Avatar
I think that Gold should be for 45 seconds, Red for 15 seconds and Dark Red for 5 seconds. But I love this data pack! It's so useful and actually pretty good done.
3
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome