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
66
votes
2answers
63k views

Is there a list of error codes for Minecraft?

Similar to this question on the bugs in Minecraft, I would like a complete list of what error codes exist in Minecraft and how they occur, as well as how they can be resolved.
80
votes
7answers
869k views

Why isn't my Minecraft LAN server working?

My LAN server won't let my cousin join me or me join my cousin. It won't show up on the multiplayer screen - it keeps saying "scanning for LAN servers" but it never finds it. I am at his house and we ...
54
votes
4answers
179k views

Why can't I destroy or place blocks?

I'm playing on a Survival world with cheats on, "easy" difficulty, and at night in-game. I didn't have a sword or anything to make a sword with, and I was starving, so I switched to Creative to give ...
30
votes
11answers
29k views

I'm stuck in a teleporting loop. What can I do?

I set a command block to /tp. It was supposed to activate only if you had 0 time left, and to activate the command block with a hopper clock to keep giving it power. But it is not checking if you ...
26
votes
3answers
34k views

Minecraft crashes on launch with EXCEPTION_ACCESS_VIOLATION, Problematic frame: ig4dev32.dll or ig4dev64.dll or ig4icd32.dll or ig4icd64.dll

When I try to launch Minecraft 1.7.4 or newer, the game crashes on startup, and the game output screen says this: # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=*, pid=*, tid=* # # JRE version: ...
19
votes
2answers
4k views

How can I fix “unbalanced brackets” in my data tag?

Often, when making a command block contraption, you need to set an entity's data tag. These tags can sometimes be very long, with many layers of nested curly and square brackets. For example, this is ...
6
votes
1answer
716 views

Where do I put item tags on items inside a chest or your inventory?

I am making a Minecraft Mini Game adventure map, and one of the levels has a /setblock command, I am using the command in a way to spawn an item in a chest (Wooden Button) I need the wooden button to ...
7
votes
2answers
473 views

Why are my quotation marks causing an “unexpected token” error with this command?

