blob: 6e8203a3c25e4c626492f09fafff8502c97baa20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
package moe.nea.firmament.events
import net.minecraft.item.ItemStack
sealed class PlayerInventoryUpdate : FirmamentEvent() {
companion object : FirmamentEventBus<PlayerInventoryUpdate>()
data class Single(val slot: Int, val stack: ItemStack) : PlayerInventoryUpdate()
data class Multi(val contents: List<ItemStack>) : PlayerInventoryUpdate()
}
|