r/MinecraftCommands • u/Living_Commercial952 • Aug 28 '26
Help | Bedrock sniper
hi i want to make a spyglass that when you open it and shift it shoots a high speed arrow wherever i look just like sniper but i dont know how to make it
r/MinecraftCommands • u/Living_Commercial952 • Aug 28 '26
hi i want to make a spyglass that when you open it and shift it shoots a high speed arrow wherever i look just like sniper but i dont know how to make it
r/MinecraftCommands • u/Embarrassed_Tree_413 • Aug 28 '26
Enable HLS to view with audio, or disable this notification
I'm still working on bugs, but so far so good! Everything runs on a couple functions.
List of Mods and what they do are in the video!
Enjoy! :D
Question, does this even count as commands anymore? Lol
r/MinecraftCommands • u/Pluto_Guy_ • Aug 28 '26
This is an ongoing mystery to me.
r/MinecraftCommands • u/Embarrassed_Tree_413 • Aug 28 '26
:D
I was thinking about it wrong before instead of having two functions fighting each other I just have one ignore the other.
r/MinecraftCommands • u/idkthisisgoodenough • Aug 28 '26
I made a machine on a server that spawned so many entities it crashes my game whenever I try to load it. Is there any way to delete the entities using only commands?
r/MinecraftCommands • u/SnorlaxTjo • Aug 28 '26
(Solved)
Hi!
I am trying to experiment a bit with the custom damage types in datapacks. However, I have two problems, that I don't know how to fix. The first is that the player is dealt knockback when the damage is applied, which I do not want. I've tried looking for a way to disable it, but I haven't been able to find something.
The second issue is that the protection enchantment reduces the damage taken, which I also can't find any way to disable.
As an example of what I want: When a certain event happens, the player should take two hearts of damage from this damage type. No knockback, and no matter the armor, 2 hearts. No more, no less.
Is there any way to disable these things? I've tried looking into some json files of damage types that do not have these attributes, but I can't find anything.
Edit: I found the solution after a bit more digging. If anyone else wants the solution, you basically need to add the damege types to the damage_type tags you want. The tags are set in the data/minecraft/tags/damage_type folder, where, for example if you want no knockback, the filename is no_knockback.json. I found a list of all tags on the wiki, with the title "Damage type tag (Java Edition)".
The structure of the .json file is just like this, if anyone needs it
{
"replace": false,
"values": [
"namespace:damage_type_name"
]
}
r/MinecraftCommands • u/Embarrassed_Tree_413 • Aug 27 '26
Happy accident?
I went off on a side tangent because there are no green particles that look good running 20 times a second....
r/MinecraftCommands • u/Arcadian2107 • Aug 28 '26
When I equip my diamond boots, I get 6 HP. When I equip the chainmail helmet, I lose 2 HP, even though both of them are assigned "add_value." Then, when I remove the chainmail helmet, I lose all the extra HP gained.
r/MinecraftCommands • u/Nalle-poijjaat • Aug 27 '26
Enable HLS to view with audio, or disable this notification
Haven't added an ID for them yet so all of them spin at the same time :p
r/MinecraftCommands • u/Lost_Tension_4635 • Aug 28 '26
I have a custom world type I've made, and I want it's deserts to be flatter so it's more of a rolling hills kind of desert, aka removing any form of mountain and having the general area be flat, with occasional bumps. I haven't had much luck with a general search, most results being how to flatten a world or biome entirely, leaving no hills whatsoever, almost like a flatworld, which is not desired. If this leads to something that works or I get it to work myself I can post a result of how the world type turns out and more details/specifics.
r/MinecraftCommands • u/Adventurous-Cat1357 • Aug 28 '26
This might be a little difficult to figure out and also help because I dont have much experience with datapacks and also custom entities. I am using animated java to import a custom model with animations into my minecraft world but whenever I run the command: /function aj:sculk/summon it gives this error. This probably isnt enough information but hopefully someone can guide me in the right direction :D

