Nova's Library

Quick rating

Community listing page, reviews may not be monitored by the author.

Nova's Library

No reviews yet

A small Kotlin library with all the things I kept on rewriting

Mod Loaders
Minecraft

About

Description

This is a library mod. There's no reason to get this unless you want a mod that depends on it.

That said, if you're a developer who uses Architectury and Kotlin, this might be interesting for you.

object ArcheanosItems : GenericRegistry<Item>(Archeanos.MOD_ID, Registries.ITEM) {
    val ANCIENT_SEED: ItemNameBlockItem by register("ancient_seed") { ItemNameBlockItem(ArcheanosBlocks.SOURCESPROUT, Item.Properties()) }
    val SOURCELEAF: Item by register("sourceleaf") { Item(Item.Properties()) }
    val SOURCE_FRUIT: ItemNameBlockItem by register("source_fruit") { ItemNameBlockItem(ArcheanosBlocks.SOURCESPROUT, Item.Properties()) }
    val INFUSED_SEED : ItemNameBlockItem by register("infused_seed") { ItemNameBlockItem(ArcheanosBlocks.INFUSED_WHEAT, Item.Properties()) }
    val INFUSED_WHEAT : InfusedFeed by register("infused_wheat") { InfusedFeed(Item.Properties(), Items.WHEAT) }
}

Look at that. Isn't that pretty?