Uses of Class
com.hypixel.hytale.server.core.entity.InteractionContext
Packages that use InteractionContext
Package
Description
-
Uses of InteractionContext in com.hypixel.hytale.builtin.adventure.memories.interactions
Methods in com.hypixel.hytale.builtin.adventure.memories.interactions with parameters of type InteractionContextModifier and TypeMethodDescriptionbooleanMemoriesConditionInteraction.walk(Collector collector, InteractionContext context) -
Uses of InteractionContext in com.hypixel.hytale.builtin.adventure.memories.page
Methods in com.hypixel.hytale.builtin.adventure.memories.page with parameters of type InteractionContextModifier and TypeMethodDescriptionMemoriesPageSupplier.tryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerRef playerRef, InteractionContext context) MemoriesUnlockedPageSuplier.tryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerRef playerRef, InteractionContext context) -
Uses of InteractionContext in com.hypixel.hytale.builtin.adventure.shop
Methods in com.hypixel.hytale.builtin.adventure.shop with parameters of type InteractionContextModifier and TypeMethodDescriptionShopPageSupplier.tryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerRef playerRef, InteractionContext context) -
Uses of InteractionContext in com.hypixel.hytale.builtin.adventure.teleporter.page
Methods in com.hypixel.hytale.builtin.adventure.teleporter.page with parameters of type InteractionContextModifier and TypeMethodDescriptionTeleporterSettingsPageSupplier.tryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerRef playerRef, InteractionContext context) -
Uses of InteractionContext in com.hypixel.hytale.builtin.augmentblocks.ui
Methods in com.hypixel.hytale.builtin.augmentblocks.ui with parameters of type InteractionContextModifier and TypeMethodDescriptionAugmentMessagePage.Supplier.tryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerRef playerRef, InteractionContext context) -
Uses of InteractionContext in com.hypixel.hytale.builtin.instances.event
Methods in com.hypixel.hytale.builtin.instances.event that return InteractionContextModifier and TypeMethodDescriptionEnterInstanceTeleporterEvent.context()The interaction context associated with the event.Methods in com.hypixel.hytale.builtin.instances.event with parameters of type InteractionContextModifier and TypeMethodDescriptionstatic EnterInstanceTeleporterEventEnterInstanceTeleporterEvent.of(InteractionContext context, World world, CompletableFuture<World> worldFuture) Creates an event from a destination world or a future for that world.Constructors in com.hypixel.hytale.builtin.instances.event with parameters of type InteractionContextModifierConstructorDescriptionEnterInstanceTeleporterEvent(InteractionContext context, CompletableFuture<World> destination) -
Uses of InteractionContext in com.hypixel.hytale.builtin.npccombatactionevaluator.evaluator
Methods in com.hypixel.hytale.builtin.npccombatactionevaluator.evaluator that return types with arguments of type InteractionContextMethods in com.hypixel.hytale.builtin.npccombatactionevaluator.evaluator with parameters of type InteractionContextModifier and TypeMethodDescriptionCombatActionEvaluatorConfig.BasicAttacks.getInteractionVars(InteractionContext c) Method parameters in com.hypixel.hytale.builtin.npccombatactionevaluator.evaluator with type arguments of type InteractionContextModifier and TypeMethodDescriptionvoidCombatActionEvaluator.setCurrentBasicAttack(String attack, boolean damageFriendlies, Function<InteractionContext, Map<String, String>> interactionVarsGetter) voidCombatActionEvaluator.setCurrentInteraction(String currentInteraction, InteractionType interactionType, float chargeFor, boolean damageFriendlies, boolean requireAiming, boolean positionFirst, double chargeDistance, Function<InteractionContext, Map<String, String>> interactionVarsGetter) -
Uses of InteractionContext in com.hypixel.hytale.builtin.portals.events
Methods in com.hypixel.hytale.builtin.portals.events that return InteractionContextModifier and TypeMethodDescriptionEnterPortalEvent.getContext()The interaction context associated with the event.Constructors in com.hypixel.hytale.builtin.portals.events with parameters of type InteractionContextModifierConstructorDescriptionEnterPortalEvent(InteractionContext context, org.joml.Vector3i portalBlock, Ref<ChunkStore> portalRef, PortalDevice portalDevice) -
Uses of InteractionContext in com.hypixel.hytale.builtin.portals.ui
Methods in com.hypixel.hytale.builtin.portals.ui with parameters of type InteractionContextModifier and TypeMethodDescriptionPortalDevicePageSupplier.tryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> store, PlayerRef playerRef, InteractionContext context) -
Uses of InteractionContext in com.hypixel.hytale.server.core.asset.type.item.config.damageData
Methods in com.hypixel.hytale.server.core.asset.type.item.config.damageData with parameters of type InteractionContextModifier and TypeMethodDescriptionbooleanWeaponDamageDataCollector.collect(CollectorTag tag, InteractionContext context, Interaction interaction) voidWeaponDamageDataCollector.into(InteractionContext context, Interaction interaction) -
Uses of InteractionContext in com.hypixel.hytale.server.core.entity
Methods in com.hypixel.hytale.server.core.entity that return InteractionContextModifier and TypeMethodDescriptionInteractionContext.duplicate()Creates a duplicate of this interaction context.static InteractionContextInteractionContext.forInteraction(InteractionManager manager, Ref<EntityStore> ref, InteractionType type, int equipSlot, ComponentAccessor<EntityStore> componentAccessor) static InteractionContextInteractionContext.forInteraction(InteractionManager manager, Ref<EntityStore> ref, InteractionType type, ComponentAccessor<EntityStore> componentAccessor) Returns an interaction context initialized with the correct held item for the given interaction type.static InteractionContextInteractionContext.forProxyEntity(InteractionManager manager, Ref<EntityStore> entityRef, Ref<EntityStore> runningForEntity, ComponentAccessor<EntityStore> componentAccessor) InteractionChain.getContext()static InteractionContextInteractionContext.withoutEntity()Methods in com.hypixel.hytale.server.core.entity that return types with arguments of type InteractionContextModifier and TypeMethodDescriptionInteractionContext.getInteractionVarsGetter()InteractionContext.getMetaStore()Methods in com.hypixel.hytale.server.core.entity with parameters of type InteractionContextModifier and TypeMethodDescriptionbooleanInteractionManager.applyRules(InteractionContext context, InteractionChainData data, InteractionType type, RootInteraction rootInteraction) Checks all running chains to see if any of them conflict with the giventypeorrootInteraction.InteractionContext.fork(InteractionChainData data, InteractionType type, InteractionContext context, RootInteraction rootInteraction, boolean predicted) InteractionContext.fork(InteractionType type, InteractionContext context, RootInteraction rootInteraction, boolean predicted) Forks from the current interaction into the passed interaction ids.InteractionContext.fork(InteractionContext context, RootInteraction rootInteraction, boolean predicted) Forks from the current interaction into the passed interaction ids.InteractionManager.initChain(InteractionChainData data, InteractionType type, InteractionContext context, RootInteraction rootInteraction, Runnable onCompletion, boolean forceRemoteSync) Creates a new interaction chain without running it.InteractionManager.initChain(InteractionType type, InteractionContext context, RootInteraction rootInteraction, boolean forceRemoteSync) Creates an interaction chain without starting it with the chain data set to empty values.InteractionManager.initChain(InteractionType type, InteractionContext context, RootInteraction rootInteraction, int entityId, BlockPosition blockPosition, boolean forceRemoteSync) Creates an interaction chain without starting it with the chain data using the providedentityIdandblockPosition.voidInteractionManager.startChain(Ref<EntityStore> ref, CommandBuffer<EntityStore> commandBuffer, InteractionType type, InteractionContext context, RootInteraction rootInteraction) booleanInteractionManager.tryStartChain(Ref<EntityStore> ref, CommandBuffer<EntityStore> commandBuffer, InteractionType type, InteractionContext context, RootInteraction rootInteraction) static voidInteractionManager.walkChain(Collector collector, InteractionType type, InteractionContext context, RootInteraction rootInteraction) Walks over all interaction in the root interaction provided using the given context.static booleanInteractionManager.walkInteraction(Collector collector, InteractionContext context, CollectorTag tag, String id) Helper method for implementations ofInteraction.walk(Collector, InteractionContext)static booleanInteractionManager.walkInteractions(Collector collector, InteractionContext context, CollectorTag tag, String[] interactionIds) Helper method for implementations ofInteraction.walk(Collector, InteractionContext).Method parameters in com.hypixel.hytale.server.core.entity with type arguments of type InteractionContextModifier and TypeMethodDescriptionvoidInteractionContext.setInteractionVarsGetter(Function<InteractionContext, Map<String, String>> interactionVarsGetter) Constructors in com.hypixel.hytale.server.core.entity with parameters of type InteractionContextModifierConstructorDescriptionInteractionChain(ForkedChainId forkedChainId, ForkedChainId baseForkedChainId, InteractionType type, InteractionContext context, InteractionChainData chainData, RootInteraction rootInteraction, Runnable onCompletion, boolean requiresClient) InteractionChain(InteractionType type, InteractionContext context, InteractionChainData chainData, RootInteraction rootInteraction, Runnable onCompletion, boolean requiresClient) -
Uses of InteractionContext in com.hypixel.hytale.server.core.event.events.ecs
Methods in com.hypixel.hytale.server.core.event.events.ecs that return InteractionContextConstructors in com.hypixel.hytale.server.core.event.events.ecs with parameters of type InteractionContextModifierConstructorDescriptionPost(InteractionType interactionType, InteractionContext context, org.joml.Vector3i targetBlock, BlockType blockType) Default Constructor for aUseBlockEvent.Postinstance.Post(InteractionType interactionType, InteractionContext context, Ref<EntityStore> targetEntity) Pre(InteractionType interactionType, InteractionContext context, org.joml.Vector3i targetBlock, BlockType blockType) Default Constructor for aUseBlockEvent.Preinstance.Pre(InteractionType interactionType, InteractionContext context, Ref<EntityStore> targetEntity) UseBlockEvent(InteractionType interactionType, InteractionContext context, org.joml.Vector3i targetBlock, BlockType blockType) Default Constructor for aUseBlockEventinstance.UseEntityEvent(InteractionType interactionType, InteractionContext context, Ref<EntityStore> targetEntity) -
Uses of InteractionContext in com.hypixel.hytale.server.core.modules.interaction
Methods in com.hypixel.hytale.server.core.modules.interaction with parameters of type InteractionContextModifier and TypeMethodDescriptionfloatIInteractionSimulationHandler.getChargeValue(boolean firstRun, float time, InteractionType type, InteractionContext context, Ref<EntityStore> ref, CooldownHandler cooldownHandler) floatInteractionSimulationHandler.getChargeValue(boolean firstRun, float time, InteractionType type, InteractionContext context, Ref<EntityStore> ref, CooldownHandler cooldownHandler) booleanIInteractionSimulationHandler.isCharging(boolean firstRun, float time, InteractionType type, InteractionContext context, Ref<EntityStore> ref, CooldownHandler cooldownHandler) booleanInteractionSimulationHandler.isCharging(boolean firstRun, float time, InteractionType type, InteractionContext context, Ref<EntityStore> ref, CooldownHandler cooldownHandler) booleanIInteractionSimulationHandler.shouldCancelCharging(boolean firstRun, float time, InteractionType type, InteractionContext context, Ref<EntityStore> ref, CooldownHandler cooldownHandler) booleanInteractionSimulationHandler.shouldCancelCharging(boolean firstRun, float time, InteractionType type, InteractionContext context, Ref<EntityStore> ref, CooldownHandler cooldownHandler) -
Uses of InteractionContext in com.hypixel.hytale.server.core.modules.interaction.event
Methods in com.hypixel.hytale.server.core.modules.interaction.event that return InteractionContext -
Uses of InteractionContext in com.hypixel.hytale.server.core.modules.interaction.interaction.config
Fields in com.hypixel.hytale.server.core.modules.interaction.interaction.config with type parameters of type InteractionContextModifier and TypeFieldDescriptionstatic final MetaRegistry<InteractionContext> Interaction.CONTEXT_META_REGISTRYA meta registry containing theInteractionContextof an interaction.Methods in com.hypixel.hytale.server.core.modules.interaction.interaction.config with parameters of type InteractionContextModifier and TypeMethodDescriptionvoidInteraction.handle(Ref<EntityStore> ref, boolean firstRun, float time, InteractionType type, InteractionContext context) Interaction.mapForkChain(InteractionContext context, InteractionChainData data) Called to map a forked interaction chain from this interaction.final voidInteraction.simulateTick(Ref<EntityStore> ref, boolean firstRun, float time, InteractionType type, InteractionContext context, CooldownHandler cooldownHandler) final voidInteraction.tick(Ref<EntityStore> ref, boolean firstRun, float time, InteractionType type, InteractionContext context, CooldownHandler cooldownHandler) abstract booleanInteraction.walk(Collector collector, InteractionContext context) Called to walk this interaction for collecting data.booleanSimpleInteraction.walk(Collector collector, InteractionContext context) -
Uses of InteractionContext in com.hypixel.hytale.server.core.modules.interaction.interaction.config.client
Methods in com.hypixel.hytale.server.core.modules.interaction.interaction.config.client with parameters of type InteractionContextModifier and TypeMethodDescriptionvoidWieldingInteraction.handle(Ref<EntityStore> ref, boolean firstRun, float time, InteractionType type, InteractionContext context) booleanChainingInteraction.walk(Collector collector, InteractionContext context) booleanChargingInteraction.walk(Collector collector, InteractionContext context) booleanDragPlaceBlockInteraction.walk(Collector collector, InteractionContext context) booleanFirstClickInteraction.walk(Collector collector, InteractionContext context) -
Uses of InteractionContext in com.hypixel.hytale.server.core.modules.interaction.interaction.config.data
Methods in com.hypixel.hytale.server.core.modules.interaction.interaction.config.data with parameters of type InteractionContextModifier and TypeMethodDescriptionbooleanCollector.collect(CollectorTag tag, InteractionContext context, Interaction interaction) Collect is called a maximum of once perCollector.into(InteractionContext, Interaction)and a minimum of never if nothing matches.booleanListCollector.collect(CollectorTag tag, InteractionContext context, Interaction interaction) booleanSingleCollector.collect(CollectorTag tag, InteractionContext context, Interaction interaction) booleanTreeCollector.collect(CollectorTag tag, InteractionContext context, Interaction interaction) voidCollector.into(InteractionContext context, Interaction interaction) Called when stepping into an interaction.voidListCollector.into(InteractionContext context, Interaction interaction) voidSingleCollector.into(InteractionContext context, Interaction interaction) voidTreeCollector.into(InteractionContext context, Interaction interaction) Constructor parameters in com.hypixel.hytale.server.core.modules.interaction.interaction.config.data with type arguments of type InteractionContextModifierConstructorDescriptionListCollector(TriFunction<CollectorTag, InteractionContext, Interaction, T> function) SingleCollector(TriFunction<CollectorTag, InteractionContext, Interaction, T> function) TreeCollector(TriFunction<CollectorTag, InteractionContext, Interaction, T> function) -
Uses of InteractionContext in com.hypixel.hytale.server.core.modules.interaction.interaction.config.none
Methods in com.hypixel.hytale.server.core.modules.interaction.interaction.config.none with parameters of type InteractionContextModifier and TypeMethodDescriptionSelectInteraction.mapForkChain(InteractionContext context, InteractionChainData data) booleanChangeActiveSlotInteraction.walk(Collector collector, InteractionContext context) booleanParallelInteraction.walk(Collector collector, InteractionContext context) booleanPlaceModeSelectInteraction.walk(Collector collector, InteractionContext context) booleanRepeatInteraction.walk(Collector collector, InteractionContext context) booleanReplaceInteraction.walk(Collector collector, InteractionContext context) booleanSelectInteraction.walk(Collector collector, InteractionContext context) booleanSerialInteraction.walk(Collector collector, InteractionContext context) -
Uses of InteractionContext in com.hypixel.hytale.server.core.modules.interaction.interaction.config.selector
Constructors in com.hypixel.hytale.server.core.modules.interaction.interaction.config.selector with parameters of type InteractionContextModifierConstructorDescriptionClientSourcedSelector(Selector parent, InteractionContext context) Deprecated. -
Uses of InteractionContext in com.hypixel.hytale.server.core.modules.interaction.interaction.config.server
Methods in com.hypixel.hytale.server.core.modules.interaction.interaction.config.server with parameters of type InteractionContextModifier and TypeMethodDescriptionbooleanOpenPageInteraction.PageUsageValidator.canUse(Ref<EntityStore> ref, Player entity, InteractionContext context, ComponentAccessor<EntityStore> componentAccessor) OpenCustomUIInteraction.CustomPageSupplier.tryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerRef playerRef, InteractionContext context) booleanDamageEntityInteraction.walk(Collector collector, InteractionContext context) -
Uses of InteractionContext in com.hypixel.hytale.server.core.modules.interaction.interaction.operation
Methods in com.hypixel.hytale.server.core.modules.interaction.interaction.operation with parameters of type InteractionContextModifier and TypeMethodDescriptiondefault voidOperation.handle(Ref<EntityStore> ref, boolean firstRun, float time, InteractionType type, InteractionContext context) voidJumpOperation.simulateTick(Ref<EntityStore> ref, boolean firstRun, float time, InteractionType type, InteractionContext context, CooldownHandler cooldownHandler) voidOperation.simulateTick(Ref<EntityStore> ref, boolean firstRun, float time, InteractionType type, InteractionContext context, CooldownHandler cooldownHandler) Called to tick the operation for the given entity.voidJumpOperation.tick(Ref<EntityStore> ref, boolean firstRun, float time, InteractionType type, InteractionContext context, CooldownHandler cooldownHandler) voidOperation.tick(Ref<EntityStore> ref, boolean firstRun, float time, InteractionType type, InteractionContext context, CooldownHandler cooldownHandler) Called to tick the operation for the given entity. -
Uses of InteractionContext in com.hypixel.hytale.server.core.modules.interaction.interaction.util
Methods in com.hypixel.hytale.server.core.modules.interaction.interaction.util with parameters of type InteractionContextModifier and TypeMethodDescriptionstatic CoreItemAbilityAbilityCastUtil.castAbility(InteractionContext context) InteractionTarget.getEntity(InteractionContext ctx, Ref<EntityStore> ref) Returns the entity based on theInteractionTarget.static it.unimi.dsi.fastutil.ints.Int2FloatMapAbilityCastUtil.resolveCostMap(InteractionContext context, boolean negate) The casting ability's declared cost as a stat map ({cost stat: Cost}), negated for a spend. -
Uses of InteractionContext in com.hypixel.hytale.server.core.modules.interaction.suppliers
Methods in com.hypixel.hytale.server.core.modules.interaction.suppliers with parameters of type InteractionContextModifier and TypeMethodDescriptionBlockLorePageSupplier.tryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerRef playerRef, InteractionContext context) ConfirmationPageSupplier.tryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerRef playerRef, InteractionContext context) ItemRepairPageSupplier.tryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerRef playerRef, InteractionContext context) -
Uses of InteractionContext in com.hypixel.hytale.server.core.modules.projectile.component
Methods in com.hypixel.hytale.server.core.modules.projectile.component with parameters of type InteractionContextModifier and TypeMethodDescriptionstatic ImpactModifiersImpactModifiers.collect(InteractionContext context, Ref<EntityStore> casterRef, ComponentAccessor<EntityStore> componentAccessor) Collects the resolved modifiers for a projectile launched by an ability cast, ornullwhen the cast isn't an ability cast or there is nothing to carry.static ImpactModifiersImpactModifiers.resolve(InteractionContext context, Ref<EntityStore> actingRef, ComponentAccessor<EntityStore> componentAccessor) Resolves the modifiers an interaction should use: the cast snapshot carried on the chain's context when the chain is an ability cast, otherwise the acting entity's component (e.g. a projectile carrying its launch's modifiers into its impact chains).static voidImpactModifiers.snapshotForCast(InteractionContext context, ComponentAccessor<EntityStore> componentAccessor) Snapshots the resolved cast modifiers onto the chain's context when an ability chain starts, so the cast's interactions, selectors, and forks read the fresh values from their first tick. -
Uses of InteractionContext in com.hypixel.hytale.server.npc.interactions
Methods in com.hypixel.hytale.server.npc.interactions with parameters of type InteractionContextModifier and TypeMethodDescriptionfloatNPCInteractionSimulationHandler.getChargeValue(boolean firstRun, float time, InteractionType type, InteractionContext context, Ref<EntityStore> ref, CooldownHandler cooldownHandler) booleanNPCInteractionSimulationHandler.isCharging(boolean firstRun, float time, InteractionType type, InteractionContext context, Ref<EntityStore> ref, CooldownHandler cooldownHandler) booleanNPCInteractionSimulationHandler.shouldCancelCharging(boolean firstRun, float time, InteractionType type, InteractionContext context, Ref<EntityStore> ref, CooldownHandler cooldownHandler)