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.If you need your recipe to unlock on certain level you need to find this part. List trades = event.getTrades ().get (1); 1 is the level of deals you add to change it, just replace with any number between 1-5. If you need the recipes to have different levels, create a new list like this and change the value to 1-5. Name in GUI: The display name for the tool in the GUI. Creative inventory tab: The tab in which the item is under in creative mode. Type: The type of tool you wish to create. Pickaxe: mines better rocky materials. Axe: mines better wood and can strip logs. Sword: deal more damage to entities and can do a sweep attack.
I found a mod in 1.14.4 adding custom enchantments, so maybe you can check his code to make the code of enchantments. You have code for Forge 1.12.2 and 1.14.4. Donator. on Mon, 05/04/2020 - 06:33. Donator. Author Donator Goldorion. [ #43839] Added enchantment mod element type. Permalink.
Last update 12 minutes 16 seconds ago. MCreator is open source software used to make Minecraft Java Edition mods, Bedrock Edition Add-Ons, and data packs using an intuitive easy-to-learn interface or with an integrated code editor. It is used worldwide by Minecraft players, mod developers, for education and by STEM workshops.Use procedures : "global trigger : 'when entity attacked'". if "object in source entity's main hand" then "give wither potion effect to entity". Jump to top Permalink. Log in or register to post comments. Externity Hezer. Offline. Active 2 years ago. iOXIiuv.