1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

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

Pearl through an open fence gate.

Discussion in 'Skript' started by MasterHunter2003, Jan 5, 2018.

Thread Status:
Not open for further replies.
  1. MasterHunter2003

    Joined:
    Jan 28, 2017
    Messages:
    23
    Likes Received:
    1
    Skript Version: Skript 2.2-dev25
    Skript Author: Bensku (I think)
    Minecraft Version: 1.8
    ---
    Full Code:
    https://pastebin.com/raw/Zni324ZS

    Errors on Reload:
    None.

    Console Errors: (if applicable)
    None.

    Other Useful Info:

    Addons using (including versions):
    WildSkript (1.9, 1.10 & 1.11), SkQuery (LimeGlass' version)

    Troubleshooting:
    I tried alot of different effects, tried just cancelling the event so the gate keeps open.

    Have you tried searching the docs? Yes
    Have you tried searching the forums? Yes
    What other methods have you tried to fix it? None.
     
  2. martinpeeters34

    Joined:
    Jan 30, 2017
    Messages:
    30
    Likes Received:
    0
    There is a toggle effect, so you could use this to reopen the gate.
    Code (Skript):
    1. toggle the targeted block
    And you can add a few ticks between throwing the enderpearl and opening the fence gate,
    so it won't hit each other.

    But does Minecraft even allow to throw pearls through fence gates?
    Because if you can't, you'll need to throw the enderpearl from the location behind the targeted block.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...