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.

Solved Minecraft block name with underscore results with error

Discussion in 'Skript' started by acktbt, Oct 31, 2021.

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

    acktbt Member

    Joined:
    Sep 12, 2021
    Messages:
    15
    Likes Received:
    0
    Hello. So all the problem is is when I use
    On break of red_sand:
    It results in an error saying it doesn't understand. But when I do
    On break of dirt:
    It works fine. Any one know how to help? Thanks.

     
    #1 acktbt, Oct 31, 2021
    Last edited: Oct 31, 2021
  2. Best Answer:
    Post #4 by AgentGamerPro, Nov 4, 2021
  3. Aspekt

    Aspekt Member

    Joined:
    Oct 31, 2021
    Messages:
    1
    Likes Received:
    0
    I think it may have another solution that is better, but you can remove the underscores on the materials file which should work, but it would just have a bit getting used to and then change any other skripts with a underscore
     
  4. acktbt

    acktbt Member

    Joined:
    Sep 12, 2021
    Messages:
    15
    Likes Received:
    0
    nope. all the names go to null in the materials file
     
  5. AgentGamerPro

    AgentGamerPro Member

    Joined:
    Sep 27, 2020
    Messages:
    11
    Likes Received:
    0
    no... don't... don't do that...

    just remove the underscore in it:

    Code (Text):
    1. On break of red sand:
     
  6. acktbt

    acktbt Member

    Joined:
    Sep 12, 2021
    Messages:
    15
    Likes Received:
    0
    thank you thats annoying how skript makes you do that though. i even tried looking at examples on the skript docs but there are none which uses materials with underscores. and yes it works, thanks
     
  7. oToghty

    VIP Supporter +

    Joined:
    Sep 1, 2020
    Messages:
    143
    Likes Received:
    5
    if you really want to be different and use underscores you can check minecraft name of event-block
    also change this post to solved
     
Thread Status:
Not open for further replies.

Share This Page

Loading...