Minecraft Data Packs / Game Mechanic

Advanced Beds | Datapack 1.20.4 (SERVER FRIENDLY)

  • check_circle Functions
  • check_circle Loot Tables
  • 1,051 views, 14 today
  • 21 downloads, 0 today
  • 8
  • 6
B1ku's Avatar B1ku
Level 19 : Journeyman Mage
6
Hello and welcome to my datapack creation, I hope you like it. Feel free to comment suggestions for improvement and feedback!

→ REALLY IMPORTANT to understand the datapack

This datapack renews the sleeping system in Minecraft.
It´s mainly for multiplayer but you can use it for singleplayer too!

There are several features that you can adjust by typing /trigger config_sleep in the chat.
You then get 3 options:


Sleep Percentage
This is important for servers. You can configure how many players need to sleep to skip the night. You can ONLY do this in creative mode to assure    you are one of the servers owners.


Sleep Effects
This is for every mode of Minecraft, you can adjust by selecting the difficulty of the effects you get when you sleep. You can also toggle this off.
There are: '

    1. Toggled off | You get no effects when you are sleeping
    1. Easy | When you select easy, you heal every night you sleep, until you are fully healed
    1. Normal | When you select normal, you heal a little bit every night you sleep (Selected by default)
    1. Difficult | When you select difficult, you heal a little bit, but just like real life you are hungry when standing up
    1. Hardcore | When you select hardcore, you don´t heal. When you stand up you get blindness, hunger nad weakness for 20 seconds


Hardcore

This is only for tough players who like challenges.
When you enable the Hardcore mode, you CAN´T toggle it off again in your world. But you can toggle it completely off before toggeling it on,
assuring that nobody on servers, that isn´t allowed to, toggles it on for everybody.

When you have the Hardcore mode enabled you need to sleep. Otherwise you get tired and weak.
After not sleeping for to long you hallucinate and you die after the fifth day.

You may now think that´s easy, I can just sleep, right?
There´s a catch. You can´t.

You can only sleep when you activated the "Sleep Charm".
You can see if you have an Sleep Charm activated, by holding TAB on your keyboard.
If the number behind your name is a 1 it´s activated, if it´s a 0 its not.
You can activate the Sleep Charm by throwing 2 Diamonds, 2 Lapis Lazuli, 4 Papers together on the ground. You then get a "Sleep Charm Activator". You can throw it on a Chiseled Stone Brick and activate the Sleep Charm. With the Sleep Charm activated you can sleep one entire night. Then its used and you need a new one.

I highly recommend, playing the hardcoremode in hardcore. so when you die your world gets actually deleted.

Attention! You can´t right click or left click when near a bed and have no Sleeping Charm activated, so you can´t build or break near ANY bed, when you didn´t activate the Sleeping Charm. (Due to code that´s only working that way, IF you find an other solution to disable right click on beds, tell me!)


report_problem !!!!!You NEED to enable CHEATS in your world to use the datapack or be an server operator on a server!!!!report_problem


When you have ANY ideas, how to make this Datapack better, tell me!
Also when you find any bugs, write that in the comments, and I tried to patch them!
I wish you to have fun with this datapack!
CompatibilityMinecraft 1.20
Tags

1 Update Logs

Update #1 : by B1ku 04/23/2024 2:53:47 pmApr 23rd

- Changed to right pack format

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome