Contents
Class EnterPortalInteraction
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.portals.interactions.EnterPortalInteraction
- All Implemented Interfaces:
JsonAsset<String>, JsonAssetWithMap<String, IndexedLookupTableAssetMap<String, Interaction>>, NetworkSerializable<Interaction>, Operation
A simple block interaction that teleports the instigating player entity to the
target world of the portal that was interacted with.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Operation
Operation.NestedOperation -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<EnterPortalInteraction> The codec used to parseEnterPortalInteractioninstances.static final DurationThe minimum time, in milliseconds, in which a player must be in a world before they can use a portal.Fields 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
Constructors -
Method Summary
Methods inherited from class SimpleBlockInteraction
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
-
MINIMUM_TIME_IN_WORLD
The minimum time, in milliseconds, in which a player must be in a world before they can use a portal. -
CODEC
The codec used to parseEnterPortalInteractioninstances.
-
-
Constructor Details
-
EnterPortalInteraction
public EnterPortalInteraction()
-
-
Method Details
-
getWaitForDataFrom
- Specified by:
getWaitForDataFromin interfaceOperation- Overrides:
getWaitForDataFromin classSimpleBlockInteraction
-