com.lop.devtools.monstera.files.beh.entitiy.components.ComponentBreed.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of monstera Show documentation
Show all versions of monstera Show documentation
A library and environment designed to streamline the development of Minecraft addons.
package com.lop.devtools.monstera.files.beh.entitiy.components
import com.lop.devtools.monstera.addon.api.MonsteraFile
import com.lop.devtools.monstera.addon.api.MonsteraUnsafeMap
class ComponentBreed : MonsteraFile {
override val unsafe = Unsafe()
inner class Unsafe : MonsteraUnsafeMap {
val general = mutableMapOf()
override fun getData(): MutableMap {
priority?.let { general["priority"] = it }
speedMultiplier?.let { general["speed_multiplier"] = it }
return general
}
}
var priority: Int? = null
var speedMultiplier: Float? = null
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy