Package-level declarations

Types

Link copied to clipboard

Very simple implementation for the INpcManager to interact the Npcs out of the Box.

Link copied to clipboard
class Npc(var id: NamespacedKey, val name: String? = null, var playerEntity: Player, var gameProfile: GameProfile, val mirrorSkin: Boolean = false, val location: Location, val actions: EnumSet<InfoUpdateAction> = EnumSet.noneOf( InfoUpdateAction::class.java ), val glowing: Boolean = false, val type: EntityType? = null, val equipment: MutableMap<EquipmentSlot?, ItemStack?>? = mutableMapOf(), val turnToPlayer: Boolean? = null, val turnToPlayerDistance: Int? = null, var isVisibleForPlayer: MutableMap<UUID?, Boolean?>? = mutableMapOf(), val skin: NpcSkinData? = null, var entityId: Int, var isTeamCreated: MutableMap<UUID?, Boolean?>? = mutableMapOf(), var isLookingAtPlayer: MutableMap<UUID?, Boolean?>? = mutableMapOf(), val permission: String? = "npc.", val spawnOnJoin: Boolean? = null) : INpc

Basic implementation of INpc for standard NPC functionality. Please note that due to a lack of general use cases, it is only available for storage purposes and not for all implementations.