Interface SpawnRule
- All Known Implementing Classes:
GhastRule, SpiderRule
public interface SpawnRule
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.entity.EntityType<?> default net.minecraft.core.BlockPosfindGround(net.minecraft.client.multiplayer.ClientLevel level, int x, int z, int minY, int maxY) default booleanisDeniedBy(net.minecraft.core.BlockPos candidate, net.minecraft.core.BlockPos slabAbovePos) intint
-
Method Details
-
entityType
net.minecraft.world.entity.EntityType<?> entityType() -
requiredWidth
int requiredWidth() -
requiredHeight
int requiredHeight() -
findGround
default net.minecraft.core.BlockPos findGround(net.minecraft.client.multiplayer.ClientLevel level, int x, int z, int minY, int maxY) -
isDeniedBy
default boolean isDeniedBy(net.minecraft.core.BlockPos candidate, net.minecraft.core.BlockPos slabAbovePos)
-