How can ignore gravity in ItemEntity

Discussion in 'Plugins for Nukkit' started by Accasua, 20/11/16.

  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice
We welcome you on our site. This site is devoted to the Nukkit project and all that is connected with him. Here you can communicate, download plugins, also many other things get acquainted! Register the account right now :3
  1. Accasua

    Accasua Пользователь

    Messages:
    8
    Likes Received:
    0
    Minecraft:
    Accasia
    I want to ignore gravity in ItemEntity.


    this.dataProperties.putByte(Entity.DATA_FLAGS, Entity.DATA_FLAG_NO_AI);

    is it right?
     
  2. Accasua

    Accasua Пользователь

    Messages:
    8
    Likes Received:
    0
    Minecraft:
    Accasia
    I want to create ItemEntity which floats on the air
     

Share This Page