Class InstantDelayProvider

java.lang.Object
net.thewinnt.cutscenes.effect.chardelays.types.InstantDelayProvider
All Implemented Interfaces:
DelayProvider

public class InstantDelayProvider extends Object implements DelayProvider
  • Field Details

  • Method Details

    • activationCodepoint

      public int activationCodepoint()
      Description copied from interface: DelayProvider
      Returns the symbol that is needed for this provider to be used.
      Specified by:
      activationCodepoint in interface DelayProvider
    • delay

      public double delay(int codepoint)
      Description copied from interface: DelayProvider
      Returns the delay in ticks for the given character. It will be applied right afterward.
      Specified by:
      delay in interface DelayProvider
    • defaultDelay

      public double defaultDelay(int codepoint)
      Description copied from interface: DelayProvider
      Returns the default character delay, in ticks
      Specified by:
      defaultDelay in interface DelayProvider
    • toNetwork

      public void toNetwork(net.minecraft.network.FriendlyByteBuf buf)
      Description copied from interface: DelayProvider
      Serializes this provider for network.
      Specified by:
      toNetwork in interface DelayProvider
    • getSerializer

      public DelayProviderSerializer<?> getSerializer()
      Specified by:
      getSerializer in interface DelayProvider