Class AnimationStateMachine

java.lang.Object
net.minecraftforge.common.model.animation.AnimationStateMachine
All Implemented Interfaces:
IAnimationStateMachine

public final class AnimationStateMachine extends Object implements IAnimationStateMachine
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • parameters

      private final com.google.common.collect.ImmutableMap<String,​ITimeValue> parameters
    • clips

      private final com.google.common.collect.ImmutableMap<String,​IClip> clips
    • states

      private final com.google.common.collect.ImmutableList<String> states
    • transitions

      private final com.google.common.collect.ImmutableMultimap<String,​String> transitions
    • startState

      @SerializedName("start_state") private final String startState
    • shouldHandleSpecialEvents

      private transient boolean shouldHandleSpecialEvents
    • currentStateName

      private transient String currentStateName
    • currentState

      private transient IClip currentState
    • lastPollTime

      private transient float lastPollTime
    • clipCache

      private static final com.google.common.cache.LoadingCache<org.apache.commons.lang3.tuple.Triple<? extends IClip,​Float,​Float>,​org.apache.commons.lang3.tuple.Pair<ModelState,​Iterable<Event>>> clipCache
    • missing

      private static final AnimationStateMachine missing
    • asmGson

      private static final com.google.gson.Gson asmGson
  • Constructor Details

    • AnimationStateMachine

      public AnimationStateMachine(com.google.common.collect.ImmutableMap<String,​ITimeValue> parameters, com.google.common.collect.ImmutableMap<String,​IClip> clips, com.google.common.collect.ImmutableList<String> states, com.google.common.collect.ImmutableMultimap<String,​String> transitions, String startState)
  • Method Details