Interface DebuggableBlock

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface DebuggableBlock
An interface to start debugging Block subclasses when right-clicked by a debugger.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull net.minecraft.world.InteractionResult
    startDebugging(@NotNull net.minecraft.world.item.context.UseOnContext context, int threadId)
    Called server-side by DebuggerItem#useOn to start a debug session for this block on the given thread.
  • Method Details

    • startDebugging

      @NotNull @NotNull net.minecraft.world.InteractionResult startDebugging(@NotNull @NotNull net.minecraft.world.item.context.UseOnContext context, int threadId)
      Called server-side by DebuggerItem#useOn to start a debug session for this block on the given thread.