Contents
Class OpenBenchPageInteraction
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.hypixel.hytale.builtin.crafting.interaction.OpenBenchPageInteraction
- All Implemented Interfaces:
JsonAsset<String>, JsonAssetWithMap<String, IndexedLookupTableAssetMap<String, Interaction>>, NetworkSerializable<Interaction>, Operation
A block interaction type that attempts to open an affiliated bench page
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of page being openedNested classes/interfaces inherited from interface Operation
Operation.NestedOperation -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<OpenBenchPageInteraction> The codec used for parsingOpenBenchPageInteractioninstances.static final OpenBenchPageInteractionstatic final RootInteractionstatic final OpenBenchPageInteractionstatic final RootInteractionstatic final OpenBenchPageInteractionstatic final RootInteractionFields inherited from class Interaction
ABSTRACT_CODEC, CHILD_ASSET_CODEC, CHILD_ASSET_CODEC_ARRAY, CONTEXT_META_REGISTRY, DAMAGE, HIT_DETAIL, HIT_LOCATION, META_REGISTRY, TARGET_BLOCK, TARGET_BLOCK_RAW, TARGET_BLOCK_ROTATION_INDEX, TARGET_BLOCK_TYPE, TARGET_ENTITY, TARGET_SLOT, TIME_SHIFT, VALIDATOR_CACHE -
Constructor Summary
ConstructorsConstructorDescriptionOpenBenchPageInteraction(String id, OpenBenchPageInteraction.PageType pageType) Default Constructor for anOpenBenchPageInteractioninstance. -
Method Summary
Methods inherited from class SimpleBlockInteraction
getWaitForDataFrom, needsRemoteSync, toStringMethods inherited from class SimpleInteraction
compile, walkMethods inherited from class Interaction
failed, getAssetMap, getAssetStore, getEffects, getHorizontalSpeedMultiplier, getId, getInteractionIdOrUnknown, getInteractionOrUnknown, getOnItemChangeBehavior, getRules, getRunTime, getSettings, getViewDistance, handle, isUnknown, mapForkChain, simulateTick, tick, toPacketMethods inherited from interface Operation
getInnerOperation, getTags
-
Field Details
-
SIMPLE_CRAFTING
-
SIMPLE_CRAFTING_ROOT
-
DIAGRAM_CRAFTING
-
DIAGRAM_CRAFTING_ROOT
-
STRUCTURAL_CRAFTING
-
STRUCTURAL_CRAFTING_ROOT
-
CODEC
The codec used for parsingOpenBenchPageInteractioninstances.
-
-
Constructor Details
-
OpenBenchPageInteraction
public OpenBenchPageInteraction(@Nonnull String id, @Nonnull OpenBenchPageInteraction.PageType pageType) Default Constructor for anOpenBenchPageInteractioninstance.- Parameters:
id- The unique identifier for this interaction.pageType- The associated page type.
-