Open ammoore00 opened 1 year ago
I remembered this ticket when working on passable leaves and thought I could take a look. But not really sure what you mean by this?
like change isLeafBlock to isLeafBlock() {return blockMaterial == Material.leaves}
?
EntityMob.canSpawnOnBlockBelow and EntityMob.canSapwnOnBlock are the relevant methods, although it will need a bit of tweaking since the current leaf check code takes coordinates.