classpublicPriority 3
SensorCanPlace
com.hypixel.hytale.server.npc.corecomponents.world.SensorCanPlace
extends SensorBase
6
Methods
6
Public Methods
6
Fields
1
Constructors
Constants
ComponentType<EntityStore, BoundingBox>BOUNDING_BOX_COMPONENT_TYPE= BoundingBox.getComponentType()
Constructors
public
SensorCanPlace(BuilderSensorCanPlace builder, BuilderSupport support)Methods
Public Methods (6)
public
Vector3d apply(Vector3d target, float rotation)@Nonnull
public
Vector3d apply(Vector3d target)@Nonnull
public
void clearOnce()@Override
public
String get()@Nonnull
public
InfoProvider getSensorInfo()@Override
public
boolean matches(Ref<EntityStore> ref, Role role, double dt, Store<EntityStore> store)@Override
Fields
Protected Fields (6)
protected
boolean allowEmptyMaterialsprotected
boolean cachedResultprotected
double delayprotected
SensorCanPlace.Direction directionprotected
SensorCanPlace.Offset offsetprotected
double retryDelay