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

com.lop.devtools.monstera.files.beh.entitiy.components.ComponentBreed.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

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