Im working on a 1.21.11 mod to backport some of the features from 26.1. I added the golden dandelion which currently isn't rendering correctly as there isn't any transparency. I followed the fabric docs which said to add BlockRenderLayerMap.putBlock(ExampleModAppearance.WAXCAP_BLOCK, ChunkSectionLayer.CUTOUT); in the client init which i did, no errors in my IDE but when i launch the game with runClient i get the following error (See message below) and im not sure how to fix it.
public class Backport261Client implements ClientModInitializer {
@Override
public void onInitializeClient() {
BlockRenderLayerMap.putBlock(ModBlocks.GOLDEN_DANDELION, ChunkSectionLayer.CUTOUT);
}
}