← Data packs

Paint's Insomnia Tracker (26.2)

by PaintTheFuture · 2025-12-29 · Data packs

Paint's Insomnia Tracker (26.2) preview

When you stand on a bed, the actionbar will display how long you've gone without sleeping, and the percentage chance of a phantom pack spawning in the next 60-120 seconds, assuming all other requirements are met. These requirements are: * The player must not have a block overhead that blocks light in any way; for example, leaves prevent phantoms from spawning as they have a light opacity of 2, but glass does not, as its light opacity is 0. * You need to be above sea level. In vanilla worlds, this is y=64. * It needs to be night or a thunderstorm. * The local difficulty is greater than an unknowable randomly chosen value between 0.0 and 3.0. * Adhering to the mob cap is NOT a requirement. You do not need to skip the night to sleep and reset your insomnia timer. If you start using this datapack in a Minecraft world you already opened, then it won't be accurate for you until you sleep again. This isn't a problem if you start using it in a brand new world. Use this function to give a book that explains the datapack. /function paint:pit/help Use this function to remove all scoreboard objectives so you can disable the datapack without any trace left behind. /function paint:pit/unload

BedsFunctionsInsomniaPhantomsQuality Of Life