Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add minecraft generators #2064

Merged
merged 2 commits into from
Jun 19, 2020
Merged

Add minecraft generators #2064

merged 2 commits into from
Jun 19, 2020

Conversation

Ri1a
Copy link
Contributor

@Ri1a Ri1a commented Jun 19, 2020

Issue #1796

Description:

Because we all love minecraft, I added a simple generator including blocks, items and mobs.

# @example
# Faker::Games::Minecraft.block #=> "Stone"
#
# @faker.version 2.12.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New generators should be version next

faker:
games:
minecraft:
blocks: ["Stone", "Granite", "Polished Granite", "Diorite", "Polished Diorite", "Andesite", "Polished Andesite", "Grass", "Dirt", "Coarse Dirt", "Podzol", "Cobblestone", "Oak Wood Plank", "Spruce Wood Plank", "Birch Wood Plank", "Jungle Wood Plank", "Acacia Wood Plank", "Dark Oak Wood Plank", "Oak Sapling", "Spruce Sapling", "Birch Sapling", "Jungle Sapling", "Acacia Sapling", "Dark Oak Sapling", "Bedrock", "Flowing Water", "Still Water", "Flowing Lava", "Still Lava", "Sand", "Red Sand", "Gravel", "Gold Ore", "Iron Ore", "Coal Ore", "Oak Wood", "Spruce Wood", "Birch Wood", "Jungle Wood", "Oak Leaves", "Spruce Leaves", "Birch Leaves", "Jungle Leaves", "Sponge", "Wet Sponge", "Glass", "Lapis Lazuli Ore", "Lapis Lazuli Block", "Dispenser", "Sandstone", "Chiseled Sandstone", "Smooth Sandstone", "Note Block", "Bed", "Powered Rail", "Detector Rail", "Sticky Piston", "Cobweb", "Dead Shrub", "Grass", "Fern", "Dead Bush", "Piston", "Piston Head", "White Wool", "Orange Wool", "Magenta Wool", "Light Blue Wool", "Yellow Wool", "Lime Wool", "Pink Wool", "Gray Wool", "Light Gray Wool", "Cyan Wool", "Purple Wool", "Blue Wool", "Brown Wool", "Green Wool", "Red Wool", "Black Wool", "Dandelion", "Poppy", "Blue Orchid", "Allium", "Azure Bluet", "Red Tulip", "Orange Tulip", "White Tulip", "Pink Tulip", "Oxeye Daisy", "Brown Mushroom", "Red Mushroom", "Gold Block", "Iron Block", "Double Stone Slab", "Double Sandstone Slab", "Double Wooden Slab", "Double Cobblestone Slab", "Double Brick Slab", "Double Stone Brick Slab", "Double Nether Brick Slab", "Double Quartz Slab", "Stone Slab", "Sandstone Slab", "Wooden Slab", "Cobblestone Slab", "Brick Slab", "Stone Brick Slab", "Nether Brick Slab", "Quartz Slab", "Bricks", "TNT", "Bookshelf", "Moss Stone", "Obsidian", "Torch", "Fire", "Monster Spawner", "Oak Wood Stairs", "Chest", "Redstone Wire", "Diamond Ore", "Diamond Block", "Crafting Table", "Wheat Crops", "Farmland", "Furnace", "Burning Furnace", "Standing Sign Block", "Oak Door Block", "Ladder", "Rail", "Cobblestone Stairs", "Wall-mounted Sign Block", "Lever", "Stone Pressure Plate", "Iron Door Block", "Wooden Pressure Plate", "Redstone Ore", "Glowing Redstone Ore", "Stone Button", "Snow", "Ice", "Snow Block", "Cactus", "Clay", "Sugar Canes", "Jukebox", "Oak Fence", "Pumpkin", "Netherrack", "Soul Sand", "Glowstone", "Nether Portal", "Jack o'Lantern", "Cake Block", "Redstone Repeater Block off)", "Redstone Repeater Block on)", "White Stained Glass", "Orange Stained Glass", "Magenta Stained Glass", "Light Blue Stained Glass", "Yellow Stained Glass", "Lime Stained Glass", "Pink Stained Glass", "Gray Stained Glass", "Light Gray Stained Glass", "Cyan Stained Glass", "Purple Stained Glass", "Blue Stained Glass", "Brown Stained Glass", "Green Stained Glass", "Red Stained Glass", "Black Stained Glass", "Wooden Trapdoor", "Stone Monster Egg", "Cobblestone Monster Egg", "Stone Brick Monster Egg", "Mossy Stone Brick Monster Egg", "Cracked Stone Brick Monster Egg", "Chiseled Stone Brick Monster Egg", "Stone Bricks", "Mossy Stone Bricks", "Cracked Stone Bricks", "Chiseled Stone Bricks", "Brown Mushroom Block", "Red Mushroom Block", "Iron Bars", "Glass Pane", "Melon Block", "Pumpkin Stem", "Melon Stem", "Vines", "Oak Fence Gate", "Brick Stairs", "Stone Brick Stairs", "Mycelium", "Lily Pad", "Nether Brick", "Nether Brick Fence"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As per CONTRIBUTING.md, we would prefer the single item per line style for yaml files

@Zeragamba Zeragamba merged commit 24e937e into faker-ruby:master Jun 19, 2020
@Zeragamba
Copy link
Contributor

Perfect 👍. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants