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!

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

Ore Gen

Discussion in 'Requests' started by The Phill, Jun 17, 2020.

  1. The Phill

    The Phill Member

    Joined:
    Jun 17, 2020
    Messages:
    1
    Likes Received:
    0
    Category: Ore Generator

    Suggested name:Custom Gen

    Spigot/Skript Version: Newest

    What I want:
    A script that simulates an ore generator. So when a cobblestone generator makes cobblestone it has a chance to be relaced with an ore. I have seen a few of these that are a few years old but none of them seem to work.

    Ideas for commands:

    Ideas for permissions:

    When I'd like it by:
    I just want it soon. I'm not in a big rush to get it but I would like to have it.
     
    #1 The Phill, Jun 17, 2020
    Last edited: Jun 17, 2020
  2. CrimZ0N

    CrimZ0N Member

    Joined:
    Jan 28, 2017
    Messages:
    56
    Likes Received:
    3
    on form of cobblestone:
    chance of 80%:
    set the event-block to coal ore

    You can create a list of variables and loop the variables if you want it to be random every time, idk.
     
  3. Mich

    Mich Active Member

    Joined:
    Jul 15, 2020
    Messages:
    148
    Likes Received:
    5
    I made one is personal but you can use the code to take ideas
    Code (Text):
    1. on block form of cobblestone:
    2.     chance of 10%:
    3.         set event-block to grass
    4.         stop
    5.     chance of 10%:
    6.         set event-block to gravel
    7.         stop
    8.     chance of 10%:
    9.         set event-block to sand
    10.         stop
    11.     chance of 10%:
    12.         set event-block to mycelium
    13.         stop
    14.        
    15. on block form of stone:
    16.     chance of 0.8%:
    17.         set event-block to diamond ore
    18.         stop
    19.     chance of 3%:
    20.         set event-block to gold ore
    21.         stop
    22.     chance of 5%:
    23.         set event-block to iron ore
    24.         stop
    25.     chance of 10%:
    26.         set event-block to coal ore
    27.         stop
    28.     chance of 0.5%:
    29.         set event-block to emerald ore
    30.         stop
    31.     chance of 1.2%:
    32.         set event-block to redstone ore
    33.         stop
    34.     chance of 1.2%:
    35.         set event-block to lapis lazuli ore
     

Share This Page

Loading...