- 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.
-
Method Summary
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.EntitySpawnReason type,
@Nullable net.minecraft.world.level.BaseSpawner spawner)