I need help with a specific command that I am using in a new game that I am creating inside of Minecraft. The command is: /give @p sign 1 0 {BlockEntityTag:{Text1:"{"text":" [MF2]","color":"gold","...
46
votes
10answers
211k views

Finding my house in minecraft

I wandered too far to go look for sheep and now I'm on a completely different island. How do I find my way back to my house?
48
votes
11answers
436k views

Can Minecraft Pocket Edition play with a desktop Minecraft?

My kids are playing Minecraft on 2 PCs, creative mode. They are connected by the way of one of them starts a single player game on the other one than joins that game over the LAN. Can I, using ...
35
votes
4answers
71k views

How to install mods for the new Minecraft launcher

I've recently changed to the new Minecraft launcher, and I have noticed a change in the .minecraft folder layout. I can no longer install mods just by copying it over into the versions/1.6.1 jar file, ...
30
votes
4answers
51k views

How can I host my own Minecraft server?

I would like to create a minecraft server for me and and my boyfriend to play on. How do I set it up? Do I need any additional software? Do you have some links to walkthroughs or tutorials? I have ...
7
votes
1answer
4k views

How to delay or slowly loop commands?

I found 11 questions like this on gamingSE already, but none of them have proper and up-to-date answers. So I'm creating this Q&A: How do you either activate a command x seconds/minutes/hours/… ...
16
votes
2answers
803k views

How to solve the “io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information” error on Minecraft?

I am getting the following error when I try to connect to a Minecraft server: This is all servers, not just one. The error says: io.netty.channel.AbstractChannel$AnnotatedConnectException: ...
3
votes
2answers
32k views

Username and Password not recognized when logging into Minecraft

We just got a new laptop (ASUS) though we did have a mac. We are trying to log onto Mojang to download Minecraft and it keeps saying, "The username and password are not recognized." We have done ...
41
votes
4answers
253k views

How exactly do I install Minecraft Mods and what is Forge?

I'm having a really, really hard time figuring out how to install mods on Minecraft. I've looked everywhere I can think of for help but the information is almost always outdated or unhelpful. I've ...
9
votes
6answers
50k views

How can I make a random number generator with command blocks in Minecraft?

I want to make a mini game in Minecraft were I need a random command generator for 9 commands. I need a random command to give the player a random item. I can't do the command block in the dispenser ...
11
votes
4answers
13k views

Is there a way to set an “Adventure Mode Boundary” in Minecraft?

Is there a way to set an "Adventure Mode Boundary" in Minecraft? I am trying to create this village where players can spawn in, and then set out to explore the world and build and do normal minecraft ...
5
votes
3answers
97k views

How to test for an hold item name in Minecraft?

I'm trying to make a command block that spawns an item in front of you if you are holding an item with a specific name. I've got these two working scripts; /testfor @p[r=10] {Inventory:[{tag:{display:...
17
votes
9answers
33k views

How do I select all but two types of entities in Minecraft with the type selector?

I've asked this question towards a developer for Minecraft and I thought I'd ask here too since they might not see the question. How do I select all but two types of entities in Minecraft? For ...
18
votes
3answers
542k views

Where is my Minecraft folder on Windows?

I don't have a minecraft folder. I've looked through forums and videos, followed all the steps. I just don't have one. I have windows 7, and I have "view hidden files" turned on. I have look in the ...
3
votes
2answers
5k views

How to count entities with commands/check if there are only one or a certain number of entities or players left?

I want to run a command when there are only 10 entities left. I know you can use /execute unless entity to detect when all matching mobs have died, but it doesn't work if you want to run a command ...
327
votes
25answers
409k views

What's the most efficient Minecraft mining strategy?

When I'm not exploring fresh caves or lands in minecraft, I'm busy trying to find deposits of diamond, gold and iron deep in the earth. So far I've just been digging around just above bedrock on a ...
39
votes
1answer
5k views

What are the basics of commands in Minecraft Java Edition?

What are the basics of Minecraft commands? If I were to start from scratch, with no knowledge on the topic, what are some things that I need to know?
4
votes
3answers
4k views

How can I apply an effect when a player left-clicks/right-clicks with an item in hand?

Is there a way so that I make make it when I left click/right click with a certain item it applies an effect? I know that you can apply attributes to wearing armor and things but I want it so when you ...
3
votes
1answer
49k views

Why does the connection time out when connecting to a server?

My friend had hosted a Minecraft server before and brought it back up today with my help. He and anyone in his LAN can connect. However we have had a few people try to connect, including me, and when ...
12
votes
7answers
22k views

I've lost a command block, how can I find it?

I've placed a command block making it day all the time. I want to turn it off, but I've lost it. What's the quickest way to find it?
10
votes
3answers
125k views

How do I use F3 to get my coordinates when my laptop makes F3 a special key?

I can't get the coordinates on my computer because it keeps changing the brightness. I have a windows 8 Samsung, and I'm playing Minecraft version 1.6.4.
8
votes
2answers
155k views

How do I give players already enchanted Tools/Armour/Weapons

I'm making a map where I want players to be able to choose there kits/classes. The problem I'm having with it though is giving players already enchanted Tools/Armour/Weapons. I'm not sure if you can ...
1
vote
1answer
1k views

How can I trigger a command when a player is hit by a Snowball?

I am trying to make a snowball that triggers a command when it hits a player in 1.15, but I don't know how to do that. When I do execute at @e[type=snowball] run gamemode spectator @a[distance=..2] it ...
18
votes
3answers
88k views

How can I make a block only be placed on certain other blocks

I want people to only be able to place TNT on only Quartz Blocks and I've see this done before where you can only place blocks on certain other blocks but I'm not sure of the command used to do that. ...
25
votes
3answers
6k views

How do I fix 'Invalid JSON' errors?

I've been at this for almost two hours and no one seems to have the same problem as I and I doubt this will be solved but I'll try anyway. this is the code /tellraw @p ["Would you like to teleport?",...
4
votes
3answers
32k views

Can you use /testfor to detect the death of a player?

Can you use the /testfor command in minecraft 1.8 to find out if a player has died ? I need it for my map, where 2 players (Only) are pitted against eachother. I want it so that when one of them dies,...
18
votes
4answers
258k views

Is there a utility to replace one block type with another within a region?

I'd like to be able to select a region (either with a graphical utility or command line) and be able to switch one block type with another, e.g. change all cobblestone in the region to stone. Does a ...
10
votes
3answers
88k views

How can I trick Minecraft into thinking two computers are on the same wifi network?

Minecraft's got an "Open to LAN" feature, which can be used to set up a local server when two computers running Minecraft are on the same network. Some young relatives of mine use this to play ...
5
votes
3answers
74k views

An item to break only SPECIFIED blocks?

I know that I can make certain blocks only placeable on a specified block, but what is the command to give an item that can only BREAK certain blocks?
46
votes
8answers
39k views

How Can I Butcher Animals en Masse?

So, my friend just implemented a bunch of new mods into his SMP server, which meant a host of new commands to play with. I thought I'd give the /mobspawn command a few goes, and see what I could ...
18
votes
2answers
4k views

Why are these pistons pushing?

I've lately become hooked into building computers in Minecraft and today I decided to build a giant hard drive. I've built HDDs before, but not at the scale I'm currently attempting, and I anticipated ...
8
votes
4answers
62k views

Minecraft 1.13 display:{Name:“”} NBT tag

I am in 1.13 Pre-Release 7 trying to make a one command creation and I need an item with a specific name. The command I use is /give @p diamond_sword{display:{Name:"Sword of Power"}} and it gives my a ...
7
votes
2answers
3k views

Where did the world go?

I was playing on my main world when my laptop ran out of power. I found a charger and woke it up, but Minecraft had crashed. Now, it doesn't appear in the world selection screen! I have verified ...
5
votes
1answer
14k views

I can't find my bin folder. Where is it located?

The other day I was trying to download something for Minecraft and it involved my bin folder. So I was looking for it and couldn't find it. I then thought that I might have accidentally deleted it, ...
42
votes
2answers
1.7m views

Keep items in inventory on death in Minecraft

I once played a vanilla Minecraft adventure map (called "Herobrine's Mansion") that prevented the player from losing their items on death. Which commands can be used to prevent the player from losing ...
24
votes
1answer
192k views

Why won't my nether portal bring me back where I left?

On our minecraft server, I've built a Nether portal in my basement. Which connected two-way (tested) to a location in the Nether. This nether portal took me to an area in the nether which was a small ...
18
votes
5answers
11k views

How can I randomise the output of a redstone circuit?

I have 5 buttons and only one of these can be correct, all others must be false. These 5 outputs will go into 2 outputs, in between there needs to be a circuit which changes which single button out of ...
16
votes
1answer
13k views

How do I make a setblock or a fill clock?

Often, when asking about command block contraptions, people suggest using a "setblock" or "fill" clock? What are those and how do I make them?
28
votes
3answers
238k views

Where are my Screenshots?

I pressed F2 to take a few Minecraft screenshots. Later I couldn't find them. Where are they stored on my computer?
34
votes
4answers
96k views

Will new Minecraft features appear in existing worlds?

I'm a new Minecrafter, and was wondering if new updates are backwards compatible. Specifically, will the new "Adventure Update" features (Beta 1.8) appear in existing worlds created with Beta 1.7 and ...
30
votes
1answer
635k views

Failed to Login : Invalid session (Try restarting your game) Minecraft Error

When I try to connect to servers or join up on lan worlds in Minecraft it says "Failed to Login : Invalid session (Try restarting your game)". Multiplayer used to work fine but now keeps coming up ...
12
votes
1answer
65k views

How to set a command block with a command inside using the setblock command

Does someone know how to set a command block with a command inside using the setblock command? I have created this code /setblock <x> <y> <z> command_block {TileEntityData:{Command:"...
4
votes
1answer
5k views

How to use ^^^ coordinate systems for motion nbt

Since we can use ^ ^ ^ for relative coordinates with 1.13 like /execute as Asaf31214 run summon lightning_bolt ^ ^ ^10 (Summons a lightning at 10 blocks from me to the direction I look. By the way, ...

1
2 3 4 5
30