Questions tagged [minecraft-java-edition]

a 3D exploration and survival sandbox game, based in large generated worlds made of blocks. This tag is for the java-based edition of Minecraft for PCs. For other editions of the game, please use the tag specific to that edition, e.g. [minecraft-bedrock-edition]

Filter by
Sorted by
Tagged with
1
vote
0answers
4 views

How to combine target selector arguments with OR, not AND?

When multiple target selector arguments are listed, it selects a player who only meets all the criteria listed in the target selector. How can I make it so that the target selector is valid if at ...
5
votes
2answers
158 views

Is it possible to disable the level cap for enchantment?

I'd like to have higher levels of enchantment. Is it possible to turn of the level cap? For example, if I put two Sharpness 5 books in an anvil, and get a Sharpness 6 book out.
7
votes
4answers
2k views

How do I raise the mob capacity of my enderman farm?

How do I raise the mob capacity of my enderman farm? I am several hundred blocks from the end island. However, I have only observed 24 entities at maximum. Near the end island, the mob cap is normal,...
0
votes
1answer
9 views

Don't have a /locate command in Minecraft (1.7.5)

I'm playing Minecraft Java Edition v1.7.5, on Windows Vista. I started a survival mode game about a week and a half ago. I have cheats turned on, and can use /spawn for example, but I don't have the ...
3
votes
3answers
5k views

Minecraft randomly pauses

I've run into a problem recently, it's not overly harmful - only if I'm AFKing. Occasionally, it will just pause, as if I'd hit Esc. It's happened a couple of time during an AFK session, but sometimes ...
-1
votes
1answer
2k views

Remove items from chest

I was wondering if it is possible to create an 'Evil chest'. In other words, I want a chest to be able to kill a certain block or item inside it. It would detect if a block is inside it and gives a ...
0
votes
0answers
4 views

data pack spawn egg replacement

I am trying to make a data pack where there are multiple bat spawn eggs with different textures for each one. I am doing this for a mini game I'm making. I have tried many different things to have ...
2
votes
1answer
28 views

Detect entities affected by instant health and damage potions

I want to execute a command to entities affected by instant health potions (Potion, Splash, Lingering). The command execute as @e[nbt={ActiveEffects:[{Id:6b}]}] run <command> only works if the ...
4
votes
0answers
34 views

I can't stop sprinting in Minecraft

When I press the 'W' button, I sprint automatically. Same thing for when I crouch and press 'W', I still sprint. This is happening on all servers, including singleplayer. It started early this morning ...
14
votes
3answers
31k views
+50

How do I add Minecraft to Steam?

I want to add Minecraft to Steam, but am not sure which files to add. How do I add Minecraft to Steam?
0
votes
2answers
3k views

Why aren't iron golems spawning in my iron farm?

I've had no luck in getting iron golem to spawn in my undeground iron farm. The whole farm is right in the middle of a real village, all the villagers are now in the farm and not at the surface. My ...
0
votes
1answer
30 views

How to use //wand command in Minecraft Java Edition?

I have seen a few Minecraft videos using the wand command. I would like to know how to use it because I have been using /fill and it is a tedious process to fill a space.
0
votes
1answer
149 views

How to execute a command after eating something specific?

I'm looking for a way to execute a command for any player on my server who eats this specific enchanted beetroot which gives them this effect that makes them feel like they are on drugs (screenshots ...
26
votes
7answers
84k views

What items can be farmed fully automatically?

Cacti have always been farmable completely automatically. With pistons in 1.7, sugar cane can now be farmed in a fully automatic fashion as well. Mobs and animals can be farmed as well in giant mob ...
0
votes
1answer
20 views

/execute as @a[tag=!<tag>] doesnt seem to work

I made a kelp that summons a slime on the enemies every time I eat with it. I used these commands: /scoreboard objectives add Kelp minecraft.used:minecraft.dried_kelp /execute as @a[scores={Kelp=1}] ...
1
vote
1answer
401 views

How to test for a named chest?

I'm doing a project in Minecraft 1.10 where I want to detect a named chest and put an item in it. The player puts down a chest that's named Mailbox, and the command blocks are supposed to detect it. I ...
1
vote
1answer
357 views

