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

Reset Blocks

Comments in 'Plugin Development' started by JackboyPlay, Mar 9, 2016.

  1. JackboyPlay
    Offline

    JackboyPlay Active Member

    Joined:
    Apr 25, 2015
    Posts:
    507
    Minecraft User:
    JackboyPlay
    How can I place 4 blocks and after 4 seconds the blocks will be resettet without a worldreset?
  2. minebuilder0110
    Offline

    minebuilder0110 Notable Member

    Joined:
    Dec 8, 2014
    Posts:
    485
    Minecraft User:
    Apparitional
    If I did understood you correctly, you would push 4 blocks into an array on BlockPlaceEvent, then execute DelayedTask, and remove the blocks.
    Skullex and PEMapModder like this.
  3. JackboyPlay
    Offline

    JackboyPlay Active Member

    Joined:
    Apr 25, 2015
    Posts:
    507
    Minecraft User:
    JackboyPlay
    I want to reset they to the old Blocks :D
  4. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    If you just want to let the player see the block without actually modifying the block server-side, use Level::sendBlocks().
    Skullex likes this.

Share This Page

Advertisement