• check_circle Functions
  • 34,784 views, 16 today
  • 8,855 downloads, 5 today
One_Nose avatar One_Nose
Level 55 : Grandmaster Hero
75
This data pack was created for relqxd's request. The tutorial above was created by him.
This data pack adds working configurable bedwars to your server, so you can play with your friends. It supports 2-3 teams (or solo).
WARNING: WHILE PLAYING, YOU ARE GOING TO DESTROY THE WORLD. BE SURE YOU BACKUP YOUR MAP BEFORE PLAYING, SO YOU CAN PLAY WITH IT LATER.
Before playing, you must make some configurations. After building the map, follow the rules to make the functionality.

How to use
First at all, execute the following command in order to get the items:
/function bedwars:giveNow you can start.

Creating the bases

Follow the following four, three or two times, one for each team, depends of how many teams you want. If you want only 3 teams, play without yellow. If you only want two, play without yellow and without black.

First at all, you need to choose the start point for each team. This changes the place which the players of this team spawn in when the game starts and every time they die. Use the "start point" spawn eggs to mark those coordinates. You should see particles in the team's color.

Next, you need to make the beds. Each bed is two blocks. Take the "bed" spawn egg and spawn two colored carpets in the bed coordinates. When you finish, take the bed and place it into the carpets. The carpets would disappear.
TIP: IT DOESN'T ACTUALLY HAVE TO BE BEDWARS. IT CAN BE EGGWARS, OR DIRTWARS, OR EVEN CRAFTINGTABLEWARS. JUST SUMMON ONLY ONE CARPET, AND PLACE THE WANTED BLOCK INSTEAD OF A BED.

Now make the base generators.The "generator" spawn egg spawns a slab. Cover the area you want iron and gold to spawn in with slabs, the throw the "generator setup" – redstone torch for red generator, soul torch for blue generator, flint for black generator and torch for yellow generator.
WARNING: ONLY THROW THE GENERATOR SETUP ONCE. THROWING IT ANOTHER TIME RESETS THE GENERATOR, AND REQUIRES YOU TO TO THE SLABS THING AGAIN.

And now add the shopkeepers. Just summon an item shop and a team upgrades shop where you want them.

Creating the goods generators

After the bases are ready, just spawn diamond generators and emerald generators using their spawn eggs. Spawning a goods generator where there is already one removes it. Now the map is finished! Don't forget to backup it so you can play again.

Starting a game

To start a game, choose a sign from the items you got - two teams, three teams or four teams. Place it wherever you want in the world and click it! Thanks relqxd for the idea.

Want to play Bedwars with a few players while the other players are doing their own things?
If the answer is yes, first give all players you wish to participate the "bedwars" tag. The following command gives the player named one_nose the tag – just change the name to whatever you want:
/tag one_nose add bedwarsThe following command gives you the tag:
/tag @s add bedwars
After all participants have the tag, execute the following command if you wish to play with two teams:
/function bedwars:startOr the following command if you wish to play with three teams:
/function bedwars:start_threeOr the following command if you wish to play with four teams:
/function bedwars:start_fourAnd have fun!

The resource pack to this data pack is optional. It makes the wooden swords colorized according to your team color and makes the TNT look like TNT. It also serves as a template for a resource pack you can make by your own:

Resource Pack
The resource pack to this data pack changes the wooden swords to be at the same color as the clothes – red sword to the red team, blue to the blue team, black to the black team and yellow to the – you guessed right – yellow team. It's not required to play but recommended. Notice that if you use a resource pack, the swords would look like vanilla ones, but you can make your own resource pack compatible with the data pack within few phasess. Doing this does not prevent the resource pack from working properly without the data pack.

First at all, download the resource pack of this data pack. Inside the folder you will find the common "assets" folder. Inside "assets" there would be a "minecraft" folder, inside it "models" and inside it "items". Make sure the resource pack of yours has this path – if it doesn't have, create it. For example, if you don't have the "models" folder inside assets/minecraft, make a folder called "models" inside "minecraft" folder, and an "item" folder inside "models".

Now, copy "wooden_sword.json" file from that path into your "item" folder (you might have just created, or you might have already had it). This file says that the wooden sword would have another model if it's a bedwars sword, but doesn't say which model. Your resource pack would now work properly without the data pack, but when you play on my data pack the swords would have the missing texture (purple and black tiles).

Inside the "models" folder in my resource pack you would find a directory called "bedwars". Copy it as it is into your own "models" folder.

Now all you need is the resources. Inside my "assets" folder you will find another "bedwars" folder, aside the "minecraft" folder. Copy that folder into your own "assets" folder. Your resource pack now works and changes the swords' texture to colored vanilla textures. Open "bedwars" folder you've just copied in your own resource pack. Inside it open "textures" and edit the four sword textures to whatever you want!
CreditRequested and tutorial by Aquarexz.
CompatibilityMinecraft 1.16
toMinecraft 1.18
Tags

8 Update Logs

Bedwars 2.3 patch 2 : by One_Nose 08/23/2021 2:02:03 amAug 23rd, 2021

  • It now works
LOAD MORE LOGS

Create an account or sign in to comment.

2
05/29/2022 9:54 am
Level 18 : Journeyman Miner
TigerG2017
TigerG2017 avatar
Hey One_Nose, can you add blast proof glass and some other upgrades like maniac miner, etc? Thx!
1
05/29/2022 1:17 pm
Level 55 : Grandmaster Hero
One_Nose
One_Nose avatar
I am currently not active but if I return to releasing updates these will be in the top of the list.
1
05/29/2022 4:37 pm
Level 18 : Journeyman Miner
TigerG2017
TigerG2017 avatar
ok
1
05/26/2022 3:56 am
Level 10 : Journeyman Cookie
Unavalible_User
Unavalible_User avatar
where is the command that removes the attack cooldown? I can't find it and don't want it
1
05/26/2022 9:13 am
Level 55 : Grandmaster Hero
One_Nose
One_Nose avatar
In data/bedwars/functions/ there are three files, start.mcfunction, start_three.mcfunction and start_four.mcfunction, for two, three and four players respectively. It seems for some reason I wrote that line separately for each amount of players, so you'll have to remove it from both files (or just the one for the amount of players you intend to play with).execute as @a[tag=bedwars] run attribute @s minecraft:generic.attack_speed modifier add 42-12-33-66-80 bedwars 20 add
2
05/26/2022 8:08 pm
Level 10 : Journeyman Cookie
Unavalible_User
Unavalible_User avatar
the one file I never checked
1
05/26/2022 8:48 pm
Level 55 : Grandmaster Hero
One_Nose
One_Nose avatar
*three :)
2
05/26/2022 9:17 pm
Level 10 : Journeyman Cookie
Unavalible_User
Unavalible_User avatar
I am only using two player mode, so one
2
05/20/2022 6:56 pm
Level 10 : Journeyman Cookie
Unavalible_User
Unavalible_User avatar
the Item shop and team upgrades eggs aren't working on my 1.18.2 Minehut server
1
05/21/2022 2:58 pm
Level 55 : Grandmaster Hero
One_Nose
One_Nose avatar
I'll look into it. It would help if you explained what exactly doesn't work - what happens when you try to use the egg? Does it summon a regular villager?
Planet Minecraft

Website

© 2010 - 2022
www.planetminecraft.com

Welcome