public class MarkedEntitySupport
Class MarkedEntitySupport. Provides markedentitysupport functionality for the Hytale server.
java.lang.Object > MarkedEntitySupport
Field Summary
targetSlotMappings
protected
Object2IntMap
targetSlotMappings
Field targetSlotMappings.
slotToNameMap
protected
Int2ObjectMap
slotToNameMap
Field slotToNameMap.
entityTargets
protected
Ref[]
entityTargets
Field entityTargets.
storedPositions
protected
Vector3d[]
storedPositions
Field storedPositions.
defaultTargetSlot
protected
int
defaultTargetSlot
Field defaultTargetSlot.
targetSlotToIgnoreForAvoidance
protected
int
targetSlotToIgnoreForAvoidance
Field targetSlotToIgnoreForAvoidance.
slotMappings
final
Object2IntMap
slotMappings
Field slotMappings.
slot
final
int
slot
Field slot.
ref
final
Ref
ref
Field ref.
parentRef
final
Ref
parentRef
Field parentRef.
flockReference
final
Ref
flockReference
Field flockReference.
npcComponent
final
NPCEntity
npcComponent
Field npcComponent.
Method Detail
clearMarkedEntity
public
void
clearMarkedEntity
(final int targetSlot)
Method clearMarkedEntity.
- Parameters:
final inttargetSlot
getMarkedEntityRef
Method getMarkedEntityRef.
- Parameters:
final StringtargetSlot
getMarkedEntitySlotCount
public
int
getMarkedEntitySlotCount
()
Method getMarkedEntitySlotCount.
getStoredPosition
Method getStoredPosition.
- Parameters:
final intslot
hasMarkedEntity
Method hasMarkedEntity.
- Parameters:
@Nonnull final RefentityReferencefinal inttargetSlot
hasMarkedEntityInSlot
public
boolean
hasMarkedEntityInSlot
(final String targetSlot)
Method hasMarkedEntityInSlot.
- Parameters:
final StringtargetSlot
flockSetTarget
public
void
flockSetTarget
(@Nonnull final String targetSlot, @Nullable final Ref targetRef, @Nonnull final Store store)
Method flockSetTarget.
- Parameters:
@Nonnull final StringtargetSlot@Nullable final ReftargetRef@Nonnull final Storestore
setTargetSlotToIgnoreForAvoidance
public
void
setTargetSlotToIgnoreForAvoidance
(final int targetSlotToIgnoreForAvoidance)
Method setTargetSlotToIgnoreForAvoidance.
- Parameters:
final inttargetSlotToIgnoreForAvoidance
getTargetReferenceToIgnoreForAvoidance
Method getTargetReferenceToIgnoreForAvoidance.
getSlotName
public
String
getSlotName
(final int slot)
Method getSlotName.
- Parameters:
final intslot
unloaded
public
void
unloaded
()
Method unloaded.