VoxLib 图标

VoxLib

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.6.1+1.19.4
本资源为搬运资源,原资源地址: https://modrinth.com/mod/voxlib
资源信息

Minecraft 版本: 1.19.4

平台: fabric

标签: library

资源介绍

VoxLib

VoxLib is a Fabric library for Minecraft 1.19.4 that makes working with block voxel shapes less repetitive. Create a shape once, combine its pieces, rotate it for each direction, and inspect the result in-game.

VoxLib is primarily intended for mod developers. Install it when another mod lists it as a dependency, or add it directly to your development environment.

Features

  • Create cuboid and common block shapes
  • Combine shapes with concise Kotlin helpers
  • Build shapes conditionally
  • Rotate and flip shapes for directional blocks
  • Simplify complex collision and outline shapes
  • Cache repeated shape operations
  • Display targeted outline and collision shapes in-game
  • Log and compare shapes in client or server environments

Quick Example

val northShape = createCuboidShape(5, 0, 0, 11, 16, 8)

val eastShape = northShape.rotateRight()
val southShape = northShape.flip()
val westShape = northShape.rotateLeft()

Using VoxLib from Modrinth Maven

repositories {
    maven {
        url = "https://api.modrinth.com/maven"
    }
}

dependencies {
    modImplementation "maven.modrinth:voxlib:1.6.0+1.19.4"
}

Dependencies

  • Fabric API — required
  • Fabric Language Kotlin — required
  • Mod Menu — optional; provides access to the debug settings screen

Compatibility

  • Minecraft 1.19.4
  • Fabric
  • Java 17 or newer
  • Client and dedicated server

Shape utilities work on both sides. Rendering overlays and the configuration screen are client-only.

For complete examples and documentation, visit the GitHub repository.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Charged Anchors

价格:0 墨喵币
下载量:0

查看详情
More armor 'n' tools

价格:0 墨喵币
下载量:0

查看详情
Midley's Mods

价格:0 墨喵币
下载量:0

查看详情
Bingo Game

价格:0 墨喵币
下载量:0

查看详情