Class ValidateNearbyPoi
java.lang.Object
net.minecraft.world.entity.ai.behavior.ValidateNearbyPoi
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
bedIsOccupied
(ServerLevel p_24531_, BlockPos p_24532_, LivingEntity p_24533_) static BehaviorControl
<LivingEntity>
-
Field Details
-
MAX_DISTANCE
private static final int MAX_DISTANCE- See Also:
-
-
Constructor Details
-
ValidateNearbyPoi
public ValidateNearbyPoi()
-
-
Method Details
-
create
public static BehaviorControl<LivingEntity> create(Predicate<Holder<PoiType>> p_259460_, MemoryModuleType<GlobalPos> p_259635_) -
bedIsOccupied
private static boolean bedIsOccupied(ServerLevel p_24531_, BlockPos p_24532_, LivingEntity p_24533_)
-