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
71 votes
2 answers
91k 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.
user avatar
84 votes
7 answers
922k 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 ...
  • 849
35 votes
12 answers
37k 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 ...
55 votes
4 answers
207k 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 ...
  • 567
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.3k
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.3k
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":...
14 votes
2 answers
17k 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 ...
51 votes
11 answers
254k 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?
  • 511
19 votes
2 answers
935k 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
51 votes
11 answers
496k 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 ...
  • 685
13 votes
2 answers
327k 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
65k 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,040
45 votes
4 answers
272k 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 ...
  • 461
7 votes
5 answers
10k 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
13 votes
7 answers
35k 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
10 votes
10 answers
70k 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 ...
5 votes
2 answers
34k 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 ...
user avatar
22 votes
3 answers
643k 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
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 ...
3 votes
1 answer
51k 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
44 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
12 votes
4 answers
21k 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 ...
  • 121
11 votes
3 answers
145k 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":"...
33 votes
1 answer
796k 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 ...
  • 331
6 votes
3 answers
48k 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 ...
350 votes
27 answers
449k 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 ...
47 votes
8 answers
44k 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.8k
8 votes
4 answers
70k 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
19 votes
4 answers
309k 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 ...
  • 53.1k
17 votes
9 answers
42k 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,292
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 ...
5 votes
4 answers
124k 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:...
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 ...
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
18 votes
3 answers
114k 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. ...
47 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
101k 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
3k 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 ...
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 ...
21 votes
5 answers
94k 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?
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 ...
8 votes
1 answer
9k 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 ...
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
25 votes
1 answer
238k 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 ...
  • 464

1
2 3 4 5
34