public class DemoBlockEntity extends BlockEntity { [...] public static void tick(World world, BlockPos pos, BlockState state, DemoBlockEntity be) { [...] } }