TaterzensAPI
open class TaterzensAPI
Content copied to clipboard
Class containing static methods to use with Taterzens.
Functions
createTaterzen
Link copied to clipboard
open fun createTaterzen(owner: ServerPlayer, displayName: String): TaterzenNPC
Content copied to clipboard
Creates a Taterzen NPC from owner with provided display name.
open fun createTaterzen(world: ServerLevel, displayName: String, pos: Vec3, rotations: Array<Float>): TaterzenNPC
Content copied to clipboard
Creates a Taterzen NPC with rotations and custom name.
getPresets
Link copied to clipboard
loadPresetTag
Link copied to clipboard
Gets the Taterzen data from file.
loadTaterzenFromPreset
Link copied to clipboard
@Nullable
Content copied to clipboard
Loads TaterzenNPC from preset.
registerProfession
Link copied to clipboard
open fun registerProfession(professionId: ResourceLocation, professionInitilizer: (TaterzenNPC) -> TaterzenProfession)
Content copied to clipboard
Registers a new TaterzenProfession.
saveTaterzenToPreset
Link copied to clipboard
Saves TaterzenNPC to preset file.