Interface IPreviewableMultiblock

All Superinterfaces:
net.minecraft.world.level.block.EntityBlock, IMBStateSharer, IMultiBlock
All Known Implementing Classes:
DiamondStructureBlock, SimpleMultiBlock, TestBlock

public interface IPreviewableMultiblock extends IMultiBlock
  • Method Details

    • skipJsonRendering

      @Deprecated default boolean skipJsonRendering()
      Deprecated.
      Use the event
    • shouldPreview

      @Deprecated default boolean shouldPreview(net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos, PreviewMode previewMode)
      Deprecated.
      Use the event
    • 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
    • getBlockEntityForPreviews

      @Deprecated default net.minecraft.world.level.block.entity.BlockEntity getBlockEntityForPreviews(net.minecraft.world.level.block.entity.BlockEntity entity, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos blockPos)
      Deprecated.
      Use the event