Package net.minecraft.entity
Interface SpawnRestriction.SpawnPredicate<T extends Entity>
- Enclosing class:
SpawnRestriction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
- Mappings:
Namespace Name named net/minecraft/entity/SpawnRestriction$SpawnPredicate
intermediary net/minecraft/class_1317$class_4306
official bxb$b
-
Method Summary
Modifier and TypeMethodDescriptionboolean
test
(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
-
Method Details
-
test
boolean test(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) - Mappings:
Namespace Name Mixin selector named test
Lnet/minecraft/entity/SpawnRestriction$SpawnPredicate;test(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Z
intermediary test
Lnet/minecraft/class_1317$class_4306;test(Lnet/minecraft/class_1299;Lnet/minecraft/class_5425;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Z
official test
Lbxb$b;test(Lbvq;Ldhy;Lbvp;Ljh;Lbam;)Z
-