Skip to content

Commit bfeb2e2

Browse files
committed
[fix] Attempt to fix enchanter and forger's renderer
1 parent f878f6e commit bfeb2e2

File tree

1 file changed

+3
-0
lines changed
  • src/main/java/plus/dragons/createenchantmentindustry/common/registry

1 file changed

+3
-0
lines changed

src/main/java/plus/dragons/createenchantmentindustry/common/registry/CEIBlocks.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
import com.simibubi.create.foundation.data.AssetLookup;
3131
import com.simibubi.create.foundation.data.BlockStateGen;
3232
import com.simibubi.create.foundation.data.SharedProperties;
33+
import com.simibubi.create.foundation.item.render.CustomRenderedItems;
3334
import com.tterrag.registrate.util.entry.BlockEntry;
3435
import net.minecraft.client.renderer.RenderType;
3536
import net.minecraft.sounds.SoundEvents;
@@ -109,6 +110,7 @@ public class CEIBlocks {
109110
.item()
110111
.model((ctx, prov) -> prov.withExistingParent(ctx.getName(),
111112
Create.asResource("block/blaze_burner/block_with_blaze")))
113+
.onRegister(CustomRenderedItems::register)
112114
.build()
113115
.register();
114116
public static final BlockEntry<BlazeForgerBlock> BLAZE_FORGER = REGISTRATE
@@ -124,6 +126,7 @@ public class CEIBlocks {
124126
.item()
125127
.model((ctx, prov) -> prov.withExistingParent(ctx.getName(),
126128
Create.asResource("block/blaze_burner/block_with_blaze")))
129+
.onRegister(CustomRenderedItems::register)
127130
.build()
128131
.register();
129132
public static final BlockEntry<ExperienceBlock> SUPER_EXPERIENCE_BLOCK = REGISTRATE

0 commit comments

Comments
 (0)