Interface CrashReportEvents.BlockDetailsPopulation

All Superinterfaces:
EventAwareListener
Enclosing class:
CrashReportEvents
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 static interface CrashReportEvents.BlockDetailsPopulation extends EventAwareListener
Represents the block details population of crash reports callback interface.
See Also:
  • Field Summary

    Fields inherited from interface dev.yumi.mc.core.api.event.EventAwareListener

    ENTRYPOINT_KEY
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onCrashReportBlockDetailsPopulation(net.minecraft.world.level.LevelHeightAccessor level, net.minecraft.core.BlockPos pos, @Nullable net.minecraft.world.level.block.state.BlockState state, net.minecraft.CrashReportCategory category)
    Invoked during the population of a crash report's block details.
  • Method Details

    • onCrashReportBlockDetailsPopulation

      void onCrashReportBlockDetailsPopulation(net.minecraft.world.level.LevelHeightAccessor level, net.minecraft.core.BlockPos pos, @Nullable @Nullable net.minecraft.world.level.block.state.BlockState state, net.minecraft.CrashReportCategory category)
      Invoked during the population of a crash report's block details.
      Parameters:
      level - the level the block is from
      pos - the position of the block
      state - the state of the block if gathered
      category - the crash report category