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
2
votes
1answer
40 views

Low wither skeleton spawn rates

I found a fortress and when I found it, I first built a blaze farm, however, when I started needing Wither Skeleton Skulls, I went into the fortress looking for Wither Skeletons but only found 2 while ...
1
vote
1answer
56 views

How do I clear a specific player head in 1.17?

I want to make a command that clears only specific player heads and a specific amount. I tried using this: clear shaeno minecraft:player_head{SkullOwner:shaeno} 1 But it doesn't seem to work.
2
votes
2answers
101 views

How do I detect when a shulker box is opened?

So basically, I want to create a way to detect when a shulker box is opened, using commands. I've searched everywhere on the internet on how to do so, and I can't find an answer.
1
vote
2answers
44 views

Trying to make a custom item for a server but it wont work

This command is supposed to give me a custom item for a server. Why won't it work? give @p minecraft:netherite_sword { display: { Name: "[{\"text\":\"Kindness (¾)\",\&...
2
votes
1answer
49 views

Playing minecraft on two accounts on the same pc simultaenously [duplicate]

I know we can both login on two accounts on the same machine, but can we both play at the same time? If I leave one screen it goes on pause. Can I have both screens be active?
1
vote
0answers
81 views

Can't join my minecraft server using public ip address | port forwarding problem

I had a problem connecting to my Minecraft Bukkit server with the public IP address (I can just join with my IPv4 address): In the previous question I asked, I realized that the problem is with the ...
2
votes
0answers
21 views

What is the minimal-cost enchanting order with books for the various armor pieces/tools/weapons?

I looked at this previous question and while it gives the general idea, the answers do not provide the exact strategy. I am looking for something like this (found here): This is the optimal ...
0
votes
2answers
60 views

I have the Java edition of Minecraft on my windows 10, wondering if there is any way to show my coordinates. i have tried looking it up, nothing

I have also tried going into my settings to look for an option that might help, and i have not found anything so far. could you help?
1
vote
1answer
66 views

How do I detect when a block is broken?

I am trying to create a command block creation. However, I want to detect when a certain block in my world is broken, without using observers, only command blocks. How do I do this?
4
votes
0answers
61 views

Is there anyway to show a mobs health above their head (1.17, Java) with only command blocks?

I'm making a dungeon style game, and I want the mobs to have their health above their head, and update when they heal or get hurt. Is there anyway to do this with just command blocks/commands. Because ...
3
votes
1answer
41 views

Written books - How do I make a hover event that displays a mob?

I was using the book editor on minecraft.tools and saw there was a mouse over hover event that displays a mob. I added the information for it and created the book in game, but nothing appeared when I ...
1
vote
1answer
227 views

Inventory bug in Minecraft 1.17

I'm trying to drag and place stuff in a crafting table, but once I let go of my right mouse button, it simply warps back to my mouse and acts like nothing happened. I've tried turning touchscreen mode ...
2
votes
1answer
133 views

What is the fastest Minecraft launcher for versions 1.17 or 1.16.5? [closed]

