Package net.minecraft.block.entity
Interface BlockEntityTicker<T extends BlockEntity>
- 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 interface BlockEntityTicker<T extends BlockEntity>
-
Method Summary
Modifier and Type Method Description void
tick(World world, BlockPos pos, BlockState state, T blockEntity)
Runs this action on the given block entity.
-
Method Details
-
tick
Runs this action on the given block entity. The world, block position, and block state are passed as context.
-