Add an "Add Potion Effect" inside the If-Statement. Choose "with Level" 0 and the Potion Effect you want (Poison). You need to scroll a bit for the Poison Effect. Then select the Duration (In ticks). First, take out the "60". Use an Operation and select * (multiplication). Remove the 60 and enter a 100 (5 Seconds). Make a standalone procedure (name it as you like) Set global trigger to: Entity Spawns. Add an "if" block with target entity (sub)type of < [desired_entity]>. Add a random block 0,1 with a (0.1), this (the example) will give you 10 options. Add "set item in main-hand" block for each option. add the disired items/weapons (1 each) Save and test. Hello, I am trying to make it so that any item enchanted with an enchantment table receives the Curse of Vanishing enchantment. So far I am able to detect when a player enchants an item, and I know how to add enchantments to items. Accessing the Enchantment Table GUI is what eludes me. I have included an image of what I have so far. Enchantments:[{ works similarly to the display commands with the [{ except that they are reversed. This creates another command spot specifically for enchanting the item. id:sharpness identifies what kind of enchantment you want on the item. In this case it is sharpness. After add a , comma. lvl:5 is the level of the enchantment. Most normal living entities have a step height of 0.6, while rideable entities such as horses have a step height of 1. Mob health: Sets the health of the mob. 2 health = 1 heart. Experience amount: Sets the amount of experience earned from killing the mob. This is usually 1-3 for an animal and 5 for a monster. Explore new mods. So I know that enchanted books require NBT data in order to be an enchanted book. In Minecraft items after all can be enchanted through: /give PLAYERNAME minecraft:potato 0 1 {ench: [ {id:4, lvl:5}, {id:12, lvl:2}] which would give you a potato with 2 enchantments. You could also use display {Name:"crazypotato",Lore ["A very Ht4XT. Enchantments:[{ works similarly to the display commands with the [{ except that they are reversed. This creates another command spot specifically for enchanting the item. id:sharpness identifies what kind of enchantment you want on the item. In this case it is sharpness. After add a , comma. lvl:5 is the level of the enchantment. MCreator Guide - ITEMS. The current MCreator guides are not very centralised so I thought I'd make some myself. This guide will cover all aspects of items Minecraft Forge 1.16.4 as of MCreator version 2021.1. This guide may also work for future versions or some forks of MCreator, but try to use your initiative if something doesn't line up exactly. public static final CustomEnchant ThridEnchant = new EnchantNumberThree (); I would paste the registerLocalEnchants () inside your main class. To add an enchant, add a new line of code with registerEnchantment (BEAMSHOT) for whatever enchant you're referencing. #4 FireFlower, Apr 15, 2019. + Quote Reply. This video is from a deleted channel, but it still somehow works. You can't add it to a playlist or push the like button, all buttons are gone. My entire C++ Game Programming university course (Fall 2023) is now available for free on YouTube. Make your own 2D ECS game engine using C++, SFML, and ImGui. If you want to add a trade for enchanted items, it's a bit more complicated. You'll want to add a trade for a regular diamond axe, then lock the loot table/trade table, open the code, and add a function to randomly enchant it, along with a pool of your desired enchantments. (This is a bit hard to explain, but Microsoft has a half-decent

how to make enchantments in mcreator