- check_circle Functions
- 42,036 views, 22 today
- 9,977 downloads, 2 today
Required Resource Pack
82
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:
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.
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.
And now add the shopkeepers. Just summon an item shop and a team upgrades shop where you want them.
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:
After all participants have the tag, execute the following command if you wish to play with two teams:
/function bedwars:give
Now 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 bedwars
The 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:start
Or the following command if you wish to play with three teams:/function bedwars:start_three
Or the following command if you wish to play with four teams:/function bedwars:start_four
And 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!
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!
Credit | Requested and tutorial by Aquarexz. |
Compatibility | Minecraft 1.16 |
to | Minecraft 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
tools/tracking
4700358
119
bedwars-4700358
Create an account or sign in to comment.
execute as @a[tag=bedwars] run attribute @s minecraft:generic.attack_speed modifier add 42-12-33-66-80 bedwars 20 add