Class VisualizationManagerImpl
java.lang.Object
dev.engine_room.flywheel.impl.visualization.VisualizationManagerImpl
- All Implemented Interfaces:
VisualizationManager
A manager class for a single level where visualization is supported.
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.engine_room.flywheel.api.visualization.VisualizationManager
VisualizationManager.RenderDispatcher -
Method Summary
Modifier and TypeMethodDescriptionVisualManager<net.minecraft.world.level.block.entity.BlockEntity>effects()VisualManager<net.minecraft.world.entity.Entity>entities()static @Nullable VisualizationManagerImplget(@Nullable net.minecraft.world.level.LevelAccessor level) @Nullable EngineImplExpose the raw engine, iff it has been initialized and is a default Flywheel engine.static VisualizationManagerImplgetOrThrow(@Nullable net.minecraft.world.level.LevelAccessor level) voidonLightUpdate(net.minecraft.core.SectionPos sectionPos, net.minecraft.world.level.LightLayer layer) Get the render dispatcher, which can be used to invoke rendering.net.minecraft.core.Vec3istatic voidreset(net.minecraft.world.level.LevelAccessor level) static voidresetAll()static booleansupportsVisualization(@Nullable net.minecraft.world.level.LevelAccessor level) voidtick()Begin execution of the tick plan.
-
Method Details
-
supportsVisualization
@Contract("null -> false") public static boolean supportsVisualization(@Nullable @Nullable net.minecraft.world.level.LevelAccessor level) -
get
@Nullable public static @Nullable VisualizationManagerImpl get(@Nullable @Nullable net.minecraft.world.level.LevelAccessor level) -
getOrThrow
public static VisualizationManagerImpl getOrThrow(@Nullable @Nullable net.minecraft.world.level.LevelAccessor level) -
reset
public static void reset(net.minecraft.world.level.LevelAccessor level) -
resetAll
public static void resetAll() -
renderOrigin
public net.minecraft.core.Vec3i renderOrigin()- Specified by:
renderOriginin interfaceVisualizationManager
-
blockEntities
- Specified by:
blockEntitiesin interfaceVisualizationManager
-
entities
- Specified by:
entitiesin interfaceVisualizationManager
-
effects
- Specified by:
effectsin interfaceVisualizationManager
-
renderDispatcher
Description copied from interface:VisualizationManagerGet the render dispatcher, which can be used to invoke rendering. This should only be used by mods which heavily rewrite rendering to restore compatibility with Flywheel without mixins.- Specified by:
renderDispatcherin interfaceVisualizationManager
-
tick
public void tick()Begin execution of the tick plan. -
onLightUpdate
public void onLightUpdate(net.minecraft.core.SectionPos sectionPos, net.minecraft.world.level.LightLayer layer) -
getEngineImpl
Expose the raw engine, iff it has been initialized and is a default Flywheel engine.For debug information gathering only.
-