Class ItemFrameEntityInteraction
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.SimpleInstantInteraction
com.mrbysco.itemframes.interaction.ItemFrameEntityInteraction
- All Implemented Interfaces:
JsonAsset<String>, JsonAssetWithMap<String, IndexedLookupTableAssetMap<String, Interaction>>, NetworkSerializable<Interaction>, Operation
-
Nested Class Summary
Nested classes/interfaces inherited from interface Operation
Operation.NestedOperation -
Field Summary
FieldsFields inherited from class SimpleInteraction
failed, nextFields inherited from class 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 TypeMethodDescriptionprotected voidfirstRun(InteractionType type, InteractionContext context, CooldownHandler handler) Methods inherited from class SimpleInstantInteraction
simulateFirstRun, simulateTick0, tick0, toStringMethods inherited from class SimpleInteraction
compile, configurePacket, generatePacket, needsRemoteSync, walkMethods inherited from class 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 Operation
getInnerOperation, getTags
-
Field Details
-
CODEC
-
-
Constructor Details
-
ItemFrameEntityInteraction
public ItemFrameEntityInteraction()
-
-
Method Details
-
getWaitForDataFrom
- Specified by:
getWaitForDataFromin interfaceOperation- Overrides:
getWaitForDataFromin classSimpleInteraction
-
firstRun
protected void firstRun(@NonNullDecl InteractionType type, @NonNullDecl InteractionContext context, @NonNullDecl CooldownHandler handler) - Specified by:
firstRunin classSimpleInstantInteraction
-