Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [minecraft]

Do not use this tag for Bedrock edition! Mojang's exploration and survival based sandbox game in almost endless, procedurally generated worlds. This tag is for Minecraft Java edition on the PC. See the tag wiki for related tags. Please note that questions requesting technical support for modded Minecraft issues are off-topic.

0
votes
0answers
26 views

How can I run a command in server control panel and have the result said in game chat?

I'm trying to get my server to type "tps" into the console every 5 minutes and then forward the result to the ingame chat for players to see. Right now if I type tps into the control panel it just ...
3
votes
1answer
115 views

The Enderman is completely passive

I play Minecraft 1.14 in Hardcore Mode. I provoked an Enderman, so in the first place he tried to attack me, but then I ran away from him, but I wasn't running or looking back. Using the third person ...
-5
votes
1answer
39 views

minecraft testfor @r[r=13] “/gamemode ”that player“ adventure” [closed]

I have a command block that looks for a player in its radius, but wonder if I then can do this: /testfor @r[r=13] /gamemode adventure "the random player"
0
votes
1answer
146 views

Creating a Linux (or Minecraft) Macro that would change the seed number to a random number and start the server

I am new to Linux so any help is good help. I am trying to make a Minecraft Hardcore server for me and friends, where once you die, you are dead and can only spectate, but that is not what I need help ...
1
vote
1answer
121 views

How to check if a spawner is broken in Minecraft 1.14?

So the new 1.14 update seems to have changed a lot of commands (again). All I'm trying to do is detect when the player breaks a spawner in a specific location. Say for example the spawner is at -200 ...
-1
votes
1answer
181 views

(Minecraft Java 1.14) CanPlaceOn tag not working

I'm making an adventure map, and I want players to get a button that can be placed on a gold block. The command worked in version 1.13, but now it just doesn’t. The command I used was: /give @p ...
1
vote
1answer
47 views

How can I make a power rail inactive when it's next to an active one?

I'm building a Minecart track. In order for it to work correctly, I need the minecart to stop in the middle of the track, and the best way to do that is to use a power rail that is not receiving a ...
1
vote
0answers
20 views

Can I remove a spawnpoint? [duplicate]

When I set a spawnpoint using commands for me or another player, I keep spawning at that exact point, with an exception: when I change it. What I want, though, is to remove it completely and spawn at ...
-3
votes
1answer
74 views

(Java Minecraft 1.14) Trouble giving a scoreboard tag to a /given item

I have the command /give @p minecraft:nether_star{Tags:["catalyst"],Enchantments:[{id:"minecraft:channeling",lvl:1}],display:{Name:"{\"text\":\"Catalyst\",\"color\":\"yellow\"}"}} 1, which works ...
0
votes
1answer
80 views

Creating Minecraft empty SkyBlock map

i need your help. I'm trying to create my own SkyBlock map for 1.14 Minecraft but im struggling. I am able to create a empty overworld map, thats not the Problem. But how do i create an empty Nether ...
1
vote
1answer
46 views

half the xp on respawn in minecraft 1.14

I run a server with my friend and the majority of the members want keepinv enabled which he's fine with, but he'd like the xp to be half'd in order to create an incentive to not just reset whenever, I'...
1
vote
1answer
60 views

Announce when player enters the nether in 1.14?

I'm not very knowledgeable in mc commands but I had been trying to write a system that would announce if a player had entered the nether using execute and scoreboard, unfortunately the outcome was ...
1
vote
1answer
87 views

Is it possible to display output of /data from a command block?

I'm playing 1.14 and wanted to test some villager mechanics in a creative world. To help debugging I thought it'd be a good idea to constantly print the home/workplace information of the closest ...
-2
votes
1answer
174 views

(Java Minecraft 1.14) How to use /data with an nbt path?

