VoxLib

Quick rating

Community listing page, reviews here may not be monitored by the author.

VoxLib

No reviews yet

Provides additional tools for rotating and manipulating voxel shapes

API/Library
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Show per page
10
25
50
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Where It Runs
Client and Server

Must be installed on both the client and the server.

About

Project Details

Type
Mod
License
Minecraft Modding Public License
Latest Version
voxlib-1.2.0 1.19.4.jar

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

About

Description

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

This mod adds some tools that help modders to more easily manipulate, create, and rotate voxel shapes in their code!

To get started with using this library, please go here: GitHub

Required Dependencies


Additional Links


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.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Total Downloads
CurseForge
<1,000
Modrinth
<1,000
Last Updated
CurseForge
Modrinth
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works