Interface SpawnRule

All Known Implementing Classes:
GhastRule, SpiderRule

public interface SpawnRule
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.entity.EntityType<?>
     
    default net.minecraft.core.BlockPos
    findGround(net.minecraft.client.multiplayer.ClientLevel level, int x, int z, int minY, int maxY)
     
    default boolean
    isDeniedBy(net.minecraft.core.BlockPos candidate, net.minecraft.core.BlockPos slabAbovePos)
     
    int
     
    int
     
  • 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)