Topic category: Help with modding (Java Edition)
In a custom dimension, the roof and floor of the world is a custom block. I want this block to act like bedrock, where mobs cannot spawn on the block. I don't want there to be tons of mobs on the world's ceiling. How do I make the block do this?