How do I execute command for villagers with certain NBT tags?

In Java Minecraft 1.14, I tried to use the execute command as basics. And on some NBT Tags, it works (e.g. XP: /execute as @e[type=minecraft:villager] if entity @s[nbt={Xp:0}] run tp @p), but for most,...
0
votes
1answer
40 views

Issue with having both slow fall and levitation

I'm trying to make Blaze armor: I have a command block giving me levitation 253, essentially slow falling while wearing. However, I would like to change the amplifier to 1 (so the player floats up) ...
1
vote
2answers
116 views

Issue with CTF commands?

I'm trying to set up a series of working commands that test when the player breaks the wool block (flag); they get tagged as FlagCarrier and get the glowing effect and a banner placed on their head. I ...
1
vote
1answer
37 views

/replace unspecific item

I would like to test if the player has say, an empty bucket in their inventory, and replace it with a filled lava bucket. It only works if the stack size of the buckets is 1, and works in any ...
0
votes
1answer
16 views

Friends unable to connect to Minecraft Server: Connection Refused [duplicate]

I am creating a modded forge minecraft server v 1.12.2, but my friend on a different network than mine cannot join. Here is the error he gets: io.netty.channel.abstractchannel$...
4
votes
1answer
37 views

/setblock blue banner

So far I have the following command working: /setblock ~ ~ ~ minecraft:standing_banner 4 But I've tried adding 4, Damage:4, Base:4, etc to the end, but the banner is always black. How do I make it ...
-5
votes
0answers
45 views

How can I summon a pig riding a bat in Minecraft? [closed]

This is my command: /execute <Player> ~ ~1 ~ summon bat ~ ~ ~ {Passengers:[{id:pig}]}
5
votes
5answers
3k views

How to be self-sufficient in the sky?

Along the topic of this question, I was wondering whats the minimum amount of stuff you need from the surface to be self sufficient living in the sky? I tried living in a cave for long time and it ...
3
votes
2answers
32 views

Fastest item dispensing solution in the game?

My mob farm produces a lot of items that I need dispensed (double chests and double chests full) and I want to be able to automatically dispense them by flicking a lever. Right now I have four ...
4
votes
3answers
631 views

How to deactivate a hopper without activating a dropper directly below?

I am creating a redstone system that has a dropper facing upwards into a hopper that in turn points back down into the dropper. My goal is to be able to lock the top hopper by powering it with ...
0
votes
1answer
10k views

Changing Minecraft entity rendering distance

I've noticed that, on some various servers I play on, entities are not rendered even if I am a short distance away, like ~40 blocks. Other servers I play on seem to be capable of rendering entities at ...
4
votes
2answers
244 views

Keep player from falling

I'm working on adding some custom tools using commands. I would like one tool to allow the player to "fly", but after some research I've decided to try and settle for just allowing the player to ...
2
votes
1answer
2k views

How do I make an electrical engine pump out more MJ?

Could anyone please tell me how to (if possible) make an electrical engine transfer energy from its own reserves to a machine, a lot faster?
2
votes
1answer
374 views

Broken Harvester: harvesting EVERYTHING

Playing on FTB:Monster and for some reason my last two solo games the Harvester is harvesting EVERYTHING, turning jungle and forest in to rolling hills, for MILES. The planters plant in their proper ...
3
votes
2answers
2k views

What can cause an explosion in peaceful mode?

I was recently relayed an odd episode. My friend was playing Feed the Beast's Monster pack (single player), mining away in the Nether, on peaceful mode, nothing unusual in sight, and suddenly there's ...
4
votes
2answers
843 views

Zombie like thing opening my doors

Twice now I've been in my home and heard the door open and shut and look at it to see a creature walk in. It looks almost like another player but I'm in single player mode and it attacks me. They both ...
2
votes
2answers
2k views

How do I send a custom map to somebody?

I want to share my custom map with TBNRfrags, but I'm not sure how to do it. Does it take a special plug-in, or site? It would be great if there where a world ID, or something, that I could just give ...
2
votes
2answers
102k views

How can I send a message to all players in the minecraft server?

