Package dev.engine_room.flywheel.impl
Class FlwApiLinkImpl
java.lang.Object
dev.engine_room.flywheel.impl.FlwApiLinkImpl
- All Implemented Interfaces:
FlwApiLink
-
Field Summary
Fields inherited from interface dev.engine_room.flywheel.api.internal.FlwApiLink
INSTANCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> IdRegistry<T> @Nullable VisualizationManagergetVisualizationManager(@Nullable net.minecraft.world.level.LevelAccessor level) getVisualizationManagerOrThrow(@Nullable net.minecraft.world.level.LevelAccessor level) <T extends net.minecraft.world.entity.Entity>
@Nullable EntityVisualizer<? super T> getVisualizer(net.minecraft.world.entity.EntityType<T> type) <T extends net.minecraft.world.level.block.entity.BlockEntity>
@Nullable BlockEntityVisualizer<? super T> getVisualizer(net.minecraft.world.level.block.entity.BlockEntityType<T> type) boolean<T extends net.minecraft.world.entity.Entity>
voidsetVisualizer(net.minecraft.world.entity.EntityType<T> type, @Nullable EntityVisualizer<? super T> visualizer) <T extends net.minecraft.world.level.block.entity.BlockEntity>
voidsetVisualizer(net.minecraft.world.level.block.entity.BlockEntityType<T> type, @Nullable BlockEntityVisualizer<? super T> visualizer) booleansupportsVisualization(@Nullable net.minecraft.world.level.LevelAccessor level)
-
Constructor Details
-
FlwApiLinkImpl
public FlwApiLinkImpl()
-
-
Method Details
-
createIdRegistry
- Specified by:
createIdRegistryin interfaceFlwApiLink
-
getCurrentBackend
- Specified by:
getCurrentBackendin interfaceFlwApiLink
-
isBackendOn
public boolean isBackendOn()- Specified by:
isBackendOnin interfaceFlwApiLink
-
getOffBackend
- Specified by:
getOffBackendin interfaceFlwApiLink
-
getDefaultBackend
- Specified by:
getDefaultBackendin interfaceFlwApiLink
-
createLayoutBuilder
- Specified by:
createLayoutBuilderin interfaceFlwApiLink
-
supportsVisualization
public boolean supportsVisualization(@Nullable @Nullable net.minecraft.world.level.LevelAccessor level) - Specified by:
supportsVisualizationin interfaceFlwApiLink
-
getVisualizationManager
@Nullable public @Nullable VisualizationManager getVisualizationManager(@Nullable @Nullable net.minecraft.world.level.LevelAccessor level) - Specified by:
getVisualizationManagerin interfaceFlwApiLink
-
getVisualizationManagerOrThrow
public VisualizationManager getVisualizationManagerOrThrow(@Nullable @Nullable net.minecraft.world.level.LevelAccessor level) - Specified by:
getVisualizationManagerOrThrowin interfaceFlwApiLink
-
getVisualizer
@Nullable public <T extends net.minecraft.world.level.block.entity.BlockEntity> @Nullable BlockEntityVisualizer<? super T> getVisualizer(net.minecraft.world.level.block.entity.BlockEntityType<T> type) - Specified by:
getVisualizerin interfaceFlwApiLink
-
getVisualizer
@Nullable public <T extends net.minecraft.world.entity.Entity> @Nullable EntityVisualizer<? super T> getVisualizer(net.minecraft.world.entity.EntityType<T> type) - Specified by:
getVisualizerin interfaceFlwApiLink
-
setVisualizer
public <T extends net.minecraft.world.level.block.entity.BlockEntity> void setVisualizer(net.minecraft.world.level.block.entity.BlockEntityType<T> type, @Nullable @Nullable BlockEntityVisualizer<? super T> visualizer) - Specified by:
setVisualizerin interfaceFlwApiLink
-
setVisualizer
public <T extends net.minecraft.world.entity.Entity> void setVisualizer(net.minecraft.world.entity.EntityType<T> type, @Nullable @Nullable EntityVisualizer<? super T> visualizer) - Specified by:
setVisualizerin interfaceFlwApiLink
-