package pokefenn.totemic.init;

import net.minecraft.tileentity.TileEntityType;
import net.minecraftforge.event.RegistryEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.registries.ObjectHolder;
import pokefenn.totemic.Totemic;
import pokefenn.totemic.tile.totem.TileTotemBase;

@ObjectHolder(Totemic.MOD_ID)
public final class ModTileEntities {
    public static final TileEntityType<TileTotemBase> totem_base = null;

    @SubscribeEvent
    public static void init(RegistryEvent.Register<TileEntityType<?>> event) {
        event.getRegistry().registerAll(
            TileEntityType.Builder.create(TileTotemBase::new).build(null).setRegistryName("totem_base")
        );
    }
}

@@ -25,16 +25,50 @@
 .init;%0A%0A
+import net.minecraft.block.Block;%0A
 import n
@@ -685,16 +685,74 @@
 ase::new
+, ModBlocks.getTotemBases().values().toArray(new Block%5B0%5D)
 ).build(

Fix invalid tile entity error