1

reproduce a command when completing a custom advancement

1 emeralds5 replies31 views
panchuel started 06/22/2020 1:38 am
One_Nose replied 06/22/2020 12:53 pm
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 avatar
panchuel
Level 1 : New Miner
0

5 replies

3
06/22/2020 4:13 amhistory
Level 46 : Master Modder
2mal3
"rewards": {
  "experience": <number of xp points>
  },
3
06/22/2020 4:59 am
Level 35 : Artisan Pyro
One_Nose
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.
2
06/22/2020 4:56 amhistory
Level 35 : Artisan Pyro
One_Nose
There is no such command as /slash.
2
06/22/2020 12:40 pm
Level 1 : New Miner
panchuel
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 35 : Artisan Pyro
One_Nose
Oh.
Planet Minecraft Logo

Website

© 2010 - 2020
www.planetminecraft.com

Welcome