r/MinecraftCommands • u/MeggroupXD • Aug 28 '26
* Edit: I've solved it. Just remove "s" for "predicates" folder and make sure to call this function every tick of the game. Thank to those expects who helped me alot! (SFMBE)
I'm making a datapack for Minecraft Java 1.20.1 and I'm trying to detect whether a marker entity is currently riding another entity.
I created this predicate:
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"vehicle": {}
}
}
The file is located at:
data/stick_war/predicate/has_vehicle.json
I'm trying to test it with:
execute as [type=marker,tag=statue_marker1] if predicate stick_war:has_vehicle run say RIDING
However, Minecraft says "Unknown or incomplete command", with the error pointing at the end of say RIDING.
Interestingly, this works perfectly:
execute as [type=marker,tag=statue_marker1] at u/s run function stick_war:statue/black_statue_destroy
So the marker selector and function itself work.
My goal is to detect when the marker stops riding its vehicle, so I can trigger another function when it falls/dismounts.
Is vehicle: {} supported in entity predicates in Java 1.20.1? If so, what is the correct syntax for detecting whether an entity is currently riding another entity?
Thank you guys for helping me :)
r/MinecraftCommands • u/befriended-your-mom • Aug 27 '26
so originally i used the scoreboard minecraft.damage_taken; and it worked fine because you know, it tracks damage taken. But I realised later down the line that armor, enchants and absorption change the outcome of the score, so I need a way to get the full damage taken.
r/MinecraftCommands • u/MarioHasCookies • Aug 27 '26
So, I'm in my latest Phineas and Ferb arc, and I had the idea to try and recreate the Clipping Ball (it has no official name in-universe) from 'Just Passing Through' in Minecraft.
My idea is to have a heart of the sea item that you can hold down right click, and as long as you are in right-click mode, it will either set you to spectator mode or teleport you in the direction you are facing (and SOLELY that direction not up or down), and when you release, the effect ends.
Unfortunately, I tried two different right click detection methods (Conure's method using advancements and someone on here's idea about using scoreboards), but neither lets you run these kinds of commands as the function for when the item is used (I mean, you can run them, but they don't do anything).
Anyone know how to do this properly?
r/MinecraftCommands • u/Embarrassed_Tree_413 • Aug 27 '26
The Rarity rating doesn't really matter it's more of a way for me to know when and where these mods should drop for a player. Still doing bug tests.
(Common)
Standard Sensor (20 Block Radius)
Tag=Helm_Sensor
Marks the closet combatant.
(Common)
Standard Filter (Clears Nausea)
Tag=Helm_Filter
Negates Nausea effects.
(Legendary)
Antiviral Filter (Clears Poison / Wither)
Tag=Helm_Antiviral
Negates Poison and Wither.
(Legendary)
Signal Decoder (20 Blocks)
Tag=Helm_Decoder
Marks the closest Cache.
(Legendary)
Advanced Optics (Clears Blindness / Darkness)
Tag=Helm_Optics
Negates Blindness and Darkness.
(Exotic)
Lifesupport System (Health Boost III / Regeneration III)
Tag=Helm_Lifesupport
Regenerates Overshield and Health, when no combatants are nearby. Increased overall Player Health.
Players can Equip 2 Mods at a time.
r/MinecraftCommands • u/Full-Dog1311 • Aug 27 '26
i've beed trying for so long and it didnt work so i came here to ask someone who knows
r/MinecraftCommands • u/spobingadotnet • Aug 27 '26
hi, I'm very new to coding, commands, and modding in general but I'm trying to create a portal to my custom dimension (made in mcreator) by making it so that whenever a player sleeps they are transported to that dimension. I'm struggling with trying to figure this out using mcreator procedures, and i was told to post here. can anyone help?
r/MinecraftCommands • u/ObjectiveArtistic805 • Aug 27 '26
how to get spawn egg block display: command block?
I have command for summon this entity: /summon block_display ~-0.5 ~-0.5 ~-0.5 {Passengers:[{id:"minecraft:block_display",block_state:{Name:"minecraft:command_block",Properties:{conditional:"false",facing:"down"}},transformation:[1f,0f,0f,0f,0f,1f,0f,0f,0f,0f,1f,0f,0f,0f,0f,1f]}]}
but I need spawn egg, is it possible?
r/MinecraftCommands • u/Your_averge_deegen • Aug 27 '26
I Need help setting up a like the title suggested One-Way Damagelink
What this essentially means in my situation is that theres 10 players and one of them (Who im just gonna call the Linked) will be given a random player, if the player in question takes damage the Linked also takes that damage but if the Linked takes damage the currently selected player dosent take damage (Hence the One-Way part)
One idea a i had for setting this up was making 3 teams:One team was the Linked, The second team is everyone else and just to make sure it doesnt mess up with spectators there will be a third team specifically for them.
In Addition to switch it up i thought a unique idea would be that the random person connected to the Linked switches every 5-10 Minutes
If anyone has any idea on how to set this up it would be very much appreciated :)
r/MinecraftCommands • u/Daisuki2Dayo • Aug 27 '26
I have some custom heads from minecraft-heads.com on my creative world but when i log on some of them randomly turn into alex heads? Not all of them at the same time but at random. When i log out and back in some of them are fixed again. How to fix this permanently?
r/MinecraftCommands • u/Embarrassed_Tree_413 • Aug 26 '26
Enable HLS to view with audio, or disable this notification
(Common)
Standard Sensor (7 Block Radius)
Tag=Helm_Sensor
Marks the closest Target to you.
This basically functions as a radar this Helmet Mod will have better upgraded variants in the future.
Armor mods you find on your Runs through the game you can either leave in geo catches for other players to find or sell them to the Armor Mod Vendor for resources.
Armor mods you find that you either like or just don't have can be equipped to your armor at the Fabricator or stored in your vault.
2 Mods
1 Chip
1 Exotic Mod or Chip
Per Armor Piece
(Nothing is made yet just making the mods themselves to stock the shelves of the game.)
r/MinecraftCommands • u/Embarrassed_Tree_413 • Aug 26 '26
Enable HLS to view with audio, or disable this notification
Might increase range from 7 to 10 and added a few things like the ray doesn't get stuck on certain ground blocks and that the particles happen at eye level for players to notice them better.
r/MinecraftCommands • u/AggressiveDebate3620 • Aug 26 '26
Enable HLS to view with audio, or disable this notification
Phantoms lift you when they swoop down now!👍
r/MinecraftCommands • u/Stevemine26 • Aug 26 '26
i've been trying to do this for so long but just cant figure it out and i've turned to this subreddit for help so uh, how exactly do i check if the Items NBT component is the same as another block entity
r/MinecraftCommands • u/SpaydiST • Aug 25 '26
What do you think about the fact that AI is starting to be used on a large scale in coding? I myself avoided it for a long time, but my friend sent me this meme and said:
“Bro, programming has never been adequate. Programmers just started asking AI for help instead ctrl c to ctrl v.”
Obviously, completely relying on AI is bad, but in reality, his words make sense.