Skip to content

Commit

Permalink
Fix Titanium Lantern Transparency
Browse files Browse the repository at this point in the history
  • Loading branch information
EmpressAutumn committed Dec 2, 2024
1 parent 5b9edda commit afcbede
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"parent": "minecraft:block/template_lantern",
"render_type": "cutout",
"textures": {
"lantern": "titanium:block/titanium_lantern_off"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"parent": "minecraft:block/template_lantern",
"render_type": "cutout",
"textures": {
"lantern": "titanium:block/titanium_lantern_on"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"parent": "minecraft:block/template_hanging_lantern",
"render_type": "cutout",
"textures": {
"lantern": "titanium:block/titanium_lantern_off"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"parent": "minecraft:block/template_hanging_lantern",
"render_type": "cutout",
"textures": {
"lantern": "titanium:block/titanium_lantern_on"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
package com.atom596.titanium;

import com.atom596.titanium.block.TitaniumBlocks;
import com.atom596.titanium.item.TitaniumItems;
import com.atom596.titanium.world.TitaniumWorldGeneration;
import net.fabricmc.api.ModInitializer;
import net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap;
import net.fabricmc.fabric.api.itemgroup.v1.ItemGroupEvents;
import net.minecraft.client.renderer.RenderType;
import net.minecraft.world.item.CreativeModeTabs;
import net.minecraft.world.item.Items;

Expand All @@ -14,7 +17,7 @@ public void onInitialize() {
Titanium.initialize();

TitaniumWorldGeneration.generateModWorldGen();

BlockRenderLayerMap.INSTANCE.putBlock(TitaniumBlocks.TITANIUM_LANTERN.get(), RenderType.cutout());
addCreative();

Titanium.LOGGER.info("Initialized Titanium by EmpressAutumn");
Expand Down

0 comments on commit afcbede

Please sign in to comment.