AdditionalFunctions

open class AdditionalFunctions

Functions

init
Link copied to clipboard
open fun init()
Register scarpet functions.
players_taterzen
Link copied to clipboard
@Nullable
@ScarpetFunction
open fun players_taterzen(player: ServerPlayer): @Nullable Entity
Gets player's selected taterzen.
spawn_taterzen
Link copied to clipboard
@ScarpetFunction
open fun spawn_taterzen(player: ServerPlayer, name: String): Entity
Creates a new taterzen at coordinates of the provided player.
taterzen_by_id
Link copied to clipboard
@ScarpetFunction
open fun taterzen_by_id(id: Int): Entity
Returns a taterzen from {TATERZEN_NPCS} by its id.
taterzen_by_name
Link copied to clipboard
@ScarpetFunction
open fun taterzen_by_name(name: String): Entity
taterzen_by_uuid
Link copied to clipboard
@ScarpetFunction
open fun taterzen_by_uuid(uuid: String): Entity