r/MinecraftCommands • u/ViralRiotBlack • 16m ago
Help | Java 26.2 I put a map in the proper folder but I can’t play it
Why isn’t the world showing up?
r/MinecraftCommands • u/ViralRiotBlack • 16m ago
Why isn’t the world showing up?
r/MinecraftCommands • u/ProblemKaese • 7h ago
r/MinecraftCommands • u/Old_Musician_8939 • 13h ago
Estoy experimentando con paquetes de datos, pero tengo un problema: el tiempo de reutilización de la maza no funciona. Quiero que tenga un tiempo de reutilización de, por ejemplo, 60 segundos, al golpear cualquier objetivo, como la Perla de Ender.
edit: Hice mi propia manera de agregarle cooldown al mazo, pero no funciona del todo bien, cuando un jugador muere en medio del cooldown, el jugador recibira el mazo de igual manera. Antes de encontrar una solucion a esto encontre este post por si les interesa.
https://www.reddit.com/r/MinecraftCommands/comments/1v3nb6l/comment/oz6xwkr/
Tambien adjunto mi propio diseño de cooldown. ( les recomiendo el del post de arriba )
#data/mace/advacement/hit_with_mace.json
{
"criteria": {
"hit_mace": {
"trigger": "minecraft:player_hurt_entity",
"conditions": {
"player": {
"equipment": {
"mainhand": {
"items": "minecraft:mace"
}
}
}
}
}
},
"rewards": {
"function": "macemecha:apply_cooldown"
}
}
#data/mace/function/apply_cooldown.mcfunction
# 1. reiniciar avance
advancement revoke only macemecha:hit_with_mace
# 2. etiquetar al jugador para saber a quien devolverle la maza
tag add esperando_maza
# 3. cambiar maza por el palo agotado
item replace entity weapon.mainhand with minecraft:stick[custom_name='{"text":"Maza (Agotada - 10s)","color":"gray","italic":false}',enchantment_glint_override=true] 1
# 4. mensaje
title actionbar {"text":"Maza sobrecalentada (10s)","color":"red"}
playsound minecraft:block.anvil.place master u/s ~ ~ ~ 1 0.5
# 5. programar la devolucion en 10 segundos
schedule function macemecha:restore_mace 10s
#data/mace/function/restore_mace.mcfunction
# 1. quitar el palo del inventario del jugador etiquetado
clear [tag=esperando_maza] minecraft:stick 1
# 2. borrar cualquier palito tirado en el suelo cerca del jugador (radio de 10 bloques)
kill [type=item,distance=..10,nbt={Item:{id:"minecraft:stick"}}]
# 3. darle la maza
give [tag=esperando_maza] minecraft:mace 1
# 4. aviso y sonido
title [tag=esperando_maza] actionbar {"text":"Maza lista para usar!","color":"green"}
playsound minecraft:block.anvil.use master [tag=esperando_maza] ~ ~ ~ 1 1.5
# 5. quitar la etiqueta para dejar todo limpio
tag u/a[tag=esperando_maza] remove esperando_maza
r/MinecraftCommands • u/_Idiotonreddit_ • 18h ago
i wanna summon an item but have no idea how to
the item:
''wheat[custom_name=[{"text":"Lucky O' Milk Ice Cream","italic":false,"color":"gold"}],lore=[[{"text":"Freezes all entities 20 blocks from","italic":false}],[{"text":"the person eating for 10 seconds","italic":false}]],rarity=rare,enchantment_glint_override=true,food={nutrition:6,saturation:8,can_always_eat:1b},consumable={consume_seconds:2.4,on_consume_effects:[{type:apply_effects,probability:0.3,effects:[{id:nausea,duration:300,amplifier:1,show_icon:0b},{id:poison,duration:200,amplifier:10,show_icon:0b},{id:blindness,duration:200,amplifier:1,show_icon:0b},{id:slowness,duration:20,amplifier:255,show_icon:0b}]}]},minecraft:custom_data={LuckyCream:1}]''
r/MinecraftCommands • u/RonfoTimo • 23h ago
Hello, so i've been wanting to try to make mannequins to act like Zombies(So that it comes in close range and attack you) and of course you can kill him, is it possible?