Move observed config list to config subpackage

This commit is contained in:
DBotThePony 2025-03-30 16:24:06 +07:00
parent 1a94ab6634
commit a2c5b84e77
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -1,10 +1,7 @@
package ru.dbotthepony.mc.otm
package ru.dbotthepony.mc.otm.config
import it.unimi.dsi.fastutil.ints.IntArrayList
import net.minecraft.core.Registry
import net.minecraft.resources.ResourceLocation
import net.neoforged.neoforge.common.ModConfigSpec
import ru.dbotthepony.mc.otm.config.getValue
import java.util.LinkedList
abstract class ObservedConfigList<V : Any>(val parent: ModConfigSpec.ConfigValue<MutableList<String>>, private val allowNulls: Boolean = false) : AbstractMutableList<V>(), RandomAccess {