Class: Faker::Games::Minecraft
- Defined in:
- lib/faker/games/minecraft.rb
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.achievement ⇒ String
Produces the name of an achievement from Minecraft.
-
.biome ⇒ String
Produces the name of a biome from Minecraft.
-
.block ⇒ String
Produces the name of a block from Minecraft.
-
.enchantment ⇒ String
Produces the name of a enchantment from Minecraft.
-
.game_mode ⇒ String
Produces the name of a game mode from Minecraft.
-
.item ⇒ String
Produces the name of an item from Minecraft.
-
.mob ⇒ String
Produces the name of a mob from Minecraft.
-
.status_effect ⇒ String
Produces the name of a status effect from Minecraft.
Methods inherited from Base
bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, generate, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, shuffle!, translate, unique, with_locale
Class Method Details
.achievement ⇒ String
Produces the name of an achievement from Minecraft.
16 17 18 |
# File 'lib/faker/games/minecraft.rb', line 16 def achievement fetch('games.minecraft.achievement') end |
.biome ⇒ String
Produces the name of a biome from Minecraft.
29 30 31 |
# File 'lib/faker/games/minecraft.rb', line 29 def biome fetch('games.minecraft.biome') end |
.block ⇒ String
Produces the name of a block from Minecraft.
42 43 44 |
# File 'lib/faker/games/minecraft.rb', line 42 def block fetch('games.minecraft.blocks') end |
.enchantment ⇒ String
Produces the name of a enchantment from Minecraft.
55 56 57 |
# File 'lib/faker/games/minecraft.rb', line 55 def enchantment fetch('games.minecraft.enchantment') end |
.game_mode ⇒ String
Produces the name of a game mode from Minecraft.
68 69 70 |
# File 'lib/faker/games/minecraft.rb', line 68 def game_mode fetch('games.minecraft.game_mode') end |
.item ⇒ String
Produces the name of an item from Minecraft.
81 82 83 |
# File 'lib/faker/games/minecraft.rb', line 81 def item fetch('games.minecraft.items') end |
.mob ⇒ String
Produces the name of a mob from Minecraft.
94 95 96 |
# File 'lib/faker/games/minecraft.rb', line 94 def mob fetch('games.minecraft.mobs') end |
.status_effect ⇒ String
Produces the name of a status effect from Minecraft.
107 108 109 |
# File 'lib/faker/games/minecraft.rb', line 107 def status_effect fetch('games.minecraft.status_effect') end |