Interface EntityEvents.CheckSpawn

Enclosing class:
EntityEvents
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface EntityEvents.CheckSpawn
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.InteractionResult
    canSpawn(net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.level.LevelAccessor level, double x, double y, double z, net.minecraft.world.entity.MobSpawnType type, net.minecraft.world.level.BaseSpawner spawner)
     
  • Method Details

    • canSpawn

      net.minecraft.world.InteractionResult canSpawn(net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.level.LevelAccessor level, double x, double y, double z, net.minecraft.world.entity.MobSpawnType type, @Nullable net.minecraft.world.level.BaseSpawner spawner)