Package dev.yumi.mc.core.api
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 TypeMethodDescriptionvoidonCrashReportBlockDetailsPopulation(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 frompos- the position of the blockstate- the state of the block if gatheredcategory- the crash report category
-