MarioUtils

Utility helpers for the Mario feature module.

Functions

Link copied to clipboard
fun aabbToVec3List(aabb: AABB): List<Vec3>
Link copied to clipboard
fun findWaterLevel(world: Level, pos: BlockPos): Int
Link copied to clipboard
fun getIsMarioData(player: Player): Boolean
Link copied to clipboard
fun getMarioModelIndexData(player: Player): Int
Link copied to clipboard
fun getQuadsFromHitbox(world: Level, pos: BlockPos, passThrough: Boolean): List<Vec3>
fun getQuadsFromHitbox(world: Level, pos: BlockPos, passThrough: Boolean, maxHitbox: Boolean): List<Vec3>
Link copied to clipboard
fun getRegistryName(effect: MobEffect): String
Link copied to clipboard
Link copied to clipboard
fun setIsMarioData(player: Player, value: Boolean)
Link copied to clipboard
fun setMarioModelIndexData(player: Player, modelIndex: Int)
Link copied to clipboard
fun vec3toVector3f(vec3: Vec3): Vector3f