Custom cobblestone generators..?

  • 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!

CrimZ0N

Member
Jan 28, 2017
56
3
8
24
Category: Help..?

Suggested name: Custom generators..?

What I want:
on form of cobblestone:
set event-block to <ore>:

Basically I want when a cobblestone block is generated from a generator to be turned to a diamond ore, for example?

Ideas for commands: None

Ideas for permissions: None

When I'd like it by: Any time, I'm not in a hurry.
 
Last edited:
Hi, uhmmm, I know im nothing but a leech since I haven't contributed pretty much anything to these forums (except solving 2-3 minor help requests(I'm still very bad at Skript ;w; )) but I need the communitys help again <3

I was looking through the docs again and found the "on form" event, and I got the idea, how about custom cobblestone generators, sounds like a nice addon, right?

I thought it'd be as simple as

on form of cobblestone:
set event-block to <ore>

Nope, it doesn't work like that. Help please? ;w;
Please use the script request format:
https://forums.skunity.com/threads/format-script-request-format.170/
 
I can do this for you pretty quickly. What ores do you want?
 
Here ya go! (This skript was made by one of my old friend who left MC, and the one who got me into Skript. :emoji_slight_smile:)
Code:
on block form of cobblestone:
    chance of 1%:
        set event-block to diamond ore
        stop
    chance of 10%:
        set event-block to gold ore
        stop
    chance of 15%:
        set event-block to iron ore
        stop
    chance of 40%:
        set event-block to coal ore
        stop
 
  • Like
Reactions: A248
Here ya go! (This skript was made by one of my old friend who left MC, and the one who got me into Skript. :emoji_slight_smile:)
Code:
on block form of cobblestone:
    chance of 1%:
        set event-block to diamond ore
        stop
    chance of 10%:
        set event-block to gold ore
        stop
    chance of 15%:
        set event-block to iron ore
        stop
    chance of 40%:
        set event-block to coal ore
        stop
Altho what you wrote WAS correct, unfortunately, it doesn't work for whatever reason. I was aware of this but for whatever reason it does not work for me. Thanks either way, you have +rep from me :emoji_slight_smile:
 
Altho what you wrote WAS correct, unfortunately, it doesn't work for whatever reason. I was aware of this but for whatever reason it does not work for me. Thanks either way, you have +rep from me :emoji_slight_smile:
Hmm... it worked for me... weird...