▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/VoxLib
VoxLib

VoxLib

Gone are the days when you must create a new voxel shape for every direction your block faces! With the help of this library, with can be done with the use a simple function.

Оцените первым
466
2

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.

Партнёрский материал

Как поиграть с друзьями с модом VoxLib?

Мод VoxLib куда интереснее в компании: поднимите сервер Майнкрафт с уже установленным модом, позовите друзей и играйте по своим правилам. Хостинг Майнкрафт для мода VoxLib будет готов за пару минут - BungeeHost сделает всё за вас.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.19.x

Платформы

Поддерживаемые окружения

Клиент и сервер

Зависимости

Ссылки

Создатели

Детали

Лицензия:
Опубликован:2 года назад
Обновлён:1 месяц назад
Главная