public class SensorDroppedItem extends SensorBase
Class SensorDroppedItem. Provides sensordroppeditem functionality for the Hytale server.
java.lang.Object > SensorBase > SensorDroppedItem
Field Summary
heading
protected
float
heading
Field heading.
itemArray
final
String[]
itemArray
Field itemArray.
headRotationComponent
final
HeadRotation
headRotationComponent
Field headRotationComponent.
droppedItem
final
Ref
droppedItem
Field droppedItem.
selfTransformComponent
final
TransformComponent
selfTransformComponent
Field selfTransformComponent.
selfPosition
final
Vector3d
selfPosition
Field selfPosition.
itemTransformComponent
final
TransformComponent
itemTransformComponent
Field itemTransformComponent.
itemPosition
final
Vector3d
itemPosition
Field itemPosition.
itemComponent
final
ItemComponent
itemComponent
Field itemComponent.
itemStack
final
ItemStack
itemStack
Field itemStack.
attitude
final
Attitude
attitude
Field attitude.
Method Detail
SensorDroppedItem
public
public
SensorDroppedItem
(@Nonnull final BuilderSensorDroppedItem builder, @Nonnull final BuilderSupport support)
Method SensorDroppedItem.
- Parameters:
@Nonnull final BuilderSensorDroppedItembuilder@Nonnull final BuilderSupportsupport
matches
public
boolean
matches
(@Nonnull final Ref ref, @Nonnull final Role role, final double dt, @Nonnull final Store store)
Method matches.
- Parameters:
@Nonnull final Refref@Nonnull final Rolerolefinal doubledt@Nonnull final Storestore
filterItem
protected
boolean
filterItem
(@Nonnull final Ref ref, @Nonnull final Ref itemRef, @Nonnull final Role role, @Nonnull final ComponentAccessor componentAccessor)
Method filterItem.
- Parameters:
@Nonnull final Refref@Nonnull final RefitemRef@Nonnull final Rolerole@Nonnull final ComponentAccessorcomponentAccessor