1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
|
# frozen_string_literal: true
module Faker
class Games
class Minecraft < Base
class << self
##
# Produces the name of an achievement from Minecraft.
#
# @return [String]
#
# @example
# Faker::Games::Minecraft.achievement #=> "Time to Mine!"
#
# @faker.version next
def achievement
fetch('games.minecraft.achievement')
end
##
# Produces the name of a biome from Minecraft.
#
# @return [String]
#
# @example
# Faker::Games::Minecraft.biome #=> "Jungle"
#
# @faker.version next
def biome
fetch('games.minecraft.biome')
end
##
# Produces the name of a block from Minecraft.
#
# @return [String]
#
# @example
# Faker::Games::Minecraft.block #=> "Stone"
#
# @faker.version 2.13.0
def block
fetch('games.minecraft.blocks')
end
##
# Produces the name of a enchantment from Minecraft.
#
# @return [String]
#
# @example
# Faker::Games::Minecraft.enchantment #=> "Fire Protection"
#
# @faker.version next
def enchantment
fetch('games.minecraft.enchantment')
end
##
# Produces the name of a game mode from Minecraft.
#
# @return [String]
#
# @example
# Faker::Games::Minecraft.game_mode #=> "Survival"
#
# @faker.version next
def game_mode
fetch('games.minecraft.game_mode')
end
##
# Produces the name of an item from Minecraft.
#
# @return [String]
#
# @example
# Faker::Games::Minecraft.item #=> "Iron Shovel"
#
# @faker.version 2.13.0
def item
fetch('games.minecraft.items')
end
##
# Produces the name of a mob from Minecraft.
#
# @return [String]
#
# @example
# Faker::Games::Minecraft.mob #=> "Sheep"
#
# @faker.version 2.13.0
def mob
fetch('games.minecraft.mobs')
end
##
# Produces the name of a status effect from Minecraft.
#
# @return [String]
#
# @example
# Faker::Games::Minecraft.status_effect #=> "Weakness"
#
# @faker.version next
def status_effect
fetch('games.minecraft.status_effect')
end
end
end
end
end
|