Jump to content

Search the Community

Showing results for tags 'enchantments'.

  • Search By Tags

    • enchantments ×
    Type tags separated by commas.
  • Search By Author

Content Type



Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Found 8 results

  1. I know that this may be a basic question, but I am very new to modding. I am trying to have it so that I can create modified Vanilla loot tables that use a custom enchantment as a condition (i.e. enchantment present = item). However, I am having trouble trying to implement this; the LootItemRan...
  2. So I'm trying to get my custom enchantment book to spawn in vanilla loot table chests like jungle temple or desert pyramid, which it'll spawn the enchantment book inside the chest, but it wont have the actual enchantment provided This is for Forge 1.20.1 on intellij, I'm still a very new...
  3. Hey, I'm trying to write a mod that allows you to have channeling and riptide at the same time on a trident. But I came to the conclusion that this is not possible without mixins because the method that checks enchantments is in the EnchantmentHelper class and not in the Trident Item or ThrownT...
  4. Hello, I'm trying to modify the effects of native enchantments for bows and arrows in Minecraft. After using a decompilation tool, I found that the specific implementations of native bow and arrow enchantments (including `ArrowDamageEnchantment`, `ArrowKnockbackEnchantment`, `ArrowFireEnchan...
  5. I cannot find the answer anywhere public static void onPlayerConsumeXp(PlayerXpEvent.PickupXp event){ if(event.getEntity().getMainHandItem().getAllEnchantments().get(*value i need*) != null){ int shorthand = event.getEntity().getMainHandItem().getAllEnchantments().get(*value i need*);...
  6. I'm new to modding, and trying to create an enchantment that causes killed mobs to drop extra experience. I've learned that you can spawn entities, such as extra experience orbs, using the doPostAttack method. How could I make it so that the extra experience is only spawned once the target is killed...
  7. I'm trying to add a custom enchantment that is only compatible with a new type of tiered weapon I made. I am using 1.19.3, forge version 44.0.1. I tried using EnchantmentCategory#create(), but it doesn't work. Here is the enchantment class: package everyblu.extendedarmory.common.en...
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.