class Faker::Games::Minecraft

Public Class Methods

achievement() click to toggle source

Produces the name of an achievement from Minecraft.

@return [String]

@example

Faker::Games::Minecraft.achievement #=> "Time to Mine!"

@faker.version next

# File lib/faker/games/minecraft.rb, line 16
def achievement
  fetch('games.minecraft.achievement')
end
biome() click to toggle source

Produces the name of a biome from Minecraft.

@return [String]

@example

Faker::Games::Minecraft.biome #=> "Jungle"

@faker.version next

# File lib/faker/games/minecraft.rb, line 29
def biome
  fetch('games.minecraft.biome')
end
block() click to toggle source

Produces the name of a block from Minecraft.

@return [String]

@example

Faker::Games::Minecraft.block #=> "Stone"

@faker.version 2.13.0

# File lib/faker/games/minecraft.rb, line 42
def block
  fetch('games.minecraft.blocks')
end
enchantment() click to toggle source

Produces the name of a enchantment from Minecraft.

@return [String]

@example

Faker::Games::Minecraft.enchantment #=> "Fire Protection"

@faker.version next

# File lib/faker/games/minecraft.rb, line 55
def enchantment
  fetch('games.minecraft.enchantment')
end
game_mode() click to toggle source

Produces the name of a game mode from Minecraft.

@return [String]

@example

Faker::Games::Minecraft.game_mode #=> "Survival"

@faker.version next

# File lib/faker/games/minecraft.rb, line 68
def game_mode
  fetch('games.minecraft.game_mode')
end
item() click to toggle source

Produces the name of an item from Minecraft.

@return [String]

@example

Faker::Games::Minecraft.item #=> "Iron Shovel"

@faker.version 2.13.0

# File lib/faker/games/minecraft.rb, line 81
def item
  fetch('games.minecraft.items')
end
mob() click to toggle source

Produces the name of a mob from Minecraft.

@return [String]

@example

Faker::Games::Minecraft.mob #=> "Sheep"

@faker.version 2.13.0

# File lib/faker/games/minecraft.rb, line 94
def mob
  fetch('games.minecraft.mobs')
end
status_effect() click to toggle source

Produces the name of a status effect from Minecraft.

@return [String]

@example

Faker::Games::Minecraft.status_effect #=> "Weakness"

@faker.version next

# File lib/faker/games/minecraft.rb, line 107
def status_effect
  fetch('games.minecraft.status_effect')
end