com.lop.devtools.monstera.files.beh.entitiy.components.ComponentAddRider.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 ComponentAddRider: MonsteraFile {
override val unsafe = Unsafe()
inner class Unsafe: MonsteraUnsafeMap {
val general = mutableMapOf()
override fun getData(): MutableMap {
entityType?.let { general["entity_type"] = it }
spawnEvent?.let { general["spawn_event"] = it }
return general
}
}
var entityType: String? = null
var spawnEvent: String? = null
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy