Package-level declarations

Types

Link copied to clipboard
open class AbilityItem(val type: ItemType, itemName: String, var rarity: Rarity, val base: Material, var stats: Statistics, abilities: List<RegistryPointer> = listOf(), var specialStats: SpecialStatistics = SpecialStatistics(), var breakingPower: Int = 0, runeTypes: List<RuneSlot> = listOf(), description: String? = null, val id: Identifier? = null, metaModifier: (ItemMeta) -> Unit = { }) : AbstractMacrocosmItem
Link copied to clipboard
abstract class AbstractMacrocosmItem(val id: Identifier, val type: ItemType) : MacrocosmItem
Link copied to clipboard
object Armor
Link copied to clipboard
open class ArmorItem(val baseName: String, val baseId: String, baseMaterial: String, baseRarity: Rarity, baseStats: Statistics = Statistics.zero(), baseSpecials: SpecialStatistics = SpecialStatistics(), abilities: List<MacrocosmAbility> = listOf(), headMeta: (ItemMeta) -> Unit = { }, chestMeta: (ItemMeta) -> Unit = { }, legsMeta: (ItemMeta) -> Unit = { }, bootMeta: (ItemMeta) -> Unit = { }, commonMeta: (ItemMeta) -> Unit = { }, runes: List<RuneSlot> = listOf(), headSkin: String? = null, bootsName: String = " Boots", legsName: String = " Leggings", chestName: String = " Chestplate", headName: String = " Helmet")
Link copied to clipboard
class ColoredEntityArmor(val base: Material, color: Int) : AbstractMacrocosmItem
Link copied to clipboard
class EnchantedBook(var enchantments: HashMap<Identifier, Int> = hashMapOf()) : AbstractMacrocosmItem
Link copied to clipboard
class EnchantedItem(val base: Material, var rarity: Rarity, baseName: String = "Enchanted ", thisId: String? = null, actualId: String? = null) : AbstractMacrocosmItem
Link copied to clipboard
object Items
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class KillCountingArmor(val baseName: String, val baseId: String, baseMaterial: String, baseRarity: Rarity, baseStats: Statistics = Statistics.zero(), baseSpecials: SpecialStatistics = SpecialStatistics(), abilities: List<MacrocosmAbility> = listOf(), headMeta: (ItemMeta) -> Unit = { }, chestMeta: (ItemMeta) -> Unit = { }, legsMeta: (ItemMeta) -> Unit = { }, bootMeta: (ItemMeta) -> Unit = { }, commonMeta: (ItemMeta) -> Unit = { }, runes: List<RuneSlot> = listOf(), headSkin: String? = null) : ArmorItem
Link copied to clipboard
class KillCountingItem(val type: ItemType, itemName: String, var rarity: Rarity, val base: Material, var stats: Statistics, abilities: MutableList<RegistryPointer> = mutableListOf(), var specialStats: SpecialStatistics = SpecialStatistics(), var breakingPower: Int = 0, runeTypes: List<RuneSlot> = listOf(), description: String? = null, metaModifier: (ItemMeta) -> Unit = { }) : AbilityItem, KillStorageItem
Link copied to clipboard
interface KillStorageItem
Link copied to clipboard
class LimitedEditionItem(ty: ItemType, val nameStr: String, var rarity: Rarity, val base: Material, var stats: Statistics, abilities: MutableList<MacrocosmAbility> = mutableListOf(), var specialStats: SpecialStatistics = SpecialStatistics(), var breakingPower: Int = 0, runeTypes: List<RuneSlot> = listOf(), metaModifier: (ItemMeta) -> Unit = { }) : AbilityItem
Link copied to clipboard
Link copied to clipboard
class PetItem(val id: Identifier, nameStr: String, headSkin: String, var stored: StoredPet? = null) : AbstractMacrocosmItem
Link copied to clipboard
enum Rarity : Enum<Rarity>
Link copied to clipboard
class RecipeItem(val base: Material, var rarity: Rarity, baseName: String, val headSkin: String? = null, description: String? = null, glow: Boolean = false) : AbstractMacrocosmItem
Link copied to clipboard
class ReforgeStone(reforgeType: Reforge, stoneName: String, var rarity: Rarity, val headSkin: String) : AbstractMacrocosmItem
Link copied to clipboard
open class Shortbow(name: String, var rarity: Rarity, extraAbilities: List<MacrocosmAbility> = listOf(), var stats: Statistics = Statistics.zero(), specials: SpecialStatistics = SpecialStatistics(), origin: Material = Material.BOW, runes: List<RuneSlot> = listOf()) : AbilityItem
Link copied to clipboard
open class SkullAbilityItem(val type: ItemType, itemName: String, var rarity: Rarity, val skullOwner: String, var stats: Statistics, abilities: MutableList<RegistryPointer> = mutableListOf(), var specialStats: SpecialStatistics = SpecialStatistics(), var breakingPower: Int = 0, runeTypes: List<Identifier> = listOf(), description: String? = null, val id: Identifier = Identifier.macro(itemName.lowercase().replace(" ", "_").replace("'", "")), metaModifier: (ItemMeta) -> Unit = { }) : AbilityItem
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface ThreePieceArmor
Link copied to clipboard
class VanillaItem(val base: Material, var amount: Int = 1, metaModifier: (ItemMeta) -> Unit = { }) : AbstractMacrocosmItem

Functions

Link copied to clipboard
fun coloredArmor(type: Material, color: Int): MacrocosmItem
Link copied to clipboard
fun colorMeta(color: Int): (ItemMeta) -> Unit
Link copied to clipboard
inline fun <V : MacrocosmItem> macrocosmItem(id: Identifier, builder: V.() -> Unit = { }): V
Link copied to clipboard
fun ItemStack.macrocosmTag(): CompoundTag
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
val ItemStack.macrocosm: MacrocosmItem?
Link copied to clipboard