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
26 views

Find every generated mending book in 1000x1000 world

By generated mending book I mean chests and chest minecarts that generate in structures. Is there an external tool that would allow this? The /data command works only in loaded chunks, but more ...
-1 votes
1 answer
79 views

Minecraft Unbreakable

How do you use the Roughly Enough Items cheat command method? Because I want to edit the NBT. So if I click on an item, it will have the Unbreakable tag. I searched the whole night just for this and ...
4 votes
0 answers
37 views

Can villager trades ignore additional NBT tags and order of NBT tags?

I have a villager with trades involving tattered written books. The reason I'm using them is that they're unclonable, ensuring their scarcity. To obtain the written books, players can trade in regular ...
3 votes
1 answer
265 views

How to spawn item/block/entity at player death point?

I am working on a Minecraft "Mini-"Game and want a command that makes an entity (like a zombie) spawn at the death point of a player.
2 votes
1 answer
58 views

Is there an inexpensive method of applying effects to a player based on an item in their inventory?

I'm running a server for a group of friends with a significant number of custom items which give an effect when in the player's inventory (NOT just when held, which minecraft supports natively). ...
1 vote
4 answers
1k views

How to make a implication gate using command blocks?

I have tons of two-lever implication gates in a map I'm making, and in some cases there isn't enough space to place it. The gate, a bit expanded for simplicity, looks like this: This setup does not ...
1 vote
1 answer
40 views

Is it possible to teleport an entity with a specific nbt but without filling it in?

I'm wanting to teleport entities that have a name, just like when you use tags to name a creature in Minecraft, and I wanted to teleport any and all entities that have a name, whatever it may be, is ...
2 votes
0 answers
30 views

Conditional Loot tables for Minecraft 1.18.2

Is it possible to create conditional loot tables based on an item? I'm trying to recreate the survival games with guns experience I played long ago on an old server and am trying to set up the system ...
-1 votes
1 answer
45 views

Lifesteal effect command: when an entity is hit or dies, it will give the player instant healing [closed]

I am making a map in Minecraft where you would fight off hordes of hostile mobs. I've been struggling to add a "lifesteal" effect because all "lifesteal" effect tutorials are only ...
4 votes
1 answer
40k views

How do I replace certain blocks? [duplicate]

I was bored on Minecraft, and so I created a Superflat world with villages. Is there any way that I can replace all of the gravel to say... TNT? I felt like being destructive, and I was wondering if ...
2 votes
2 answers
98 views

How can I delete these floating entities in Minecraft that exploiters have spawned to lag the server?

Griefers have spawned these floating entities in my server (Ender Dragon and fire charges) that I cannot interact with. They are causing serious lag, due to the ender dragon having a huge name of ...
1 vote
1 answer
1k views

FTB Direwolf20 pack automatic ME Crafting

I want to make an me system that crafts cobblestone in compressed cobblestone if you have more than 2 stacks of cobblestone, then crafts that compressed cobblestone in double compressed cobblestone ...
1 vote
1 answer
3k views

What is the default Java executable file on Mac?

When I click the 3 dots next to an installation of Minecraft (in my case 1.18.1), and click Advanced, it doesn't mention anything in the Executable path under Java Settings (Advanced). So my question ...
3 votes
1 answer
31 views

Different loot table for naturally spawned/summoned Vindicator

I'm trying to see a bug that occurs in certain mobs when they have an enchanted item in v1.16.1, but I just realized that the loot table for summoned vindicators with: /summon minecraft:vindicator ~ ~...
4 votes
3 answers
2k views

Can commands be used to concatenate NBT strings?

I have a grid of buttons representing letters and numbers on a wall. The player can press these buttons to enter text into a machine. Each letter is typed by adding a string with that letter to the ...
5 votes
1 answer
467 views

Using /execute command, how do I check if a block is one of multiple possibilities?

Using an /execute command, I want to check if a certain block is, for example, either oak_fence, OR iron_bars. However, in my specific case, I can't just use two command blocks to check for either one ...
4 votes
3 answers
27k views

Why isn't Minecraft using the full amount of RAM?

