Started by
Pixelblock_Gaming
on
Topic category: Help with Minecraft modding (Java Edition)
I tried to replace an item with another once right clicked. That worked than I tested if the player was at least Lv3 and wanted to remove 20XP.
But there is no part that says "remove _ EXP". The only workaround I could think of was typing a negative number in add EXP, but that made the Xp bar glitch out and players were stuck on thier level, even if more xp were removed then should be possible
Any ideas?
Now I can't open mcreator
but I create something like "set xp"
and get xp
If there is then I could use something like:
set xp (get xp - 20xp)
type "XP" into the procedure search bar
Pepper, as far as im aware this code block is MCreator 2021 exclusive.
I should have probably elaborated that im still stuck on MCreator 2020.2 since I want to release that feature in my 1.12.2 Mod.
Run command in name of "target entity":
Create text with:
I suppose it is this way but i dont really know the syntax back in 1.12.2
PS;There is a plugin to add 1.12.2 support to Mcreator 2021
Thanks Supermod! This plugin could realy solve my problems. Also sorry for responding so late. I took a break from MCreator