Not finding the texture when rendering the enchanted flower
Closed this issue · 1 comments
Nephty commented
When placing down an enchanted flower, the texture doesn't show up properly.
The interactions are working properly but the texture seems to be missing.
Nephty commented
Solved : use "cross" instead of default block model and add this in the class :
@SubscribeEvent
public static void init(FMLClientSetupEvent event) {
RenderTypeLookup.setRenderLayer(ModBlocks.ENCHANTED_FLOWER.get(), RenderType.cutout());
}
Then add this in the builder :
FMLJavaModLoadingContext.get().getModEventBus().addListener(CustomFlower::init);