What do you do when you’re all alone without a finding creative telling a friend so this is going to be part of the carpet mod so you do need the carpet mod uh either on your single player world to do this single player or on a server in Order to use this on the server but carpent mod actually allows you to spawn in players that are quote-unquote bots you know they just kind of do what you tell them to and they have a few commands so this is really useful and creative for when You want to test a farm especially for a long period of time and especially if you’re on a cmp and you want to test it for that long period of time and kind of go off and do something else so you can build on your cmp Get a bot in place to do whatever you need to do whether it’s attacking or mining or just loading the area and then you can go off and do your own thing so i’m going to run through some of the basic commands for the bots in Carpet first we need the command to get the bot spawned in and you’re gonna use the slash player command and carpet in order to do these so in order to spawn a player we need slash player and then the player name and spawn so you can spawn Something you know like ice or gold farm you can name it whatever you want if it’s account that doesn’t exist it’ll be alex but if you pick account that does exist you’re actually going to get their skin joining the game if i want to remove that player from the game then or remove That bot i can do the slash player player name kill is going to remove them from the game you can also give them items to pick up by dropping it with them these bots are going to spawn in whatever mode that you are in when you write the command so right now this Motecraft bot is in creative mode we can change that player to survival just by typing in the name and we should note that if we use the kill command to remove a player it treats it as logging off so they’re not going to drop anything they’re going to keep their Inventory but if the bot actually dies through natural means then they are going to drop their inventory when a bot spawns in it’s going to spawn in in the direction and angle that you’re looking at if you wanted to look at some place in particular you can give it a command to Do that so i can give it one of the cardinal directions to look at or i can give it coordinates with the act command and then we can even give that bot commands to use its inventory so we can do an attack continuous command and now that bot is just always going to Be acting as if it’s holding down its left mouse button if we want that bot to stop what it’s doing we can just give it the stop command if we want the bot to attack or use on an interval we can do player player name attack interval and then the number of Game ticks for each interval so at 20 game ticks that’s one second if you had like a haste beacon you could do 11 and when we run that command the players just continually get an attack over and over again every 20 game ticks if you have a problem with a bot picking Up your items you can fill up that bot’s inventory i like to use just acacia boat because it’s the first thing that comes up when you hit tab and then you just need to give them 35 because they’re unstackable and then he won’t be able to pick up items anymore Oh make sure you protect your bots sorry fox you could also have the bot get into a mine cart with the mount command and then have them get back out of the minecart with dismount and if you want them to equip armor you can actually change the hot bar slot That they’re holding so in this case i’ll do player getting your hotbar 2 and then player getting your use then i can go back to my sword with player getting your hotbar one it’s important to note that after you log out of a single player world and log Back on all the bots will be gone same thing for if you restart a server but as long as you don’t restart a server those bots would stay there are a few other commands you can look through those when you have the carpet mod i’m not going to Go through exactly all of them but bots are really useful for if you want to set a farm to run for a while like i said earlier they’re also used a lot on technical servers because things like that attack interval 11 those will be every 11 game ticks on the server side So sometimes you can have issues on the client side but the server is going to sync up with those bots because that’s logged in on the server these are really nice if you just need a player to afk or mob farm for testing and you want to Maybe go into spectator take a look at some stuff down at the farm just remember spectator does still have a can spawn sphere so you can’t stand right in the middle of the farm and spectator and expect stuff to spawn around you but you don’t have a despond sphere around you Then so check out the player command in the carpet mod really useful especially for creative stuff or a lot of technical servers using carpet will also allow bots to load certain farms that you don’t want to have players afk having their computer up and running all night They just let you just load a bot and have that there overnight there will be a link to the fabric carpet version down below in the video description so you can grab that if you got fabric hope that was helpful catch you later have a good one bye Video Information
This video, titled ‘E14 Carpet Bots Minecraft Creative Tools’, was uploaded by Stromne on 2022-04-05 17:00:34. It has garnered 22075 views and 508 likes. The duration of the video is 00:05:21 or 321 seconds.
Get carpet for Fabric here: https://github.com/gnembon/fabric-carpet/releases