Class ItemFrameInteraction
java.lang.Object
com.hypixel.hytale.server.core.modules.interaction.interaction.config.Interaction
com.hypixel.hytale.server.core.modules.interaction.interaction.config.SimpleInteraction
com.hypixel.hytale.server.core.modules.interaction.interaction.config.client.SimpleBlockInteraction
com.mrbysco.itemframes.interaction.ItemFrameInteraction
- All Implemented Interfaces:
com.hypixel.hytale.assetstore.JsonAsset<String>, com.hypixel.hytale.assetstore.map.JsonAssetWithMap<String, com.hypixel.hytale.assetstore.map.IndexedLookupTableAssetMap<String, com.hypixel.hytale.server.core.modules.interaction.interaction.config.Interaction>>, com.hypixel.hytale.server.core.io.NetworkSerializable<com.hypixel.hytale.protocol.Interaction>, com.hypixel.hytale.server.core.modules.interaction.interaction.operation.Operation
public class ItemFrameInteraction
extends com.hypixel.hytale.server.core.modules.interaction.interaction.config.client.SimpleBlockInteraction
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.hypixel.hytale.server.core.modules.interaction.interaction.operation.Operation
com.hypixel.hytale.server.core.modules.interaction.interaction.operation.Operation.NestedOperation -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.hypixel.hytale.codec.builder.BuilderCodec<ItemFrameInteraction> Fields inherited from class com.hypixel.hytale.server.core.modules.interaction.interaction.config.SimpleInteraction
failed, nextFields 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 TypeMethodDescriptioncom.hypixel.hytale.protocol.WaitForDataFromprotected voidinteractWithBlock(com.hypixel.hytale.server.core.universe.world.World world, com.hypixel.hytale.component.CommandBuffer<com.hypixel.hytale.server.core.universe.world.storage.EntityStore> commandBuffer, com.hypixel.hytale.protocol.InteractionType type, com.hypixel.hytale.server.core.entity.InteractionContext context, com.hypixel.hytale.server.core.inventory.ItemStack itemStack, com.hypixel.hytale.math.vector.Vector3i targetBlock, com.hypixel.hytale.server.core.modules.interaction.interaction.CooldownHandler cooldownHandler) protected voidsimulateInteractWithBlock(com.hypixel.hytale.protocol.InteractionType type, com.hypixel.hytale.server.core.entity.InteractionContext interactionContext, com.hypixel.hytale.server.core.inventory.ItemStack itemStack, com.hypixel.hytale.server.core.universe.world.World world, com.hypixel.hytale.math.vector.Vector3i targetBlock) Methods inherited from class com.hypixel.hytale.server.core.modules.interaction.interaction.config.client.SimpleBlockInteraction
computeCurrentBlockSyncData, configurePacket, generatePacket, needsRemoteSync, simulateTick0, tick0, toStringMethods inherited from class com.hypixel.hytale.server.core.modules.interaction.interaction.config.SimpleInteraction
compile, walkMethods 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, toPacketMethods inherited from class 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
-
-
Constructor Details
-
ItemFrameInteraction
public ItemFrameInteraction()
-
-
Method Details
-
getWaitForDataFrom
@Nonnull public com.hypixel.hytale.protocol.WaitForDataFrom getWaitForDataFrom()- Specified by:
getWaitForDataFromin interfacecom.hypixel.hytale.server.core.modules.interaction.interaction.operation.Operation- Overrides:
getWaitForDataFromin classcom.hypixel.hytale.server.core.modules.interaction.interaction.config.client.SimpleBlockInteraction
-
interactWithBlock
protected void interactWithBlock(@Nonnull com.hypixel.hytale.server.core.universe.world.World world, @Nonnull com.hypixel.hytale.component.CommandBuffer<com.hypixel.hytale.server.core.universe.world.storage.EntityStore> commandBuffer, @Nonnull com.hypixel.hytale.protocol.InteractionType type, @Nonnull com.hypixel.hytale.server.core.entity.InteractionContext context, @Nullable com.hypixel.hytale.server.core.inventory.ItemStack itemStack, @Nonnull com.hypixel.hytale.math.vector.Vector3i targetBlock, @Nonnull com.hypixel.hytale.server.core.modules.interaction.interaction.CooldownHandler cooldownHandler) - Specified by:
interactWithBlockin classcom.hypixel.hytale.server.core.modules.interaction.interaction.config.client.SimpleBlockInteraction
-
simulateInteractWithBlock
protected void simulateInteractWithBlock(@Nonnull com.hypixel.hytale.protocol.InteractionType type, @Nonnull com.hypixel.hytale.server.core.entity.InteractionContext interactionContext, @Nullable com.hypixel.hytale.server.core.inventory.ItemStack itemStack, @Nonnull com.hypixel.hytale.server.core.universe.world.World world, @Nonnull com.hypixel.hytale.math.vector.Vector3i targetBlock) - Specified by:
simulateInteractWithBlockin classcom.hypixel.hytale.server.core.modules.interaction.interaction.config.client.SimpleBlockInteraction
-