Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Trainguy9512/locomotion
/ functions
Functions
909 in github.com/Trainguy9512/locomotion
⨍
Functions
909
◇
Types & classes
187
↓ 493 callers
Method
build
()
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/handpose/FirstPersonHandPoses.java:342
↓ 131 callers
Method
builder
Creates a new {@link Transition.Builder} with the provided duration. @param duration The duration of the transition
src/main/java/com/trainguy9512/locomotion/animation/util/Transition.java:29
↓ 123 callers
Method
getDriverValue
(DriverKey<R> driverKey)
src/main/java/com/trainguy9512/locomotion/animation/data/DriverGetter.java:11
↓ 114 callers
Method
setEasement
(Easing easement)
src/main/java/com/trainguy9512/locomotion/animation/util/Transition.java:49
↓ 107 callers
Method
makeIdentifier
(String path)
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/FirstPersonAnimationSequences.java:130
↓ 100 callers
Method
builder
Creates a new state transition builder with the provided state identifier as the target. @param target Destination state identifier of the transition
src/main/java/com/trainguy9512/locomotion/animation/pose/function/statemachine/StateTransition.java:68
↓ 99 callers
Method
addOutboundTransition
Assigns a potential outbound transitions to this state alias. @param transition Outbound transitions.
src/main/java/com/trainguy9512/locomotion/animation/pose/function/statemachine/StateAlias.java:58
↓ 99 callers
Method
setTiming
Sets the transition timing properties for the state transition. Default is a single-tick linear transition. @param transition The {@link Transition}
src/main/java/com/trainguy9512/locomotion/animation/pose/function/statemachine/StateTransition.java:162
↓ 97 callers
Method
of60FramesPerSecond
Creates a timespan from a time measured in frames, at 60 frames per second. @return Timespan
src/main/java/com/trainguy9512/locomotion/animation/util/TimeSpan.java:46
↓ 95 callers
Method
getDriver
(DriverKey<R> driverKey)
src/main/java/com/trainguy9512/locomotion/animation/data/DriverGetter.java:15
↓ 74 callers
Method
builder
Creates a new state builder. @param identifier Enum identifier that is associated with this state. Used for identifying transition targets. @param
src/main/java/com/trainguy9512/locomotion/animation/pose/function/statemachine/StateDefinition.java:47
↓ 74 callers
Method
isTakenIfTrue
Sets the condition predicate that determines whether the transition will be taken or not. <p>For "AND" or "OR" conditions, use {@link Predicate#and(P
src/main/java/com/trainguy9512/locomotion/animation/pose/function/statemachine/StateTransition.java:132
↓ 73 callers
Method
defineState
Adds a state to the state machine builder. @param stateDefinition State created with a {@link StateDefinition.Builder}
src/main/java/com/trainguy9512/locomotion/animation/pose/function/statemachine/StateMachineFunction.java:307
↓ 73 callers
Method
setValue
(Float newValue)
src/main/java/com/trainguy9512/locomotion/animation/driver/TimerDriver.java:47
↓ 70 callers
Method
resetsPoseFunctionUponEntry
If true, this state will reset its pose function every time it is entered.
src/main/java/com/trainguy9512/locomotion/animation/pose/function/statemachine/StateDefinition.java:87
↓ 62 callers
Method
of
(String identifier, Supplier<R> defaultValue)
src/main/java/com/trainguy9512/locomotion/animation/driver/DriverKey.java:27
↓ 59 callers
Method
builder
(Identifier animationSequence)
src/main/java/com/trainguy9512/locomotion/animation/pose/function/SequencePlayerFunction.java:111
↓ 55 callers
Method
build
()
src/main/java/com/trainguy9512/locomotion/animation/util/Transition.java:59
↓ 54 callers
Method
data
()
src/main/java/com/trainguy9512/locomotion/config/LocomotionConfig.java:47
↓ 49 callers
Method
ofSeconds
Creates a timespan from a time measured in seconds. @return Timespan
src/main/java/com/trainguy9512/locomotion/animation/util/TimeSpan.java:34
↓ 47 callers
Method
of
Creates a use animation rule. @param montageProvider Function that provides the montage given the interaction hand. @param shouldChooseU
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/FirstPersonUseAnimations.java:157
↓ 45 callers
Method
makeIdentifier
(String location)
src/main/java/com/trainguy9512/locomotion/LocomotionMain.java:27
↓ 37 callers
Method
getInstance
()
src/main/java/com/trainguy9512/locomotion/animation/animator/JointAnimatorDispatcher.java:44
↓ 36 callers
Method
inTicks
Retrieves the value of this time span in ticks. @return Float time measured in ticks.
src/main/java/com/trainguy9512/locomotion/animation/util/TimeSpan.java:70
↓ 34 callers
Method
setPriority
Sets the transition priority for the state transition, for when more than one transition is active on the same tick. <p>Higher integers specify a hig
src/main/java/com/trainguy9512/locomotion/animation/pose/function/statemachine/StateTransition.java:176
↓ 30 callers
Method
playsInSlot
Sets a slot identifier that the animation will play in. @param slotIdentifier String slot identifier
src/main/java/com/trainguy9512/locomotion/animation/pose/function/montage/MontageConfiguration.java:125
↓ 28 callers
Method
addStateAlias
Adds a state alias to the state machine builder. <p>A state alias is a shortcut function that allows you to add transitions from multiple states at o
src/main/java/com/trainguy9512/locomotion/animation/pose/function/statemachine/StateMachineFunction.java:337
↓ 28 callers
Method
builder
Creates a new state alias builder. @param originStates States that the alias' transitions can originate from.
src/main/java/com/trainguy9512/locomotion/animation/pose/function/statemachine/StateAlias.java:21
↓ 28 callers
Method
getValue
()
src/main/java/com/trainguy9512/locomotion/animation/util/Timeline.java:90
↓ 27 callers
Method
isTakenOnAnimationFinished
Sets the transition to be passable as an OR condition if the most relevant animation player is within the transition duration of finishing. <p> In oth
src/main/java/com/trainguy9512/locomotion/animation/pose/function/statemachine/StateTransition.java:119
↓ 26 callers
Method
builder
(Function<PoseCalculationContext, Identifier> animationSequenceFunction)
src/main/java/com/trainguy9512/locomotion/animation/pose/function/SequenceEvaluatorFunction.java:25
↓ 26 callers
Method
ofTicks
Creates a timespan from a time measured in ticks. <p> Conversion is 20 ticks to 1 second. @return Timespan
src/main/java/com/trainguy9512/locomotion/animation/util/TimeSpan.java:26
↓ 23 callers
Method
getCurrentValue
Returns the current value of the driver. @return Current driver value.
src/main/java/com/trainguy9512/locomotion/animation/driver/Driver.java:26
↓ 23 callers
Method
getJointChannel
Retrieves a copy of the transform for the supplied joint. @param joint Joint string identifier @return Joint tran
src/main/java/com/trainguy9512/locomotion/animation/pose/Pose.java:66
↓ 23 callers
Method
ofConstant
Creates a driver of the given data type that will pass the latest non-interpolated tick value when accessed. @param defaultValue Default value se
src/main/java/com/trainguy9512/locomotion/animation/driver/VariableDriver.java:115
↓ 23 callers
Method
setPlayRate
Sets the function that is used to update the function's play rate each tick. <p> The play rate is used as a multiplier when incrementing time, so 1 is
src/main/java/com/trainguy9512/locomotion/animation/pose/function/TimeBasedPoseFunction.java:70
↓ 21 callers
Method
bindToOnTransitionTaken
Binds an event to be called every time this transition is entered in the state machine. <p>Multiple events can be chained together with multiple call
src/main/java/com/trainguy9512/locomotion/animation/pose/function/statemachine/StateTransition.java:186
↓ 21 callers
Method
ofBoolean
Creates a boolean driver that will pass the latest non-interpolated tick value when accessed. @param defaultValue Default value set from the star
src/main/java/com/trainguy9512/locomotion/animation/driver/VariableDriver.java:123
↓ 21 callers
Method
setCanInterruptOtherTransitions
Determines whether this transition can be taken if other transitions are still active. <p> Useful for states where you can have a lot of back and fort
src/main/java/com/trainguy9512/locomotion/animation/pose/function/statemachine/StateTransition.java:105
↓ 20 callers
Method
builder
(String identifier, Identifier animationSequence)
src/main/java/com/trainguy9512/locomotion/animation/pose/function/montage/MontageConfiguration.java:55
↓ 20 callers
Method
getFirstPersonPlayerDataContainer
()
src/main/java/com/trainguy9512/locomotion/animation/animator/JointAnimatorDispatcher.java:213
↓ 20 callers
Method
inSeconds
Retrieves the value of this time span in seconds. @return Float time measured in seconds.
src/main/java/com/trainguy9512/locomotion/animation/util/TimeSpan.java:78
↓ 20 callers
Function
prop
* Retrieves a property value from the project based on the provided key. * * @param key the property key to look up in the project's properties. *
buildSrc/src/main/kotlin/build-extensions.kt:11
↓ 20 callers
Method
setTransitionIn
Sets the timing of the exit transition @param transitionIn Exit transition timing
src/main/java/com/trainguy9512/locomotion/animation/pose/function/montage/MontageConfiguration.java:164
↓ 20 callers
Method
setTransitionOut
Sets the timing of the exit transition @param transitionOut Exit transition timing
src/main/java/com/trainguy9512/locomotion/animation/pose/function/montage/MontageConfiguration.java:173
↓ 19 callers
Method
create
(String name, PlayerModelType modelType)
src/main/java/com/trainguy9512/locomotion/mixin/debug/MixinDefaultPlayerSkin.java:22
↓ 18 callers
Method
build
()
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/FirstPersonAttackAnimations.java:140
↓ 18 callers
Method
builder
Creates a new state machine builder. <p>Every time the state machine is initialized, the provided function is ran to determine the entry state.</p>
src/main/java/com/trainguy9512/locomotion/animation/pose/function/statemachine/StateMachineFunction.java:281
↓ 18 callers
Method
of
(PoseFunction<LocalSpacePose> basePoseInput, PoseFunction<LocalSpacePose> additivePoseInput, Function<PoseCalc
src/main/java/com/trainguy9512/locomotion/animation/pose/function/ApplyAdditiveFunction.java:29
↓ 18 callers
Method
register
(Identifier identifier, HandPoseDefinition configuration)
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/handpose/FirstPersonHandPoses.java:36
↓ 17 callers
Method
builder
( String stateIdentifier, HandPoseFunctionSupplier poseFunctionSupplier,
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/handpose/FirstPersonHandPoses.java:250
↓ 17 callers
Method
getHandPoseDriver
(InteractionHand hand)
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/FirstPersonDrivers.java:104
↓ 17 callers
Method
getUsingItemDriver
(InteractionHand hand)
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/FirstPersonDrivers.java:146
↓ 17 callers
Method
tick
Updates the function and then updates the function's inputs. @param context Current state of the evaluation, with the data container as well as @imp
src/main/java/com/trainguy9512/locomotion/animation/pose/function/PoseFunction.java:26
↓ 17 callers
Function
versionProp
* Retrieves a version-specific or wildcard property key from the project's properties. * * @param key the specific key to identify the property rela
buildSrc/src/main/kotlin/build-extensions.kt:20
↓ 16 callers
Method
compute
Computes and returns an animation pose using its inputs. @param context Interpolation context, containing the driver container, partial tick
src/main/java/com/trainguy9512/locomotion/animation/pose/function/PoseFunction.java:18
↓ 16 callers
Method
invert
Returns the inverse for the provided easing.
src/main/java/com/trainguy9512/locomotion/animation/util/Easing.java:238
↓ 16 callers
Method
setLooping
Sets the animation sequence player to loop when the end of the animation is reached. @implNote The animation sequence will always b
src/main/java/com/trainguy9512/locomotion/animation/pose/function/SequencePlayerFunction.java:159
↓ 16 callers
Method
setLowerSequence
(Identifier sequence)
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/handpose/FirstPersonHandPoses.java:312
↓ 16 callers
Method
setRaiseSequence
(Identifier sequence)
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/handpose/FirstPersonHandPoses.java:307
↓ 15 callers
Method
getInterpolatedValue
Returns the interpolated value between the previous tick and the current tick. @param partialTicks Percentage of a tick since the previous tick.
src/main/java/com/trainguy9512/locomotion/animation/driver/Driver.java:20
↓ 15 callers
Method
getPreviousValue
()
src/main/java/com/trainguy9512/locomotion/animation/driver/VariableDriver.java:41
↓ 15 callers
Method
getRenderedItemDriver
(InteractionHand hand)
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/FirstPersonDrivers.java:139
↓ 15 callers
Method
of
(PoseFunction<LocalSpacePose> input, Function<PoseCalculationContext, Boolean> mirrorFunction)
src/main/java/com/trainguy9512/locomotion/animation/pose/function/MirrorFunction.java:25
↓ 15 callers
Method
resetsUponRelevant
Sets this state machine to reset to the initial state every time the state machine goes from being irrelevant to relevant.
src/main/java/com/trainguy9512/locomotion/animation/pose/function/statemachine/StateMachineFunction.java:319
↓ 15 callers
Method
wrapUnique
Recursive method that creates and returns a new copy of the function with its inputs also copied. This ensures that no pose function is referenced twi
src/main/java/com/trainguy9512/locomotion/animation/pose/function/PoseFunction.java:35
↓ 14 callers
Method
addBlendInput
(PoseFunction<LocalSpacePose> inputFunction, Function<PoseTickEvaluationContext, Float> weightFunction, @Nulla
src/main/java/com/trainguy9512/locomotion/animation/pose/function/BlendPosesFunction.java:97
↓ 14 callers
Method
ofFloat
Creates a float driver that will be linearly interpolated between ticks. @param defaultValue Default value set from the start and set upon resett
src/main/java/com/trainguy9512/locomotion/animation/driver/VariableDriver.java:131
↓ 13 callers
Method
builder
(PoseFunction<LocalSpacePose> basePoseFunction)
src/main/java/com/trainguy9512/locomotion/animation/pose/function/BlendPosesFunction.java:83
↓ 13 callers
Method
getItemDriver
(InteractionHand hand)
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/FirstPersonDrivers.java:125
↓ 13 callers
Method
searchDownChainForMostRelevant
Recursive method that goes down the chain of pose functions returns the most relevant function that matches the condition predicate. <p> If this pose
src/main/java/com/trainguy9512/locomotion/animation/pose/function/PoseFunction.java:46
↓ 12 callers
Method
deserializeWithFallback
(JsonDeserializationContext context, JsonObject json, String key, Class<D> type, D fallback)
src/main/java/com/trainguy9512/locomotion/resource/json/GsonConfiguration.java:37
↓ 12 callers
Method
getTranslation
()
src/main/java/com/trainguy9512/locomotion/animation/joint/JointChannel.java:48
↓ 12 callers
Method
setCooldownDuration
Sets the duration of this montage's cooldown. Anytime a montage of this configuration is triggered, it will only play if there is no montage with an e
src/main/java/com/trainguy9512/locomotion/animation/pose/function/montage/MontageConfiguration.java:226
↓ 12 callers
Method
setJointChannel
Sets the transform for the supplied joint by its string identifier. @param joint Joint string identifier @param jointChannel Jo
src/main/java/com/trainguy9512/locomotion/animation/pose/Pose.java:55
↓ 11 callers
Method
getInstance
()
src/main/java/com/trainguy9512/locomotion/resource/json/GsonConfiguration.java:33
↓ 11 callers
Method
of
(PoseFunction<LocalSpacePose> additivePoseInput, PoseFunction<LocalSpacePose> basePoseInput)
src/main/java/com/trainguy9512/locomotion/animation/pose/function/MakeDynamicAdditiveFunction.java:25
↓ 11 callers
Method
register
Registers a use animation rule that plays a specified montage upon a use animation being triggered if it meets a condition. @param identifier
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/FirstPersonUseAnimations.java:141
↓ 11 callers
Method
samplePose
Creates an animation pose from a point in time within the provided animation sequence @param jointSkeleton Template joint skeleton @param sequ
src/main/java/com/trainguy9512/locomotion/animation/sequence/AnimationSequence.java:37
↓ 11 callers
Method
setResetStartTimeOffset
Sets the reset start time offset, which is used to offset the start time when the function is reset. Default is 0. @param startTimeOffset Of
src/main/java/com/trainguy9512/locomotion/animation/pose/function/TimeBasedPoseFunction.java:100
↓ 10 callers
Method
composeEaseInOut
Returns the ease-in-out equivalent of the provided ease-in function. @param easeIn Ease-in function @return Ease-in-out function
src/main/java/com/trainguy9512/locomotion/animation/util/Easing.java:247
↓ 10 callers
Method
getGenericItemPoseDriver
(InteractionHand hand)
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/FirstPersonDrivers.java:111
↓ 10 callers
Method
makeAdditive
Makes this montage configuration additive, meaning it will subtract the first frame of animation from the montage's animation, making it additive, and
src/main/java/com/trainguy9512/locomotion/animation/pose/function/montage/MontageConfiguration.java:237
↓ 10 callers
Method
makeBuilderCopy
Makes a copy of this montage with a different identifier and slot it's being played in. @param identifier New identifier to give the montag
src/main/java/com/trainguy9512/locomotion/animation/pose/function/montage/MontageConfiguration.java:65
↓ 9 callers
Method
addEntry
(float position, Identifier animationSequence, float playRate)
src/main/java/com/trainguy9512/locomotion/animation/pose/function/BlendedSequencePlayerFunction.java:127
↓ 9 callers
Method
defineForJoint
Defines a weight for the provided joint. @param jointName Name of the joint @param weight Weight value between 0 and 1.
src/main/java/com/trainguy9512/locomotion/animation/joint/skeleton/BlendMask.java:43
↓ 9 callers
Method
getOrThrow
(String identifier)
src/main/java/com/trainguy9512/locomotion/animation/pose/function/cache/CachedPoseContainer.java:30
↓ 9 callers
Method
getTransform
()
src/main/java/com/trainguy9512/locomotion/animation/joint/JointChannel.java:40
↓ 9 callers
Method
interpolate
(T a, T b, float time)
src/main/java/com/trainguy9512/locomotion/animation/util/Interpolator.java:12
↓ 9 callers
Method
isAdditive
Sets whether the resulting pose of the sequence player is additive or not. @param subtractionReferencePoint Point in the sequence to use as t
src/main/java/com/trainguy9512/locomotion/animation/pose/function/SequencePlayerFunction.java:201
↓ 9 callers
Method
of
Creates a blank animation pose using a joint skeleton as the template. @param jointSkeleton Template joint skeleton @return
src/main/java/com/trainguy9512/locomotion/animation/pose/LocalSpacePose.java:28
↓ 9 callers
Method
of
(Function<PoseCalculationContext, X> transformFunction, JointChannel.TransformType transformType, JointChannel
src/main/java/com/trainguy9512/locomotion/animation/pose/function/JointTransformerFunction.java:155
↓ 9 callers
Method
register
(BiConsumer<Identifier, DebugScreenEntry> registrar)
src/main/java/com/trainguy9512/locomotion/debug/LocomotionDebugScreenEntries.java:11
↓ 9 callers
Method
takeIfBooleanDriverTrue
(DriverKey<D> booleanDriverKey)
src/main/java/com/trainguy9512/locomotion/animation/pose/function/statemachine/StateTransition.java:33
↓ 8 callers
Method
builder
( MontageConfiguration montageToPlay, Predicate<AttackAnimationConditionContex
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/FirstPersonAttackAnimations.java:109
↓ 8 callers
Method
getDriver
(DriverKey<R> driverKey)
src/main/java/com/trainguy9512/locomotion/animation/data/AnimationDataContainer.java:106
↓ 8 callers
Method
getInterpolatedFirstPersonPlayerPose
()
src/main/java/com/trainguy9512/locomotion/animation/animator/JointAnimatorDispatcher.java:222
↓ 8 callers
Method
getJoints
Returns a set of all joints used by the joint skeleton. @return Set of string joint identifiers
src/main/java/com/trainguy9512/locomotion/animation/joint/skeleton/JointSkeleton.java:97
↓ 8 callers
Method
getOrThrowFromIdentifier
(Identifier identifier)
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/handpose/FirstPersonHandPoses.java:378
↓ 8 callers
Method
hasBeenTriggered
()
src/main/java/com/trainguy9512/locomotion/animation/driver/TriggerDriver.java:53
next →
1–100 of 909, ranked by callers