Before you jump to conclusions, I've tried to solve this before asking. I cannot seem to get Minecraft to go above 5% of the allocated memory. Here's what I've done: set the max fps to like 130, ...
4 votes
2 answers
639 views

Change skin in "cloned" minecraft

I have not really cloned my Minecraft, but kinda. On my laptop I run my Minecraft with command file (.bat) instead of the usual launcher, and on my gaming computer I run it as usual. This is so I can ...
3 votes
2 answers
890 views

Finite outer islands in the Minecraft End?

I am playing on a public server with a giant map. After travelling a huge distance in the End and passing thousands of islands, suddenly there are no more islands. I guess I am at the edge of the ...
2 votes
0 answers
12 views

Can multiple custom biomes share the same generation features?

I'm working on a custom dimension datapack, and the dimension is just two biomes. Whenever I try to generate terrain in that dimension, the game crashes, referencing a "feature order cycle" ...
0 votes
1 answer
2k views

Custom predicates for custom items in Minecraft don't work

I have created a custom resource pack and model using Blockbench, now I want to have a custom texture for a gold nugget with certain custommodeldata but when I enable the resource pack and load in ...
1 vote
1 answer
31 views

Any way to crossfade music?

I would like to be able to create a music crossfade in an adventure map that I'm creating. The idea is to overlap two versions of the same song, one the "chill" version, another the "...
1 vote
0 answers
11 views

Minecraft crashes when loading custom dimension/biomes, due to a feature order cycle

I'm working on a custom dimension, which is very basic, and has 3 custom biomes that are essentially just features cobbled together from other biomes. However, I cannot load my testing world, as it ...
2 votes
1 answer
218 views

Tick.mcfunction file spontaneously gets disabled. How to fix?

I was coding my first Minecraft data pack, and everything was working perfectly for the first bit. After some time of coding, the tick file seemed to entirely stop working. I checked in the tick.json ...
0 votes
0 answers
12 views

Formula to decrease linear deline

I am using a Minecraft mod called armor curve which allows you to adjust the stats of armor. In the following formula, it makes durability based on remaining durablity. I would like to change this so ...
1 vote
4 answers
2k views

How to enable redstone wiring with a flick of a lever?

I'm looking for a solution to enable redstone wiring (completing a circuit) by flicking a lever. If you don't know what I'm asking for, imagine that sticky pistons could push redstone dust, and ...
1 vote
3 answers
2k views

Redstone door lock (memory cell)

I want to make a pvp map which has 2 spawnpoints on the map. The spawnpoints are closed off with an iron door. The teams can both get ready by flipping a lever. Now i want to make it so when both ...
4 votes
3 answers
689 views

Need help with redstone logic memory cells

I need some advice if possible regarding making a memory cell, specifically what type of memory cell I should look at employing. I assume I want a T-Flip-Flop but I'm not too sure. Basically the ...
-5 votes
4 answers
57k views

How do I spawn fused TNT at a players location through the console?

Wanna troll a friend on minecraft I couldn't find anything on the internet so I went here
3 votes
0 answers
30 views

How can I detect which hotbar slot a player is selected when all the hotbar slots are empty?

I'm creating a datapack that needs to detect when the player has a specific hotbar slot selected. The issue is, I also need all hotbar slots to be empty. Is there any way to do this?
2 votes
3 answers
3k views

How do I execute multiple function within another function?

In Minecraft 1.13.2 Java I want to execute multiple functions (from function files). To be executed is a series of circle ploting in order to create a circular tower. The code for the circle:05 ...
1 vote
1 answer
75 views

Remove turtle from chest boat without breaking the boat?

I have a chest boat parked at a village, far away from what I thought looked like a beach. But in the short time I've been in the village, a turtle has decided to get in the boat. Breaking the boat ...
21 votes
7 answers
45k views

Is there a way to find which version a Minecraft world was created in?

I have quite a bit of old minecraft worlds lying around. With the new launcher, I understand I can create profiles for older versions of minecraft, give them their own folders, and copy the saves over ...
1 vote
0 answers
64 views

