Contents
Class RegistrationTransactionRecord
java.lang.Object
com.hypixel.hytale.builtin.adventure.objectives.transaction.TransactionRecord
com.hypixel.hytale.builtin.adventure.objectives.transaction.RegistrationTransactionRecord
-
Field Summary
Fields inherited from class TransactionRecord
BASE_CODEC, CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TransactionRecord[]append(TransactionRecord[] arr, EventRegistry registry) voidcomplete()Called when an objective task set has been completedvoidrevert()Called when a transaction failed when setting up the objective task setbooleantoString()voidunload()Called when the objective is unloaded from the objective systemstatic TransactionRecord[]wrap(EventRegistry registry) Methods inherited from class TransactionRecord
appendFailedTransaction, appendTransaction, fail, getStatus
-
Constructor Details
-
RegistrationTransactionRecord
-
-
Method Details
-
revert
public void revert()Description copied from class:TransactionRecordCalled when a transaction failed when setting up the objective task set- Specified by:
revertin classTransactionRecord
-
complete
public void complete()Description copied from class:TransactionRecordCalled when an objective task set has been completed- Specified by:
completein classTransactionRecord
-
unload
public void unload()Description copied from class:TransactionRecordCalled when the objective is unloaded from the objective system- Specified by:
unloadin classTransactionRecord
-
shouldBeSerialized
public boolean shouldBeSerialized()- Specified by:
shouldBeSerializedin classTransactionRecord
-
toString
- Overrides:
toStringin classTransactionRecord
-
wrap
-
append
@Nonnull public static TransactionRecord[] append(@Nonnull TransactionRecord[] arr, @Nonnull EventRegistry registry)
-