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

Is there a command to launch an entity? [closed]

How do you launch a player or mob to a position by using commands?
user avatar
-1 votes
3 answers
48 views

Minecraft Daylight cycle issue

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

How do I fix Mineraft mutiplayer not working? [closed]

I was trying to use multiplayer, but it doesn't work, I just get a "connection timed out: no further information" message whenever I try to join a server. Only recently I tried fixing it, ...
user avatar
0 votes
0 answers
15 views

LAN Broadcasting external server for Minecraft [closed]

For the past year or so I have hosted my own Minecraft server on my own machine locally, and I used the script from this website to broadcast it over LAN so people could join without typing IP ...
user avatar
-1 votes
0 answers
37 views

How can I spawn a falling block moving toward where I'm looking?

I mean if a falling block (the entity) can be spawned but with a motion assigned to the front of where I'm looking: Example: I'm looking to the direction 90 ( ~x ~y ~z looking: 90 ~ ) then the block ...
user avatar
  • 1
-1 votes
0 answers
22 views

Xampp MySQL keeps shutting itself down after a while on my Minecraft server [closed]

For some reason, I get the following error on my MySQL XAMPP server: 2022-05-05 12:19:23 519 [Note] Hostname 'zg-0421a-44.stretchoid.com' has the following IP addresses: 2022-05-05 12:19:23 519 [Note]...
user avatar
0 votes
1 answer
34 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
0 answers
45 views
+100

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
48 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
  • 785
0 votes
0 answers
33 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
43 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
91 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,737
-1 votes
1 answer
205 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
  • 107
0 votes
0 answers
18 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
32 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
70 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
19 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
31 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
0 answers
45 views

Teleport command not working

I am participating for a Minecraft building competition, and I'm the command block maker. I wanted to make that at a certain place it will teleport people back to the platform. Here's what I wrote tp @...
user avatar
-1 votes
1 answer
42 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
61 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
42 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
-2 votes
0 answers
25 views

Testing for specific item in specific hotbar slot?

I am working on a data pack to add airships into Minecraft 1.18.1 (based on re-textured donkeys). I am planning to make it so that the following behaviour occurs: If you hold the “Ascend” item, the ...
user avatar
  • 1
3 votes
0 answers
32 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
25 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
97 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
14 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
68 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
-1 votes
0 answers
29 views

how to give an item with a custom uuid? minecraft

I want to summon a sword with the custom uuid 12. How would I do that? I cannot find any simple tutorials.
user avatar
  • 11
2 votes
1 answer
66 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
90 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
49 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
35 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
42 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
43 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
19 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
50 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
  • 11
-1 votes
1 answer
145 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
48 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
61 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
  • 11
3 votes
0 answers
41 views

How do I prevent other players from taking items out of a dropper? (1.18.2)

I'm currently making a trading system on my Minecraft server. You drop an item that spawns a dropper with a small UI. There are 2 empty slots where both players will put a custom player head from ...
user avatar
1 vote
2 answers
30 views

Check the block connected that an item frame is connected to

I'm trying to check the inventory of a hopper that has an item frame connecting to it, however I can't even get it to say "hi". I currently have this: execute as @e[type=minecraft:item_frame,...
user avatar
-1 votes
1 answer
29 views

How do I recover specific parts of builds in a Minecraft world?

I have this creative Minecraft world where I build alot of stuff on. Specifically on my base design. And at one point suddenly what we worked on the last few days on for the base, just disappeard. The ...
user avatar
0 votes
0 answers
28 views

How to tag a #log in 1.18?

I'm working on a treeAxe using commands in 1.18, but I can't figure out how to tag items that are logs and wood. Here is what have so far: tag @e[type=item,nbt={item:{id:"minecraft:acacia_log&...
user avatar
  • 1
-1 votes
1 answer
28 views

How do I make a villager that buys a custom banner

I want to know how to make a villager buy custom banners and I also want to know what the problem with my code is so that I don't make the same mistake again. This is what I typed: /summon villager ~ ~...
user avatar
  • 1
2 votes
1 answer
98 views

Do I have to re-buy Minecraft?

I was playing Minecraft some months ago on my Mac since my PC was broken. During that time I had to migrate to Microsoft, and it worked perfectly. Now I got my PC back and when I log in into minecraft....
user avatar
0 votes
1 answer
49 views

How do I display a message onscreen whenever someone logs into my Minecraft server? [closed]

I am new to running a server with Apex hosting. I want to display a simple message at the center of the screen whenever someone logs into the server. How do I do this? I would like a solution for both ...
user avatar
  • 753
2 votes
1 answer
66 views

How do I speed bridge up on Bedwars?

I'm trying to get good at Bedwars, and one of the main things that is allowing people to get the advantage over me is that they can bridge up faster than I can, thus easily getting the high ground. I'...
user avatar
  • 1,737
7 votes
1 answer
2k views

Is it possible to get the angle of the Sun to a block in Minecraft?

Minecraft has shadows in some of the shaders, and the shadows are obviously created via the positon of the sun or by timing. So is there a way to actually get this angle of elevation from the ground ...
user avatar
  • 185
1 vote
1 answer
36 views

Editing ore/structure generation with NBTExplorer

I'm new to coding shenanigans and was wondering if there was a way to increase the spawn rate of ores and structures using NBTEditor. Ive been able to change player data, spawn "illegal" ...
user avatar

1
2 3 4 5
262