Interface Effect


public interface Effect
An effect is not attached to any formal game object, but allows you to hook into flywheel's systems to render things. They're closely analogous to particles but without any built in support for networking.
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.level.LevelAccessor
     
    visualize(VisualizationContext ctx, float partialTick)
    Create a visual that will be keyed by this effect object.
  • Method Details

    • level

      net.minecraft.world.level.LevelAccessor level()
    • visualize

      EffectVisual<?> visualize(VisualizationContext ctx, float partialTick)
      Create a visual that will be keyed by this effect object.
      Parameters:
      ctx - The visualization context.
      Returns:
      An arbitrary EffectVisual.