Interface SafePosition


public interface SafePosition
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canSpawnInside(net.minecraft.world.entity.EntityType<?> entityType, net.minecraft.world.level.block.state.BlockState state)
     
    Optional<net.minecraft.world.phys.Vec3>
    findBy(net.minecraft.world.entity.EntityType<?> entityType, net.minecraft.world.level.CollisionGetter world, net.minecraft.core.BlockPos blockPos)
     
  • Method Details

    • findBy

      Optional<net.minecraft.world.phys.Vec3> findBy(net.minecraft.world.entity.EntityType<?> entityType, net.minecraft.world.level.CollisionGetter world, net.minecraft.core.BlockPos blockPos)
    • canSpawnInside

      boolean canSpawnInside(net.minecraft.world.entity.EntityType<?> entityType, net.minecraft.world.level.block.state.BlockState state)