Interface EntityEvents.SpecialSpawn

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.SpecialSpawn
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.InteractionResult
    specialSpawn(net.minecraft.world.entity.Mob entity, net.minecraft.world.level.LevelAccessor level, float x, float y, float z, @Nullable net.minecraft.world.level.BaseSpawner spawner, net.minecraft.world.entity.MobSpawnType spawnReason)
     
  • Method Details

    • specialSpawn

      net.minecraft.world.InteractionResult specialSpawn(net.minecraft.world.entity.Mob entity, net.minecraft.world.level.LevelAccessor level, float x, float y, float z, @Nullable @Nullable net.minecraft.world.level.BaseSpawner spawner, net.minecraft.world.entity.MobSpawnType spawnReason)