Interface VisualizationManager

All Known Implementing Classes:
VisualizationManagerImpl

@NonExtendable public interface VisualizationManager
  • Method Details

    • supportsVisualization

      static boolean supportsVisualization(@Nullable @Nullable net.minecraft.world.level.LevelAccessor level)
    • get

      @Nullable static @Nullable VisualizationManager get(@Nullable @Nullable net.minecraft.world.level.LevelAccessor level)
    • getOrThrow

      static VisualizationManager getOrThrow(@Nullable @Nullable net.minecraft.world.level.LevelAccessor level)
    • queueUpdate

      static void queueUpdate(net.minecraft.world.level.block.entity.BlockEntity blockEntity)
      Call this when you want to run Visual.update(float).
      Parameters:
      blockEntity - The block entity whose visual you want to update.
    • queueUpdate

      static void queueUpdate(net.minecraft.world.entity.Entity entity)
      Call this when you want to run Visual.update(float).
      Parameters:
      entity - The entity whose visual you want to update.
    • queueUpdate

      static void queueUpdate(net.minecraft.world.level.LevelAccessor level, Effect effect)
      Call this when you want to run Visual.update(float).
      Parameters:
      effect - The effect whose visual you want to update.
    • getRenderOrigin

      net.minecraft.core.Vec3i getRenderOrigin()
    • getBlockEntities

      VisualManager<net.minecraft.world.level.block.entity.BlockEntity> getBlockEntities()
    • getEntities

      VisualManager<net.minecraft.world.entity.Entity> getEntities()
    • getEffects

      VisualManager<Effect> getEffects()