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
0
votes
0answers
8 views

Teleporting mobs 1.12.2

I want to make a map where mobs will follow / tp to you, is there an way to do this with commandblocks?? I am making the map in 1.12.2 because I am more familiar with command.
0
votes
1answer
2k views

Replace one item in a chest

I am working on a chest menu. In the chest I have 2 full sets of armor. When someone clicks one part of the armor it must be replaced with enchanted armor. I tried /blockdata 6 11 -13 {Items:[0:{},1:{}...
0
votes
2answers
602 views

Using spreadplayers to tp them to armorstand in unloaded chunk

I'm making a new public server. Right now, I have a book with set home / go home / tp to Spawn functionality. The set home uses a trigger that places an invisible armor stand named Home (and deletes ...
0
votes
0answers
11 views

Max 1 entity per block

So when I break an oak_log block I summon an area_effect_cloud with the tag of B.Spawn now I use this command to summon a 3x3 area_effect_cloud square around the [tag=B.Spawn] entity execute at @e[...
5
votes
1answer
175 views

Cactus grows faster with more chunks rendered?

I'm playing 1.14.2, and I'm trying to figure out why my cactus grows faster when more chunks are rendered. My house is about 20 seconds away by running. Here is the numbers: Player is in house 16 ...
0
votes
0answers
9 views

help with minecraft towny plugin commands [closed]

my friend has a town on a server we play own with the towny plugin and we can't figure out how to only have it were assistants have build and destroy perms for the whole town, is anyone able to tell ...
10
votes
2answers
970 views

Detect lightning strikes

I'm trying to add some custom mob conversions like those of villagers/witches and pigs/pigmen (but here it is a block that turns into an mob, not a mob to a mob). What I can't seem to figure out about ...
0
votes
1answer
4k views

On the new minecraft it wont allow me to tame an ocelot they aren't even afraid of me is it a bug or what?

Everytime i find a wild ocelot its totally chill and doesnt run away or anything. And then when i bring out the raw fish and crouch and wait it doesn't come to me or anything. It'll start to crouch ...
2
votes
1answer
138 views

How to GET minecraft world spawn with commands?

I would like something opposite to /setworldspawn, a command that would return me current world spawn location. I tried getting SpawnX, SpawnY and SpawnZ nbt data from a non-existing player, but it ...
-1
votes
0answers
53 views

The command '/kill @e[type=Bat]' doesn't work [closed]

I'm trying to kill bats and the command I'm trying to use, /kill @e[type=Bat], doesn't work - it just kills me and not the bats. What am I doing wrong?
9
votes
5answers
21k views

Dealing with angry iron golems without a bow

Is there a way to make iron golems friendly again/return to their original state? One day in a village I was collecting wheat, and suddenly a villager stepped in front of me right as I was harvesting ...
2
votes
1answer
60 views

Server prefix problem

Does anyone know how to allow the prefix on a server to be more than 16 numbers/letters long? I would like to make the prefix for my server admins longer than 16 letters. Example here is the prefix I ...
5
votes
3answers
1k views

Copying & pasting multiple commands to Minecraft terminal

I wanted to compose a bunch of commands in an external editor and then paste them all to execute in the Minecraft console (chat window). But if you paste multiple lines, it seems to just ignore the ...
2
votes
0answers
19 views

Can't log in to Minecraft

I have tried restarting my computer and a lot of other things. I can't log into the launcher the website, Technic, or Badlion. It just says: Could not connect to Mojang servers, or: Make sure you are ...
1
vote
1answer
1k views

Can I make a death chat say a different name then the person who killed them?

I wanted to make a Mafia map, but when the Mafia kills somebody, it will show the player's name so everybody now knows that the Mafia is that player. In the chat, is there any way to have it say "...
0
votes
1answer
206 views

Mechanics of this observer stabilizer?

Wu Qiufeng built this observer stabilizer on Youtube yesterday. It looks really attractive and efficient but also confusing to me. Could someone tell me why the second ...
0
votes
0answers
24 views

Help With Custom Commands on villigers with a custom item 1.15.2

I was trying to get an emerald with a custom color added to it and have a villager sell the emerald. I was doing well getting both to spawn but when I tried to combine the two it didn't work. Can you ...
1
vote
1answer
10k views

How to rotate big structures 90 degrees in Minecraft Pc

I have a big sculpture in Minecraft on my computer and wanted to clone it so I did it cloned but it's the wrong way. Could someone tell me a command to rotate it 90 degrees?
0
votes
1answer
215 views

Motion data tag only for X, Y and Z

Is it possible to change the motion for a only one direction? I tried for example: Motion[0:1d,1:~,2:,~], but it didn't work.
1
vote
1answer
672 views

How would I put a random player within a 300 block radius into a team

I am working on a murder mystery map for my minecraft server and I want to make it so one person in the lobby is randomly selected to join the murder scoreboard team, one randomly selected person to ...
4
votes
2answers
3k views

Command to spawn in-game Player head?

I want to spawn a player head in my custom Minecraft map I'm making, but the problem is, the username has to be defined to give the actual player's head: /give @p minecraft:skull 1 3 {SkullOwner:"<...
0
votes
1answer
151 views

Faster reacting Comparator

I am making a fully working FNAF 2 Minecraft multi-player gamemode! I plan to publish it when I am completely done and fixed all bugs. This isn't a bug, it's just that I have the right idea, but I don'...
1
vote
2answers
78 views

Having trouble testing for mobs with command blocks

I'm trying to create a pokeball in Minecraft but I was wondering if there is any way for the command block to test for all mobs in a certain radius and give a different output depending on the mob ...
1
vote
1answer
158 views

How do I use the “SelectedItem” tag to check for a player in this command?

I am trying to make this command work : /execute as @a[nbt={SelectedItem:[{id:"minecraft:grass_block",tag:{display:{Name:"{\"text\":\"GRASS3x3\"}"}}}]}] run fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 It works when ...
-1
votes
1answer
411 views

Scoreboard Player First Join

I want to make a scoreboard on my server that broadcasts a message to players who join the server for the first time, but I don't know what the scoreboard is. If you don't know what I'm talking about ...
1
vote
2answers
2k views

How to execute when someone is wearing specific item

I'm trying to make Thor's hammer and armor, but I need to execute when someone is wearing Thor's armor, because i am trying to do lightning when someone kills 10 entities and i want only with Thor's ...
2
votes
1answer
2k views

Minecraft Custom XP orb spawner

I'm currently working on a command that gives the player a custom mob spawner that spawns XP orbs if close enough. The issue is that XP orbs don't actually give any experience unless their entity data ...
0
votes
1answer
292 views

How should I detect a mob that no longer has a passenger?

On Minecraft 1.12, I'm making a thing for a boss fight, and it has baby zombies riding chickens. You can kill the zombies and they will die but the chicken won't. How should I detect the chicken no ...
0
votes
1answer
135 views

Minecraft 1.14.4 Teleport in multiplayer mode a different player relitive to them selfs from (Datapack) function called from command block

So I've looked and cant find the answer here is what is going on. I'm Cloning blocks in the x direction -1 at a time. I want to keep all players on these blocks with them so I teleport the player -1 ...
-3
votes
1answer
3k views

How to join a team in minecraft?

I am making a hide and seek map. To do this, the killer must be on team 'Blue'. I put in this command: /scoreboard teams join red @p And the command block says Could not add 1 player(s) to team ...
0
votes
2answers
1k views

Minecraft can't join LAN server

My sister and I are trying to start a LAN server. It worked fine yesterday, but today it is not working anymore. Each time she tries to log in it says: java.net.connectException:Connection refused: ...
1
vote
1answer
442 views

Anyway to have testfor a count of 0? 1.12.2

Is there anyway to do something like: testfor @p[score_snowball=0] {Inventory:[{id:"minecraft:snowball",Count:0b}]}" That works besides inverting: testfor @p[score_snowball=0] {Inventory:[{id:"...
-1
votes
1answer
51 views

Enchant dandelion in 1.7 minecraft [duplicate]

I try to use this command in command block in 1.7.9 version but it isn't working, why? /give @p yellow_flower 1 0 {display:{Name:"Mleczyk",Lore:[Mlecz za AlphaTesty, -Sid Leniwiec]}},{ench:[{id:34,...
1
vote
0answers
35 views

How can I make pumpkin heads show different HUDs when equipped?

It is possible to have an overlay applied to your screen when you put a pumpkin on your head. But can you have more than one of these custom overlays? Perhaps by using a texture pack or maybe ...
1
vote
2answers
32 views

How to build a 1 deep, tile-able, “chest has items” indicator system?

In a Mumbo Jumbo video ( ) he shows a very nice "chest has items" indicator system that's tile-able, and extends 2 blocks below the chest. Here's a screen shot of the ...
1
vote
1answer
30 views

How do I clone something to the coordinates of a player?

I want to make a map that if you trow an item on the ground, a pillar will spawn there. But I don't know how to make the pillar spawn there. I don't know if this is even possible with the /clone ...
10
votes
5answers
12k views

Mobs becoming invisible in Minecraft?

So I've recently started up a CraftBukkit server in Minecraft and an issue that has recently occurred, is that mobs, passive, neutral and hostile, are now all invisible. I know for a fact that they ...
2
votes
4answers
5k views

How can I reset a world in Minecraft from a button within the game?

I am creating a playable chess game in minecraft. Everything works fine but I don't know how to reset my map from within the game. I already know that I can just backup my world save file and then ...
1
vote
1answer
20 views

How do I clone something to the coordinates of a player? 1.12.2

I am making a map in 1.12.2, I want to make it so when you trow a specific item on the ground there will be a pillar placed on those coordinates. Can someone help me? (I already have the dropping ...
1
vote
1answer
43 views

Give all items infinite durability on startup in Minecraft 1.12.2

So i'm a user from Terraria, which has both no durability and no hunger (Hunger Strike fixed this). The only things i've seen to avail is for server creators in which case you can use a command for an ...
1
vote
1answer
52 views

How can I take a certain amount of items from a chest using a hopper in Minecraft?

I am making a Nether wart farm with Redstone++'s capability to dispense seeds, saplings, nether warts and actually plant them. The farm works and automatically harvests and plants the nether wart. All ...
1
vote
2answers
35 views

How do you switch places with a named mob with commands?

How do you switch places with a mob in Minecraft?
1
vote
0answers
19 views

Minecraft Modpack RLCraft has Lags-Spikes of doom [closed]

So i played RLCraft a while now, and i started to notice some lags, but my FPS counter always says that im ~130-144. so i turned on the lagometer, and there i noticed some lag-spikes, idk why but i ...
1
vote
1answer
45 views

How can I slow down Minecraft?

I want to learn to "breezily bridge" (a quick bridge-building technique), so I would like to slow down the game to practice timing before I can do this at regular game speed.
2
votes
1answer
346 views

Abnormally high CPU use and lag spikes in Voltz

When I play Voltz, I get huge CPU usage - the process javaw.exe uses up to and including 90 CPU in the lag spikes. I only recently started playing Voltz, after having played Tekkit an awful lot. ...
11
votes
8answers
81k views

What's the minimum distance between two iron golem farms?

Considering the pretty common design (20x20 base) for the iron golem farms, what is the minimum distance from one golem farm to another to make them work correctly? And how is this "distance" ...
66
votes
5answers
135k views

What is the optimum pattern to place crops in Minecraft?

What factors affect soil hydration and crop growth time? What is the most efficient layout of dirt and water to grow crops?
2
votes
4answers
10k views

Why are slimes not spawning in a slime chunk?

I am in a slime chunk and it is pitch black down there and I made a farm with cacti and an iron golem. I don't really care if it even works. I just want slimes to spawn. My farm is on y level 55 in a ...
0
votes
3answers
7k views

Is there a way to /give an arctic fox spawn egg in Minecraft?

Is there a command to /give myself an arctic fox spawn egg?
0
votes
1answer
38 views

How can I remove items with custom tags from a players inventory in 1.14?

I have no problem giving a player an item with a custom tag, and I have no problem detecting that item with the specific tag, my issue is running the clear command for that specific item AFTER ...

1 2 3 4 5 214