Schnittstelle EngineBlock.UseCallback

Umschließende Klasse:
EngineBlock
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface EngineBlock.UseCallback
  • Methodenübersicht

    Modifikator und Typ
    Methode
    Beschreibung
    net.minecraft.world.InteractionResult
    run(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.BlockHitResult hitResult)
     
  • Methodendetails

    • run

      net.minecraft.world.InteractionResult run(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.BlockHitResult hitResult)