MCPcopy Create free account

hub / github.com/Trainguy9512/locomotion / functions

Functions909 in github.com/Trainguy9512/locomotion

↓ 493 callersMethodbuild
()
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/handpose/FirstPersonHandPoses.java:342
↓ 131 callersMethodbuilder
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 callersMethodgetDriverValue
(DriverKey<R> driverKey)
src/main/java/com/trainguy9512/locomotion/animation/data/DriverGetter.java:11
↓ 114 callersMethodsetEasement
(Easing easement)
src/main/java/com/trainguy9512/locomotion/animation/util/Transition.java:49
↓ 107 callersMethodmakeIdentifier
(String path)
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/FirstPersonAnimationSequences.java:130
↓ 100 callersMethodbuilder
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 callersMethodaddOutboundTransition
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 callersMethodsetTiming
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 callersMethodof60FramesPerSecond
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 callersMethodgetDriver
(DriverKey<R> driverKey)
src/main/java/com/trainguy9512/locomotion/animation/data/DriverGetter.java:15
↓ 74 callersMethodbuilder
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 callersMethodisTakenIfTrue
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 callersMethoddefineState
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 callersMethodsetValue
(Float newValue)
src/main/java/com/trainguy9512/locomotion/animation/driver/TimerDriver.java:47
↓ 70 callersMethodresetsPoseFunctionUponEntry
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 callersMethodof
(String identifier, Supplier<R> defaultValue)
src/main/java/com/trainguy9512/locomotion/animation/driver/DriverKey.java:27
↓ 59 callersMethodbuilder
(Identifier animationSequence)
src/main/java/com/trainguy9512/locomotion/animation/pose/function/SequencePlayerFunction.java:111
↓ 55 callersMethodbuild
()
src/main/java/com/trainguy9512/locomotion/animation/util/Transition.java:59
↓ 54 callersMethoddata
()
src/main/java/com/trainguy9512/locomotion/config/LocomotionConfig.java:47
↓ 49 callersMethodofSeconds
Creates a timespan from a time measured in seconds. @return Timespan
src/main/java/com/trainguy9512/locomotion/animation/util/TimeSpan.java:34
↓ 47 callersMethodof
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 callersMethodmakeIdentifier
(String location)
src/main/java/com/trainguy9512/locomotion/LocomotionMain.java:27
↓ 37 callersMethodgetInstance
()
src/main/java/com/trainguy9512/locomotion/animation/animator/JointAnimatorDispatcher.java:44
↓ 36 callersMethodinTicks
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 callersMethodsetPriority
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 callersMethodplaysInSlot
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 callersMethodaddStateAlias
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 callersMethodbuilder
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 callersMethodgetValue
()
src/main/java/com/trainguy9512/locomotion/animation/util/Timeline.java:90
↓ 27 callersMethodisTakenOnAnimationFinished
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 callersMethodbuilder
(Function<PoseCalculationContext, Identifier> animationSequenceFunction)
src/main/java/com/trainguy9512/locomotion/animation/pose/function/SequenceEvaluatorFunction.java:25
↓ 26 callersMethodofTicks
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 callersMethodgetCurrentValue
Returns the current value of the driver. @return Current driver value.
src/main/java/com/trainguy9512/locomotion/animation/driver/Driver.java:26
↓ 23 callersMethodgetJointChannel
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 callersMethodofConstant
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 callersMethodsetPlayRate
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 callersMethodbindToOnTransitionTaken
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 callersMethodofBoolean
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 callersMethodsetCanInterruptOtherTransitions
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 callersMethodbuilder
(String identifier, Identifier animationSequence)
src/main/java/com/trainguy9512/locomotion/animation/pose/function/montage/MontageConfiguration.java:55
↓ 20 callersMethodgetFirstPersonPlayerDataContainer
()
src/main/java/com/trainguy9512/locomotion/animation/animator/JointAnimatorDispatcher.java:213
↓ 20 callersMethodinSeconds
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 callersFunctionprop
* 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 callersMethodsetTransitionIn
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 callersMethodsetTransitionOut
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 callersMethodcreate
(String name, PlayerModelType modelType)
src/main/java/com/trainguy9512/locomotion/mixin/debug/MixinDefaultPlayerSkin.java:22
↓ 18 callersMethodbuild
()
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/FirstPersonAttackAnimations.java:140
↓ 18 callersMethodbuilder
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 callersMethodof
(PoseFunction<LocalSpacePose> basePoseInput, PoseFunction<LocalSpacePose> additivePoseInput, Function<PoseCalc
src/main/java/com/trainguy9512/locomotion/animation/pose/function/ApplyAdditiveFunction.java:29
↓ 18 callersMethodregister
(Identifier identifier, HandPoseDefinition configuration)
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/handpose/FirstPersonHandPoses.java:36
↓ 17 callersMethodbuilder
( String stateIdentifier, HandPoseFunctionSupplier poseFunctionSupplier,
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/handpose/FirstPersonHandPoses.java:250
↓ 17 callersMethodgetHandPoseDriver
(InteractionHand hand)
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/FirstPersonDrivers.java:104
↓ 17 callersMethodgetUsingItemDriver
(InteractionHand hand)
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/FirstPersonDrivers.java:146
↓ 17 callersMethodtick
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 callersFunctionversionProp
* 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 callersMethodcompute
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 callersMethodinvert
Returns the inverse for the provided easing.
src/main/java/com/trainguy9512/locomotion/animation/util/Easing.java:238
↓ 16 callersMethodsetLooping
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 callersMethodsetLowerSequence
(Identifier sequence)
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/handpose/FirstPersonHandPoses.java:312
↓ 16 callersMethodsetRaiseSequence
(Identifier sequence)
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/handpose/FirstPersonHandPoses.java:307
↓ 15 callersMethodgetInterpolatedValue
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 callersMethodgetPreviousValue
()
src/main/java/com/trainguy9512/locomotion/animation/driver/VariableDriver.java:41
↓ 15 callersMethodgetRenderedItemDriver
(InteractionHand hand)
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/FirstPersonDrivers.java:139
↓ 15 callersMethodof
(PoseFunction<LocalSpacePose> input, Function<PoseCalculationContext, Boolean> mirrorFunction)
src/main/java/com/trainguy9512/locomotion/animation/pose/function/MirrorFunction.java:25
↓ 15 callersMethodresetsUponRelevant
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 callersMethodwrapUnique
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 callersMethodaddBlendInput
(PoseFunction<LocalSpacePose> inputFunction, Function<PoseTickEvaluationContext, Float> weightFunction, @Nulla
src/main/java/com/trainguy9512/locomotion/animation/pose/function/BlendPosesFunction.java:97
↓ 14 callersMethodofFloat
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 callersMethodbuilder
(PoseFunction<LocalSpacePose> basePoseFunction)
src/main/java/com/trainguy9512/locomotion/animation/pose/function/BlendPosesFunction.java:83
↓ 13 callersMethodgetItemDriver
(InteractionHand hand)
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/FirstPersonDrivers.java:125
↓ 13 callersMethodsearchDownChainForMostRelevant
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 callersMethoddeserializeWithFallback
(JsonDeserializationContext context, JsonObject json, String key, Class<D> type, D fallback)
src/main/java/com/trainguy9512/locomotion/resource/json/GsonConfiguration.java:37
↓ 12 callersMethodgetTranslation
()
src/main/java/com/trainguy9512/locomotion/animation/joint/JointChannel.java:48
↓ 12 callersMethodsetCooldownDuration
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 callersMethodsetJointChannel
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 callersMethodgetInstance
()
src/main/java/com/trainguy9512/locomotion/resource/json/GsonConfiguration.java:33
↓ 11 callersMethodof
(PoseFunction<LocalSpacePose> additivePoseInput, PoseFunction<LocalSpacePose> basePoseInput)
src/main/java/com/trainguy9512/locomotion/animation/pose/function/MakeDynamicAdditiveFunction.java:25
↓ 11 callersMethodregister
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 callersMethodsamplePose
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 callersMethodsetResetStartTimeOffset
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 callersMethodcomposeEaseInOut
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 callersMethodgetGenericItemPoseDriver
(InteractionHand hand)
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/FirstPersonDrivers.java:111
↓ 10 callersMethodmakeAdditive
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 callersMethodmakeBuilderCopy
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 callersMethodaddEntry
(float position, Identifier animationSequence, float playRate)
src/main/java/com/trainguy9512/locomotion/animation/pose/function/BlendedSequencePlayerFunction.java:127
↓ 9 callersMethoddefineForJoint
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 callersMethodgetOrThrow
(String identifier)
src/main/java/com/trainguy9512/locomotion/animation/pose/function/cache/CachedPoseContainer.java:30
↓ 9 callersMethodgetTransform
()
src/main/java/com/trainguy9512/locomotion/animation/joint/JointChannel.java:40
↓ 9 callersMethodinterpolate
(T a, T b, float time)
src/main/java/com/trainguy9512/locomotion/animation/util/Interpolator.java:12
↓ 9 callersMethodisAdditive
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 callersMethodof
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 callersMethodof
(Function<PoseCalculationContext, X> transformFunction, JointChannel.TransformType transformType, JointChannel
src/main/java/com/trainguy9512/locomotion/animation/pose/function/JointTransformerFunction.java:155
↓ 9 callersMethodregister
(BiConsumer<Identifier, DebugScreenEntry> registrar)
src/main/java/com/trainguy9512/locomotion/debug/LocomotionDebugScreenEntries.java:11
↓ 9 callersMethodtakeIfBooleanDriverTrue
(DriverKey<D> booleanDriverKey)
src/main/java/com/trainguy9512/locomotion/animation/pose/function/statemachine/StateTransition.java:33
↓ 8 callersMethodbuilder
( MontageConfiguration montageToPlay, Predicate<AttackAnimationConditionContex
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/FirstPersonAttackAnimations.java:109
↓ 8 callersMethodgetDriver
(DriverKey<R> driverKey)
src/main/java/com/trainguy9512/locomotion/animation/data/AnimationDataContainer.java:106
↓ 8 callersMethodgetInterpolatedFirstPersonPlayerPose
()
src/main/java/com/trainguy9512/locomotion/animation/animator/JointAnimatorDispatcher.java:222
↓ 8 callersMethodgetJoints
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 callersMethodgetOrThrowFromIdentifier
(Identifier identifier)
src/main/java/com/trainguy9512/locomotion/animation/animator/entity/firstperson/handpose/FirstPersonHandPoses.java:378
↓ 8 callersMethodhasBeenTriggered
()
src/main/java/com/trainguy9512/locomotion/animation/driver/TriggerDriver.java:53
next →1–100 of 909, ranked by callers