Interface ExtensibleSpawnPredicate.Type

Enclosing class:
ExtensibleSpawnPredicate
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 ExtensibleSpawnPredicate.Type
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(net.minecraft.world.entity.EntityType<?> entityType, net.minecraft.world.level.ServerLevelAccessor level, net.minecraft.world.entity.EntitySpawnReason reason, net.minecraft.core.BlockPos pos, net.minecraft.util.RandomSource random)
     
  • Method Details

    • test

      boolean test(net.minecraft.world.entity.EntityType<?> entityType, net.minecraft.world.level.ServerLevelAccessor level, net.minecraft.world.entity.EntitySpawnReason reason, net.minecraft.core.BlockPos pos, net.minecraft.util.RandomSource random)