-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Add minecraft generators #2064
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Zeragamba
suggested changes
Jun 19, 2020
lib/faker/games/minecraft.rb
Outdated
# @example | ||
# Faker::Games::Minecraft.block #=> "Stone" | ||
# | ||
# @faker.version 2.12.0 |
There was a problem hiding this comment.
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
lib/locales/en/minecraft.yml
Outdated
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"] |
There was a problem hiding this comment.
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
approved these changes
Jun 19, 2020
Perfect 👍. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue #1796
Description:
Because we all love minecraft, I added a simple generator including blocks, items and mobs.