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
68
votes
2answers
79k 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
904k 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 ...
34
votes
12answers
33k 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 ...
53
votes
4answers
192k 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 ...
27
votes
3answers
36k 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: ...
6
votes
1answer
901 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 ...
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 ...
8
votes
2answers
627 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","...
18
votes
2answers
909k 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: ...
11
votes
2answers
9k 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/… ...
48
votes
10answers
239k 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
473k 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 ...
4
votes
2answers
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 ...
35
votes
4answers
72k 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, ...
31
votes
4answers
58k 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 ...
9
votes
2answers
221k 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 ...
41
votes
4answers
266k 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 ...
19
votes
3answers
563k 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 ...
9
votes
9answers
58k 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 ...
11
votes
3answers
135k 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.
4
votes
3answers
5k 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 ...
4
votes
2answers
15k 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 ...
3
votes
1answer
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 ...
40
votes
1answer
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?
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?",...
17
votes
9answers
37k 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 ...
5
votes
4answers
110k 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:...
334
votes
27answers
429k 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 ...
30
votes
1answer
692k 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 ...
11
votes
4answers
17k 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 ...
4
votes
3answers
39k 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,...
7
votes
5answers
805 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 ...
7
votes
2answers
4k 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 ...
18
votes
3answers
100k 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
4answers
67k 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 ...
11
votes
7answers
27k 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?
3
votes
1answer
1k 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":"...
44
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 ...
18
votes
4answers
286k 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
91k 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 ...
1
vote
1answer
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
2answers
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 ...
19
votes
5answers
87k 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
1answer
7k 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 ...
8
votes
4answers
86k 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?
45
votes
8answers
41k 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 ...
4
votes
1answer
1k 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:...
34
votes
4answers
115k 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
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, ...
4
votes
2answers
4k views

How to use exclamation marks in Minecraft commands?

I know that you can use exclamation marks in Minecraft commands to check for an entity that does not have a specific tag. For example, you can use /kill @e[type=!Player] to kill all entities except ...

1
2 3 4 5
33