Interface BlockFlatTile.CollisionEffect

All Known Implementing Classes:
CollisionEffectPush
Enclosing class:
BlockFlatTile
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 BlockFlatTile.CollisionEffect
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onCollision(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.Entity entity)
     
  • Method Details

    • onCollision

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