Taterzens

open class Taterzens

Constructors

Taterzens
Link copied to clipboard
open fun Taterzens(platform: Platform)

Properties

config
Link copied to clipboard
open val config: TaterConfig
Configuration file.
configFile
Link copied to clipboard
private val configFile: File
GSON
Link copied to clipboard
val GSON: Gson
lang
Link copied to clipboard
open val lang: JsonObject
Language file.
LOGGER
Link copied to clipboard
val LOGGER: Logger
MOD_ID
Link copied to clipboard
val MOD_ID: String
NPC_ID
Link copied to clipboard
val NPC_ID: ResourceLocation
platform
Link copied to clipboard
private val platform: Platform
presetsDir
Link copied to clipboard
val presetsDir: File
Directory of the presets.
PROFESSION_TYPES
Link copied to clipboard
val PROFESSION_TYPES: HashMap<ResourceLocation, (TaterzenNPC) -> TaterzenProfession>
TATERZEN_NPCS
Link copied to clipboard
val TATERZEN_NPCS: Map<UUID, TaterzenNPC>
List of **loaded** TaterzenNPCs.
TATERZEN_TYPE
Link copied to clipboard
open val TATERZEN_TYPE: Supplier<EntityType<TaterzenNPC>>
Taterzen entity type.

Functions

getInstance
Link copied to clipboard
open fun getInstance(): Taterzens
Gets the instance of the mod.
getPresetDirectory
Link copied to clipboard
open fun getPresetDirectory(): File
Returns the presets directory.
registerCommands
Link copied to clipboard
open fun registerCommands(dispatcher: CommandDispatcher<CommandSourceStack>, context: CommandBuildContext)
Handles command registration.