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
1
vote
0answers
29 views

How to add a tag for a villager trade

So I made a quest where the player kills a mob gets a weapon then sells to the villager /summon villager ~ ~ ~ {VillagerData:{profession:weaponsmith,level:5,type:swamp},Invulnerable:1,Silent:1,NoAI:1,...
0
votes
1answer
59 views

How do I make a villager trade items with lore and a name

So all ive tried alot of things but i'm not good with commands summon villager ~ ~ ~ { VillagerData: { profession:weaponsmith, level:5, type:swamp }, Invulnerable:1, Silent:1, ...
2
votes
0answers
18 views

Is there a way to run a command if a player is holding a specific players head?

I'm trying to make a datapack that makes player heads drop on kills that give you abilities if you use them. Right now I'm trying to make a line where if you right-click the specific player head then ...
10
votes
3answers
5k views

Is there a way to hold back water sources without using a bunch of ugly signs or fence gates?

using signs and fence gates is ugly, is there any other way to do it?
2
votes
0answers
48 views

how much storage does an 80k x 80k world uses in minecraft? [duplicate]

I have a server and I want to know how much storage does an 80k x 80k world uses? Do I have enough with 150GB?
2
votes
1answer
40 views

Minecraft server will not work even with ports open everywhere. Why is that?

My Minecraft server is crashing instantly due to failing to bind a port when I put my Public IP in tp the server.properties file, yet when I make it blank and default to my PC's IP, nobody else can ...
2
votes
1answer
26 views

Detect if SelectedItem is part of a #tag

On my constant tirade of making a PvP map so far, I've successfully made or modified custom death message systems for arrows and falling to death with help from here, but I also want a system in which ...
2
votes
1answer
26 views

Can i import villager trading values to another player/level.dat?

I had to make a villager hall on my survival world and notice that i was on the world with the wrong account and switched my account, when i loaded up the world i had the same items, everything looks ...
1
vote
1answer
28 views

Using NBT tags in crafting

I am trying to make to make datapack that allows you to make for example sharpness VI. I know it isn't possible to make the result with nbt tag, but can you make the required items require specific ...
1
vote
1answer
50 views

How to detect mobs taking damage?

As simple as the title gets, I want to detect when a certain kind of mob has been hit and then execute a command accordingly. Say the mob is a cow and I wish to detect whenever a player has hit the ...
2
votes
1answer
323 views

Can you place a Dripstone on a hopper?

Quite simply, can a dripstone stalagmite be placed on top of a hopper? if so, how? Do you need to grow it, or is there a weird redstone/blockswapping trick required? I know at the moment the general ...
2
votes
1answer
85 views

Why do my commands not work in command blocks when they work correctly in chat?

I'm attempting to make a system in which gives a player Slow Falling "indefinitely" when in a certain area/height (specially, in a specified rectangular are and from Y171 to Y189), then ...
0
votes
2answers
3k views

Why doesn't the diamonds trick work in minecraft 1.17?

Recently, many videos on youtube featured the trick of finding diamonds, by locating a clay patch (preferably symmetrical) and digging 2-6 blocks positive in the Z-axis. I have tried 6-7 times using ...
2
votes
1answer
50 views

I cant join a minecraft server runing on the same machine

I run a minecraft 1.17.1 server on the same machine but when i try to connect to it i cant, while everyone else can join it. im connecting to localhost:"port". and when the server was still ...
0
votes
1answer
55 views

Is it possible to have two minecraft accounts on one mojang account?

I was going to use Multi-MC to test out a mod to see if it would work in multiplayer, but then i realized: "Wait, i have to make a second Minecraft account." So i did that, but even though i ...
1
vote
1answer
34 views

Why is my /execute command not working?

I am currently on Minecraft 1.8.9. I typed in this command on a command block which is connected to a redstone clock: execute if entity @a[x=82,y=1,z=73,dx=46,dy=1,dz=70] run setblock ~ ~ ~4 ...
0
votes
1answer
28 views

Using commands to find blocks

My memory is vague on this one, but I do remember a command that could identify where particular things are - like wolves, or End Ships/Forts. I don't remember the command to do it, but I do remember ...
9
votes
1answer
2k views

Is there a way to get my librarians back after they were just killed by zombies? [duplicate]

I have my own server running Minecraft version 1.17. After hours of trying to get the best librarian trades, I have them all. However, just before going AFK, they where killed by a zombie. I killed ...
1
vote
1answer
30 views

How do I fix a corrupted minecraft file?

I can open the minecraft launcher, but after I log in, the game doesn't open. I have tried the solution to go to %appdata% and delete the minecraft. file, but I can't delete the file. When I try to ...
0
votes
1answer
53 views

Menu Screen Display Jumbled (Minecraft)

On the menu screen, the GUI and the display overall are distorted. It looks very chaotic and "jumbled?". It also appears to be not fully rendered. Before the menu screen, only "MOJ"...
1
vote
1answer
75 views

Minecraft, villages doesn't breed or farm

In the following picture, there is a villager breeder, but it doesnt work. Villagers doesnt breed or farm the potatoes, i tried almost everything at this point still nothing works, what the problem? ...
4
votes
1answer
46 views

Make maps on item frames unrotatable

I'm trying to put a map on an item frame, and I have used this command in order to make it unbreakable by players in adventure mode. data merge entity @e[type=item_frame,sort=nearest,limit=1] {...
1
vote
1answer
27 views

"vanilla:entities" not working in Minecraft loot table

I have this loot table in my datapack: { "type": "minecraft:entity", "pools": [ { "rolls": 1, "entries": [ ...
2
votes
1answer
57 views

Run command when motion is a certain value near player

My brain refuses to explain a problem without context, so please bear with me. I'm attempting to make a PVP map, but I want there to be a specific and custom "death message" for arrows being ...
0
votes
1answer
46 views

How do I find the owner of the head in my hand?

On Hypixel Skyblock, there is this item called the Raw Soulflow. I think the head looks cool, so I want to copy it. But, after extensive searching, I can't seem to find out how! Is there anyway to see ...
2
votes
0answers
259 views

Running Minecraft Java 1.17 with an older version of OpenGL

I am trying to run the Minecraft Java Edition 1.17 on an Intel i3 M370 with integrated graphics, but I keep getting this error upon starting the game: GLFW error 65542: WGL: The driver does not ...
0
votes
1answer
16 views

Minecraft Detect If A Mob Has NoAai Set To 1

I would like to detect if a mob has NoAi set to 1 or 0. I searched but couldn't find anything. Can someone help?
0
votes
1answer
38 views

Projectiles extremely inaccurate on our server

Aiming cross at the center of the wood block, bow fully drawn, never moving the cursor, distance: 16 blocks, this is the spread I achieve. And this is my shooting from 32 blocks away, aiming at the ...
0
votes
2answers
90 views

Minecraft 1.17 how to create custom coloured potion texture pack

I would like to design a texture pack with custom more distinguishable potion colours for each potion type. How do I go about doing this? I've been able to unpack the .jar file, find the \assets\...
0
votes
1answer
36 views

How would I create a circuit that gives an output similar to the one of a button when a block behind is powered with a lever but not when not powered?

Sorry about the length of the title of this question. I have a circuit where I am trying to get an output like the one of a button from an observer looking at a piece of redstone dust that is powered ...
3
votes
1answer
56 views

Minecraft: Why did modded blocks replace each other throughout the world?

I've encountered a rather odd situation in Minecraft, lately. It first started when I accidentally loaded one of my modded private servers on OptiFine instead of Forge, thus completely wiping all ...
0
votes
0answers
24 views

How to paste in structure on every instance of a certain block

I am working on a project where I want to paste in a certain structure on every instance of a block. I have until now been using the paste brush but it is a bit too laborious (due to the amount of ...
1
vote
1answer
40 views

Stacked Observers

I need to know if any of nine blocks, in a 3x3 wall, are updated. Right now I just put a 3x3 wall of observers. I only need one output signal saying "Yes, one of the 9 blocks were updated"....
9
votes
1answer
112 views

Can I force people in to first person?

I want to show players an image with pumpkins, where they can just press F5 to ignore it. Can I force people in to first person?
3
votes
1answer
24 views

Help resolving custom loot table issues involving a written book

I'm currently working on a project that includes custom loot tables with semi-custom items. So far it's been working perfectly with all sorts of items, but when I tried to add a written book with nbt ...
0
votes
1answer
34 views

NEU like feature to find where mobs can spawn for Minecraft version 1.16.5 [closed]

In the mod NEU there is a feature where when you press f7, it makes an overlay on all blocks so that they show whether mobs can spawn on the blocks or not. My question was is there a mod for 1.16.5 ...
2
votes
1answer
49 views

How do I place a mob spawner inside another block?

Recently, I've seen someone make a custom block, replacing the block texture with a custom texture, and placing a mob spawner directly inside. I am pretty confused. How do I do this?
3
votes
1answer
70 views

Why is my spawner changing into a pig spawner after its first spawn?

I'm trying to spawn a large amount of llama spit constantly. Currently, I'm using this command: give @p minecraft:spawner { BlockEntityTag: { SpawnCount: 100, MaxNearbyEntities: 20, ...
-1
votes
1answer
37 views

How do I set off a chain of command blocks if a players health goes to a certain health. (Java, 1.17)

I want a chain of command blocks to go off if a player or entities health drops to a certain number. When I try it, it doesn't set off the command blocks, or it doesn't even set off at all.
1
vote
1answer
51 views

left/right click item dragging isn't working

When I try to spread an item using left/right click in my inventory it doesn't work and just returns to the stack. It happens in the crafting table too. It wasn't happening while I was playing 1.8, ...
0
votes
1answer
101 views

How to detect a mobs health, on Java 1.17

Simple as it is, I'm trying to make a boss fight for a game I'm making, and I'm trying to execute a different phase when the Boss hits a certain health. I know that I need to create a scoreboard, but ...
22
votes
3answers
7k views

Why does it never rain on my Minecraft server?

The gamerule doWeatherTick is true. People sleep every night. Is this preventing rain?
4
votes
3answers
638 views

How do I place a lantern on the side of a wall?

According to the wiki it should be possible to place a lantern on the side of a block. Am I reading this wrong? I can not compel the lantern to place on the side of a polished diorite block, not even ...
2
votes
0answers
25 views

when i try to launch minecraft on the launcher, it says "already joined game as this user" but i only have one minecraft account which is on my pc

For some reason when I try to launch minecraft it says that its already launched on the same account, but I only have minecraft launcher which is on the pc im currently using to type this, plus I dont ...
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
55 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
97 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
80 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 ...