1

Reproduce a command when completing a custom advancement

panchuel's Avatar panchuel6/22/20 1:38 am
6/22/2020 12:53 pm
One_Nose's Avatar One_Nose
I´m using mine and slash, to load the command give experience / slash give exp @s (amount of experience) when an achievement I did is completed, but it doesn´t work for me in any way, not removing the "/" and trying all "@" I´ve been stuck there for a day and a half, does anyone know what to do?


"rewards": {
"/slash give exp @p 270"
}

that´s the part of the command where it should give me the reward, I´ve tried it with mod objects and they work, giving normal experience and it works but with mine and slash experience it doesn´t work at all
Posted by panchuel's Avatar
panchuel
Level 1 : New Miner
0

Create an account or sign in to comment.

5

2
06/22/2020 4:56 amhistory
Level 57 : Grandmaster Hero
One_Nose
One_Nose's Avatar
There is no such command as /slash.
2
06/22/2020 12:40 pm
Level 1 : New Miner
panchuel
panchuel's Avatar
the command does exist, but as I tell you, it is part of the mine and slash MOD, that if they have tried it, it is seen that it adds some bars to the interface and one is yellow (the experience of the mod), then how would that command be called ( because it is a different experience than the vanilla experience)
2
06/22/2020 12:53 pm
Level 57 : Grandmaster Hero
One_Nose
One_Nose's Avatar
Oh.
3
06/22/2020 4:13 amhistory
Level 67 : High Grandmaster System
2mal3
2mal3's Avatar
"rewards": {
  "experience": <number of xp points>
  },
3
06/22/2020 4:59 am
Level 57 : Grandmaster Hero
One_Nose
One_Nose's Avatar
This is the answer, but there should be no comma after the "}" (it doesn't work else) and the third line should not be indented (it looks bad else).
Hope it doesn't look like an angry post, I just wanted to fix some things.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome