Skip to content

Commit

Permalink
copy a billion times? no thanks
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsterner committed Sep 8, 2024
1 parent e85b42a commit 2254565
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ loader_version=0.16.3
fabric_kotlin_version=1.12.1+kotlin.2.0.20

# Mod Properties
mod_version=0.1.0
mod_version=0.1.1
maven_group=dev.sterner
archives_base_name=voidbound

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ import team.lodestar.lodestone.systems.rendering.VFXBuilders
class SpiritRiftBlockEntityRenderer(ctx: BlockEntityRendererProvider.Context) :
BlockEntityRenderer<SpiritRiftBlockEntity> {

var renderType = VoidBoundRenderTypes.GRAVITY_VORTEX.apply(TOKEN)
val copy = LodestoneRenderTypeRegistry.copy(renderType)
val copy2 = LodestoneRenderTypeRegistry.copy(renderType)

override fun render(
blockEntity: SpiritRiftBlockEntity,
partialTick: Float,
Expand All @@ -26,9 +30,7 @@ class SpiritRiftBlockEntityRenderer(ctx: BlockEntityRendererProvider.Context) :
packedLight: Int,
packedOverlay: Int
) {
var renderType = VoidBoundRenderTypes.GRAVITY_VORTEX.apply(TOKEN)
val copy = LodestoneRenderTypeRegistry.copy(renderType)
val copy2 = LodestoneRenderTypeRegistry.copy(renderType)


var alpha = 0.1f

Expand Down

0 comments on commit 2254565

Please sign in to comment.