public class BountyObjectiveTask extendsObjectiveTaskimplementsKillTask
Class BountyObjectiveTask. Provides bountyobjectivetask functionality for the Hytale server.
java.lang.Object > ObjectiveTask > BountyObjectiveTask
Field Summary
objectivePosition
final
Vector3d
objectivePosition
Field objectivePosition.
spawnPosition
final
Vector3i
spawnPosition
Field spawnPosition.
transactionRecords
final
TransactionRecord[]
transactionRecords
Field transactionRecords.
npcReference
final
Ref
npcReference
Field npcReference.
npcUuidComponent
final
UUIDComponent
npcUuidComponent
Field npcUuidComponent.
npcUuid
final
UUID
npcUuid
Field npcUuid.
transaction
final
KillTaskTransaction
transaction
Field transaction.
uuidComponent
final
UUIDComponent
uuidComponent
Field uuidComponent.
uuid
final
UUID
uuid
Field uuid.
packet
final
com.hypixel.hytale.protocol.ObjectiveTask
packet
Field packet.
Method Detail
BountyObjectiveTask
public
public
BountyObjectiveTask
(@Nonnull final ObjectiveTaskAsset asset, final int taskSetIndex, final int taskIndex)
Method BountyObjectiveTask.
- Parameters:
@Nonnull final ObjectiveTaskAssetassetfinal inttaskSetIndexfinal inttaskIndex
setup0
protected
TransactionRecord[]
setup0
(@Nonnull final Objective objective, @Nonnull final World world, @Nonnull final Store store)
Method setup0.
- Parameters:
@Nonnull final Objectiveobjective@Nonnull final Worldworld@Nonnull final Storestore
SpawnEntityTransactionRecord
public
new
SpawnEntityTransactionRecord
(world.getWorldConfig()
Method SpawnEntityTransactionRecord.
- Parameters:
world.getWorldConfig(world.getWorldConfig(
MapMarker
public
new
MapMarker
(getBountyMarkerIDFromUUID(npcUuid)
Method MapMarker.
- Parameters:
getBountyMarkerIDFromUUID(npcUuidgetBountyMarkerIDFromUUID(npcUuid
Transform
public
new
Transform
(spawnPosition)
Method Transform.
- Parameters:
spawnPositionspawnPosition
checkCompletion
public
boolean
checkCompletion
()
Method checkCompletion.
getBountyMarkerIDFromUUID
static
String
getBountyMarkerIDFromUUID
(@Nonnull final UUID uuid)
Method getBountyMarkerIDFromUUID.
- Parameters:
@Nonnull final UUIDuuid
checkKilledEntity
public
void
checkKilledEntity
(@Nonnull final Store store, @Nonnull final Ref npcRef, @Nonnull final Objective objective, final NPCEntity npc, final Damage damageInfo)
Method checkKilledEntity.
- Parameters:
@Nonnull final Storestore@Nonnull final RefnpcRef@Nonnull final Objectiveobjectivefinal NPCEntitynpcfinal DamagedamageInfo
toString
public
String
toString
()
Method toString.
KeyedCodec
public
new
KeyedCodec
("EntityUUID", Codec.UUID_BINARY)
Method KeyedCodec.
- Parameters:
"EntityUUID""EntityUUID"Codec.UUID_BINARYCodec.UUID_BINARY