Schnittstelle EngineBlock.FallOnCallback

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.FallOnCallback
  • Methodenübersicht

    Modifikator und Typ
    Methode
    Beschreibung
    void
    run(net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.Entity entity, double fallDistance)
     
  • Methodendetails

    • run

      void run(net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.Entity entity, double fallDistance)