• pe1uca@lemmy.pe1uca.dev
    link
    fedilink
    arrow-up
    10
    ·
    4 months ago

    Good tip, just also good to remember there’s no way to control the seed of the generator, for example for a seeded world.
    For that use case you still need to manually run the generator you created with your seed to select an item.

  • subignition@fedia.io
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    4 months ago

    I think convenience methods like this are great, but making small little functions like this yourself can also be good exercises for beginner programmers.