Class MotionEffect

java.lang.Object
com.wdiscute.libtooltips.MotionEffect

public class MotionEffect extends Object
  • Constructor Details

    • MotionEffect

      public MotionEffect()
  • Method Details

    • build

      public static net.minecraft.network.chat.MutableComponent build(MotionEffect.Type type, String text, net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.Entity entity, float defaultAmplitude, float defaultWave)
    • buildMarker

      public static String buildMarker(MotionEffect.Type type, float amplitude, float wave, double offset)
    • hasMotion

      public static boolean hasMotion(net.minecraft.util.FormattedCharSequence sequence)
    • parse

      public static MotionEffect.Entry parse(String insertion)
    • flattenToChars

      public static List<net.minecraft.network.chat.MutableComponent> flattenToChars(net.minecraft.network.chat.Component component)