Currently I am hosting a minecraft server, and I as the operator would like to send a "server message", so all the players can read it, instead of me sending the message specifically to each and every ...
6
votes
3answers
533 views

How do I create tools with multiple properties?

I'm trying to create an item that can break certain blocks, but also has a colored name in 1.13.2 Here's the command I'm using. /give iAugust minecraft:shears{display:{Name:"[{\"text\":\"Arcane ...
0
votes
1answer
435 views

How do I combine the NBT tags from two separate commands? [duplicate]

I have two commands I'd like to combine into one, but I'm not sure how to go about combining them. Is this possible? Here are the commands. They work individually, I just can't seem to get them to ...
1
vote
1answer
56 views

Why does my /execute as command not work?

For my Minecraft map I have decided that when a player holds this sword he will gain speed 2 but it seems that it doesn't detect when I am holding the item. This is the command I used: /execute as @...
8
votes
5answers
23k views

How can I duplicate my firework rockets in Minecraft?

In creative mode, I can create a firework rocket, and set it off as many times as I want by right-clicking somewhere. However, I want to set up a red-stone circuit with dispensers to set off many ...
0
votes
1answer
18 views

How to prepend numbers with 0 if less than 10 in chat?

I am creating a timer system using the scoreboard. I would like the timer to display on the actionbar title in the format HH:MM:SS. Currently I already have command algorithms that will set the ...
0
votes
0answers
6 views

Minecraft 1.15 a way to check if entity can see a player [duplicate]

Hope you are all doing well, i trying to figure out how i can test if an entity can see a player in it's view atm i am using code below; execute as @e[type=minecraft:villager,tag=Path,tag=Villager10] ...
9
votes
4answers
35k views

Can I have extra minecraft inventory?

Can I have extra Minecraft inventory in vanilla Minecraft? I have seen mods be able to do this but never in vanilla Minecraft. Is there some way for me to carry more. Maybe a command that allows ...
1
vote
0answers
8 views

How to make attack strength icon more visible minecraft 1.15.2

After attacking there is a small bar that reloads, telling me about the damage of my next attack. I find this bar really hard to see. How can I make it more visible?
-3
votes
1answer
46 views

How to not totally suck at minecraft pvp? [duplicate]

And I really do mean totally suck. In game modes like uhc or classic duels (sword + bow + rod on mostly flat terrain), I find that I struggle to even hit opponents - typically the server says that I ...
1
vote
1answer
2k views

How do I detect a Minecraft banner of a specific color?

I'd like to detect a banner of a specific color in various situations: Standing, hanging, dropped, and inside player/entity inventory (as well as in the head slot). These work: /testfor @e[type=Item]...
-2
votes
0answers
22 views

How to give each player access to their own individual building area that they can choose people to access

How do you give each player in a server an individual building area that they can give other players access to if they want. I do not have much experience in Minecraft servers so I need a little help. ...
-2
votes
0answers
20 views

Minecraft Script for building a cactus farm [closed]

I have a specific cactus farm design that I would like to build using a script. What is the best place to get started?
3
votes
1answer
41 views

Minecraft 1.16: how to toggle/hide ore blocks?

I'm making a Minecraft server for my friends and I, but one of them is a notorious X-Rayer. I came up with a way to stop him: hide the ore blocks (by turning them into stone/netherrack), then turn ...
1
vote
2answers
264 views

How do you use /setblock to make a conditional command block?

I am trying to figure out how to use /setblock to create conditional/unconditional and needs redstone/always active command blocks. I saw other posts with the same question but I tried them and the ...
5
votes
2answers
2k views

There are 10.000 leaves stuck in infinitely looping itemduct network. How do I get them out?

Yesterday my local server suddenly got huge tick lag. Whenever I place or remove a block, try to open an inventory, eat, etc I need to wait a couple of seconds before the server catches up. By now, ...
1
vote
1answer
27 views

Minecraft Paper 1.15.2 Server Lag Help

So I own a server, hosted through ShockByte with 9gb of RAM - mc.slavcraft.net. Today we released and we have 10-15 consistent players on the server and the server TPS is around 12 at all times. We ...

1
2 3 4 5
224