Package net.minecraft.util
Interface SpawnUtil.Strategy
- Enclosing class:
SpawnUtil
public static interface SpawnUtil.Strategy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SpawnUtil.Strategy
Deprecated.static final SpawnUtil.Strategy
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canSpawnOn
(ServerLevel pLevel, BlockPos pTargetPos, BlockState pTargetState, BlockPos pAttemptedPos, BlockState pAttemptedState)
-
Field Details
-
LEGACY_IRON_GOLEM
Deprecated. -
ON_TOP_OF_COLLIDER
-
-
Method Details
-
canSpawnOn
boolean canSpawnOn(ServerLevel pLevel, BlockPos pTargetPos, BlockState pTargetState, BlockPos pAttemptedPos, BlockState pAttemptedState)
-