Interface IPreviewableMultiblock

All Superinterfaces:
IMBStateSyncer, IMultiBlock
All Known Implementing Classes:
TestBlock

public interface IPreviewableMultiblock extends IMultiBlock
  • Method Details

    • skipJsonRendering

      default boolean skipJsonRendering()
      May save performance and fix translucency glitches if your preview only uses a block entity renderer. Usually it's easier to override BlockBehaviour.getRenderShape(BlockState) instead
    • getDefaultStateForPreviews

      default net.minecraft.world.level.block.state.BlockState getDefaultStateForPreviews(net.minecraft.core.Direction direction)
      Returns the default BlockState that will be used for previews