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

Is it possible to locate the position of a specific block in Minecraft Java

I am building a datapack and I want to replace how diamonds and emeralds function by modifying their generation behavior. But I don't know if this is A : possible and B : worth my time looking in to. ...
user avatar
-1 votes
0 answers
23 views

Not able to connect to Minecraft server after client joins on specific PC

I am currently hosting a private Minecraft 1.18.2 Craftbukkit Server on an Unraid Docker (MineOS). Everything works fine, players can connect to the server and rejoin anytime (no apparent problems ...
user avatar
0 votes
1 answer
28 views

How to summon lightning bolt at normal (and not charged) creepers only?

I currently have this command: execute at @e[type=minecraft:creeper] run summon minecraft:lightning_bolt; but I have no idea where I should put the "{}" to check for the NBTs.
user avatar
2 votes
1 answer
92 views

Is it possible to create a custom ore and add it to world generation with a Datapack?

As the title suggests, I am wanting to add custom ores to the game (I.E. new gemstones like ruby, sapphire, topaz, etc), but I have no clue how to control world generation to add such a thing. I tried ...
user avatar
-1 votes
1 answer
100 views

How can I push this headless piston?

Version: 1.9.4 - 1.12 (vanilla and/or spigot/bukkit/paper server) How can I push the headless piston in the below picture against the wall? Prohibited blocks/items: Hopper, all special minecart, ...
user avatar
0 votes
1 answer
45 views

Is there a way to keep playing sound at zombie's location?

How do I make it so a sound will play only once and won't repeat when a player gets 10 blocks near a zombie? But I want the sound to play AT The location of the zombie, so it will be like 3D sound. I ...
user avatar
-1 votes
1 answer
51 views

What's wrong with my Minecraft command? [1.18+] [duplicate]

This is my Minecraft command and I want to give the deity sword a name but my command doesn't work. Can you fix it? /give @p netherite_sword{Enchantments:[{id:sharpness,lvl:5},{id:knockback,lvl:2},{id:...
user avatar
0 votes
2 answers
111 views

How do I find bastions?

What is the best way to find bastions in minecraft? Because I find it annoying to randomly travel in the nether hoping to stumble across a bastion. I tried the main method of looking for the following ...
user avatar
  • 617
2 votes
1 answer
26 views

How to increment potion effects?

I want to figure out how to make it so that, instead of giving a new potion effect, I could add to the previous ones, i.e. 2 + 3 = 5. How can I do this?
user avatar
  • 37
0 votes
1 answer
28 views

Incrementing attributes in Minecraft

I want to figure out how to increment a player's health without writing 225 lines of Datapack code. I cannot find any way to do this. I've tried : execute at @a run execute unless score @p custHealth ...
user avatar
  • 37
0 votes
1 answer
44 views

How to stop the killed entities message in Minecraft Java using a command block? [duplicate]

I am working on one of my Minecraft maps and I set up a repeating command block to kill the slimes but in the chat, it just says it killed entities repeatedly and I think that would annoy the people ...
user avatar
1 vote
0 answers
34 views

Can I use command blocks to automatically spawn all filled maps that exist in my world?

I have used an online map-art creator to create map art. I downloaded the map files and there are a total of 134. I know that I can get maps by using the following command: /give [playername | @p] ...
user avatar
  • 11
1 vote
1 answer
55 views

Minecraft speedrun tips [closed]

Does anyone have any good minecraft speedrun tips? Many have been trying speedruns, but always lag behind on time (including myself), probably due to unneccessary stuff they did, so I was wondering if ...
user avatar
  • 617
3 votes
1 answer
110 views

How to get "Arbalistic" hidden achievement?

How do I get this hidden achievement, "Arbalistic", and what is the best/fastest way to do so?
user avatar
  • 617
1 vote
0 answers
57 views

How do I update to minecraft java 1.18 WITHOUT altering old terrain?

I want to update my 1.17.1 survival vanilla world to minecraft 1.19 when it comes out and I can't find anywhere a way to update so that worlds don't modify existing terrain, I only want to get the new ...
user avatar
1 vote
0 answers
27 views

Minecraft 1.7.10 crashes [duplicate]

I wanted to play Minecraft 1.7.10 and it keep crashes when I open a new world. Here's the bug report: ---- Minecraft Crash Report ---- // Don't do that. Time: 5/26/22 2:11 PM Description: Unexpected ...
user avatar
0 votes
0 answers
82 views

Seed generates a completely different world on the same version

I have a Minecraft world that I was playing on with my friend in January 2021. The world was originally created on 1.16.4 on a Minecraft server. There were no mods nor plugins that were changing the ...
user avatar
  • 109
3 votes
1 answer
159 views

What is the best way to get "How did we get here" achievement?

What is the best or fastest way and how, to get this hidden achievement in minecraft java?
user avatar
  • 617
-1 votes
3 answers
64 views

Minecraft Daylight cycle issue [duplicate]

I have downloaded a world (a mansion build) online into my Minecraft game. The world I download does not have a daylight cycle. It remains daytime all the time. I have tried to turn this off by doing ...
user avatar
  • 1
0 votes
1 answer
92 views

How can you make a ghost block in minecraft?

So, I forgot how to summon falling blocks, and all the videos were not helping. I'm not very good with the commands which involve using [, so if I could get an answer, that would be nice.
user avatar
  • 1
-1 votes
2 answers
135 views

How do I fix my system crashing randomly when Minecraft chat is opened?

After upgrading to Ubuntu 22.04, I'm having an issue with Minecraft: The chat flashes multiple random colors and crashes my entire system most of the time. This also happens very rarely with held ...
user avatar
0 votes
0 answers
71 views

Minecraft item sorter not working?

Edit: I tried having the hoppers face the comparators, it made no difference As you can see in the picture, I am trying to make an item sorter, but once I put the items in it seems to work for like 30 ...
user avatar
  • 805
0 votes
0 answers
44 views

My hardcore Minecraft world is gone [duplicate]

Last night I got off of my hardcore world and shut off my pc. This morning while waiting for my laundry to cycle I figured I'd kill time by playing it but when I went to load in it was gone. I have ...
user avatar
1 vote
1 answer
65 views

How can I swap between offhand and mainhand with commands?

Of course I know that if I press F key, offhand and mainhand's item swaps. But I want to do this with command. I tried: execute as @a[nbt={Inventory:[{id:"minecraft:snowball",Slot:-106b}]}] ...
user avatar
2 votes
1 answer
119 views

Can you type subscript on signs in vanilla Minecraft?

In some of Iskall's videos, he adds a TM in subscript on signs for fun. Is this possible in vanilla Minecraft, or is this done with a mod?
user avatar
  • 1,815
-1 votes
1 answer
1k views

How to play Minecraft without a Microsoft account?

Minecraft is a single player game. A Microsoft account was not required when I bought it. It's a requirement they added later. Asking your customers to do this years after the fact is unreasonable. I ...
user avatar
  • 115
0 votes
0 answers
23 views

Is there a way to make a zombie that doesnt attack you but it attacks other players on java? [duplicate]

I like playing OP PVP with things like protection 22 armour and sharpness 25 swords, things like that, I like developing the armour sets more than actually using them, I was making a Kings Set that ...
user avatar
0 votes
0 answers
128 views

How to lock items into inventory/chest slots using NBT data in Java Edition?

It's a bit like Changing the NBT data of a variable amount of items in a chest inventory? but I want to do it using NBT data (like possible in Bedrock Edition) and without the need to set up a ...
user avatar
-1 votes
1 answer
122 views

My Minecraft skin won't change from Alex or Steve even though I've changed it

I've had Minecraft for the longest time and have NEVER had this problem. I've done everything I've seen others do, I've uninstalled and reinstalled Minecraft, I've changed my skin in Minecraft main ...
user avatar
0 votes
0 answers
20 views

Sound pack is not working even though sound.json's working fine [duplicate]

{ "ak47_shot": { "sounds": [ { "name": "custom/ak47_shot" } ] }, "ak47_reload": { ...
user avatar
-1 votes
1 answer
42 views

Potion effect Giver from item frames

I remember doing this a long time ago with armor stands as it was the only entity to easily do it. I wanted to make an invisible item frame that gives the player jump boost when under the item frame. ...
user avatar
-1 votes
1 answer
75 views

If I'm adding sounds on resource packs where should sound.json go?

{ "ak47_shot": { "sounds": [ { "name": "custom/ak47_shot" } ] }, "ak47_reload": { ...
user avatar
0 votes
0 answers
79 views

Minecraft on Ubuntu is using 100% of my RAM

I am using Java version on ubuntu 20.04 and have an issue with the RAM usage. I have tested other Minecraft versions, Java versions, launcher versions, and I've even changed the assigned RAM but the ...
user avatar
5 votes
0 answers
55 views

Shulker Farm Failure Rate

I built a shulker farm following the design by devilmok. Centered on the trapped shulker, there are 4 nether portals with 17x17 portal blocks. These are spaced apart with blocks in between to allow ...
user avatar
  • 151
3 votes
0 answers
62 views

Troubleshooting a minecart transfer system in Minecraft 1.18.2 Java

This is the minecart transfer system I've put together. A hopper minecart comes in on the top right, unloads into the barrel, then leaves. Another hopper minecart comes in from the left, down the ...
user avatar
0 votes
0 answers
54 views

Custom Data model shows old textures but slighty darkened

I am trying to write a custom data model for a Trident at number 10, that will obtain a trident with a custom texture (stobie_trident.png). The problem is that it loads the default texture but ...
user avatar
2 votes
2 answers
119 views

What is the best Minecraft base defense to use against online players

These guys keep raiding my base and it usually ends up in total destruction due to TNT. They won't fall for traps and usually they TNT anything they see as a path to my base. How can I outsmart them?
user avatar
0 votes
0 answers
17 views

Is it possible to make using an item summon an entity in 1.17? (Java) [duplicate]

I'm planning on making an RPG game for my friends and I with custom items, but I'm not sure if it is possible to use the /execute command (or any command) to summon an entity when you right click with ...
user avatar
1 vote
1 answer
74 views

Stop a thief in Vanilla Minecraft: Detect if player is x distance from y,z coordinates

I'm trying to catch a thief in 1.19 Minecraft. I had one set of commands to see if items were taken out of a chest, but that was defeated -- I suspect they used X-ray hacked client to disable the ...
user avatar
  • 135
3 votes
1 answer
270 views

How to change Java's default installation folder for Minecraft

I have my .minecraft folder on a USB drive, but it's getting old to keep copying and pasting it into my root directory every time I want to play. It's nice keeping all my Minecraft files on a USB, but ...
user avatar
1 vote
0 answers
204 views

Minecraft Java Simple Raid farm goes directly to "win" - raiders unable to spawn?

I basically want the kids playing on our server to be able to get new Totems of undying and Hero of the Village V easily. I have a stacking raid farm, but that requires more planning to use, so I'm ...
user avatar
0 votes
0 answers
72 views

Minecraft Java 1.17.1 Server Times Out Players Who Join Second or Teleport

The server is the vanilla 1.17.1 Minecraft Java server for Windows. The first player to join is always able to connect. However, any other player who joins when someone else is already playing has a ...
user avatar
  • 101
0 votes
1 answer
44 views

How do you get World Edit enabled on Minecraft?

I'm considering making a map for me and my friends to play when I can and I feel like world edit would help speed things up alot. However I can't figure out how to enable it or if you need mods for it....
user avatar
1 vote
0 answers
55 views

What is the accuracy of a Minecraft dispenser?

I want to know how accurate a dispenser can be for defensive purposes. There are facts for arrows fired from bows in the Minecraft wiki, but not for dispensers. The reason being dispensers can be ...
user avatar
0 votes
1 answer
59 views

How to clone a structure with commands? [duplicate]

I made a house, and tried to clone the whole house somewhere like 511 blocks away. I made the house inside a red line to make the cloning process easier. But as soon as I pasted the coordinates to the ...
user avatar
0 votes
0 answers
21 views

Can I clone an area to the coordinates of an armorstand in 1.18.2? [duplicate]

I am making a map where, if you walk close to an armorstand, it disappears and clones something on the armorstand coordinates. I have already figured out a way for detecting if a player is near it and ...
user avatar
  • 1
1 vote
2 answers
66 views

Need help making a ground distance detector

I'm making a data pack where some players cannot take fall damage. I don't want to use resistance 5 or jump boost 255 as there needs to be PVP and jump boost 255 will launch you in the air with PVP. ...
user avatar
  • 37
-1 votes
1 answer
157 views

How do I a get deleted world save back?

I have a BungeeCord (Waterfall) server network. Well, that's besides the point. One of my friends built a bunch of stuff on a world. Later, I was cleaning up old backups. I thought I was deleting an ...
user avatar
0 votes
1 answer
60 views

Teleporting players when a certain coordinate is reached [duplicate]

I am trying to teleport all players who go to the Y level 8, but this command teleports all players from Y level 8 and the command block coordinates: /execute if entity @a[y=8,distance=..10] run tp @s ...
user avatar
  • 11
-1 votes
1 answer
68 views

Why won't this execute command work?

I'm trying to make a datapack and in it you cannot sleep unless you are y 100 or above, but my command doesn't work. Can anyone explain why P.S: playerheight is a scoreboard that updates according to ...
user avatar
  • 37