niki/vendor/github.com/brianvoe/gofakeit/v7/minecraft.go

402 lines
17 KiB
Go

package gofakeit
// MinecraftOre will generate a random Minecraft ore
func MinecraftOre() string { return minecraftOre(GlobalFaker) }
// MinecraftOre will generate a random Minecraft ore
func (f *Faker) MinecraftOre() string { return minecraftOre(f) }
func minecraftOre(f *Faker) string { return getRandValue(f, []string{"minecraft", "ore"}) }
// MinecraftWood will generate a random Minecraft wood
func MinecraftWood() string { return minecraftWood(GlobalFaker) }
// MinecraftWood will generate a random Minecraft wood
func (f *Faker) MinecraftWood() string { return minecraftWood(f) }
func minecraftWood(f *Faker) string { return getRandValue(f, []string{"minecraft", "wood"}) }
// MinecraftArmorTier will generate a random Minecraft armor tier
func MinecraftArmorTier() string { return minecraftArmorTier(GlobalFaker) }
// MinecraftArmorTier will generate a random Minecraft armor tier
func (f *Faker) MinecraftArmorTier() string { return minecraftArmorTier(f) }
func minecraftArmorTier(f *Faker) string {
return getRandValue(f, []string{"minecraft", "armortier"})
}
// MinecraftArmorPart will generate a random Minecraft armor part
func MinecraftArmorPart() string { return minecraftArmorPart(GlobalFaker) }
// MinecraftArmorPart will generate a random Minecraft armor part
func (f *Faker) MinecraftArmorPart() string { return minecraftArmorPart(f) }
func minecraftArmorPart(f *Faker) string {
return getRandValue(f, []string{"minecraft", "armorpart"})
}
// MinecraftWeapon will generate a random Minecraft weapon
func MinecraftWeapon() string { return minecraftWeapon(GlobalFaker) }
// MinecraftWeapon will generate a random Minecraft weapon
func (f *Faker) MinecraftWeapon() string { return minecraftWeapon(f) }
func minecraftWeapon(f *Faker) string { return getRandValue(f, []string{"minecraft", "weapon"}) }
// MinecraftTool will generate a random Minecraft tool
func MinecraftTool() string { return minecraftTool(GlobalFaker) }
// MinecraftTool will generate a random Minecraft tool
func (f *Faker) MinecraftTool() string { return minecraftTool(f) }
func minecraftTool(f *Faker) string { return getRandValue(f, []string{"minecraft", "tool"}) }
// MinecraftDye will generate a random Minecraft dye
func MinecraftDye() string { return minecraftDye(GlobalFaker) }
// MinecraftDye will generate a random Minecraft dye
func (f *Faker) MinecraftDye() string { return minecraftDye(f) }
func minecraftDye(f *Faker) string { return getRandValue(f, []string{"minecraft", "dye"}) }
// MinecraftFood will generate a random Minecraft food
func MinecraftFood() string { return minecraftFood(GlobalFaker) }
// MinecraftFood will generate a random Minecraft food
func (f *Faker) MinecraftFood() string { return minecraftFood(f) }
func minecraftFood(f *Faker) string { return getRandValue(f, []string{"minecraft", "food"}) }
// MinecraftAnimal will generate a random Minecraft animal
func MinecraftAnimal() string { return minecraftAnimal(GlobalFaker) }
// MinecraftAnimal will generate a random Minecraft animal
func (f *Faker) MinecraftAnimal() string { return minecraftAnimal(f) }
func minecraftAnimal(f *Faker) string {
return getRandValue(f, []string{"minecraft", "animal"})
}
// MinecraftVillagerJob will generate a random Minecraft villager job
func MinecraftVillagerJob() string { return minecraftVillagerJob(GlobalFaker) }
// MinecraftVillagerJob will generate a random Minecraft villager job
func (f *Faker) MinecraftVillagerJob() string { return minecraftVillagerJob(f) }
func minecraftVillagerJob(f *Faker) string {
return getRandValue(f, []string{"minecraft", "villagerjob"})
}
// MinecraftVillagerStation will generate a random Minecraft villager station
func MinecraftVillagerStation() string { return minecraftVillagerStation(GlobalFaker) }
// MinecraftVillagerStation will generate a random Minecraft villager station
func (f *Faker) MinecraftVillagerStation() string { return minecraftVillagerStation(f) }
func minecraftVillagerStation(f *Faker) string {
return getRandValue(f, []string{"minecraft", "villagerstation"})
}
// MinecraftVillagerLevel will generate a random Minecraft villager level
func MinecraftVillagerLevel() string { return minecraftVillagerLevel(GlobalFaker) }
// MinecraftVillagerLevel will generate a random Minecraft villager level
func (f *Faker) MinecraftVillagerLevel() string { return minecraftVillagerLevel(f) }
func minecraftVillagerLevel(f *Faker) string {
return getRandValue(f, []string{"minecraft", "villagerlevel"})
}
// MinecraftMobPassive will generate a random Minecraft mob passive
func MinecraftMobPassive() string { return minecraftMobPassive(GlobalFaker) }
// MinecraftMobPassive will generate a random Minecraft mob passive
func (f *Faker) MinecraftMobPassive() string { return minecraftMobPassive(f) }
func minecraftMobPassive(f *Faker) string {
return getRandValue(f, []string{"minecraft", "mobpassive"})
}
// MinecraftMobNeutral will generate a random Minecraft mob neutral
func MinecraftMobNeutral() string { return minecraftMobNeutral(GlobalFaker) }
// MinecraftMobNeutral will generate a random Minecraft mob neutral
func (f *Faker) MinecraftMobNeutral() string { return minecraftMobNeutral(f) }
func minecraftMobNeutral(f *Faker) string {
return getRandValue(f, []string{"minecraft", "mobneutral"})
}
// MinecraftMobHostile will generate a random Minecraft mob hostile
func MinecraftMobHostile() string { return minecraftMobHostile(GlobalFaker) }
// MinecraftMobHostile will generate a random Minecraft mob hostile
func (f *Faker) MinecraftMobHostile() string { return minecraftMobHostile(f) }
func minecraftMobHostile(f *Faker) string {
return getRandValue(f, []string{"minecraft", "mobhostile"})
}
// MinecraftMobBoss will generate a random Minecraft mob boss
func MinecraftMobBoss() string { return minecraftMobBoss(GlobalFaker) }
// MinecraftMobBoss will generate a random Minecraft mob boss
func (f *Faker) MinecraftMobBoss() string { return minecraftMobBoss(f) }
func minecraftMobBoss(f *Faker) string {
return getRandValue(f, []string{"minecraft", "mobboss"})
}
// MinecraftBiome will generate a random Minecraft biome
func MinecraftBiome() string { return minecraftBiome(GlobalFaker) }
// MinecraftBiome will generate a random Minecraft biome
func (f *Faker) MinecraftBiome() string { return minecraftBiome(f) }
func minecraftBiome(f *Faker) string { return getRandValue(f, []string{"minecraft", "biome"}) }
// MinecraftWeather will generate a random Minecraft weather
func MinecraftWeather() string { return minecraftWeather(GlobalFaker) }
// MinecraftWeather will generate a random Minecraft weather
func (f *Faker) MinecraftWeather() string { return minecraftWeather(f) }
func minecraftWeather(f *Faker) string { return getRandValue(f, []string{"minecraft", "weather"}) }
func addMinecraftLookup() {
AddFuncLookup("minecraftore", Info{
Display: "Minecraft ore",
Category: "minecraft",
Description: "Naturally occurring minerals found in the game Minecraft, used for crafting purposes",
Example: "coal",
Output: "string",
Aliases: []string{"resource block", "crafting ore", "mining material", "mineral node", "in-game ore"},
Keywords: []string{"naturally", "occurring", "coal", "iron", "gold", "diamond", "lapis", "emerald", "redstone"},
Generate: func(f *Faker, m *MapParams, info *Info) (any, error) {
return minecraftOre(f), nil
},
})
AddFuncLookup("minecraftwood", Info{
Display: "Minecraft wood",
Category: "minecraft",
Description: "Natural resource in Minecraft, used for crafting various items and building structures",
Example: "oak",
Output: "string",
Aliases: []string{"tree log", "wood block", "timber type", "crafting wood", "building wood"},
Keywords: []string{"natural", "resource", "oak", "birch", "jungle", "spruce", "mangrove", "planks"},
Generate: func(f *Faker, m *MapParams, info *Info) (any, error) {
return minecraftWood(f), nil
},
})
AddFuncLookup("minecraftarmortier", Info{
Display: "Minecraft armor tier",
Category: "minecraft",
Description: "Classification system for armor sets in Minecraft, indicating their effectiveness and protection level",
Example: "iron",
Output: "string",
Aliases: []string{"armor level", "armor rank", "armor category", "tier type", "defense tier"},
Keywords: []string{"classification", "iron", "diamond", "netherite", "leather", "chainmail", "gold", "effectiveness", "defense"},
Generate: func(f *Faker, m *MapParams, info *Info) (any, error) {
return minecraftArmorTier(f), nil
},
})
AddFuncLookup("minecraftarmorpart", Info{
Display: "Minecraft armor part",
Category: "minecraft",
Description: "Component of an armor set in Minecraft, such as a helmet, chestplate, leggings, or boots",
Example: "helmet",
Output: "string",
Aliases: []string{"armor piece", "armor gear", "armor equipment", "armor slot", "protective item"},
Keywords: []string{"helmet", "chestplate", "leggings", "boots", "component", "set", "gear"},
Generate: func(f *Faker, m *MapParams, info *Info) (any, error) {
return minecraftArmorPart(f), nil
},
})
AddFuncLookup("minecraftweapon", Info{
Display: "Minecraft weapon",
Category: "minecraft",
Description: "Tools and items used in Minecraft for combat and defeating hostile mobs",
Example: "bow",
Output: "string",
Aliases: []string{"combat item", "fighting tool", "attack weapon", "battle gear", "mob killer"},
Keywords: []string{"bow", "sword", "axe", "trident", "crossbow", "used", "combat", "damage"},
Generate: func(f *Faker, m *MapParams, info *Info) (any, error) {
return minecraftWeapon(f), nil
},
})
AddFuncLookup("minecrafttool", Info{
Display: "Minecraft tool",
Category: "minecraft",
Description: "Items in Minecraft designed for specific tasks, including mining, digging, and building",
Example: "shovel",
Output: "string",
Aliases: []string{"utility tool", "crafting tool", "gathering tool", "work tool", "task tool"},
Keywords: []string{"pickaxe", "axe", "hoe", "shovel", "fishing-rod", "tasks", "mining", "digging"},
Generate: func(f *Faker, m *MapParams, info *Info) (any, error) {
return minecraftTool(f), nil
},
})
AddFuncLookup("minecraftdye", Info{
Display: "Minecraft dye",
Category: "minecraft",
Description: "Items used to change the color of various in-game objects",
Example: "white",
Output: "string",
Aliases: []string{"color dye", "pigment item", "colorant", "dye material", "color change"},
Keywords: []string{"red", "blue", "green", "yellow", "white", "wool", "coloring", "sheep"},
Generate: func(f *Faker, m *MapParams, info *Info) (any, error) {
return minecraftDye(f), nil
},
})
AddFuncLookup("minecraftfood", Info{
Display: "Minecraft food",
Category: "minecraft",
Description: "Consumable items in Minecraft that provide nourishment to the player character",
Example: "apple",
Output: "string",
Aliases: []string{"edible item", "consumable block", "nourishment item", "hunger food", "survival food"},
Keywords: []string{"apple", "bread", "meat", "carrot", "potato", "steak", "restore", "health", "hunger"},
Generate: func(f *Faker, m *MapParams, info *Info) (any, error) {
return minecraftFood(f), nil
},
})
AddFuncLookup("minecraftanimal", Info{
Display: "Minecraft animal",
Category: "minecraft",
Description: "Non-hostile creatures in Minecraft, often used for resources and farming",
Example: "chicken",
Output: "string",
Aliases: []string{"farm animal", "passive mob", "resource creature", "livestock", "tameable mob"},
Keywords: []string{"cow", "pig", "sheep", "chicken", "horse", "llama", "resources", "farming"},
Generate: func(f *Faker, m *MapParams, info *Info) (any, error) {
return minecraftAnimal(f), nil
},
})
AddFuncLookup("minecraftvillagerjob", Info{
Display: "Minecraft villager job",
Category: "minecraft",
Description: "The profession or occupation assigned to a villager character in the game",
Example: "farmer",
Output: "string",
Aliases: []string{"villager profession", "npc job", "trade role", "occupation type", "work class"},
Keywords: []string{"farmer", "librarian", "cleric", "armorer", "fletcher", "smith", "trading"},
Generate: func(f *Faker, m *MapParams, info *Info) (any, error) {
return minecraftVillagerJob(f), nil
},
})
AddFuncLookup("minecraftvillagerstation", Info{
Display: "Minecraft villager station",
Category: "minecraft",
Description: "Designated area or structure in Minecraft where villagers perform their job-related tasks and trading",
Example: "furnace",
Output: "string",
Aliases: []string{"workstation block", "villager station", "profession station", "trade station", "job block"},
Keywords: []string{"furnace", "grindstone", "lectern", "brewing", "stand", "smithing", "table", "trading", "block"},
Generate: func(f *Faker, m *MapParams, info *Info) (any, error) {
return minecraftVillagerStation(f), nil
},
})
AddFuncLookup("minecraftvillagerlevel", Info{
Display: "Minecraft villager level",
Category: "minecraft",
Description: "Measure of a villager's experience and proficiency in their assigned job or profession",
Example: "master",
Output: "string",
Aliases: []string{"villager rank", "experience tier", "profession level", "npc level", "skill grade"},
Keywords: []string{"novice", "apprentice", "journeyman", "expert", "master", "progression"},
Generate: func(f *Faker, m *MapParams, info *Info) (any, error) {
return minecraftVillagerLevel(f), nil
},
})
AddFuncLookup("minecraftmobpassive", Info{
Display: "Minecraft mob passive",
Category: "minecraft",
Description: "Non-aggressive creatures in the game that do not attack players",
Example: "cow",
Output: "string",
Aliases: []string{"peaceful mob", "friendly creature", "safe entity", "passive entity", "non-hostile mob"},
Keywords: []string{"cow", "sheep", "chicken", "villager", "bat", "neutral", "farm"},
Generate: func(f *Faker, m *MapParams, info *Info) (any, error) {
return minecraftMobPassive(f), nil
},
})
AddFuncLookup("minecraftmobneutral", Info{
Display: "Minecraft mob neutral",
Category: "minecraft",
Description: "Creature in the game that only becomes hostile if provoked, typically defending itself when attacked",
Example: "bee",
Output: "string",
Aliases: []string{"conditional mob", "provokable creature", "neutral mob", "reactive entity", "self-defense mob"},
Keywords: []string{"bee", "wolf", "enderman", "goat", "attack", "provoked", "defending"},
Generate: func(f *Faker, m *MapParams, info *Info) (any, error) {
return minecraftMobNeutral(f), nil
},
})
AddFuncLookup("minecraftmobhostile", Info{
Display: "Minecraft mob hostile",
Category: "minecraft",
Description: "Aggressive creatures in the game that actively attack players when encountered",
Example: "spider",
Output: "string",
Aliases: []string{"enemy mob", "aggressive entity", "dangerous creature", "threat mob", "monster mob"},
Keywords: []string{"spider", "zombie", "skeleton", "creeper", "witch", "attack", "players"},
Generate: func(f *Faker, m *MapParams, info *Info) (any, error) {
return minecraftMobHostile(f), nil
},
})
AddFuncLookup("minecraftmobboss", Info{
Display: "Minecraft mob boss",
Category: "minecraft",
Description: "Powerful hostile creature in the game, often found in challenging dungeons or structures",
Example: "ender dragon",
Output: "string",
Aliases: []string{"boss mob", "elite mob", "endgame creature", "raid boss", "legendary mob"},
Keywords: []string{"ender", "dragon", "wither", "warden", "powerful", "challenging", "structure", "hostile"},
Generate: func(f *Faker, m *MapParams, info *Info) (any, error) {
return minecraftMobBoss(f), nil
},
})
AddFuncLookup("minecraftbiome", Info{
Display: "Minecraft biome",
Category: "minecraft",
Description: "Distinctive environmental regions in the game, characterized by unique terrain, vegetation, and weather",
Example: "forest",
Output: "string",
Aliases: []string{"environment zone", "terrain type", "climate region", "biome area", "ecological zone"},
Keywords: []string{"forest", "plains", "jungle", "desert", "swamp", "tundra", "savanna"},
Generate: func(f *Faker, m *MapParams, info *Info) (any, error) {
return minecraftBiome(f), nil
},
})
AddFuncLookup("minecraftweather", Info{
Display: "Minecraft weather",
Category: "minecraft",
Description: "Atmospheric conditions in the game that include rain, thunderstorms, and clear skies, affecting gameplay and ambiance",
Example: "rain",
Output: "string",
Aliases: []string{"climate condition", "weather effect", "game atmosphere", "sky state", "environmental condition"},
Keywords: []string{"rain", "clear", "thunderstorm", "snow", "atmospheric", "storm", "lightning"},
Generate: func(f *Faker, m *MapParams, info *Info) (any, error) {
return minecraftWeather(f), nil
},
})
}