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
0 answers
101 views

Creating custom models for skulls/heads, fences and banners

I'm working on a project with a specific resource pack (1.19.2). For my project, I need a custom model that's able to face multiple directions (not just north/east/south/west/up/down). There are only ...
  • 21
0 votes
0 answers
24 views

How do I execute a command when a player has greater than or equal to a certain quantity of item? [duplicate]

/execute as @p if entity @s[nbt={Inventory:[{id:"minecraft:amethyst_shard",Count:9b}]}] run say a This command line only works when the player has 9 amethyst shards, so I tried many things ...
  • 1
0 votes
1 answer
79 views

Position not loaded with fill command

I'm getting the error message "That position is not loaded" and I have no idea why with this command: /fill ~-467 ~69 ~-394 ~-394 ~92 ~-470 minecraft:air I've tried making the coordinates ...
  • 21
3 votes
0 answers
61 views

Can I use NBT tag values ​as command input?

I am trying to use commands to detect when a player's bed is broken using the SpawnX, SpawnY, and SpawnZ NBT tags. It would look something like this: /execute as @a unless block [SpawnX] [SpawnY] [...
  • 63
1 vote
1 answer
114 views

How do I enable bundles (crafting) in hardcore mode?

I sat down and started playing the other night for the first time in over a year, and the world spawned me in a vast desert. Rabbits and sticks until the zombies almost ate me at dusk... I get to ...
  • 869
0 votes
0 answers
70 views

What is this glitch in Minecraft multiplayer?

I was playing over Hamachi with my cousin, and we were viewing a world we made a while ago. However, when she joined, she mentioned that certain things looked different to how she remembered, and on a ...
  • 199
0 votes
1 answer
59 views

I can't find a specific mob's health

I am trying to check a PVP bot's health, except every time I try to. it says it can't. Here is my current command: /execute if entity @e[name=Skeleton] [nbt={Health:10.0f}] run setblock 49 157 81 ...
3 votes
2 answers
81 views

What should I do with this /tp command?

I am trying to teleport a mob directly behind the selected player. I have tried using relative location of the player's head (^ ^ ^) but that caused the entity to suffocate underground when you look ...
2 votes
1 answer
64 views

How to place a red bed on a cyan carpet in Minecraft Java 1.19

I am using Minecraft Java 1.19, and I would like to place a cyan bed on a cyan carpet, but can’t figure out how to do it. Part of the problem is that when things are placed above carpets, they hang ...
2 votes
1 answer
4k views

Can I use mods on Realms for Minecraft Java Edition?

I am trying to determine whether I can use (server-side) mods on Realms for Minecraft Java Edition, and have found several conflicting opinions. For example, this article from Beebom says I can: ...
1 vote
1 answer
248 views

How to make expanding worldborder every day?

I have a setup where a command block is attached to a daylight sensor. Every time it's night it expands the world border by 1. I want to make it so that each day increases more. For example, first day ...
1 vote
1 answer
173 views

How to replace shield texture with item?

Is there a way to replace the shield texture with an item, for instance a steak, so it shows a steak in my offhand instead of the shield? I'm using version 1.19 Thanks in advance.
  • 21
16 votes
1 answer
4k views

Is it possible to play Minecraft without migrating my Mojang account to a Microsoft account?

I do not want to migrate my accounts for various personal reasons, like Microsoft's "secure chat" update and a lot of others. However, they won't let me play the game otherwise. They keep ...
2 votes
0 answers
46 views

How to remove "dissolution chamber: 100%" from HUD?

I'm playing the All The Mods 6 modpack, version 1.6.14. It contains Industrial Foregoing. When I built a Dissolution Chamber from Industial Foregoing, some text appeared on the right side of my HUD ...
  • 133
-1 votes
1 answer
73 views

How to make items from a certain mod undroppable or disappear once dropped?

I'm running a Naruto themed Minecraft SMP server, and I want to prevent the players from giving each other a specific object (the jutsu) from the mod. How do I make items undroppable or disappear once ...
0 votes
1 answer
48 views

How to add a player to the killer's team

I'm making a datapack where if you kill somebody they join your team, I already know how to track deaths and kills and I thought of making two scores, one is death count and the other is kills. If a ...
1 vote
1 answer
69 views

Is there a command that fills blocks based on biome? Or a mod that visualizes the boundaries?

