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

hide item

Discussion in 'Development' started by Doxestic, Jan 22, 2021.

  1. Doxestic

    Doxestic Spider Jockey

    Messages:
    41
    is there any way to hide a item in hand of player?
    for example i have a sword item in my hand but nothing show in my hand (also my hand get hiden)
    any way?
     
  2. Doxestic

    Doxestic Spider Jockey

    Messages:
    41
    no way?
     
  3. wolfdale

    wolfdale Zombie Pigman

    Messages:
    535
    GitHub:
    diamond-gold
    Just cancel sending of MobEquipmentPacket using DataPacketSendEvent
     
    ethaniccc likes this.
  4. ethaniccc

    ethaniccc Baby Zombie

    Messages:
    189
    GitHub:
    ethaniccc
    To add on to this, if for some reason checking if the sent packet is a MobEquipmentPacket in DataPacketReceiveEvent dosen't work, it's most likely in a batch packet, where you would have to get the packets from the batch and check if it's a MobEquipmentPacket
     
  5. Doxestic

    Doxestic Spider Jockey

    Messages:
    41
    ok i will test it thanks
     
  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.