com.lop.devtools.monstera.files.beh.entitiy.components.ComponentMoveToLiquid.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
class ComponentMoveToLiquid {
val general = mutableMapOf()
var priority: Int? = null
var goalRadius: Float? = null
var searchCount: Int? = null
var searchHeight: Number? = null
var searchRange: Number? = null
var speedMultiplier: Float? = null
var materialType: String? = null
fun getData(): MutableMap {
priority?.let { general["priority"] = it }
goalRadius?.let { general["goal_radius"] = it }
searchCount?.let { general["search_count"] = it }
searchHeight?.let { general["search_height"] = it }
searchRange?.let { general["search_range"] = it }
speedMultiplier?.let { general["speed_multiplier"] = it }
materialType?.let { general["material_type"] = it }
return general
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy