Let’s start with the question bottle o enchanting recipe using commands I’m trying to make a crafting recipe for XP bottles in Minecraft 1 13 I’ve made the recipe and I’ve got a command block that removes XP when you craft it experience additor scores equals XP equals 1 minus 7 points the XP objective is simply Minecraft crafted Minecraft experience uncore bottle another command block removes the score afterwards I’m removing seven points because one bottle gives between three and 11 points so I took the rough average as a compromise now I’m trying to figure out How to stop people from doing it when they have no XP I was thinking a system that removes the XP bottle from your inventory after crafting if you don’t don’t have any XP but I don’t know how to go about it any suggestions so how can we solve this There’s one possible answer answer one there’s an XP scoreboard type so you just have to create a scoreboard like this scoreboard objectives add scoreboard name XP text scoreboard display name then you can query for the score being seven or more like this at a scores equals scoreboard name Equals 7 closing curly bracket if you already have players with XP when you set up this command system then you can put their current XP value into the scoreboard like this execute as at a store result score at SXP run experience query at s points I hope this answer Helped and if it did please drop a comment and subscribe Video Information
This video, titled ‘Bottle ‘o enchanting recipe using commands?’, was uploaded by Gamers Help Advice on 2023-12-12 16:38:27. It has garnered 0 views and 0 likes. The duration of the video is 00:02:03 or 123 seconds.
minecraft-java-edition: Bottle ‘o enchanting recipe using commands?
About ————– Welcome to Gamers Help Advice, your go-to source for expert tips and strategies to take your gaming skills to the next level. Our videos cover a wide range of gaming genres and platforms, from walkthroughs to reviews and recommendations. Our team of experienced gamers is passionate about helping you achieve your gaming goals, with hidden secrets and advanced strategies to suit every style of play. Subscribe now and join our community of like-minded gamers! Thanks ————– Thanks for taking the time to learn more. In this video I’ll go through your question, provide various answers & hopefully this will lead to your solution! Content (except music & images) licensed under CC BY-SA meta.stackexchange.com/help/licensing Just wanted to thank those users featured in this video: TQ1000 (https://gaming.stackexchange.com/users/211369/tq1000) Fabian Röling (https://gaming.stackexchange.com/users/171580/fabian-r%c3%b6ling)
Trademarks are property of their respective owners. Disclaimer: All information is provided “AS IS” without warranty of any kind. You are responsible for your own actions.
Please contact me if anything is amiss.
Related to: minecraft-java-edition, minecraft-commands