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

Solved Set Player on Fire

Comments in 'Plugin Development' started by Flabe, Mar 12, 2016.

  1. Flabe
    Offline

    Flabe Active Member

    Joined:
    Nov 17, 2015
    Posts:
    147
    Minecraft User:
    Flabe231
    Hello guys, i wanted to ask you, is there any way to set player on fire? If you know, please answer.
  2. Tim // robske Büba
    Offline

    Tim // robske Büba Notable Member

    Joined:
    Feb 26, 2014
    Posts:
    606
    Minecraft User:
    robske_110
    PHP:
    Player::setOnFire((int) $secounds)
    And, you could just search for "fire" in player.php
    PEMapModder likes this.
  3. Flabe
    Offline

    Flabe Active Member

    Joined:
    Nov 17, 2015
    Posts:
    147
    Minecraft User:
    Flabe231
    thank you very much, you are cool guy)))
  4. JackboyPlay
    Offline

    JackboyPlay Active Member

    Joined:
    Apr 25, 2015
    Posts:
    507
    Minecraft User:
    JackboyPlay
    Or you place in the player the fire block and replace it with ait :D
  5. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    That's quite ineffective. You have to leave the fire block present for at least one tick (and dependent on level tick rate) to make sure that the player bounding box has indeed intersected with the fire block to initialize the damage
  6. JackboyPlay
    Offline

    JackboyPlay Active Member

    Joined:
    Apr 25, 2015
    Posts:
    507
    Minecraft User:
    JackboyPlay
    Okay mom :(
    ImagicalGamer likes this.

Share This Page

Advertisement