Unable to join my own Minecraft server while others can

I had a Minecraft server on my main PC, and decided to move it to my laptop. When I started it, my friends could join with my public IP address, but I can't join with the IPv4 IP nor the public IP. I ...
3 votes
1 answer
444 views

What is the name of this shader pack?

I have always seen this shader pack throughout the internet, but I could never find any info about what it was called. (The main differences are the clouds and the water reflections.) Screenshot
4 votes
1 answer
766 views

How can I play Minecraft through a SOCKS5 proxy server on Linux?

The title explains most of it: I have been searching around regarding this question and have searched places like: Run Minecraft with proxy on Linux, How can I play Minecraft through a proxy server? ...
2 votes
1 answer
46 views

How do i get a sword or any tools in Minecraft java edition with a specific amount of durablity [duplicate]

Is there a way to get a sword that is used and has only half of its durability left, or has a specific amount of durability left? e.g.: i want a netherite sword with 1024 durability remaining, but ...
2 votes
1 answer
463 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.
1 vote
0 answers
31 views

How can I change the size and frequency of villages in Minecraft?

I am running Java 1.20.1 on MacOS, and am curious as to how to change the world generation settings to affect the size and frequency of villages. I am completely new to JSON files and all that, and so ...
6 votes
2 answers
1k views

How to summon a splash water bottle with no gravity?

Right now, I'm making a "Fire Hose" item which shoots splash water bottles. I've got the velocity and everything working but for some reason it falls much quicker than I expected, and the ...
5 votes
1 answer
55 views

Detecting the block under the block an entity is standing on

I'm attempting to build a datapack, and I need to know the block at @e[tag=relevantMob] ~ ~-2 ~ (The block under the block the relevantMob is standing on). Is there an easy and compact way to get that ...
1 vote
1 answer
164 views

Can scoreboards detect if a player is killed with a specific item?

I'm making a sword that will gain attack damage every time a player gets a kill with it. I think I can get the sword attributes to change based on a scoreboard, but I don't know if I can make a ...
-2 votes
3 answers
2k views

What is the difference between Minecraft java edition and bedrock edition? [closed]

I have just recently started playing Minecraft again after a 4 or 5 year hiatus (java edition ~v1.8 apparently), so I have a couple questions: What's the difference between Minecraft Java Edition and ...
4 votes
1 answer
225 views

How do I make a simple dice roll to display in chat as a number?

I want to have a button in the world that when pressed will roll a number between 1 and 20 using the /random roll 1..20 command and then display it to everyone in chat, something like "You rolled ...
3 votes
2 answers
4k views

How do I separate an enchantment book with multiple enchantments?

I have been enchanting books in minecraft lately since I wanted Looting for my pickaxe and I finally enchanted a book and got it. I then realised I had Silk Touch on it as well. How do I separate them ...
2 votes
2 answers
332 views

How does player distance affect zombie reinforcement spawning in minecraft?

Recently I have been designing a mob farm utilising the zombie reinforcement mechanic, which I have got mostly working there are just a few issues that I don't understand and can't find anywhere. ...
1 vote
0 answers
47 views

How to fill an area with low leveled floating still water in Minecraft 1.8.9?

I once saw this type of water in a parkour server. But when I want to create a map in singleplayer I can't work out how it can be placed. I know /setblock to set water level, but it can only place one ...
13 votes
2 answers
415k views

Why doesn't my End Portal work?

I'm making an End Portal in Creative Mode and it won't work. I have a Minecraft combat handbook and I made a portal just like it says to do it. Do you have to be at a stronghold? I tried lava first ...
2 votes
2 answers
66 views

Is there a way to allow a certain block to be placed in adventure mode?

I am trying to organize the work of mail on the map with the adventure mode and the Ender Mail mod. Is there a way to allow a player in adventure mode to put and destroy a certain block always and ...
13 votes
21 answers
84k views

What is the safest way to kill blazes?

What is the most effective way to defeat blazes in Minecraft without taking any damage? If I attack them from a distance, they can easily set me on fire with their fireballs and take away 6-8 hearts ...

1
2 3 4 5
269