Started by
Constant Constantine
on
Topic category: Help with Minecraft modding (Java Edition)
I want to make an item that only works when the player has a certain range of xp levels but, I can't find any procedure block that looks like it would even remotely help.
(An example of an item like this would be a staff that can only be used when the player has 10 - 100 xp levels.)
I am using mcreator 2023.3 for forge 1.20.1.
Edited by Constant Constantine on Mon, 11/27/2023 - 19:14
https://imgur.com/a/JP4WF6w
here is a simple procedure to check if player has a level between 10 and 100
Opps I made a little mistake : change this block : 'Get Xp level of event/ target entity >= 100' to 'Get Xp level of event/ target entity <= 100'
and your good to go
@howtoredstone actually, I had to flip both, not just the one. But other than that, thanks a lot! It works exactly as I wanted it to.
Yeah sorry for that... I didn't test it so i knew that it will has some problems... any way np.. :)