Interface Effect
- All Known Implementing Classes:
LightStorage
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 TypeMethodDescriptionnet.minecraft.world.level.LevelAccessorlevel()EffectVisual<?> 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
Create a visual that will be keyed by this effect object.- Parameters:
ctx- The visualization context.- Returns:
- An arbitrary EffectVisual.
-