This site and this site both speak of an nbt path which allows me to put a certain value (say, the durability of the currently held tool in a player's hand) into a scoreboard. The wiki describes a ...
0
votes
1answer
21 views

I can't see a fireball in mc 1.13

I can only see a fireball summoned for a split second, and then it disappears... It will show its self every five seconds or so, but I pretty much can't see it. It still exists within the world, as ...
-2
votes
1answer
33 views

MC Home and random teleport on a vanilla server

How do I allow my server patrons to be able to have a home set to tp to and to be able to randomly teleport around the world? i.e....Rendogs mc server
4
votes
1answer
116 views

Why do barriers have a blast resistance of 18,000,003 rather than 18,000,000?

I've been looking at the minecraft blast resistance values, and I came across something strange: Bedrock has a blast resistance of 18,000,000. Structure blocks have a blast resistance of 18,000,000. ...
0
votes
1answer
55 views

(Java Minecraft 1.14) How to detect when a spash potion explodes, and it's position when it explodes?

I'd like to summon a fuse 0 creeper at the position of a splash potion when the splash potion hits something. What I need to know is how to detect when it hits something. I have three ideas currently: ...
0
votes
1answer
172 views

(Java Minecraft 1.14) Unable to give player custom potion with Harming 4?

I'm trying to make a Holy Hand Grenade type of splash potion which has instant harming 4. I have give @s minecraft:splash_potion{CustomPotionEffects:{id:7,Amplifier:3,ShowParticles:0},Enchantments:[{...
1
vote
1answer
103 views

Break blocks in adventure mode

I've been using the /give @p minecraft: diamond_shovel 1 0 {CanDestroy: ["minecraft: sand", "minecraft: grass"]} command to destroy blocks in adventure mode, but now I need the pickaxe to break all ...
0
votes
1answer
36 views

In Minecraft version 1.13.2, is it possible to command a block that asks the player what command they would like to trigger in the chat?

I'm making a teleport elevator command, where you can go in and select one of many levels. To save space and not have a button or sign for each level, I thought it could show the options in chat like, ...
3
votes
1answer
295 views

Minecraft 1.14 Raids

In Minecraft, do raids only happen if you enter a village with an omen, or just randomly when you are in a village? Surprisingly I couldn’t find the answer to this anywhere.
0
votes
1answer
95 views

Getting “NullPointerException” after upgrading Minecraft launcher [duplicate]

This is surely not a new issue, but I can't resolve it using the questions already present: The launcher said there was an update available, so I upgraded it. Now I am getting this Java error: ...
2
votes
1answer
63 views

Do unenchanted books not stack with regular books?

So I have been doing a lot of AFK Fishing, looking for some mending books. And now, with 1.14 giving us the Grindstone that can remove enchantments, I've been using that so I can get some more books ...
-1
votes
1answer
3k views

Minecraft 1.13/1.14 Crashing on Launch

I've been trying to fix this for a while now, and I have even looked all over for solutions and have tried many things, including changing the run file think to java.exe, but my Minecraft 1.13 and 1....
-2
votes
1answer
58 views

How do I give a player a message when their hunger is low?

I want players to get the message "Your hunger is low: eat something." when their hunger is at three bars.
4
votes
2answers
273 views

(Java Minecraft 1.14) Damage nbt can't be used to select item entities?

I'm trying to select a diamond axe which is on the ground and has no durability used up. I have the command execute as @e[type=item,nbt={Item:{id:"minecraft:diamond_axe",Count:1b,Damage:0}}] at @s run ...
1
vote
0answers
102 views

(Java Minecraft 1.14) How to remove a specific amount of hunger points from a player?

A heavily requested feature on a server I play on is Veinmeiner, however the server owner doesn't want to add mods. As a result, I'm writing a datapack for it. I've got most of it working, except for ...
0
votes
1answer
35 views

Is there any way to add a “wildcard” text to an execute command?

As those who have seen/answered my questions before are aware, I run a modified SMP server for my Discord. I want to add a system where players can set their home, in a way, through a warp system, ...
4
votes
0answers
557 views

Wandering Trader Spawning?

The wiki says that every 20 minutes the wandering trader has a 7.5% chance of spawning within 48 blocks of the player, but: Does the normal "not within 24 blocks of spawn point" rule apply? Does he ...
-2
votes
1answer
44 views

Live display of player speed? 1.13.2

I saw it in this video timestamp: ?t=2m48s But author didn't explain how to make it.
1
vote
2answers
124 views

Why won't my dark oak saplings grow when placed in a 2x2 square?

I have Dark Oak Saplings placed in a 2 x 2 square and with 6 blocks of space around them on all sides. Yet, they still won't grow even after I dumped four full stacks of Bone Meal on them. Can anyone ...
1
vote
2answers
615 views

What's the most efficient way to obtain XP from 1.12 - 1.14?

I've only played a lot of Bedrock edition, but I just came up with Minecraft Java Edition and I have no clue here. I made a bit of research and found out that these ones are around the best: ...
2
votes
1answer
97 views

(Java Minecraft 1.14) Was the {Levels:n} beacon tag removed/altered?

I'm trying to run a command if a nether star is two blocks above a fully powered beacon. In 1.13, the command execute as @e[type=item,nbt={Item:{id:"minecraft:nether_star",Count:1b,tag:{display:{Name:...
0
votes
0answers
18 views

Was knockback nerfed in any version?

I have been on PvP servers for quite some time now. On 1.8 servers, i can deal knockback as usual. However, in other PvP servers like those on Minehut, the knockback seems to be lower. I think the ...
0
votes
1answer
87 views

In Minecraft, how can I use Curse of Vanishing and Curse of Binding to my advantage in Singleplayer Hardcore Mode?

I recently traded with a villager and got a Curse of Binding and a Curse of Vanishing enchanted book. I am in version v1.14 with no mods and I want to know if I can use these books to my advantage.
0
votes
0answers
864 views

Can trade with villager without workplace (1.14)

Minecraft 1.14 just rolled out and I wanted to create a new village. So I cured two Zombie villagers. Both of them had immediatly their jobs (Farmer and Weaponsmith), despite there were no workplaces ...
1
vote
1answer
252 views

(Java Minecraft 1.14) How to /give a written book?

I'd like to give a player a written book, but I keep getting "invalid book tag" whenever I actually open the book. The wiki says to use a "serialized JSON object or an array of strings and/or objects (...
3
votes
4answers
166 views

How can I stop players from spawning at their beds in Minecraft 1.14?

I have been making a custom UHC map for a while now. It wouldn't be PVP-based, just try to last the longest, but the catch is that after dying, that's it: you are back to spawn, then teleported to a ...
4
votes
1answer
57 views

Removed resource pack from options because it doesn't seem to exist anymore

I have a couple of resource packs enabled for Minecraft. 2 of them are my own custom creations. The last one is "Programmer Art" that came with 1.14. For some reason, one of my resource packs always ...
0
votes
1answer
92 views

Stopping bats from spawning in vanilla minecraft--Without killing them

Lots of people have asked questions about how to stop mobs from spawning, but the answers are almost always to /kill them all. This is not what I want. I don't know if this is possible, but using ...
0
votes
1answer
56 views

How to count total items on the ground

Items on the ground clump together in stacks, so getting the number of entities doesn't give me the number of items there are. Is there a way to count the number of items instead of the number of item ...
0
votes
0answers
16 views

Constant Minecraft teleportation [duplicate]

I was trying to make a little minigame for some friends that teleports them to an arena location and puts them in adventure mode once they step on a pressure plate but I somehow managed to make a ...
1
vote
1answer
56 views

Item sorter with multiple items per tick

General Info I'm playing on a server where they modified the hoppers to pass 8 items per tick instead of 1. The system I want to build I'm working on a casino game. User tosses 1 item into a hopper. ...
0
votes
1answer
117 views

Minecraft 1.14 - Kill two random arrows when shot from a crossbow with multishot enchantment

I'm trying to create a command that will kill two random arrows shot from a multishot enchanted crossbow (that shoots 3). I wanted to make a bow that would either shoot only left, middle or right. I ...
-1
votes
1answer
73 views

Minecraft Commands - Detecting an item on the ground with a custom tag

I want to detect an item on the ground with a custom tag (e.g. spark:1b). I run this command: /give @p blaze_rod{spark:1b} 1 Then I throw it on the ground and run this command: /execute as @e[type=...
1
vote
1answer
74 views

Detect an Empty Hopper in MC 1.12.2

I'd like to use a command block to detect when the first slot of a hopper has no items in it in 1.12.2 (Or alternatively, if no slots have items in them). I already know how to search for a specific ...
1
vote
1answer
36 views

I cant find my Minecraft Screenshots anywhere, i have looked at %appdata%/.minecraft Does anyone else know a way i can view them? [duplicate]

I cant find my screenshots folder anywhere, its not in the app data folders, I am just wondering if there is any other way to view my screenshots or if I could somehow get my screenshots folder back ...
1
vote
1answer
114 views

Will Villagers maintain their Profession from 1.13?

So I recently updated to 1.14, and returned to one of the villages that I had previously visited. For the most part, all the villagers did not have any professions (when I clicked on them they simply ...
0
votes
1answer
175 views

(Java Minecraft 1.14) How to detect multiple item entities which are stacks of the same size on a particular block?

I have a function in a datapack which is supposed to check for the presence of four stacks of flesh and four stacks of bones on four soul sand and four quartz blocks respectively. To do this, I've ...