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
69 votes
2 answers
89k 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.
's user avatar
82 votes
7 answers
918k 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 ...
  • 829
35 votes
12 answers
36k 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 ...
54 votes
4 answers
202k 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 ...
  • 557
27 votes
3 answers
37k 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: ...
  • 17.1k
6 votes
1 answer
1k 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 ...
  • 133
19 votes
2 answers
5k 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 ...
  • 17.1k
9 votes
2 answers
1k 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 I have so far is: /give @p sign 1 0 {BlockEntityTag:{Text1:"{"text":...
19 votes
2 answers
932k 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: ...
  • 199
13 votes
2 answers
15k views

How to delay or 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 ticks/seconds/minutes/...
6 votes
2 answers
33k 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 ...
49 votes
10 answers
251k 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?
  • 491
50 votes
11 answers
492k 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 ...
  • 675
11 votes
2 answers
289k 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 ...
35 votes
4 answers
75k 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, ...
  • 2,955
34 votes
4 answers
64k 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 ...
  • 8,030
5 votes
2 answers
28k 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 ...
's user avatar
43 votes
4 answers
271k 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 ...
  • 441
10 votes
9 answers
67k views

What sources of randomness can be made with commands 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 ...
13 votes
7 answers
33k 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?
  • 195
7 votes
5 answers
7k 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 ...
  • 1,756
4 votes
3 answers
6k 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 ...
22 votes
3 answers
621k 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 ...
  • 223
3 votes
1 answer
50k 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 ...
  • 3,272
43 votes
1 answer
6k 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?
  • 2,425
11 votes
3 answers
143k 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.
  • 119
3 votes
1 answer
2k views

How to test for minimum amount of items in inventory and execute a command if true

I am using the AmazingKit plugin on my Minecraft server to make inventory kits for players. In a command block I have the following command: /tellraw @p ["",{"text":"Iron","clickEvent":{"action":"...
31 votes
1 answer
758k 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 ...
  • 311
11 votes
4 answers
20k 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 ...
  • 111
343 votes
27 answers
445k 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 ...
19 votes
4 answers
303k views

How can I replace all blocks of one type with a different type of block, within a certain region?

I'd like to be able to select a region, either with an outside graphical utility or command line, or with native Minecraft commands, and be able to replace all blocks of one block type with another ...
  • 53k
6 votes
3 answers
46k views

How do you detect a player's death?

Can you use the /testfor command in Minecraft to detect if a player has died? I need it for my map, where two players are pitted against each other. I want it so that when one of them dies, it will ...
46 votes
8 answers
43k 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 ...
  • 24.7k
25 votes
3 answers
7k 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?",...
  • 281
17 votes
9 answers
41k 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 ...
  • 1,274
5 votes
4 answers
121k 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:...
7 votes
5 answers
1k 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 ...
18 votes
3 answers
110k 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. ...
8 votes
4 answers
69k views

Why does my item name not show up in 1.13?

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 ...
  • 97
46 votes
2 answers
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 ...
10 votes
3 answers
93k views

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

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 ...
  • 1,392
8 votes
4 answers
98k 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?
1 vote
1 answer
2k 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 ...
19 votes
2 answers
5k 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 ...
20 votes
5 answers
92k views

Can my friend and I play minecraft together with different mods?

I'm wondering if I could play Minecraft with my friend. A modded Minecraft, only myself with mods and him without mods. Is it possible?
8 votes
1 answer
8k views

How do I create a villager with custom trade offers?

I'm trying to set up a shop system in a vanilla minecraft realm and villagers seem like the most streamlined method of doing so, however I'd also like to make it so that other players on the server ...
32 votes
13 answers
93k views

How can I improve framerate of Minecraft client?

I'm a happy Minecraft player. I place my blocks, mine my coal, and generally nobody gets hurt. Lately though, those mean creepers have been sneaking up on me from behind, and killing me. Why? Because ...
4 votes
1 answer
2k views

How do I give myself an item that can only be placed on a block with a certain damage value?

I'm currently in the process of making a custom map and I want to add blocks that can only be placed on a certain colour clay. This is the command I tried using. /give @p cobblestone 1 0 {CanPlaceOn:...
  • 49
34 votes
4 answers
120k 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 ...
5 votes
1 answer
11k 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, ...
's user avatar

1
2 3 4 5
34