HyCodeYourTale
classpublicPriority 1

ChargingInteraction

com.hypixel.hytale.server.core.modules.interaction.interaction.config.client.ChargingInteraction

extends Interaction

9

Methods

9

Public Methods

12

Fields

1

Constructors

Constants

BuilderCodec<ChargingInteraction>ABSTRACT_CODEC= BuilderCodec.abstractBuilder(ChargingInteraction.class, Interaction.ABSTRACT_CODEC) .append...
floatCHARGING_CANCELED= -2.0F
floatCHARGING_HELD= -1.0F
BuilderCodec<ChargingInteraction>CODEC= BuilderCodec.builder(ChargingInteraction.class, ChargingInteraction::new, ABSTRACT_CODEC) ....
BuilderCodec<ChargingDelay>DELAY_CODEC= BuilderCodec.builder(ChargingDelay.class, ChargingDelay::new) .documentation( "Con...
MetaKey<InteractionChain>FORKED_CHAIN= Interaction.META_REGISTRY.registerMetaObject(i -> null)
MetaKey<Object2IntMap<InteractionType>>FORK_COUNTS= Interaction.META_REGISTRY.registerMetaObject(i -> new Object2IntOpenHashMap())
StringTagTAG_FAILED= StringTag.of("Failed")

Constructors

public
ChargingInteraction()

Methods

Public Methods (9)

public
void compile(OperationsBuilder builder)
@Override
public
boolean equals(Object o)
@Override
public
double getSeconds()
public
WaitForDataFrom getWaitForDataFrom()
@Nonnull@Override
public
int hashCode()
@Override
public
boolean needsRemoteSync()
@Override
publicstatic
ChargingInteraction.ChargingTag of(float seconds)
@Nonnull
public
String toString()
@Nonnull@Override
public
boolean walk(Collector collector, InteractionContext context)
@Override

Fields

Protected Fields (12)

protectedboolean allowIndefiniteHold
protectedboolean cancelOnOtherClick
protectedChargingDelay chargingDelay
protectedboolean displayProgress
protectedboolean failOnDamage
protectedString failed
protectedMap<InteractionType, String> forks
protectedfloat highestChargeValue
protectedfloat mouseSensitivityAdjustmentDuration
protectedfloat mouseSensitivityAdjustmentTarget
protectedFloat2ObjectMap<String> next
protectedfloat[] sortedKeys

Related Classes