ServerPlayerMixinCast_ITaterzenPlayer

abstract class ServerPlayerMixinCast_ITaterzenPlayer : ITaterzenPlayer

Additional methods for players to track TaterzenNPC

Functions

getLastInteractionTime
Link copied to clipboard
open fun getLastInteractionTime(): Long
Gets the last time player has interacted with org.samo_lego.taterzens.npc.TaterzenNPC.
getLastMsgPos
Link copied to clipboard
open fun getLastMsgPos(taterzenUuid: UUID): Int
Gets last message position in array of messages.
resetMessageTicks
Link copied to clipboard
open fun resetMessageTicks(taterzenUuid: UUID)
Resets ticks since player got the last message from org.samo_lego.taterzens.npc.TaterzenNPC.
setLastInteraction
Link copied to clipboard
open fun setLastInteraction(time: Long)
Sets last interaction time with org.samo_lego.taterzens.npc.TaterzenNPC.
setLastMsgPos
Link copied to clipboard
open fun setLastMsgPos(taterzenUuid: UUID, newPos: Int)
Sets the index of last message in array of messages.
ticksSinceLastMessage
Link copied to clipboard
open fun ticksSinceLastMessage(taterzenUuid: UUID): Int
Gets how many ticks have passed since player got last message.