Skip to content

Commit

Permalink
changed id and project to voxlib
Browse files Browse the repository at this point in the history
  • Loading branch information
Mystery2099 committed Oct 30, 2023
1 parent 19a2322 commit 83a23ba
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 29 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fabric_kotlin_version=1.10.10+kotlin.1.9.10
# Mod Properties
mod_version=1.0.0
maven_group=com.github.mystery2099
archives_base_name=voxelshapeutils
archives_base_name=voxlib

# Dependencies
fabric_version=0.87.1+1.19.4

This file was deleted.

15 changes: 15 additions & 0 deletions src/main/kotlin/com/github/mystery2099/voxlib/VoxLib.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package com.github.mystery2099.voxlib

import net.fabricmc.api.ModInitializer
import org.slf4j.LoggerFactory

object VoxLib : ModInitializer {
private val LOGGER = LoggerFactory.getLogger("voxlib")

override fun onInitialize() {
// This code runs as soon as Minecraft is in a mod-load-ready state.
// However, some things (like resources) may still be uninitialized.
// Proceed with mild caution.
LOGGER.info("Hello Fabric world, this is VoxLib!")
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.mystery2099.voxelshapeutils.combination
package com.github.mystery2099.voxlib.combination

import net.minecraft.block.Block
import net.minecraft.util.function.BooleanBiFunction
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.github.mystery2099.voxelshapeutils.combination
package com.github.mystery2099.voxlib.combination

import com.github.mystery2099.voxelshapeutils.combination.VoxelAssembly.plus
import com.github.mystery2099.voxlib.combination.VoxelAssembly.plus
import net.minecraft.util.shape.VoxelShape

class VoxelShapeModifier internal constructor(private var baseShape: VoxelShape) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.github.mystery2099.voxelshapeutils.rotation
package com.github.mystery2099.voxlib.rotation

import com.github.mystery2099.voxelshapeutils.combination.VoxelAssembly.plus
import com.github.mystery2099.voxlib.combination.VoxelAssembly.plus
import net.minecraft.util.shape.VoxelShape
import net.minecraft.util.shape.VoxelShapes
import java.util.concurrent.atomic.AtomicReference
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.mystery2099.voxelshapeutils.rotation
package com.github.mystery2099.voxlib.rotation

/**
* Voxel shape transformation
Expand Down
File renamed without changes
10 changes: 5 additions & 5 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"schemaVersion": 1,
"id": "voxelshapeutils",
"id": "voxlib",
"version": "${version}",
"name": "VoxelShapeUtils",
"description": "Simply adds some useful tools for combining, rotating, and creating voxel shapes!",
"name": "Mystery2099's VoxLib",
"description": "Simply adds some useful tools for combining, rotating, and creating voxel shapes to be used in Minecraft mods!",
"authors": [
"Mystery2099"
],
Expand All @@ -13,12 +13,12 @@
"issues": "https://github.com/Mystery2099/VoxelShapeUtils/issues"
},
"license": "CC0-1.0",
"icon": "assets/voxelshapeutils/icon.png",
"icon": "assets/voxlib/icon.png",
"environment": "*",
"entrypoints": {
"main": [
{
"value": "com.github.mystery2099.voxelshapeutils.VoxelShapeUtils",
"value": "com.github.mystery2099.voxlib.VoxLib",
"adapter": "kotlin"
}
]
Expand Down

0 comments on commit 83a23ba

Please sign in to comment.