Interface BlockEvents.Placed
- Enclosing class:
BlockEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A block was placed: by an entity (usually a player), or with no placer.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonPlaced(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, @Nullable net.minecraft.world.entity.Entity placer)
-
Method Details
-
onPlaced
void onPlaced(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, @Nullable @Nullable net.minecraft.world.entity.Entity placer)
-