All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lop.devtools.monstera.files.beh.entitiy.components.ComponentMoveToLiquid.kt Maven / Gradle / Ivy

Go to download

A library and environment designed to streamline the development of Minecraft addons.

There is a newer version: 0.4.5
Show newest version
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