I am trying to visualize some biomes in my single player world. Once there were mods helping with this task, but none I can find works with 1.19 and above. Is there a command or a mod that helps ...
  • 1,970
0 votes
0 answers
21 views

How to detect right click whilst holding an item with an nbt item [duplicate]

I am making a sort economy system for my server and I use paper with the name "1 Paper Point" and the lore "Right Click to turn into Ranking POints". I was planning on making it so ...
1 vote
1 answer
108 views

How to unban a certain player without the use of an admin

So I have a problem. I'm making a datapack in minecraft 1.19 and I want a way to unban players from the server using it. It's supposed to be done by throwing or using a nether star (unban the player ...
0 votes
0 answers
48 views

How does the Cubic Chunks mod handle the lighting?

The Cubic Chunks mod is a fantastic mod! But I don't understand how the lighting system works in that. One potential problem that could happen, when using cubic chunks; is that, Sunlight could be ...
1 vote
0 answers
24 views

How do I remove the mo creature's cat? [duplicate]

I've been having this problem since I first downloaded the mod last year. I've tried shifting and I've seen a suggestion to try breeding them for the chance that the cat on your head is the female and ...
0 votes
2 answers
572 views

Using /execute to detect if player is located at entity

Before I say anything, I would like to say that I do not have much experience with commands. Is there a way to use /execute to detect if a player is located at an entity? I tried execute if entity @p ...
0 votes
0 answers
30 views

Character stops whenever I press Jump(Space) + Sprint(CTRL) [duplicate]

As I have said in the title, my character stops completely whenever I press Ctrl and Space at the same time, now I know that sprint is toggle and I press it once when jumping and sprinting so holding ...
1 vote
0 answers
40 views

How do I run a function based on user input in Minecraft data pack?

I am new to making data packs and I wanted to know if a player pressed Q or something it would run a function.
1 vote
1 answer
83 views

Why does the Minecraft client take so long to start up towards the end of the progress bar?

At some recent version, I don't recall when it started exactly, the Minecraft client started to take forever to start up and would hang for a while at the end of the progress bar. My best guess is ...
  • 331
0 votes
0 answers
86 views

How to make a Command Block search and clear Item from player? [duplicate]

I'm trying to make sort of a command block trade shop thing. I've got it working with these commands in a chain of command blocks: execute as @a if data entity @s {Inventory:[{id:"minecraft:...
1 vote
0 answers
91 views

Nether roof portal is generating new portals in trees instead of linking to existing one

I'm working on establishing a nether hub in 1.18.1 on my server. I have a portal in the overworld I am trying to link to a portal in the nether ceiling. To make sure the coordinates are right I am ...
  • 2,085
0 votes
0 answers
122 views

How to record Minecraft Java fullscreen with Xbox game bar

I'm struggling with this problem for months. The problem is even when I'm opening Minecraft in fullscreen borderless mode using borderless minecraft applicaiton, still I can't record the game & ...
1 vote
1 answer
82 views

Why am I getting attack cooldown when mining if I set attack to a keyboard?

I made a really basic basalt farm that uses instamining. I wanted to afk at it so I set the attack/mine button to the spacebar so I could put a weight on the keyboard to mine. Weirdly enough, when I ...
  • 2,085
2 votes
1 answer
110 views

Redstone mechanism that deactivates when another one is activated

I have a build in progress and it contains things like gates, big doors and other redstone related stuff. I was interested in making it so that only one gate/door can be closed at one time, and when ...
  • 139
0 votes
1 answer
85 views

Armor piece doesnt grant special effects when worn in Minecraft (command Blocks)

In minecraft 1.19.2, I used this command to give myself the iron boots: /give @p iron_boots{Unbreakable:1,Tags:[Special],display:{Name:'[{"text":"Heavy Boots","italic":...
2 votes
1 answer
94 views

How do I copy a player's coordinates into a Lodestone?

I'm trying to make a manhunt compass using lodestone NBT, avoiding /setworldspawn issues, but I'm having trouble copying the runner’s position array data to the compass' LodestonePos NBT tag, ...
1 vote
0 answers
66 views

Why are my players respawning at the world spawn rather than their beds? [duplicate]

I set the home, and set the bed to wake up. But when I die, I start automatically on the world spawn area. Can you tell me how to set that all players in the server when they die, revive on their bed ...
3 votes
3 answers
187 views

Can I run several commands after /execute, instead of just one?

I want to create a Minecraft datapack in which I can shoot an arrow and, when it reaches its target, summons a lightning bolt. Currently, I have this: execute at @e[type=Arrow] unless block ~ ~-1 ~ ...
  • 33
4 votes
2 answers
860 views

How can I specify a count that's greater than or equal to a given number in a command? [duplicate]

I was looking to know if a player (in Minecraft v. 1.16.5) had enough items to execute an action so I wrote the following command: /execute at @a[nbt={Inventory:[{id: "minecraft:gold_ingot",...
  • 41
3 votes
2 answers
404 views

Is there a way to track which buttons were pressed when using command blocks?

I'm making a map (in Minecraft 1.19.2) where players open doors on a square map made out of rooms. Most rooms have 4 doors, which the player should be able to open from both sides. I wanted to make ...
0 votes
0 answers
56 views

How do I give myself a map with a specific map number? [duplicate]

I want to use commands to give myself a map that correlates to like map_1.dat in the data folder, I've tried /give @p minecraft:filled_map 1 0 and other things, but they don't seem to work in ...
0 votes
0 answers
29 views

Why do items get stuck in my drowning mob trap in b1.7.3?

I have constructed the revised Ethos design for a Hostile Mob System but instead of constructing it underground I constructed it high up in the sky. Since falling mobs also cause damage to the player, ...
1 vote
1 answer
63 views

Editing "special recipes" Minecraft

Despite the grindstone being added as the new way to combine items, mojang has marked that bug where players can still combine tools in the crafting grid as "wont fix". So, obviously I have ...
  • 1,429
0 votes
2 answers
139 views

How did some server members obtain Protection 255 on my Minecraft server?

On my server, several members have been caught obtaining items with Protection 256 and/or other high-level enchantments. They don't have any rank that would allow them to do this. What are some ...
  • 11
-1 votes
1 answer
70 views

How do I limit my raycast range?

I have these raycast commands and I want to put a range of 6 blocks on it. How can I do it? execute as @e[dx=0, distance=0.1..] positioned ~-0.99 ~-0.99 ~-0.99 if entity @s[dx=0] run effect give @s ...
  • 89
1 vote
1 answer
1k views

How do I make the entire world an ocean?

In Minecraft Java 1.19.2, I've tried using the Lukewarm Ocean Single Biome world type, but all it does is consider the whole world as a Lukewarm Ocean biome while still generating islands.
  • 21
2 votes
1 answer
115 views

Not broken by player loot table?

I have a loot table that makes it so logs only drop when mined with an axe; That part was easy. But I noticed it did not drop to creeper explosions/tnt due to failing the match tool check, which ...
  • 1,429
1 vote
2 answers
187 views

How do I exclude only myself in an execute command?

I have followed a raycasting tutorial: . I stopped at 7: 17 because I don't need headshot detection. It says to exclude players to avoid putting the effect on yourself. ...
  • 89
3 votes
0 answers
34 views

Is there any way to copy/clone an existing item to create a completely new item using a resource pack?

In Minecraft, I want to clone an item in a resource pack to create a new item or at least make different variants of the same item. Say for example I wanted two diamond helmets that are each a ...
user avatar
0 votes
1 answer
101 views

Minecraft LAN server [closed]

I'm trying to play with my bro. He can play without mods, but with mods he can't join the server. How can I resolve this? I don't want to try to find the issue in the mods. Can I find the error in the ...
1 vote
1 answer
149 views

How do I add custom side textures?

I'm currently working on a resource pack for 1.17 and I wanted to add custom textures for the lapis block, however when I tried to do that, it gives me an error block instead. How do I add custom ...
0 votes
1 answer
250 views

How to teleport entities named with a space? [duplicate]

I can't teleport entities with names like 'big boy', "reverse flash", since in the /tp command both "big boy" or "big_boy" are not working. /tp @e[type=horse,name=CROSS ...
-1 votes
1 answer
142 views

How to link my Mojang account with my Microsoft account

When I try to log into Minecraft, I am prevented and forced to click on a link to migrate my Mojang account to my Microsoft account, but after doing that my accounts aren't linked, and when I log into ...
1 vote
1 answer
202 views

What is the 1.12 equivalent of /execute if score?

In Minecraft, I want a command to execute when a score is changed. For example, I have a scoreholder named cameraactive on an objective named Debug. I want a command to run when this score becomes 1. ...