Class MemoriesConditionInteraction
java.lang.Object
com.hypixel.hytale.server.core.modules.interaction.interaction.config.Interaction
com.hypixel.hytale.builtin.adventure.memories.interactions.MemoriesConditionInteraction
- All Implemented Interfaces:
JsonAsset<String>,JsonAssetWithMap<String,,IndexedLookupTableAssetMap<String, Interaction>> NetworkSerializable<Interaction>,Operation
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final recordNested classes/interfaces inherited from interface com.hypixel.hytale.server.core.modules.interaction.interaction.operation.Operation
Operation.NestedOperation -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<MemoriesConditionInteraction> private Stringprivate final it.unimi.dsi.fastutil.ints.Int2IntOpenHashMapprivate it.unimi.dsi.fastutil.ints.Int2ObjectMap<String> private int[]private static final StringTagFields inherited from class com.hypixel.hytale.server.core.modules.interaction.interaction.config.Interaction
ABSTRACT_CODEC, camera, cancelOnItemChange, CHILD_ASSET_CODEC, CHILD_ASSET_CODEC_ARRAY, CONTEXT_META_REGISTRY, DAMAGE, data, effects, HIT_DETAIL, HIT_LOCATION, horizontalSpeedMultiplier, id, META_REGISTRY, rules, runTime, settings, TARGET_BLOCK, TARGET_BLOCK_RAW, TARGET_ENTITY, TARGET_SLOT, TIME_SHIFT, unknown, VALIDATOR_CACHE, viewDistance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompile(OperationsBuilder builder) protected voidconfigurePacket(Interaction packet) protected Interactionbooleanprotected voidsimulateTick0(boolean firstRun, float time, InteractionType type, InteractionContext context, CooldownHandler cooldownHandler) protected voidtick0(boolean firstRun, float time, InteractionType type, InteractionContext context, CooldownHandler cooldownHandler) booleanwalk(Collector collector, InteractionContext context) Methods inherited from class com.hypixel.hytale.server.core.modules.interaction.interaction.config.Interaction
failed, getAnimationDuration, getAssetMap, getAssetStore, getEffects, getHorizontalSpeedMultiplier, getId, getInteractionIdOrUnknown, getInteractionOrUnknown, getRules, getRunTime, getSettings, getViewDistance, handle, isCancelOnItemChange, isUnknown, mapForkChain, needsRemoteSync, simulateTick, tick, toPacket, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.hypixel.hytale.server.core.modules.interaction.interaction.operation.Operation
getInnerOperation, getTags
-
Field Details
-
CODEC
-
TAG_FAILED
-
next
-
sortedKeys
private transient int[] sortedKeys -
levelToLabel
@Nonnull private final it.unimi.dsi.fastutil.ints.Int2IntOpenHashMap levelToLabel -
failed
-
-
Constructor Details
-
MemoriesConditionInteraction
public MemoriesConditionInteraction()
-
-
Method Details
-
tick0
protected void tick0(boolean firstRun, float time, @NonNullDecl InteractionType type, @NonNullDecl InteractionContext context, @NonNullDecl CooldownHandler cooldownHandler) - Specified by:
tick0in classInteraction
-
simulateTick0
protected void simulateTick0(boolean firstRun, float time, @NonNullDecl InteractionType type, @NonNullDecl InteractionContext context, @NonNullDecl CooldownHandler cooldownHandler) - Specified by:
simulateTick0in classInteraction
-
compile
- Overrides:
compilein classInteraction
-
generatePacket
- Specified by:
generatePacketin classInteraction
-
configurePacket
- Overrides:
configurePacketin classInteraction
-
walk
- Specified by:
walkin classInteraction
-
needsRemoteSync
public boolean needsRemoteSync()- Specified by:
needsRemoteSyncin classInteraction
-
getWaitForDataFrom
-