Package-level declarations

Types

Link copied to clipboard
object CompoundDataType : PersistentDataType<ByteArray, CompoundTag>

A persistent data type that allows you to store NBT compounds inside.

Link copied to clipboard
Link copied to clipboard
object Entities
Link copied to clipboard
open class EntityBase(val name: Component, val type: EntityType, val pool: LootPool, val experience: Double, var baseStats: Statistics = Statistics.zero(), var baseSpecials: SpecialStatistics = SpecialStatistics(), var mainHand: MacrocosmItem? = null, var offHand: MacrocosmItem? = null, var helmet: MacrocosmItem? = null, var chestplate: MacrocosmItem? = null, var leggings: MacrocosmItem? = null, var boots: MacrocosmItem? = null, disguiseSkin: String? = null, sounds: EntitySoundBank? = null, val rewardingSkill: SkillType = SkillType.COMBAT, val playerFriendly: Boolean = false, val disguiseProfile: WrappedGameProfile? = null) : MacrocosmEntity
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface MacrocosmEntity : Listener
Link copied to clipboard

Functions

Link copied to clipboard
fun dropsFromType(ty: EntityType): List<Drop>
Link copied to clipboard
fun equipment(entity: UUID, slot: EquipmentSlot): EquipmentDelegate
Link copied to clipboard
fun levelFromStats(stats: Statistics, extraWeight: Float = 0.0f): Int
Link copied to clipboard
fun Entity.loadNbt(nbt: CompoundTag)
Link copied to clipboard
fun nameMm(comp: Component): String
Link copied to clipboard
fun raycast(from: LivingEntity, distance: Int): Location
fun raycast(from: Location, direction: Vector, distance: Int): Location
Link copied to clipboard
fun Entity.readNbt(): CompoundTag
Link copied to clipboard
fun textureProfile(value: String, signature: String): WrappedGameProfile

Properties

Link copied to clipboard
val LivingEntity.macrocosm: MacrocosmEntity?