1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Question Why fortune / looting enchantment doesnt work?

Discussion in 'Questions about This Forum' started by shiro chan, Aug 6, 2020.

  1. shiro chan

    shiro chan Creeper

    Messages:
    4
    GitHub:
    shiro-chan
    so I've tried to enchant my pick with fortune and my sword looting but it says that theres not such enchantment I'd already tried both enchantment id and word but still it says theres no sich enchantment. I'm wondering why ive hop to different server to ask if their fortune enchantment works and they say yes theyre using PM also.
     

    Attached Files:

  2. wolfdale

    wolfdale Zombie Pigman

    Messages:
    535
    GitHub:
    diamond-gold
    You need a plugin that implements it, it is not in PM by default
     
  3. shiro chan

    shiro chan Creeper

    Messages:
    4
    GitHub:
    shiro-chan
    weve already tried bunch of enchantment plugins we already triend ce plugins but still the same
     
  4. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    Fortune Code is 18 use:
    /enchanct godweedzao 18 3
    and set your name instead godweedzao and its done
     
  5. shiro chan

    shiro chan Creeper

    Messages:
    4
    GitHub:
    shiro-chan
    ive already tested it before, and tested it again still nahh
     

    Attached Files:

  6. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    Ok, use plugin to enchant.
    Code:
    PHP:
     $pic Item::get(Item::PICK_AXE);

    $pic->addEnchantment(new EnchantmentInstance(Enchantment::getEnchantment(Enchantment::FORTUNE), 3));
    and its done, set prefix to SOLVED ;)
     
  7. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    hey, update prefix, its should solve now :D
     
  8. shiro chan

    shiro chan Creeper

    Messages:
    4
    GitHub:
    shiro-chan
    hey how? its only Question and No Prefix
     
  9. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    oh, yes, sorry XD
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.