Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ItemFrame

Comments in 'Plugin Development' started by Infernus101, Nov 5, 2016.

  1. Infernus101
    Offline

    Infernus101 New Member

    Joined:
    May 30, 2016
    Posts:
    7
    Minecraft User:
    Infernus101
    datapacketreceiveevent isn't working with 0.16.0 update, item frame event wont cancel @xBeastMode
  2. MichaelM04
    Offline

    MichaelM04 Active Member Plugin Developer

    Joined:
    Nov 12, 2015
    Posts:
    213
    Plugins:
    1
    Minecraft User:
    Michael
    0.16 Bugs are still being worked out, not sure if there is an issue with DataPacketReceiveEvent as I haven't tested with 0.16 yet, I'm assuming your trying to stop a player from placing item frames? Perhaps block the id of the frame from being placed, or perhaps do a similar method of checking the id through PlayerInteractEvent, then cancel the event.
    Last edited: Nov 5, 2016
  3. Infernus101
    Offline

    Infernus101 New Member

    Joined:
    May 30, 2016
    Posts:
    7
    Minecraft User:
    Infernus101
    i am trying to stop all/any items from getting removed from item frame, and no playerinteractevent doesn't work
  4. BalAnce
    Offline

    BalAnce Active Member

    Joined:
    Mar 10, 2015
    Posts:
    125
    Minecraft User:
    BalAnce
    are you using any third party pocketmine? If so they use may use different event for Item Frames (Ex: ItemFrameDropItemEvent)
  5. Infernus101
    Offline

    Infernus101 New Member

    Joined:
    May 30, 2016
    Posts:
    7
    Minecraft User:
    Infernus101
  6. BalAnce
    Offline

    BalAnce Active Member

    Joined:
    Mar 10, 2015
    Posts:
    125
    Minecraft User:
    BalAnce
  7. thebigsmileXD
    Offline

    thebigsmileXD Banned

    Joined:
    May 19, 2015
    Posts:
    845
    Plugins:
    1
    Minecraft User:
    XenialDan
    Last edited: Nov 11, 2016
    BalAnce likes this.

Share This Page

Advertisement