Henrique BM Posted May 13 Share Posted May 13 I am a beginner modder, with around 50 hours of experience being guided by tutorials and chat-gpt. My mod is almost done, but I want to make the plants specifically require sunlight to encourage players to establish structure above ground. After looking at the vanilla code for a few hours, I'm still unsere what the best way to do this would be. I would be happy if someone with more experience could point me in the right direction. Quote Link to comment Share on other sites More sharing options...
Toasterkid Posted May 15 Share Posted May 15 Have you tried using net.minecraft.world.level.BlockAndTintGetter#canSeeSky ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.