Which Minecraft launcher gives the best performance in lower end computers? My specs are as follows (I know pretty old...): 3.7 GiB Ram Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz (1 physical processor; ...
3
votes
1answer
77 views

How to change the item type of an item in a player's inventory but keeping its NBT tag in 1.17?

For example, I am wearing a netherite chestplate with Protection IV and renamed to "Wing". I would like to replace the netherite chestplate that I am wearing with an elytra but it keeps the ...
2
votes
1answer
67 views

Custom model problems

I am having two problems with custom models in my resource pack. I am not sure, but I think that they are related. I have looked everywhere and found this and this. you cannot give a solid block a ...
1
vote
1answer
1k views

How exactly has Diamond ore generation changed in 1.18?

So I've been watching some of the Hermitcraft "Season 8" videos on YouTube, and one of the "problems" they've come across is the change in ore distribution - particularly diamonds. ...
1
vote
0answers
19 views

How do I change my skin?

I already have a skin equipped, and when I click the skins section in the Java edition, it shows the current skin as my custom skin. However, each time I join my signal player survival game, I always ...
1
vote
1answer
45 views

Why is my loot table not showing up in the /loot command?

I've created a loot table[1] and I'm having issues using it with the loot command: loot insert ~ ~ ~ loot minecraft:op Executing the command above drops zero items. The JSON for the loot table is: { ...
3
votes
2answers
437 views

Am I able to friend Java players on Windows 10?

One of my friends has a realm, and I wanted to join it. He said he didn't have me whitelisted, so I told him that I could just add him through a cubecraft server. He said it wouldn't work, but I'm ...
0
votes
1answer
26 views

Run setblock command in Minecraft to change villager into pig

Is there a way to use /setblock or another command to convert a villager into a pig, similar to how you can use /setblock to change one block to another?
0
votes
2answers
52 views

Say I want to mark a 30 blocks radius for spawn proofing, the I would need some kind of Indicator to show the 30 blocks radius,any suggestions?

I also want to point out that in Shulkercraft"s Witch farm,he somehow has a red circle Indicating the size of the spawn proofing to be done,I want a similar way,Link to his Video ...
-1
votes
2answers
198 views

How do I turn cheats on? [duplicate]

I'm playing a modded Minecraft world by myself, and I would like to teleport between waypoints. I didn't know you needed cheats on to do it. How do I turn it on?
-1
votes
1answer
143 views

Is there a way to still have zombie villagers from zombie spawners in 1.17? [duplicate]

I'm halfway through building a villager cure station from a zombie spawner however since 1.11 zombie villagers don't spawn there anymore... Is there still a way to maybe change this feature back ...
1
vote
1answer
38 views

this command should to execute if the player stands in this specific location, but it doesn't do anything

If you stand in x=129 - 132, y=121 - 124, z=154 - 155, this command should kill you, but it doesn't do anything. what is wrong with this command? I tried with an "always active" command ...
2
votes
0answers
25 views

/data modify command not working [duplicate]

I have this command: /data modify entity @s Inventory[{Slot:-106b}] set from storage minecraft:datapack Before It's supposed to replace the offhand with the NBT in the storage minecraft:datapack ...
2
votes
1answer
43 views

Temporarily disabling a mob spawner farm?

I've built a fairly standard skeleton spawner farm. After enclosing it and removing light sources, I realise that I've forgotten to spawn-proof the top of the spawner. Or I need to tweak the water ...
2
votes
1answer
56 views

How can I make an armor slot of a player drop onto the ground?

I'm trying to make it so that when a player runs /function datapack:helmet_drop, the helmet item they are wearing drops onto the floor. How can I achieve this?
9
votes
1answer
257 views

Can I make the player freeze without powdered snow?

I want to give players the effect where snowflakes appear on the side of the screen, their hearts turn blue, and they take constant damage. Any idea how I can do this while the player is outside of ...
5
votes
4answers
2k views

Send baby villagers through flowing water into soul sand elevator

So, I was working on an infinite villager farm (Minecraft 1.17), in which the baby villagers are tricked into going into a trench for jumping on beds. The trench has water which flows all the way into ...
0
votes
1answer
40 views

How do I run a summon command based on the amount of HP the main mob has?

I have tried many lines of code, and none of them seem to work. This is the code I use to store the health score: execute as @e[type=zombie,limit=1] at @s store result score @s Health run data get ...
0
votes
1answer
22 views

Minecraft Server help [closed]

So im hosting a smp for minecraft and the server is running off of a pc somewhere else in my house all my friends can connect to and it says full green bars and everything when i try joining buit when ...
0
votes
0answers
9 views

Edited version of minecraft skin from skindex will not change

I edited a certain skin on skindex so that I'd like it better, however, no matter what way I try to upload it to my minecraft skin, once it's uploaded it always shows as the original skin, how it ...
2
votes
1answer
33 views

Can't add a specific number of an item after a command

I'm building a little shop for a map I'm doing and I'm trying to detect if the player has a certain number of gold nuggets on them. It works, but only for 1. I want it to check more than 1 item, I've ...
2
votes
3answers
1k views

Can't join my server: "io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information" [duplicate]

I used to be able to connect to my bukkit server in Minecraft by my IP address, but after a while, I could not. It gives me this error when I try to join my server: Failed to connect to the server io....
1
vote
0answers
58 views

1.16 - When an invisible mob wears armor, does that increase its detection distance?

According to the Minecraft Wiki, Mobs do not attack or sense [invisible players] until the player is a lot closer than normal. A player with no armor can be detected at 7% of the usual detection ...
0
votes
0answers
53 views

How necessary is the "Name" tag for player heads after the skin data is already retrieved?

I'm trying to see if I can omit the "Name" tag from a player head after already getting it's "Properties" tag filled out with the skin data and still have the player head skin work ...
2
votes
1answer
33 views

How do I make arrows spin around me facing outward? (minecraft)

I am trying to make arrows behave like spinning knifes (from ETG) but nothing I do seems to work and the arrows don't face where they are facing The commands I tried to use: command that kinda works: ...
1
vote
1answer
26 views

Armor stand does not detect item

I'm making a right-click item ability system with a datapack and I ran into a big problem. The system uses armor stands that teleport to you when you hold an item with an ability. This works fine in ...
1
vote
1answer
17 views

Selector not working in Json formatting [Bug]?

I was recently trying out a few things in 1.17 and thought I'd start with displaying an entitys Pos[] with armorstand names. The problem is that I can't get selector argument to work in JSON format ...
0
votes
1answer
40 views

Minecraft yellow text is showing up with a symbol I can't remove

The symbol I'm having problems with is the one highlighted above in the red circle. My code is the following: §eRIP Jeremiah! §eOverlord of green pricks! §eI'm a grape! §eHiro is top dog! §ePromoted ...
2
votes
1answer
178 views

Lightning arrows in minecraft using execute command

I have been trying to use command block to make custom named arrows that summon lightning at the spot they strike. What I want to do is shoot an arrow named 'vajra', and when it strikes the ground, ...
0
votes
0answers
27 views

why doesnt my bed override my spawn point after i changed the world spawn location?

So, in my server I wanted the players to spawn far away from my base, around 1k blocks away, then i used /setworldspawn and since then the bed doesn't override the spawn point, I keep spawning in a ...
4
votes
1answer
107 views

Can I make an item look like it has different enchantments than it actually does?

I want a Riptide X trident, but for secrecy purposes, I want it to only look like it is a Riptide III trident. How can I use Minecraft commands to make an item display different enchantments than it ...
2
votes
0answers
398 views

Command block "Done button" not working [closed]

When I click done it just changes the command block type. Same for when I click cancel it just changes if it's conditional or not Im not quite sure if its from me playing on lunar client edit: ^ That ...
0
votes
0answers
72 views

My minecraft world disappeared (1.17)

I made a world in 1.16 and decided to open it on 1.17 (without making a backup). Then, the game crashed and when I opened the game again, the world was gone. I checked my "saves" folder and ...
1
vote
1answer
35 views

Testing for Named Enchanted Items [duplicate]

I’m working on a named sword that makes something happen when you hold it. The sword is enchanted, but it seems my code isn’t working. Is there a specific thing I need to add if the sword is enchanted ...
1
vote
1answer
34 views

How do i make an item, that can break certain block, and is named with command blocks in minecraft 1.16? [duplicate]

I am doing an prison escape map and i want to make an crowbar to destroy only iron trapdoors and is named crowbar. How???
1
vote
1answer
61 views

I want a command that makes all my dogs in the server stand at one point

I want the command which makes all the loaded dogs stand at one point. I have tried many things, but it won't work. I want it for PvP, and I have them all tamed. How do I make all the loaded dogs ...
1
vote
1answer
42 views

My Minecraft Java crashes every time I open it

I was playing Minecraft Java edition and it was fine, but today when I started it up it got just to the end of the loading screen and stopped. It then crashed, and gave me the message Open jdk ...
0
votes
0answers
53 views

Failed to connect to the server (io.netty)

I recently started hosting a Minecraft server on my PC (Windows 10). I port forwarded and everything was working fine; I played with friends for a few days. However, today my router got unplugged ...

1
3 4
5
6 7
255